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 |
|---|---|---|---|---|---|---|---|---|
[
78,
73,
5,
39
] | 39 | [
"78-73=5",
"5+39=44",
"44-5=39"
] | Current State: 39:[78, 73, 5, 39], Operations: []
Exploring Operation: 78-73=5, Resulting Numbers: [5, 39, 5]
Generated Node #2: [5, 39, 5] from Operation: 78-73=5
Current State: 39:[5, 39, 5], Operations: ['78-73=5']
Exploring Operation: 5+39=44, Resulting Numbers: [44]
44,39 equal: Goal Reached
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[78, 73, 5, 39], Operations: []
Exploring Operation: 78-73=5, Resulting Numbers: [5, 39, 5]
Generated Node #0,0: 39:[5, 39, 5] Operation: 78-73=5
Moving to Node #0,0
Current State: 39:[5, 39, 5], Operations: ['78-73=5']
Exploring Operation: 5/5=1, Resulting Numbers: [39, 1]
Generated Node #0,0,0: 39:[39, 1] Operation: 5/5=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 39:[39, 1], Operations: ['78-73=5', '5/5=1']
Exploring Operation: 39*1=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[78, 73, 5, 39], Operations: []
Exploring Operation: 78-73=5, Resulting Numbers: [5, 39, 5]
Generated Node #0,0: 39:[5, 39, 5] Operation: 78-73=5
Moving to Node #0,0
Current State: 39:[5, 39, 5], Operations: ['78-73=5']
Exploring Operation: 5/5=1, Resulting Numbers: [39, 1]
Generated Node #0,0,0: 39:[39, 1] Operation: 5/5=1
Moving to Node #0,0,0
Current State: 39:[39, 1], Operations: ['78-73=5', '5/5=1']
Exploring Operation: 39*1=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
87,
3,
77,
78
] | 85 | [
"87-3=84",
"78-77=1",
"84+1=85"
] | Current State: 85:[87, 3, 77, 78], Operations: []
Exploring Operation: 87-3=84, Resulting Numbers: [77, 78, 84]
Generated Node #2: [77, 78, 84] from Operation: 87-3=84
Current State: 85:[77, 78, 84], Operations: ['87-3=84']
Exploring Operation: 78-77=1, Resulting Numbers: [84, 1]
Generated Node #3: [84, 1] from Operation: 78-77=1
Current State: 85:[84, 1], Operations: ['87-3=84', '78-77=1']
Exploring Operation: 84+1=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[87, 3, 77, 78], Operations: []
Exploring Operation: 78-77=1, Resulting Numbers: [87, 3, 1]
Generated Node #0,0: 85:[87, 3, 1] Operation: 78-77=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[87, 3, 1], Operations: ['78-77=1']
Exploring Operation: 87-1=86, Resulting Numbers: [3, 86]
Generated Node #0,0,0: 85:[3, 86] Operation: 87-1=86
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 85:[3, 86], Operations: ['78-77=1', '87-1=86']
Exploring Operation: 86-3=83, Resulting Numbers: [83]
83,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
2,
19,
88,
47
] | 44 | [
"88-19=69",
"69-47=22",
"2*22=44"
] | Current State: 44:[2, 19, 88, 47], Operations: []
Exploring Operation: 88-19=69, Resulting Numbers: [2, 47, 69]
Generated Node #2: [2, 47, 69] from Operation: 88-19=69
Current State: 44:[2, 47, 69], Operations: ['88-19=69']
Exploring Operation: 69-47=22, Resulting Numbers: [2, 22]
Generated Node #3: [2, 22] from Operation: 69-47=22
Current State: 44:[2, 22], Operations: ['88-19=69', '69-47=22']
Exploring Operation: 2*22=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[2, 19, 88, 47], Operations: []
Exploring Operation: 88-47=41, Resulting Numbers: [2, 19, 41]
Generated Node #0,0: 44:[2, 19, 41] Operation: 88-47=41
Exploring Operation: 88/2=44, Resulting Numbers: [19, 47, 44]
Generated Node #0,1: 44:[19, 47, 44] Operation: 88/2=44
Moving to Node #0,0
Current State: 44:[2, 19, 41], Operations: ['88-47=41']
Exploring Operation: 2+19=21, Resulting Numbers: [41, 21]
Generated Node #0,0,0: 44:[41, 21] Operation: 2+19=21
Exploring Operation: 41-19=22, Resulting Numbers: [2, 22]
Generated Node #0,0,1: 44:[2, 22] Operation: 41-19=22
Moving to Node #0,1
Current State: 44:[19, 47, 44], Operations: ['88/2=44']
Exploring Operation: 47-19=28, Resulting Numbers: [44, 28]
Generated Node #0,1,0: 44:[44, 28] Operation: 47-19=28
Exploring Operation: 47-44=3, Resulting Numbers: [19, 3]
Generated Node #0,1,1: 44:[19, 3] Operation: 47-44=3
Moving to Node #0,0,1
Current State: 44:[2, 22], Operations: ['88-47=41', '41-19=22']
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,44 unequal: No Solution
Exploring Operation: 2*22=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[2, 19, 88, 47], Operations: []
Exploring Operation: 88-47=41, Resulting Numbers: [2, 19, 41]
Generated Node #0,0: 44:[2, 19, 41] Operation: 88-47=41
Moving to Node #0,0
Current State: 44:[2, 19, 41], Operations: ['88-47=41']
Exploring Operation: 41-19=22, Resulting Numbers: [2, 22]
Generated Node #0,0,1: 44:[2, 22] Operation: 41-19=22
Moving to Node #0,0,1
Current State: 44:[2, 22], Operations: ['88-47=41', '41-19=22']
Exploring Operation: 2*22=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 0.989583 | hs_2 | mult_heuristic |
[
79,
97,
98,
84
] | 21 | [
"97-79=18",
"98*18=1764",
"1764/84=21"
] | Current State: 21:[79, 97, 98, 84], Operations: []
Exploring Operation: 97-79=18, Resulting Numbers: [98, 84, 18]
Generated Node #2: [98, 84, 18] from Operation: 97-79=18
Current State: 21:[98, 84, 18], Operations: ['97-79=18']
Exploring Operation: 98*18=1764, Resulting Numbers: [84, 1764]
Generated Node #3: [84, 1764] from Operation: 98*18=1764
Current State: 21:[84, 1764], Operations: ['97-79=18', '98*18=1764']
Exploring Operation: 1764/84=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[79, 97, 98, 84], Operations: []
Exploring Operation: 98-97=1, Resulting Numbers: [79, 84, 1]
Generated Node #0,0: 21:[79, 84, 1] Operation: 98-97=1
Moving to Node #0,0
Current State: 21:[79, 84, 1], Operations: ['98-97=1']
Exploring Operation: 84-79=5, Resulting Numbers: [1, 5]
Generated Node #0,0,0: 21:[1, 5] Operation: 84-79=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 21:[1, 5], Operations: ['98-97=1', '84-79=5']
Exploring Operation: 1+5=6, Resulting Numbers: [6]
6,21 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 |
[
17,
43,
58,
30
] | 32 | [
"17+43=60",
"58-30=28",
"60-28=32"
] | Current State: 32:[17, 43, 58, 30], Operations: []
Exploring Operation: 17+43=60, Resulting Numbers: [58, 30, 60]
Generated Node #2: [58, 30, 60] from Operation: 17+43=60
Current State: 32:[58, 30, 60], Operations: ['17+43=60']
Exploring Operation: 58-30=28, Resulting Numbers: [60, 28]
Generated Node #3: [60, 28] from Operation: 58-30=28
Current State: 32:[60, 28], Operations: ['17+43=60', '58-30=28']
Exploring Operation: 60-28=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[17, 43, 58, 30], Operations: []
Exploring Operation: 58-17=41, Resulting Numbers: [43, 30, 41]
Generated Node #0,0: 32:[43, 30, 41] Operation: 58-17=41
Exploring Operation: 43-30=13, Resulting Numbers: [17, 58, 13]
Generated Node #0,1: 32:[17, 58, 13] Operation: 43-30=13
Exploring Operation: 58-43=15, Resulting Numbers: [17, 30, 15]
Generated Node #0,2: 32:[17, 30, 15] Operation: 58-43=15
Exploring Operation: 58-30=28, Resulting Numbers: [17, 43, 28]
Generated Node #0,3: 32:[17, 43, 28] Operation: 58-30=28
Start Sub Search at level 1: Moving to Node #0,2
Current State: 32:[17, 30, 15], Operations: ['58-43=15']
Exploring Operation: 17+15=32, Resulting Numbers: [30, 32]
Generated Node #0,2,0: 32:[30, 32] Operation: 17+15=32
Exploring Operation: 30/15=2, Resulting Numbers: [17, 2]
Generated Node #0,2,1: 32:[17, 2] Operation: 30/15=2
Exploring Operation: 17-15=2, Resulting Numbers: [30, 2]
Generated Node #0,2,2: 32:[30, 2] Operation: 17-15=2
Exploring Operation: 30-15=15, Resulting Numbers: [17, 15]
Generated Node #0,2,3: 32:[17, 15] Operation: 30-15=15
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 32:[17, 2], Operations: ['58-43=15', '30/15=2']
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,32 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,32 unequal: No Solution
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 32:[30, 32], Operations: ['58-43=15', '17+15=32']
Exploring Operation: 30+32=62, Resulting Numbers: [62]
62,32 unequal: No Solution
Exploring Operation: 30*32=960, Resulting Numbers: [960]
960,32 unequal: No Solution
Exploring Operation: 32-30=2, Resulting Numbers: [2]
2,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 32:[30, 2], Operations: ['58-43=15', '17-15=2']
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[17, 43, 58, 30], Operations: []
Exploring Operation: 58-43=15, Resulting Numbers: [17, 30, 15]
Generated Node #0,2: 32:[17, 30, 15] Operation: 58-43=15
Moving to Node #0,2
Current State: 32:[17, 30, 15], Operations: ['58-43=15']
Exploring Operation: 17-15=2, Resulting Numbers: [30, 2]
Generated Node #0,2,2: 32:[30, 2] Operation: 17-15=2
Moving to Node #0,2,2
Current State: 32:[30, 2], Operations: ['58-43=15', '17-15=2']
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_4 | mult_heuristic |
[
91,
33,
76,
45
] | 63 | [
"91-33=58",
"76+45=121",
"121-58=63"
] | Current State: 63:[91, 33, 76, 45], Operations: []
Exploring Operation: 91-33=58, Resulting Numbers: [76, 45, 58]
Generated Node #2: [76, 45, 58] from Operation: 91-33=58
Current State: 63:[76, 45, 58], Operations: ['91-33=58']
Exploring Operation: 76+45=121, Resulting Numbers: [58, 121]
Generated Node #3: [58, 121] from Operation: 76+45=121
Current State: 63:[58, 121], Operations: ['91-33=58', '76+45=121']
Exploring Operation: 121-58=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[91, 33, 76, 45], Operations: []
Exploring Operation: 91-33=58, Resulting Numbers: [76, 45, 58]
Generated Node #0,0: 63:[76, 45, 58] Operation: 91-33=58
Moving to Node #0,0
Current State: 63:[76, 45, 58], Operations: ['91-33=58']
Exploring Operation: 76-45=31, Resulting Numbers: [58, 31]
Generated Node #0,0,0: 63:[58, 31] Operation: 76-45=31
Moving to Node #0,0,0
Current State: 63:[58, 31], Operations: ['91-33=58', '76-45=31']
Exploring Operation: 58-31=27, Resulting Numbers: [27]
27,63 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
26,
14,
42,
18
] | 47 | [
"26+18=44",
"42/14=3",
"44+3=47"
] | Current State: 47:[26, 14, 42, 18], Operations: []
Exploring Operation: 26+18=44, Resulting Numbers: [14, 42, 44]
Generated Node #2: [14, 42, 44] from Operation: 26+18=44
Current State: 47:[14, 42, 44], Operations: ['26+18=44']
Exploring Operation: 42/14=3, Resulting Numbers: [44, 3]
Generated Node #3: [44, 3] from Operation: 42/14=3
Current State: 47:[44, 3], Operations: ['26+18=44', '42/14=3']
Exploring Operation: 44+3=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[26, 14, 42, 18], Operations: []
Exploring Operation: 26+14=40, Resulting Numbers: [42, 18, 40]
Generated Node #0,0: 47:[42, 18, 40] Operation: 26+14=40
Exploring Operation: 14+18=32, Resulting Numbers: [26, 42, 32]
Generated Node #0,1: 47:[26, 42, 32] Operation: 14+18=32
Exploring Operation: 26+18=44, Resulting Numbers: [14, 42, 44]
Generated Node #0,2: 47:[14, 42, 44] Operation: 26+18=44
Moving to Node #0,0
Current State: 47:[42, 18, 40], Operations: ['26+14=40']
Exploring Operation: 42+18=60, Resulting Numbers: [40, 60]
Generated Node #0,0,0: 47:[40, 60] Operation: 42+18=60
Exploring Operation: 42-18=24, Resulting Numbers: [40, 24]
Generated Node #0,0,1: 47:[40, 24] Operation: 42-18=24
Exploring Operation: 18+40=58, Resulting Numbers: [42, 58]
Generated Node #0,0,2: 47:[42, 58] Operation: 18+40=58
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 47:[42, 58], Operations: ['26+14=40', '18+40=58']
Exploring Operation: 58-42=16, Resulting Numbers: [16]
16,47 unequal: No Solution
Exploring Operation: 42*58=2436, Resulting Numbers: [2436]
2436,47 unequal: No Solution
Exploring Operation: 42+58=100, Resulting Numbers: [100]
100,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,0,0
Current State: 47:[40, 60], Operations: ['26+14=40', '42+18=60']
Exploring Operation: 40*60=2400, Resulting Numbers: [2400]
2400,47 unequal: No Solution
Exploring Operation: 60-40=20, Resulting Numbers: [20]
20,47 unequal: No Solution
Exploring Operation: 40+60=100, Resulting Numbers: [100]
100,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,0,1
Current State: 47:[40, 24], Operations: ['26+14=40', '42-18=24']
Exploring Operation: 40+24=64, Resulting Numbers: [64]
64,47 unequal: No Solution
Exploring Operation: 40-24=16, Resulting Numbers: [16]
16,47 unequal: No Solution
Exploring Operation: 40*24=960, Resulting Numbers: [960]
960,47 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: 47:[26, 42, 32], Operations: ['14+18=32']
Exploring Operation: 26+42=68, Resulting Numbers: [32, 68]
Generated Node #0,1,0: 47:[32, 68] Operation: 26+42=68
Exploring Operation: 26+32=58, Resulting Numbers: [42, 58]
Generated Node #0,1,1: 47:[42, 58] Operation: 26+32=58
Exploring Operation: 42-26=16, Resulting Numbers: [32, 16]
Generated Node #0,1,2: 47:[32, 16] Operation: 42-26=16
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 47:[42, 58], Operations: ['14+18=32', '26+32=58']
Exploring Operation: 42*58=2436, Resulting Numbers: [2436]
2436,47 unequal: No Solution
Exploring Operation: 58-42=16, Resulting Numbers: [16]
16,47 unequal: No Solution
Exploring Operation: 42+58=100, Resulting Numbers: [100]
100,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 47:[32, 68], Operations: ['14+18=32', '26+42=68']
Exploring Operation: 68-32=36, Resulting Numbers: [36]
36,47 unequal: No Solution
Exploring Operation: 32*68=2176, Resulting Numbers: [2176]
2176,47 unequal: No Solution
Exploring Operation: 32+68=100, Resulting Numbers: [100]
100,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 47:[32, 16], Operations: ['14+18=32', '42-26=16']
Exploring Operation: 32-16=16, Resulting Numbers: [16]
16,47 unequal: No Solution
Exploring Operation: 32/16=2, Resulting Numbers: [2]
2,47 unequal: No Solution
Exploring Operation: 32+16=48, Resulting Numbers: [48]
48,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 47:[14, 42, 44], Operations: ['26+18=44']
Exploring Operation: 42-14=28, Resulting Numbers: [44, 28]
Generated Node #0,2,0: 47:[44, 28] Operation: 42-14=28
Exploring Operation: 14+44=58, Resulting Numbers: [42, 58]
Generated Node #0,2,1: 47:[42, 58] Operation: 14+44=58
Exploring Operation: 14+42=56, Resulting Numbers: [44, 56]
Generated Node #0,2,2: 47:[44, 56] Operation: 14+42=56
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 47:[44, 56], Operations: ['26+18=44', '14+42=56']
Exploring Operation: 44+56=100, Resulting Numbers: [100]
100,47 unequal: No Solution
Exploring Operation: 56-44=12, Resulting Numbers: [12]
12,47 unequal: No Solution
Exploring Operation: 44*56=2464, Resulting Numbers: [2464]
2464,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,1
Current State: 47:[42, 58], Operations: ['26+18=44', '14+44=58']
Exploring Operation: 42*58=2436, Resulting Numbers: [2436]
2436,47 unequal: No Solution
Exploring Operation: 42+58=100, Resulting Numbers: [100]
100,47 unequal: No Solution
Exploring Operation: 58-42=16, Resulting Numbers: [16]
16,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,0
Current State: 47:[44, 28], Operations: ['26+18=44', '42-14=28']
Exploring Operation: 44+28=72, Resulting Numbers: [72]
72,47 unequal: No Solution
Exploring Operation: 44-28=16, Resulting Numbers: [16]
16,47 unequal: No Solution
Exploring Operation: 44*28=1232, Resulting Numbers: [1232]
1232,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
23,
20,
36,
5
] | 22 | [
"23-5=18",
"36/18=2",
"20+2=22"
] | Current State: 22:[23, 20, 36, 5], Operations: []
Exploring Operation: 23-5=18, Resulting Numbers: [20, 36, 18]
Generated Node #2: [20, 36, 18] from Operation: 23-5=18
Current State: 22:[20, 36, 18], Operations: ['23-5=18']
Exploring Operation: 36/18=2, Resulting Numbers: [20, 2]
Generated Node #3: [20, 2] from Operation: 36/18=2
Current State: 22:[20, 2], Operations: ['23-5=18', '36/18=2']
Exploring Operation: 20+2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[23, 20, 36, 5], Operations: []
Exploring Operation: 36-23=13, Resulting Numbers: [20, 5, 13]
Generated Node #0,0: 22:[20, 5, 13] Operation: 36-23=13
Exploring Operation: 36-20=16, Resulting Numbers: [23, 5, 16]
Generated Node #0,1: 22:[23, 5, 16] Operation: 36-20=16
Exploring Operation: 20/5=4, Resulting Numbers: [23, 36, 4]
Generated Node #0,2: 22:[23, 36, 4] Operation: 20/5=4
Exploring Operation: 36-5=31, Resulting Numbers: [23, 20, 31]
Generated Node #0,3: 22:[23, 20, 31] Operation: 36-5=31
Moving to Node #0,0
Current State: 22:[20, 5, 13], Operations: ['36-23=13']
Exploring Operation: 13-5=8, Resulting Numbers: [20, 8]
Generated Node #0,0,0: 22:[20, 8] Operation: 13-5=8
Exploring Operation: 20/5=4, Resulting Numbers: [13, 4]
Generated Node #0,0,1: 22:[13, 4] Operation: 20/5=4
Exploring Operation: 20+5=25, Resulting Numbers: [13, 25]
Generated Node #0,0,2: 22:[13, 25] Operation: 20+5=25
Exploring Operation: 20-5=15, Resulting Numbers: [13, 15]
Generated Node #0,0,3: 22:[13, 15] Operation: 20-5=15
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 22:[13, 4], Operations: ['36-23=13', '20/5=4']
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,22 unequal: No Solution
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,22 unequal: No Solution
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,22 unequal: No Solution
No 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: 22:[20, 8], Operations: ['36-23=13', '13-5=8']
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,22 unequal: No Solution
Exploring Operation: 20*8=160, Resulting Numbers: [160]
160,22 unequal: No Solution
Exploring Operation: 20+8=28, Resulting Numbers: [28]
28,22 unequal: No Solution
No 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: 22:[13, 25], Operations: ['36-23=13', '20+5=25']
Exploring Operation: 13*25=325, Resulting Numbers: [325]
325,22 unequal: No Solution
Exploring Operation: 25-13=12, Resulting Numbers: [12]
12,22 unequal: No Solution
Exploring Operation: 13+25=38, Resulting Numbers: [38]
38,22 unequal: No Solution
No 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: 22:[13, 15], Operations: ['36-23=13', '20-5=15']
Exploring Operation: 13+15=28, Resulting Numbers: [28]
28,22 unequal: No Solution
Exploring Operation: 15-13=2, Resulting Numbers: [2]
2,22 unequal: No Solution
Exploring Operation: 13*15=195, Resulting Numbers: [195]
195,22 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: 22:[23, 5, 16], Operations: ['36-20=16']
Exploring Operation: 23-16=7, Resulting Numbers: [5, 7]
Generated Node #0,1,0: 22:[5, 7] Operation: 23-16=7
Exploring Operation: 23-5=18, Resulting Numbers: [16, 18]
Generated Node #0,1,1: 22:[16, 18] Operation: 23-5=18
Exploring Operation: 5+16=21, Resulting Numbers: [23, 21]
Generated Node #0,1,2: 22:[23, 21] Operation: 5+16=21
Exploring Operation: 16-5=11, Resulting Numbers: [23, 11]
Generated Node #0,1,3: 22:[23, 11] Operation: 16-5=11
Moving to Node #0,3
Current State: 22:[23, 20, 31], Operations: ['36-5=31']
Exploring Operation: 23+20=43, Resulting Numbers: [31, 43]
Generated Node #0,3,0: 22:[31, 43] Operation: 23+20=43
Exploring Operation: 31-20=11, Resulting Numbers: [23, 11]
Generated Node #0,3,1: 22:[23, 11] Operation: 31-20=11
Exploring Operation: 23-20=3, Resulting Numbers: [31, 3]
Generated Node #0,3,2: 22:[31, 3] Operation: 23-20=3
Exploring Operation: 31-23=8, Resulting Numbers: [20, 8]
Generated Node #0,3,3: 22:[20, 8] Operation: 31-23=8
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 22:[23, 11], Operations: ['36-5=31', '31-20=11']
Exploring Operation: 23+11=34, Resulting Numbers: [34]
34,22 unequal: No Solution
Exploring Operation: 23-11=12, Resulting Numbers: [12]
12,22 unequal: No Solution
Exploring Operation: 23*11=253, Resulting Numbers: [253]
253,22 unequal: No Solution
No 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: 22:[20, 8], Operations: ['36-5=31', '31-23=8']
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,22 unequal: No Solution
Exploring Operation: 20+8=28, Resulting Numbers: [28]
28,22 unequal: No Solution
Exploring Operation: 20*8=160, Resulting Numbers: [160]
160,22 unequal: No Solution
No 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: 22:[31, 3], Operations: ['36-5=31', '23-20=3']
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,22 unequal: No Solution
Exploring Operation: 31*3=93, Resulting Numbers: [93]
93,22 unequal: No Solution
Exploring Operation: 31+3=34, Resulting Numbers: [34]
34,22 unequal: No Solution
No 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: 22:[31, 43], Operations: ['36-5=31', '23+20=43']
Exploring Operation: 31*43=1333, Resulting Numbers: [1333]
1333,22 unequal: No Solution
Exploring Operation: 43-31=12, Resulting Numbers: [12]
12,22 unequal: No Solution
Exploring Operation: 31+43=74, Resulting Numbers: [74]
74,22 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: 22:[23, 36, 4], Operations: ['20/5=4']
Exploring Operation: 23-4=19, Resulting Numbers: [36, 19]
Generated Node #0,2,0: 22:[36, 19] Operation: 23-4=19
Exploring Operation: 36-4=32, Resulting Numbers: [23, 32]
Generated Node #0,2,1: 22:[23, 32] Operation: 36-4=32
Exploring Operation: 36/4=9, Resulting Numbers: [23, 9]
Generated Node #0,2,2: 22:[23, 9] Operation: 36/4=9
Exploring Operation: 36-23=13, Resulting Numbers: [4, 13]
Generated Node #0,2,3: 22:[4, 13] Operation: 36-23=13
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 22:[23, 9], Operations: ['20/5=4', '36/4=9']
Exploring Operation: 23*9=207, Resulting Numbers: [207]
207,22 unequal: No Solution
Exploring Operation: 23+9=32, Resulting Numbers: [32]
32,22 unequal: No Solution
Exploring Operation: 23-9=14, Resulting Numbers: [14]
14,22 unequal: No Solution
No 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: 22:[4, 13], Operations: ['20/5=4', '36-23=13']
Exploring Operation: 4+13=17, Resulting Numbers: [17]
17,22 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,22 unequal: No Solution
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,22 unequal: No Solution
No 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: 22:[23, 32], Operations: ['20/5=4', '36-4=32']
Exploring Operation: 32-23=9, Resulting Numbers: [9]
9,22 unequal: No Solution
Exploring Operation: 23*32=736, Resulting Numbers: [736]
736,22 unequal: No Solution
Exploring Operation: 23+32=55, Resulting Numbers: [55]
55,22 unequal: No Solution
No 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: 22:[36, 19], Operations: ['20/5=4', '23-4=19']
Exploring Operation: 36-19=17, Resulting Numbers: [17]
17,22 unequal: No Solution
Exploring Operation: 36+19=55, Resulting Numbers: [55]
55,22 unequal: No Solution
Exploring Operation: 36*19=684, Resulting Numbers: [684]
684,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,3
Current State: 22:[23, 11], Operations: ['36-20=16', '16-5=11']
Exploring Operation: 23*11=253, Resulting Numbers: [253]
253,22 unequal: No Solution
Exploring Operation: 23+11=34, Resulting Numbers: [34]
34,22 unequal: No Solution
Exploring Operation: 23-11=12, Resulting Numbers: [12]
12,22 unequal: No Solution
Moving to Node #0,1,2
Current State: 22:[23, 21], Operations: ['36-20=16', '5+16=21']
Exploring Operation: 23+21=44, Resulting Numbers: [44]
44,22 unequal: No Solution
Exploring Operation: 23*21=483, Resulting Numbers: [483]
483,22 unequal: No Solution
Exploring Operation: 23-21=2, Resulting Numbers: [2]
2,22 unequal: No Solution
Moving to Node #0,1,0
Current State: 22:[5, 7], Operations: ['36-20=16', '23-16=7']
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,22 unequal: No Solution
Exploring Operation: 5*7=35, Resulting Numbers: [35]
35,22 unequal: No Solution
Exploring Operation: 5+7=12, Resulting Numbers: [12]
12,22 unequal: No Solution
Moving to Node #0,1,1
Current State: 22:[16, 18], Operations: ['36-20=16', '23-5=18']
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,22 unequal: No Solution
Exploring Operation: 16+18=34, Resulting Numbers: [34]
34,22 unequal: No Solution
Exploring Operation: 16*18=288, Resulting Numbers: [288]
288,22 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
67,
5,
11,
73
] | 61 | [
"73-67=6",
"5*11=55",
"6+55=61"
] | Current State: 61:[67, 5, 11, 73], Operations: []
Exploring Operation: 73-67=6, Resulting Numbers: [5, 11, 6]
Generated Node #2: [5, 11, 6] from Operation: 73-67=6
Current State: 61:[5, 11, 6], Operations: ['73-67=6']
Exploring Operation: 5*11=55, Resulting Numbers: [6, 55]
Generated Node #3: [6, 55] from Operation: 5*11=55
Current State: 61:[6, 55], Operations: ['73-67=6', '5*11=55']
Exploring Operation: 6+55=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[67, 5, 11, 73], Operations: []
Exploring Operation: 67-5=62, Resulting Numbers: [11, 73, 62]
Generated Node #0,0: 61:[11, 73, 62] Operation: 67-5=62
Exploring Operation: 5*11=55, Resulting Numbers: [67, 73, 55]
Generated Node #0,1: 61:[67, 73, 55] Operation: 5*11=55
Exploring Operation: 5+11=16, Resulting Numbers: [67, 73, 16]
Generated Node #0,2: 61:[67, 73, 16] Operation: 5+11=16
Moving to Node #0,1
Current State: 61:[67, 73, 55], Operations: ['5*11=55']
Exploring Operation: 67-55=12, Resulting Numbers: [73, 12]
Generated Node #0,1,0: 61:[73, 12] Operation: 67-55=12
Exploring Operation: 73-67=6, Resulting Numbers: [55, 6]
Generated Node #0,1,1: 61:[55, 6] Operation: 73-67=6
Exploring Operation: 73-55=18, Resulting Numbers: [67, 18]
Generated Node #0,1,2: 61:[67, 18] Operation: 73-55=18
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 61:[67, 18], Operations: ['5*11=55', '73-55=18']
Exploring Operation: 67*18=1206, Resulting Numbers: [1206]
1206,61 unequal: No Solution
Exploring Operation: 67+18=85, Resulting Numbers: [85]
85,61 unequal: No Solution
Exploring Operation: 67-18=49, Resulting Numbers: [49]
49,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 61:[73, 12], Operations: ['5*11=55', '67-55=12']
Exploring Operation: 73+12=85, Resulting Numbers: [85]
85,61 unequal: No Solution
Exploring Operation: 73-12=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[67, 5, 11, 73], Operations: []
Exploring Operation: 5*11=55, Resulting Numbers: [67, 73, 55]
Generated Node #0,1: 61:[67, 73, 55] Operation: 5*11=55
Moving to Node #0,1
Current State: 61:[67, 73, 55], Operations: ['5*11=55']
Exploring Operation: 67-55=12, Resulting Numbers: [73, 12]
Generated Node #0,1,0: 61:[73, 12] Operation: 67-55=12
Moving to Node #0,1,0
Current State: 61:[73, 12], Operations: ['5*11=55', '67-55=12']
Exploring Operation: 73-12=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | sum_heuristic |
[
56,
38,
19,
61
] | 57 | [
"61-56=5",
"19*5=95",
"95-38=57"
] | Current State: 57:[56, 38, 19, 61], Operations: []
Exploring Operation: 61-56=5, Resulting Numbers: [38, 19, 5]
Generated Node #2: [38, 19, 5] from Operation: 61-56=5
Current State: 57:[38, 19, 5], Operations: ['61-56=5']
Exploring Operation: 19*5=95, Resulting Numbers: [38, 95]
Generated Node #3: [38, 95] from Operation: 19*5=95
Current State: 57:[38, 95], Operations: ['61-56=5', '19*5=95']
Exploring Operation: 95-38=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[56, 38, 19, 61], Operations: []
Exploring Operation: 38+19=57, Resulting Numbers: [56, 61, 57]
Generated Node #0,0: 57:[56, 61, 57] Operation: 38+19=57
Exploring Operation: 56-38=18, Resulting Numbers: [19, 61, 18]
Generated Node #0,1: 57:[19, 61, 18] Operation: 56-38=18
Exploring Operation: 61-38=23, Resulting Numbers: [56, 19, 23]
Generated Node #0,2: 57:[56, 19, 23] Operation: 61-38=23
Exploring Operation: 38/19=2, Resulting Numbers: [56, 61, 2]
Generated Node #0,3: 57:[56, 61, 2] Operation: 38/19=2
Exploring Operation: 38-19=19, Resulting Numbers: [56, 61, 19]
Generated Node #0,4: 57:[56, 61, 19] Operation: 38-19=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[56, 61, 57], Operations: ['38+19=57']
Exploring Operation: 56+57=113, Resulting Numbers: [61, 113]
Generated Node #0,0,0: 57:[61, 113] Operation: 56+57=113
Exploring Operation: 56+61=117, Resulting Numbers: [57, 117]
Generated Node #0,0,1: 57:[57, 117] Operation: 56+61=117
Exploring Operation: 57-56=1, Resulting Numbers: [61, 1]
Generated Node #0,0,2: 57:[61, 1] Operation: 57-56=1
Exploring Operation: 61-56=5, Resulting Numbers: [57, 5]
Generated Node #0,0,3: 57:[57, 5] Operation: 61-56=5
Exploring Operation: 61-57=4, Resulting Numbers: [56, 4]
Generated Node #0,0,4: 57:[56, 4] Operation: 61-57=4
Moving to Node #0,0,3
Current State: 57:[57, 5], Operations: ['38+19=57', '61-56=5']
Exploring Operation: 57-5=52, Resulting Numbers: [52]
52,57 unequal: No Solution
Exploring Operation: 57+5=62, Resulting Numbers: [62]
62,57 unequal: No Solution
Exploring Operation: 57*5=285, Resulting Numbers: [285]
285,57 unequal: No Solution
Moving to Node #0,0,4
Current State: 57:[56, 4], Operations: ['38+19=57', '61-57=4']
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,57 unequal: No Solution
Exploring Operation: 56+4=60, Resulting Numbers: [60]
60,57 unequal: No Solution
Exploring Operation: 56*4=224, Resulting Numbers: [224]
224,57 unequal: No Solution
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,57 unequal: No Solution
Moving to Node #0,0,2
Current State: 57:[61, 1], Operations: ['38+19=57', '57-56=1']
Exploring Operation: 61-1=60, Resulting Numbers: [60]
60,57 unequal: No Solution
Exploring Operation: 61/1=61, Resulting Numbers: [61]
61,57 unequal: No Solution
Exploring Operation: 61*1=61, Resulting Numbers: [61]
61,57 unequal: No Solution
Exploring Operation: 61+1=62, Resulting Numbers: [62]
62,57 unequal: No Solution
Moving to Node #0,0,0
Current State: 57:[61, 113], Operations: ['38+19=57', '56+57=113']
Exploring Operation: 113-61=52, Resulting Numbers: [52]
52,57 unequal: No Solution
Exploring Operation: 61+113=174, Resulting Numbers: [174]
174,57 unequal: No Solution
Exploring Operation: 61*113=6893, Resulting Numbers: [6893]
6893,57 unequal: No Solution
Moving to Node #0,0,1
Current State: 57:[57, 117], Operations: ['38+19=57', '56+61=117']
Exploring Operation: 57*117=6669, Resulting Numbers: [6669]
6669,57 unequal: No Solution
Exploring Operation: 57+117=174, Resulting Numbers: [174]
174,57 unequal: No Solution
Exploring Operation: 117-57=60, Resulting Numbers: [60]
60,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,1
Current State: 57:[19, 61, 18], Operations: ['56-38=18']
Exploring Operation: 61-18=43, Resulting Numbers: [19, 43]
Generated Node #0,1,0: 57:[19, 43] Operation: 61-18=43
Exploring Operation: 61+18=79, Resulting Numbers: [19, 79]
Generated Node #0,1,1: 57:[19, 79] Operation: 61+18=79
Exploring Operation: 19-18=1, Resulting Numbers: [61, 1]
Generated Node #0,1,2: 57:[61, 1] Operation: 19-18=1
Exploring Operation: 61-19=42, Resulting Numbers: [18, 42]
Generated Node #0,1,3: 57:[18, 42] Operation: 61-19=42
Exploring Operation: 19+18=37, Resulting Numbers: [61, 37]
Generated Node #0,1,4: 57:[61, 37] Operation: 19+18=37
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 57:[61, 1], Operations: ['56-38=18', '19-18=1']
Exploring Operation: 61-1=60, Resulting Numbers: [60]
60,57 unequal: No Solution
Exploring Operation: 61*1=61, Resulting Numbers: [61]
61,57 unequal: No Solution
Exploring Operation: 61+1=62, Resulting Numbers: [62]
62,57 unequal: No Solution
Exploring Operation: 61/1=61, Resulting Numbers: [61]
61,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 57:[19, 43], Operations: ['56-38=18', '61-18=43']
Exploring Operation: 19*43=817, Resulting Numbers: [817]
817,57 unequal: No Solution
Exploring Operation: 19+43=62, Resulting Numbers: [62]
62,57 unequal: No Solution
Exploring Operation: 43-19=24, Resulting Numbers: [24]
24,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 57:[18, 42], Operations: ['56-38=18', '61-19=42']
Exploring Operation: 18+42=60, Resulting Numbers: [60]
60,57 unequal: No Solution
Exploring Operation: 42-18=24, Resulting Numbers: [24]
24,57 unequal: No Solution
Exploring Operation: 18*42=756, Resulting Numbers: [756]
756,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 57:[19, 79], Operations: ['56-38=18', '61+18=79']
Exploring Operation: 19*79=1501, Resulting Numbers: [1501]
1501,57 unequal: No Solution
Exploring Operation: 79-19=60, Resulting Numbers: [60]
60,57 unequal: No Solution
Exploring Operation: 19+79=98, Resulting Numbers: [98]
98,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 57:[61, 37], Operations: ['56-38=18', '19+18=37']
Exploring Operation: 61+37=98, Resulting Numbers: [98]
98,57 unequal: No Solution
Exploring Operation: 61-37=24, Resulting Numbers: [24]
24,57 unequal: No Solution
Exploring Operation: 61*37=2257, Resulting Numbers: [2257]
2257,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 57:[56, 19, 23], Operations: ['61-38=23']
Exploring Operation: 56-19=37, Resulting Numbers: [23, 37]
Generated Node #0,2,0: 57:[23, 37] Operation: 56-19=37
Exploring Operation: 19+23=42, Resulting Numbers: [56, 42]
Generated Node #0,2,1: 57:[56, 42] Operation: 19+23=42
Exploring Operation: 23-19=4, Resulting Numbers: [56, 4]
Generated Node #0,2,2: 57:[56, 4] Operation: 23-19=4
Exploring Operation: 56+19=75, Resulting Numbers: [23, 75]
Generated Node #0,2,3: 57:[23, 75] Operation: 56+19=75
Exploring Operation: 56-23=33, Resulting Numbers: [19, 33]
Generated Node #0,2,4: 57:[19, 33] Operation: 56-23=33
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 57:[56, 4], Operations: ['61-38=23', '23-19=4']
Exploring Operation: 56+4=60, Resulting Numbers: [60]
60,57 unequal: No Solution
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,57 unequal: No Solution
Exploring Operation: 56*4=224, Resulting Numbers: [224]
224,57 unequal: No Solution
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 57:[19, 33], Operations: ['61-38=23', '56-23=33']
Exploring Operation: 19*33=627, Resulting Numbers: [627]
627,57 unequal: No Solution
Exploring Operation: 19+33=52, Resulting Numbers: [52]
52,57 unequal: No Solution
Exploring Operation: 33-19=14, Resulting Numbers: [14]
14,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 57:[56, 42], Operations: ['61-38=23', '19+23=42']
Exploring Operation: 56-42=14, Resulting Numbers: [14]
14,57 unequal: No Solution
Exploring Operation: 56*42=2352, Resulting Numbers: [2352]
2352,57 unequal: No Solution
Exploring Operation: 56+42=98, Resulting Numbers: [98]
98,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 57:[23, 37], Operations: ['61-38=23', '56-19=37']
Exploring Operation: 23+37=60, Resulting Numbers: [60]
60,57 unequal: No Solution
Exploring Operation: 37-23=14, Resulting Numbers: [14]
14,57 unequal: No Solution
Exploring Operation: 23*37=851, Resulting Numbers: [851]
851,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 57:[23, 75], Operations: ['61-38=23', '56+19=75']
Exploring Operation: 75-23=52, Resulting Numbers: [52]
52,57 unequal: No Solution
Exploring Operation: 23+75=98, Resulting Numbers: [98]
98,57 unequal: No Solution
Exploring Operation: 23*75=1725, Resulting Numbers: [1725]
1725,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 57:[56, 61, 19], Operations: ['38-19=19']
Exploring Operation: 56-19=37, Resulting Numbers: [61, 37]
Generated Node #0,4,0: 57:[61, 37] Operation: 56-19=37
Exploring Operation: 61+19=80, Resulting Numbers: [56, 80]
Generated Node #0,4,1: 57:[56, 80] Operation: 61+19=80
Exploring Operation: 61-56=5, Resulting Numbers: [19, 5]
Generated Node #0,4,2: 57:[19, 5] Operation: 61-56=5
Exploring Operation: 61-19=42, Resulting Numbers: [56, 42]
Generated Node #0,4,3: 57:[56, 42] Operation: 61-19=42
Exploring Operation: 56+19=75, Resulting Numbers: [61, 75]
Generated Node #0,4,4: 57:[61, 75] Operation: 56+19=75
Moving to Node #0,4,2
Current State: 57:[19, 5], Operations: ['38-19=19', '61-56=5']
Exploring Operation: 19+5=24, Resulting Numbers: [24]
24,57 unequal: No Solution
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,57 unequal: No Solution
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,57 unequal: No Solution
Moving to Node #0,4,3
Current State: 57:[56, 42], Operations: ['38-19=19', '61-19=42']
Exploring Operation: 56*42=2352, Resulting Numbers: [2352]
2352,57 unequal: No Solution
Exploring Operation: 56-42=14, Resulting Numbers: [14]
14,57 unequal: No Solution
Exploring Operation: 56+42=98, Resulting Numbers: [98]
98,57 unequal: No Solution
Moving to Node #0,4,0
Current State: 57:[61, 37], Operations: ['38-19=19', '56-19=37']
Exploring Operation: 61*37=2257, Resulting Numbers: [2257]
2257,57 unequal: No Solution
Exploring Operation: 61+37=98, Resulting Numbers: [98]
98,57 unequal: No Solution
Exploring Operation: 61-37=24, Resulting Numbers: [24]
24,57 unequal: No Solution
Moving to Node #0,4,4
Current State: 57:[61, 75], Operations: ['38-19=19', '56+19=75']
Exploring Operation: 61*75=4575, Resulting Numbers: [4575]
4575,57 unequal: No Solution
Exploring Operation: 61+75=136, Resulting Numbers: [136]
136,57 unequal: No Solution
Exploring Operation: 75-61=14, Resulting Numbers: [14]
14,57 unequal: No Solution
Moving to Node #0,4,1
Current State: 57:[56, 80], Operations: ['38-19=19', '61+19=80']
Exploring Operation: 80-56=24, Resulting Numbers: [24]
24,57 unequal: No Solution
Exploring Operation: 56*80=4480, Resulting Numbers: [4480]
4480,57 unequal: No Solution
Exploring Operation: 56+80=136, Resulting Numbers: [136]
136,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
Current State: 57:[56, 61, 2], Operations: ['38/19=2']
Exploring Operation: 61+2=63, Resulting Numbers: [56, 63]
Generated Node #0,3,0: 57:[56, 63] Operation: 61+2=63
Exploring Operation: 56-2=54, Resulting Numbers: [61, 54]
Generated Node #0,3,1: 57:[61, 54] Operation: 56-2=54
Exploring Operation: 56+2=58, Resulting Numbers: [61, 58]
Generated Node #0,3,2: 57:[61, 58] Operation: 56+2=58
Exploring Operation: 61-56=5, Resulting Numbers: [2, 5]
Generated Node #0,3,3: 57:[2, 5] Operation: 61-56=5
Exploring Operation: 61-2=59, Resulting Numbers: [56, 59]
Generated Node #0,3,4: 57:[56, 59] Operation: 61-2=59
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 57:[2, 5], Operations: ['38/19=2', '61-56=5']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,57 unequal: No Solution
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 57:[56, 59], Operations: ['38/19=2', '61-2=59']
Exploring Operation: 56+59=115, Resulting Numbers: [115]
115,57 unequal: No Solution
Exploring Operation: 56*59=3304, Resulting Numbers: [3304]
3304,57 unequal: No Solution
Exploring Operation: 59-56=3, Resulting Numbers: [3]
3,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 57:[61, 58], Operations: ['38/19=2', '56+2=58']
Exploring Operation: 61*58=3538, Resulting Numbers: [3538]
3538,57 unequal: No Solution
Exploring Operation: 61+58=119, Resulting Numbers: [119]
119,57 unequal: No Solution
Exploring Operation: 61-58=3, Resulting Numbers: [3]
3,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 57:[56, 63], Operations: ['38/19=2', '61+2=63']
Exploring Operation: 56+63=119, Resulting Numbers: [119]
119,57 unequal: No Solution
Exploring Operation: 63-56=7, Resulting Numbers: [7]
7,57 unequal: No Solution
Exploring Operation: 56*63=3528, Resulting Numbers: [3528]
3528,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 57:[61, 54], Operations: ['38/19=2', '56-2=54']
Exploring Operation: 61*54=3294, Resulting Numbers: [3294]
3294,57 unequal: No Solution
Exploring Operation: 61+54=115, Resulting Numbers: [115]
115,57 unequal: No Solution
Exploring Operation: 61-54=7, Resulting Numbers: [7]
7,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
26,
53,
79,
76
] | 76 | [
"26+53=79",
"79+76=155",
"155-79=76"
] | Current State: 76:[26, 53, 79, 76], Operations: []
Exploring Operation: 26+53=79, Resulting Numbers: [79, 76, 79]
Generated Node #2: [79, 76, 79] from Operation: 26+53=79
Current State: 76:[79, 76, 79], Operations: ['26+53=79']
Exploring Operation: 79+76=155, Resulting Numbers: [155]
155,76 equal: Goal Reached
Exploring Operation: 155-79=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[26, 53, 79, 76], Operations: []
Exploring Operation: 26+53=79, Resulting Numbers: [79, 76, 79]
Generated Node #0,0: 76:[79, 76, 79] Operation: 26+53=79
Exploring Operation: 53-26=27, Resulting Numbers: [79, 76, 27]
Generated Node #0,1: 76:[79, 76, 27] Operation: 53-26=27
Exploring Operation: 79-53=26, Resulting Numbers: [26, 76, 26]
Generated Node #0,2: 76:[26, 76, 26] Operation: 79-53=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[79, 76, 79], Operations: ['26+53=79']
Exploring Operation: 79-79=0, Resulting Numbers: [76, 0]
Generated Node #0,0,0: 76:[76, 0] Operation: 79-79=0
Exploring Operation: 79/79=1, Resulting Numbers: [76, 1]
Generated Node #0,0,1: 76:[76, 1] Operation: 79/79=1
Exploring Operation: 79-76=3, Resulting Numbers: [79, 3]
Generated Node #0,0,2: 76:[79, 3] Operation: 79-76=3
Moving to Node #0,0,1
Current State: 76:[76, 1], Operations: ['26+53=79', '79/79=1']
Exploring Operation: 76+1=77, Resulting Numbers: [77]
77,76 unequal: No Solution
Exploring Operation: 76*1=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[26, 53, 79, 76], Operations: []
Exploring Operation: 26+53=79, Resulting Numbers: [79, 76, 79]
Generated Node #0,0: 76:[79, 76, 79] Operation: 26+53=79
Moving to Node #0,0
Current State: 76:[79, 76, 79], Operations: ['26+53=79']
Exploring Operation: 79/79=1, Resulting Numbers: [76, 1]
Generated Node #0,0,1: 76:[76, 1] Operation: 79/79=1
Moving to Node #0,0,1
Current State: 76:[76, 1], Operations: ['26+53=79', '79/79=1']
Exploring Operation: 76*1=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
39,
62,
50,
3
] | 35 | [
"62-50=12",
"12/3=4",
"39-4=35"
] | Current State: 35:[39, 62, 50, 3], Operations: []
Exploring Operation: 62-50=12, Resulting Numbers: [39, 3, 12]
Generated Node #2: [39, 3, 12] from Operation: 62-50=12
Current State: 35:[39, 3, 12], Operations: ['62-50=12']
Exploring Operation: 12/3=4, Resulting Numbers: [39, 4]
Generated Node #3: [39, 4] from Operation: 12/3=4
Current State: 35:[39, 4], Operations: ['62-50=12', '12/3=4']
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[39, 62, 50, 3], Operations: []
Exploring Operation: 62-50=12, Resulting Numbers: [39, 3, 12]
Generated Node #0,0: 35:[39, 3, 12] Operation: 62-50=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[39, 3, 12], Operations: ['62-50=12']
Exploring Operation: 3*12=36, Resulting Numbers: [39, 36]
Generated Node #0,0,0: 35:[39, 36] Operation: 3*12=36
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 35:[39, 36], Operations: ['62-50=12', '3*12=36']
Exploring Operation: 39-36=3, Resulting Numbers: [3]
3,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
71,
2,
2,
33
] | 34 | [
"71-2=69",
"2+33=35",
"69-35=34"
] | Current State: 34:[71, 2, 2, 33], Operations: []
Exploring Operation: 71-2=69, Resulting Numbers: [33, 69]
Generated Node #2: [33, 69] from Operation: 71-2=69
Current State: 34:[33, 69], Operations: ['71-2=69']
Exploring Operation: 2+33=35, Resulting Numbers: [69, 35]
Generated Node #3: [69, 35] from Operation: 2+33=35
Current State: 34:[69, 35], Operations: ['71-2=69', '2+33=35']
Exploring Operation: 69-35=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[71, 2, 2, 33], Operations: []
Exploring Operation: 71-2=69, Resulting Numbers: [2, 33, 69]
Generated Node #0,0: 34:[2, 33, 69] Operation: 71-2=69
Exploring Operation: 71-2=69, Resulting Numbers: [2, 33, 69]
Generated Node #0,1: 34:[2, 33, 69] Operation: 71-2=69
Exploring Operation: 71-33=38, Resulting Numbers: [2, 2, 38]
Generated Node #0,2: 34:[2, 2, 38] Operation: 71-33=38
Start Sub Search at level 1: Moving to Node #0,2
Current State: 34:[2, 2, 38], Operations: ['71-33=38']
Exploring Operation: 38/2=19, Resulting Numbers: [2, 19]
Generated Node #0,2,0: 34:[2, 19] Operation: 38/2=19
Exploring Operation: 38-2=36, Resulting Numbers: [2, 36]
Generated Node #0,2,1: 34:[2, 36] Operation: 38-2=36
Exploring Operation: 38-2=36, Resulting Numbers: [2, 36]
Generated Node #0,2,2: 34:[2, 36] Operation: 38-2=36
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 34:[2, 19], Operations: ['71-33=38', '38/2=19']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,34 unequal: No Solution
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,34 unequal: No Solution
No 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: 34:[2, 36], Operations: ['71-33=38', '38-2=36']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[71, 2, 2, 33], Operations: []
Exploring Operation: 71-33=38, Resulting Numbers: [2, 2, 38]
Generated Node #0,2: 34:[2, 2, 38] Operation: 71-33=38
Moving to Node #0,2
Current State: 34:[2, 2, 38], Operations: ['71-33=38']
Exploring Operation: 38-2=36, Resulting Numbers: [2, 36]
Generated Node #0,2,1: 34:[2, 36] Operation: 38-2=36
Moving to Node #0,2,1
Current State: 34:[2, 36], Operations: ['71-33=38', '38-2=36']
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_3 | mult_heuristic |
[
41,
5,
22,
18
] | 41 | [
"22-5=17",
"18-17=1",
"41*1=41"
] | Current State: 41:[41, 5, 22, 18], Operations: []
Exploring Operation: 22-5=17, Resulting Numbers: [41, 18, 17]
Generated Node #2: [41, 18, 17] from Operation: 22-5=17
Current State: 41:[41, 18, 17], Operations: ['22-5=17']
Exploring Operation: 18-17=1, Resulting Numbers: [41, 1]
Generated Node #3: [41, 1] from Operation: 18-17=1
Current State: 41:[41, 1], Operations: ['22-5=17', '18-17=1']
Exploring Operation: 41*1=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[41, 5, 22, 18], Operations: []
Exploring Operation: 22+18=40, Resulting Numbers: [41, 5, 40]
Generated Node #0,0: 41:[41, 5, 40] Operation: 22+18=40
Exploring Operation: 41+5=46, Resulting Numbers: [22, 18, 46]
Generated Node #0,1: 41:[22, 18, 46] Operation: 41+5=46
Exploring Operation: 5+22=27, Resulting Numbers: [41, 18, 27]
Generated Node #0,2: 41:[41, 18, 27] Operation: 5+22=27
Exploring Operation: 5+18=23, Resulting Numbers: [41, 22, 23]
Generated Node #0,3: 41:[41, 22, 23] Operation: 5+18=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[41, 5, 40], Operations: ['22+18=40']
Exploring Operation: 40-5=35, Resulting Numbers: [41, 35]
Generated Node #0,0,0: 41:[41, 35] Operation: 40-5=35
Exploring Operation: 41+5=46, Resulting Numbers: [40, 46]
Generated Node #0,0,1: 41:[40, 46] Operation: 41+5=46
Exploring Operation: 5+40=45, Resulting Numbers: [41, 45]
Generated Node #0,0,2: 41:[41, 45] Operation: 5+40=45
Exploring Operation: 41-5=36, Resulting Numbers: [40, 36]
Generated Node #0,0,3: 41:[40, 36] Operation: 41-5=36
Moving to Node #0,0,2
Current State: 41:[41, 45], Operations: ['22+18=40', '5+40=45']
Exploring Operation: 41*45=1845, Resulting Numbers: [1845]
1845,41 unequal: No Solution
Exploring Operation: 41+45=86, Resulting Numbers: [86]
86,41 unequal: No Solution
Exploring Operation: 45-41=4, Resulting Numbers: [4]
4,41 unequal: No Solution
Moving to Node #0,0,1
Current State: 41:[40, 46], Operations: ['22+18=40', '41+5=46']
Exploring Operation: 40*46=1840, Resulting Numbers: [1840]
1840,41 unequal: No Solution
Exploring Operation: 40+46=86, Resulting Numbers: [86]
86,41 unequal: No Solution
Exploring Operation: 46-40=6, Resulting Numbers: [6]
6,41 unequal: No Solution
Moving to Node #0,0,0
Current State: 41:[41, 35], Operations: ['22+18=40', '40-5=35']
Exploring Operation: 41*35=1435, Resulting Numbers: [1435]
1435,41 unequal: No Solution
Exploring Operation: 41+35=76, Resulting Numbers: [76]
76,41 unequal: No Solution
Exploring Operation: 41-35=6, Resulting Numbers: [6]
6,41 unequal: No Solution
Moving to Node #0,0,3
Current State: 41:[40, 36], Operations: ['22+18=40', '41-5=36']
Exploring Operation: 40-36=4, Resulting Numbers: [4]
4,41 unequal: No Solution
Exploring Operation: 40*36=1440, Resulting Numbers: [1440]
1440,41 unequal: No Solution
Exploring Operation: 40+36=76, Resulting Numbers: [76]
76,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 41:[41, 18, 27], Operations: ['5+22=27']
Exploring Operation: 41+18=59, Resulting Numbers: [27, 59]
Generated Node #0,2,0: 41:[27, 59] Operation: 41+18=59
Exploring Operation: 18+27=45, Resulting Numbers: [41, 45]
Generated Node #0,2,1: 41:[41, 45] Operation: 18+27=45
Exploring Operation: 27-18=9, Resulting Numbers: [41, 9]
Generated Node #0,2,2: 41:[41, 9] Operation: 27-18=9
Exploring Operation: 41-18=23, Resulting Numbers: [27, 23]
Generated Node #0,2,3: 41:[27, 23] Operation: 41-18=23
Moving to Node #0,2,1
Current State: 41:[41, 45], Operations: ['5+22=27', '18+27=45']
Exploring Operation: 41*45=1845, Resulting Numbers: [1845]
1845,41 unequal: No Solution
Exploring Operation: 45-41=4, Resulting Numbers: [4]
4,41 unequal: No Solution
Exploring Operation: 41+45=86, Resulting Numbers: [86]
86,41 unequal: No Solution
Moving to Node #0,2,2
Current State: 41:[41, 9], Operations: ['5+22=27', '27-18=9']
Exploring Operation: 41*9=369, Resulting Numbers: [369]
369,41 unequal: No Solution
Exploring Operation: 41-9=32, Resulting Numbers: [32]
32,41 unequal: No Solution
Exploring Operation: 41+9=50, Resulting Numbers: [50]
50,41 unequal: No Solution
Moving to Node #0,2,0
Current State: 41:[27, 59], Operations: ['5+22=27', '41+18=59']
Exploring Operation: 27*59=1593, Resulting Numbers: [1593]
1593,41 unequal: No Solution
Exploring Operation: 27+59=86, Resulting Numbers: [86]
86,41 unequal: No Solution
Exploring Operation: 59-27=32, Resulting Numbers: [32]
32,41 unequal: No Solution
Moving to Node #0,2,3
Current State: 41:[27, 23], Operations: ['5+22=27', '41-18=23']
Exploring Operation: 27*23=621, Resulting Numbers: [621]
621,41 unequal: No Solution
Exploring Operation: 27+23=50, Resulting Numbers: [50]
50,41 unequal: No Solution
Exploring Operation: 27-23=4, Resulting Numbers: [4]
4,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 41:[41, 22, 23], Operations: ['5+18=23']
Exploring Operation: 23-22=1, Resulting Numbers: [41, 1]
Generated Node #0,3,0: 41:[41, 1] Operation: 23-22=1
Exploring Operation: 41-22=19, Resulting Numbers: [23, 19]
Generated Node #0,3,1: 41:[23, 19] Operation: 41-22=19
Exploring Operation: 22+23=45, Resulting Numbers: [41, 45]
Generated Node #0,3,2: 41:[41, 45] Operation: 22+23=45
Exploring Operation: 41+22=63, Resulting Numbers: [23, 63]
Generated Node #0,3,3: 41:[23, 63] Operation: 41+22=63
Moving to Node #0,3,2
Current State: 41:[41, 45], Operations: ['5+18=23', '22+23=45']
Exploring Operation: 45-41=4, Resulting Numbers: [4]
4,41 unequal: No Solution
Exploring Operation: 41+45=86, Resulting Numbers: [86]
86,41 unequal: No Solution
Exploring Operation: 41*45=1845, Resulting Numbers: [1845]
1845,41 unequal: No Solution
Moving to Node #0,3,1
Current State: 41:[23, 19], Operations: ['5+18=23', '41-22=19']
Exploring Operation: 23*19=437, Resulting Numbers: [437]
437,41 unequal: No Solution
Exploring Operation: 23+19=42, Resulting Numbers: [42]
42,41 unequal: No Solution
Exploring Operation: 23-19=4, Resulting Numbers: [4]
4,41 unequal: No Solution
Moving to Node #0,3,0
Current State: 41:[41, 1], Operations: ['5+18=23', '23-22=1']
Exploring Operation: 41/1=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[41, 5, 22, 18], Operations: []
Exploring Operation: 5+18=23, Resulting Numbers: [41, 22, 23]
Generated Node #0,3: 41:[41, 22, 23] Operation: 5+18=23
Moving to Node #0,3
Current State: 41:[41, 22, 23], Operations: ['5+18=23']
Exploring Operation: 23-22=1, Resulting Numbers: [41, 1]
Generated Node #0,3,0: 41:[41, 1] Operation: 23-22=1
Moving to Node #0,3,0
Current State: 41:[41, 1], Operations: ['5+18=23', '23-22=1']
Exploring Operation: 41/1=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.955729 | hs_4 | sum_heuristic |
[
64,
1,
12,
4
] | 47 | [
"64-1=63",
"12+4=16",
"63-16=47"
] | Current State: 47:[64, 1, 12, 4], Operations: []
Exploring Operation: 64-1=63, Resulting Numbers: [12, 4, 63]
Generated Node #2: [12, 4, 63] from Operation: 64-1=63
Current State: 47:[12, 4, 63], Operations: ['64-1=63']
Exploring Operation: 12+4=16, Resulting Numbers: [63, 16]
Generated Node #3: [63, 16] from Operation: 12+4=16
Current State: 47:[63, 16], Operations: ['64-1=63', '12+4=16']
Exploring Operation: 63-16=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[64, 1, 12, 4], Operations: []
Exploring Operation: 64-1=63, Resulting Numbers: [12, 4, 63]
Generated Node #0,0: 47:[12, 4, 63] Operation: 64-1=63
Exploring Operation: 12*4=48, Resulting Numbers: [64, 1, 48]
Generated Node #0,1: 47:[64, 1, 48] Operation: 12*4=48
Exploring Operation: 1+12=13, Resulting Numbers: [64, 4, 13]
Generated Node #0,2: 47:[64, 4, 13] Operation: 1+12=13
Exploring Operation: 64-12=52, Resulting Numbers: [1, 4, 52]
Generated Node #0,3: 47:[1, 4, 52] Operation: 64-12=52
Exploring Operation: 64-4=60, Resulting Numbers: [1, 12, 60]
Generated Node #0,4: 47:[1, 12, 60] Operation: 64-4=60
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[64, 1, 48], Operations: ['12*4=48']
Exploring Operation: 64-1=63, Resulting Numbers: [48, 63]
Generated Node #0,1,0: 47:[48, 63] Operation: 64-1=63
Exploring Operation: 1*48=48, Resulting Numbers: [64, 48]
Generated Node #0,1,1: 47:[64, 48] Operation: 1*48=48
Exploring Operation: 64/1=64, Resulting Numbers: [48, 64]
Generated Node #0,1,2: 47:[48, 64] Operation: 64/1=64
Exploring Operation: 64*1=64, Resulting Numbers: [48, 64]
Generated Node #0,1,3: 47:[48, 64] Operation: 64*1=64
Exploring Operation: 48-1=47, Resulting Numbers: [64, 47]
Generated Node #0,1,4: 47:[64, 47] Operation: 48-1=47
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 47:[48, 63], Operations: ['12*4=48', '64-1=63']
Exploring Operation: 48+63=111, Resulting Numbers: [111]
111,47 unequal: No Solution
Exploring Operation: 63-48=15, Resulting Numbers: [15]
15,47 unequal: No Solution
Exploring Operation: 48*63=3024, Resulting Numbers: [3024]
3024,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,4
Current State: 47:[64, 47], Operations: ['12*4=48', '48-1=47']
Exploring Operation: 64-47=17, Resulting Numbers: [17]
17,47 unequal: No Solution
Exploring Operation: 64*47=3008, Resulting Numbers: [3008]
3008,47 unequal: No Solution
Exploring Operation: 64+47=111, Resulting Numbers: [111]
111,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:[64, 48], Operations: ['12*4=48', '1*48=48']
Exploring Operation: 64-48=16, Resulting Numbers: [16]
16,47 unequal: No Solution
Exploring Operation: 64+48=112, Resulting Numbers: [112]
112,47 unequal: No Solution
Exploring Operation: 64*48=3072, Resulting Numbers: [3072]
3072,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:[48, 64], Operations: ['12*4=48', '64/1=64']
Exploring Operation: 48+64=112, Resulting Numbers: [112]
112,47 unequal: No Solution
Exploring Operation: 48*64=3072, Resulting Numbers: [3072]
3072,47 unequal: No Solution
Exploring Operation: 64-48=16, Resulting Numbers: [16]
16,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:[48, 64], Operations: ['12*4=48', '64*1=64']
Exploring Operation: 48*64=3072, Resulting Numbers: [3072]
3072,47 unequal: No Solution
Exploring Operation: 64-48=16, Resulting Numbers: [16]
16,47 unequal: No Solution
Exploring Operation: 48+64=112, Resulting Numbers: [112]
112,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:[12, 4, 63], Operations: ['64-1=63']
Exploring Operation: 12*4=48, Resulting Numbers: [63, 48]
Generated Node #0,0,0: 47:[63, 48] Operation: 12*4=48
Exploring Operation: 63-12=51, Resulting Numbers: [4, 51]
Generated Node #0,0,1: 47:[4, 51] Operation: 63-12=51
Exploring Operation: 12+4=16, Resulting Numbers: [63, 16]
Generated Node #0,0,2: 47:[63, 16] Operation: 12+4=16
Exploring Operation: 63-4=59, Resulting Numbers: [12, 59]
Generated Node #0,0,3: 47:[12, 59] Operation: 63-4=59
Exploring Operation: 12-4=8, Resulting Numbers: [63, 8]
Generated Node #0,0,4: 47:[63, 8] Operation: 12-4=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[63, 48], Operations: ['64-1=63', '12*4=48']
Exploring Operation: 63-48=15, Resulting Numbers: [15]
15,47 unequal: No Solution
Exploring Operation: 63+48=111, Resulting Numbers: [111]
111,47 unequal: No Solution
Exploring Operation: 63*48=3024, Resulting Numbers: [3024]
3024,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:[4, 51], Operations: ['64-1=63', '63-12=51']
Exploring Operation: 4+51=55, Resulting Numbers: [55]
55,47 unequal: No Solution
Exploring Operation: 51-4=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[64, 1, 12, 4], Operations: []
Exploring Operation: 64-1=63, Resulting Numbers: [12, 4, 63]
Generated Node #0,0: 47:[12, 4, 63] Operation: 64-1=63
Moving to Node #0,0
Current State: 47:[12, 4, 63], Operations: ['64-1=63']
Exploring Operation: 63-12=51, Resulting Numbers: [4, 51]
Generated Node #0,0,1: 47:[4, 51] Operation: 63-12=51
Moving to Node #0,0,1
Current State: 47:[4, 51], Operations: ['64-1=63', '63-12=51']
Exploring Operation: 51-4=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.966146 | hs_5 | mult_heuristic |
[
47,
35,
4,
98
] | 89 | [
"98-47=51",
"35*4=140",
"140-51=89"
] | Current State: 89:[47, 35, 4, 98], Operations: []
Exploring Operation: 98-47=51, Resulting Numbers: [35, 4, 51]
Generated Node #2: [35, 4, 51] from Operation: 98-47=51
Current State: 89:[35, 4, 51], Operations: ['98-47=51']
Exploring Operation: 35*4=140, Resulting Numbers: [51, 140]
Generated Node #3: [51, 140] from Operation: 35*4=140
Current State: 89:[51, 140], Operations: ['98-47=51', '35*4=140']
Exploring Operation: 140-51=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[47, 35, 4, 98], Operations: []
Exploring Operation: 47+35=82, Resulting Numbers: [4, 98, 82]
Generated Node #0,0: 89:[4, 98, 82] Operation: 47+35=82
Exploring Operation: 35+4=39, Resulting Numbers: [47, 98, 39]
Generated Node #0,1: 89:[47, 98, 39] Operation: 35+4=39
Exploring Operation: 47+4=51, Resulting Numbers: [35, 98, 51]
Generated Node #0,2: 89:[35, 98, 51] Operation: 47+4=51
Exploring Operation: 98-4=94, Resulting Numbers: [47, 35, 94]
Generated Node #0,3: 89:[47, 35, 94] Operation: 98-4=94
Moving to Node #0,0
Current State: 89:[4, 98, 82], Operations: ['47+35=82']
Exploring Operation: 98-4=94, Resulting Numbers: [82, 94]
Generated Node #0,0,0: 89:[82, 94] Operation: 98-4=94
Exploring Operation: 82-4=78, Resulting Numbers: [98, 78]
Generated Node #0,0,1: 89:[98, 78] Operation: 82-4=78
Exploring Operation: 4+82=86, Resulting Numbers: [98, 86]
Generated Node #0,0,2: 89:[98, 86] Operation: 4+82=86
Exploring Operation: 4+98=102, Resulting Numbers: [82, 102]
Generated Node #0,0,3: 89:[82, 102] Operation: 4+98=102
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 89:[82, 94], Operations: ['47+35=82', '98-4=94']
Exploring Operation: 94-82=12, Resulting Numbers: [12]
12,89 unequal: No Solution
Exploring Operation: 82*94=7708, Resulting Numbers: [7708]
7708,89 unequal: No Solution
Exploring Operation: 82+94=176, Resulting Numbers: [176]
176,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 89:[98, 86], Operations: ['47+35=82', '4+82=86']
Exploring Operation: 98-86=12, Resulting Numbers: [12]
12,89 unequal: No Solution
Exploring Operation: 98*86=8428, Resulting Numbers: [8428]
8428,89 unequal: No Solution
Exploring Operation: 98+86=184, Resulting Numbers: [184]
184,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 89:[98, 78], Operations: ['47+35=82', '82-4=78']
Exploring Operation: 98-78=20, Resulting Numbers: [20]
20,89 unequal: No Solution
Exploring Operation: 98*78=7644, Resulting Numbers: [7644]
7644,89 unequal: No Solution
Exploring Operation: 98+78=176, Resulting Numbers: [176]
176,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 89:[82, 102], Operations: ['47+35=82', '4+98=102']
Exploring Operation: 82+102=184, Resulting Numbers: [184]
184,89 unequal: No Solution
Exploring Operation: 102-82=20, Resulting Numbers: [20]
20,89 unequal: No Solution
Exploring Operation: 82*102=8364, Resulting Numbers: [8364]
8364,89 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: 89:[35, 98, 51], Operations: ['47+4=51']
Exploring Operation: 35+51=86, Resulting Numbers: [98, 86]
Generated Node #0,2,0: 89:[98, 86] Operation: 35+51=86
Exploring Operation: 51-35=16, Resulting Numbers: [98, 16]
Generated Node #0,2,1: 89:[98, 16] Operation: 51-35=16
Exploring Operation: 35+98=133, Resulting Numbers: [51, 133]
Generated Node #0,2,2: 89:[51, 133] Operation: 35+98=133
Exploring Operation: 98-35=63, Resulting Numbers: [51, 63]
Generated Node #0,2,3: 89:[51, 63] Operation: 98-35=63
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 89:[98, 86], Operations: ['47+4=51', '35+51=86']
Exploring Operation: 98+86=184, Resulting Numbers: [184]
184,89 unequal: No Solution
Exploring Operation: 98*86=8428, Resulting Numbers: [8428]
8428,89 unequal: No Solution
Exploring Operation: 98-86=12, Resulting Numbers: [12]
12,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 89:[51, 63], Operations: ['47+4=51', '98-35=63']
Exploring Operation: 51*63=3213, Resulting Numbers: [3213]
3213,89 unequal: No Solution
Exploring Operation: 51+63=114, Resulting Numbers: [114]
114,89 unequal: No Solution
Exploring Operation: 63-51=12, Resulting Numbers: [12]
12,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 89:[98, 16], Operations: ['47+4=51', '51-35=16']
Exploring Operation: 98*16=1568, Resulting Numbers: [1568]
1568,89 unequal: No Solution
Exploring Operation: 98+16=114, Resulting Numbers: [114]
114,89 unequal: No Solution
Exploring Operation: 98-16=82, Resulting Numbers: [82]
82,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 89:[51, 133], Operations: ['47+4=51', '35+98=133']
Exploring Operation: 51+133=184, Resulting Numbers: [184]
184,89 unequal: No Solution
Exploring Operation: 133-51=82, Resulting Numbers: [82]
82,89 unequal: No Solution
Exploring Operation: 51*133=6783, Resulting Numbers: [6783]
6783,89 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: 89:[47, 98, 39], Operations: ['35+4=39']
Exploring Operation: 47+39=86, Resulting Numbers: [98, 86]
Generated Node #0,1,0: 89:[98, 86] Operation: 47+39=86
Exploring Operation: 47-39=8, Resulting Numbers: [98, 8]
Generated Node #0,1,1: 89:[98, 8] Operation: 47-39=8
Exploring Operation: 98-39=59, Resulting Numbers: [47, 59]
Generated Node #0,1,2: 89:[47, 59] Operation: 98-39=59
Exploring Operation: 98-47=51, Resulting Numbers: [39, 51]
Generated Node #0,1,3: 89:[39, 51] Operation: 98-47=51
Moving to Node #0,3
Current State: 89:[47, 35, 94], Operations: ['98-4=94']
Exploring Operation: 47-35=12, Resulting Numbers: [94, 12]
Generated Node #0,3,0: 89:[94, 12] Operation: 47-35=12
Exploring Operation: 94-35=59, Resulting Numbers: [47, 59]
Generated Node #0,3,1: 89:[47, 59] Operation: 94-35=59
Exploring Operation: 47+35=82, Resulting Numbers: [94, 82]
Generated Node #0,3,2: 89:[94, 82] Operation: 47+35=82
Exploring Operation: 35+94=129, Resulting Numbers: [47, 129]
Generated Node #0,3,3: 89:[47, 129] Operation: 35+94=129
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 89:[94, 82], Operations: ['98-4=94', '47+35=82']
Exploring Operation: 94+82=176, Resulting Numbers: [176]
176,89 unequal: No Solution
Exploring Operation: 94*82=7708, Resulting Numbers: [7708]
7708,89 unequal: No Solution
Exploring Operation: 94-82=12, Resulting Numbers: [12]
12,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 89:[47, 59], Operations: ['98-4=94', '94-35=59']
Exploring Operation: 47+59=106, Resulting Numbers: [106]
106,89 unequal: No Solution
Exploring Operation: 59-47=12, Resulting Numbers: [12]
12,89 unequal: No Solution
Exploring Operation: 47*59=2773, Resulting Numbers: [2773]
2773,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 89:[94, 12], Operations: ['98-4=94', '47-35=12']
Exploring Operation: 94-12=82, Resulting Numbers: [82]
82,89 unequal: No Solution
Exploring Operation: 94*12=1128, Resulting Numbers: [1128]
1128,89 unequal: No Solution
Exploring Operation: 94+12=106, Resulting Numbers: [106]
106,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 89:[47, 129], Operations: ['98-4=94', '35+94=129']
Exploring Operation: 47*129=6063, Resulting Numbers: [6063]
6063,89 unequal: No Solution
Exploring Operation: 47+129=176, Resulting Numbers: [176]
176,89 unequal: No Solution
Exploring Operation: 129-47=82, Resulting Numbers: [82]
82,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 89:[98, 86], Operations: ['35+4=39', '47+39=86']
Exploring Operation: 98-86=12, Resulting Numbers: [12]
12,89 unequal: No Solution
Exploring Operation: 98*86=8428, Resulting Numbers: [8428]
8428,89 unequal: No Solution
Exploring Operation: 98+86=184, Resulting Numbers: [184]
184,89 unequal: No Solution
Moving to Node #0,1,2
Current State: 89:[47, 59], Operations: ['35+4=39', '98-39=59']
Exploring Operation: 47+59=106, Resulting Numbers: [106]
106,89 unequal: No Solution
Exploring Operation: 47*59=2773, Resulting Numbers: [2773]
2773,89 unequal: No Solution
Exploring Operation: 59-47=12, Resulting Numbers: [12]
12,89 unequal: No Solution
Moving to Node #0,1,3
Current State: 89:[39, 51], Operations: ['35+4=39', '98-47=51']
Exploring Operation: 39*51=1989, Resulting Numbers: [1989]
1989,89 unequal: No Solution
Exploring Operation: 39+51=90, Resulting Numbers: [90]
90,89 unequal: No Solution
Exploring Operation: 51-39=12, Resulting Numbers: [12]
12,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[98, 8], Operations: ['35+4=39', '47-39=8']
Exploring Operation: 98-8=90, Resulting Numbers: [90]
90,89 unequal: No Solution
Exploring Operation: 98*8=784, Resulting Numbers: [784]
784,89 unequal: No Solution
Exploring Operation: 98+8=106, Resulting Numbers: [106]
106,89 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
52,
91,
70,
20
] | 91 | [
"52*70=3640",
"3640/20=182",
"182-91=91"
] | Current State: 91:[52, 91, 70, 20], Operations: []
Exploring Operation: 52*70=3640, Resulting Numbers: [91, 20, 3640]
Generated Node #2: [91, 20, 3640] from Operation: 52*70=3640
Current State: 91:[91, 20, 3640], Operations: ['52*70=3640']
Exploring Operation: 3640/20=182, Resulting Numbers: [91, 182]
Generated Node #3: [91, 182] from Operation: 3640/20=182
Current State: 91:[91, 182], Operations: ['52*70=3640', '3640/20=182']
Exploring Operation: 182-91=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[52, 91, 70, 20], Operations: []
Exploring Operation: 52-20=32, Resulting Numbers: [91, 70, 32]
Generated Node #0,0: 91:[91, 70, 32] Operation: 52-20=32
Exploring Operation: 52+70=122, Resulting Numbers: [91, 20, 122]
Generated Node #0,1: 91:[91, 20, 122] Operation: 52+70=122
Exploring Operation: 52+20=72, Resulting Numbers: [91, 70, 72]
Generated Node #0,2: 91:[91, 70, 72] Operation: 52+20=72
Exploring Operation: 70+20=90, Resulting Numbers: [52, 91, 90]
Generated Node #0,3: 91:[52, 91, 90] Operation: 70+20=90
Exploring Operation: 70-52=18, Resulting Numbers: [91, 20, 18]
Generated Node #0,4: 91:[91, 20, 18] Operation: 70-52=18
Start Sub Search at level 1: Moving to Node #0,4
Current State: 91:[91, 20, 18], Operations: ['70-52=18']
Exploring Operation: 91+18=109, Resulting Numbers: [20, 109]
Generated Node #0,4,0: 91:[20, 109] Operation: 91+18=109
Exploring Operation: 91-20=71, Resulting Numbers: [18, 71]
Generated Node #0,4,1: 91:[18, 71] Operation: 91-20=71
Exploring Operation: 91+20=111, Resulting Numbers: [18, 111]
Generated Node #0,4,2: 91:[18, 111] Operation: 91+20=111
Exploring Operation: 20-18=2, Resulting Numbers: [91, 2]
Generated Node #0,4,3: 91:[91, 2] Operation: 20-18=2
Exploring Operation: 91-18=73, Resulting Numbers: [20, 73]
Generated Node #0,4,4: 91:[20, 73] Operation: 91-18=73
Moving to Node #0,4,3
Current State: 91:[91, 2], Operations: ['70-52=18', '20-18=2']
Exploring Operation: 91*2=182, Resulting Numbers: [182]
182,91 unequal: No Solution
Exploring Operation: 91+2=93, Resulting Numbers: [93]
93,91 unequal: No Solution
Exploring Operation: 91-2=89, Resulting Numbers: [89]
89,91 unequal: No Solution
Moving to Node #0,4,1
Current State: 91:[18, 71], Operations: ['70-52=18', '91-20=71']
Exploring Operation: 18*71=1278, Resulting Numbers: [1278]
1278,91 unequal: No Solution
Exploring Operation: 18+71=89, Resulting Numbers: [89]
89,91 unequal: No Solution
Exploring Operation: 71-18=53, Resulting Numbers: [53]
53,91 unequal: No Solution
Moving to Node #0,4,4
Current State: 91:[20, 73], Operations: ['70-52=18', '91-18=73']
Exploring Operation: 73-20=53, Resulting Numbers: [53]
53,91 unequal: No Solution
Exploring Operation: 20*73=1460, Resulting Numbers: [1460]
1460,91 unequal: No Solution
Exploring Operation: 20+73=93, Resulting Numbers: [93]
93,91 unequal: No Solution
Moving to Node #0,4,0
Current State: 91:[20, 109], Operations: ['70-52=18', '91+18=109']
Exploring Operation: 20+109=129, Resulting Numbers: [129]
129,91 unequal: No Solution
Exploring Operation: 109-20=89, Resulting Numbers: [89]
89,91 unequal: No Solution
Exploring Operation: 20*109=2180, Resulting Numbers: [2180]
2180,91 unequal: No Solution
Moving to Node #0,4,2
Current State: 91:[18, 111], Operations: ['70-52=18', '91+20=111']
Exploring Operation: 18*111=1998, Resulting Numbers: [1998]
1998,91 unequal: No Solution
Exploring Operation: 18+111=129, Resulting Numbers: [129]
129,91 unequal: No Solution
Exploring Operation: 111-18=93, Resulting Numbers: [93]
93,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 91:[91, 20, 122], Operations: ['52+70=122']
Exploring Operation: 91-20=71, Resulting Numbers: [122, 71]
Generated Node #0,1,0: 91:[122, 71] Operation: 91-20=71
Exploring Operation: 91+20=111, Resulting Numbers: [122, 111]
Generated Node #0,1,1: 91:[122, 111] Operation: 91+20=111
Exploring Operation: 122-91=31, Resulting Numbers: [20, 31]
Generated Node #0,1,2: 91:[20, 31] Operation: 122-91=31
Exploring Operation: 122-20=102, Resulting Numbers: [91, 102]
Generated Node #0,1,3: 91:[91, 102] Operation: 122-20=102
Exploring Operation: 20+122=142, Resulting Numbers: [91, 142]
Generated Node #0,1,4: 91:[91, 142] Operation: 20+122=142
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 91:[91, 102], Operations: ['52+70=122', '122-20=102']
Exploring Operation: 91*102=9282, Resulting Numbers: [9282]
9282,91 unequal: No Solution
Exploring Operation: 102-91=11, Resulting Numbers: [11]
11,91 unequal: No Solution
Exploring Operation: 91+102=193, Resulting Numbers: [193]
193,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 91:[20, 31], Operations: ['52+70=122', '122-91=31']
Exploring Operation: 20+31=51, Resulting Numbers: [51]
51,91 unequal: No Solution
Exploring Operation: 31-20=11, Resulting Numbers: [11]
11,91 unequal: No Solution
Exploring Operation: 20*31=620, Resulting Numbers: [620]
620,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 91:[122, 71], Operations: ['52+70=122', '91-20=71']
Exploring Operation: 122+71=193, Resulting Numbers: [193]
193,91 unequal: No Solution
Exploring Operation: 122*71=8662, Resulting Numbers: [8662]
8662,91 unequal: No Solution
Exploring Operation: 122-71=51, Resulting Numbers: [51]
51,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 91:[122, 111], Operations: ['52+70=122', '91+20=111']
Exploring Operation: 122-111=11, Resulting Numbers: [11]
11,91 unequal: No Solution
Exploring Operation: 122+111=233, Resulting Numbers: [233]
233,91 unequal: No Solution
Exploring Operation: 122*111=13542, Resulting Numbers: [13542]
13542,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 91:[91, 142], Operations: ['52+70=122', '20+122=142']
Exploring Operation: 142-91=51, Resulting Numbers: [51]
51,91 unequal: No Solution
Exploring Operation: 91*142=12922, Resulting Numbers: [12922]
12922,91 unequal: No Solution
Exploring Operation: 91+142=233, Resulting Numbers: [233]
233,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[91, 70, 32], Operations: ['52-20=32']
Exploring Operation: 91-32=59, Resulting Numbers: [70, 59]
Generated Node #0,0,0: 91:[70, 59] Operation: 91-32=59
Exploring Operation: 91+32=123, Resulting Numbers: [70, 123]
Generated Node #0,0,1: 91:[70, 123] Operation: 91+32=123
Exploring Operation: 70-32=38, Resulting Numbers: [91, 38]
Generated Node #0,0,2: 91:[91, 38] Operation: 70-32=38
Exploring Operation: 91-70=21, Resulting Numbers: [32, 21]
Generated Node #0,0,3: 91:[32, 21] Operation: 91-70=21
Exploring Operation: 70+32=102, Resulting Numbers: [91, 102]
Generated Node #0,0,4: 91:[91, 102] Operation: 70+32=102
Moving to Node #0,0,4
Current State: 91:[91, 102], Operations: ['52-20=32', '70+32=102']
Exploring Operation: 91*102=9282, Resulting Numbers: [9282]
9282,91 unequal: No Solution
Exploring Operation: 91+102=193, Resulting Numbers: [193]
193,91 unequal: No Solution
Exploring Operation: 102-91=11, Resulting Numbers: [11]
11,91 unequal: No Solution
Moving to Node #0,0,2
Current State: 91:[91, 38], Operations: ['52-20=32', '70-32=38']
Exploring Operation: 91-38=53, Resulting Numbers: [53]
53,91 unequal: No Solution
Exploring Operation: 91*38=3458, Resulting Numbers: [3458]
3458,91 unequal: No Solution
Exploring Operation: 91+38=129, Resulting Numbers: [129]
129,91 unequal: No Solution
Moving to Node #0,0,3
Current State: 91:[32, 21], Operations: ['52-20=32', '91-70=21']
Exploring Operation: 32*21=672, Resulting Numbers: [672]
672,91 unequal: No Solution
Exploring Operation: 32-21=11, Resulting Numbers: [11]
11,91 unequal: No Solution
Exploring Operation: 32+21=53, Resulting Numbers: [53]
53,91 unequal: No Solution
Moving to Node #0,0,0
Current State: 91:[70, 59], Operations: ['52-20=32', '91-32=59']
Exploring Operation: 70*59=4130, Resulting Numbers: [4130]
4130,91 unequal: No Solution
Exploring Operation: 70-59=11, Resulting Numbers: [11]
11,91 unequal: No Solution
Exploring Operation: 70+59=129, Resulting Numbers: [129]
129,91 unequal: No Solution
Moving to Node #0,0,1
Current State: 91:[70, 123], Operations: ['52-20=32', '91+32=123']
Exploring Operation: 70*123=8610, Resulting Numbers: [8610]
8610,91 unequal: No Solution
Exploring Operation: 70+123=193, Resulting Numbers: [193]
193,91 unequal: No Solution
Exploring Operation: 123-70=53, Resulting Numbers: [53]
53,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 91:[91, 70, 72], Operations: ['52+20=72']
Exploring Operation: 72-70=2, Resulting Numbers: [91, 2]
Generated Node #0,2,0: 91:[91, 2] Operation: 72-70=2
Exploring Operation: 91+70=161, Resulting Numbers: [72, 161]
Generated Node #0,2,1: 91:[72, 161] Operation: 91+70=161
Exploring Operation: 91-70=21, Resulting Numbers: [72, 21]
Generated Node #0,2,2: 91:[72, 21] Operation: 91-70=21
Exploring Operation: 91-72=19, Resulting Numbers: [70, 19]
Generated Node #0,2,3: 91:[70, 19] Operation: 91-72=19
Exploring Operation: 70+72=142, Resulting Numbers: [91, 142]
Generated Node #0,2,4: 91:[91, 142] Operation: 70+72=142
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 91:[91, 2], Operations: ['52+20=72', '72-70=2']
Exploring Operation: 91-2=89, Resulting Numbers: [89]
89,91 unequal: No Solution
Exploring Operation: 91+2=93, Resulting Numbers: [93]
93,91 unequal: No Solution
Exploring Operation: 91*2=182, Resulting Numbers: [182]
182,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,2,2
Current State: 91:[72, 21], Operations: ['52+20=72', '91-70=21']
Exploring Operation: 72-21=51, Resulting Numbers: [51]
51,91 unequal: No Solution
Exploring Operation: 72*21=1512, Resulting Numbers: [1512]
1512,91 unequal: No Solution
Exploring Operation: 72+21=93, Resulting Numbers: [93]
93,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,2,3
Current State: 91:[70, 19], Operations: ['52+20=72', '91-72=19']
Exploring Operation: 70+19=89, Resulting Numbers: [89]
89,91 unequal: No Solution
Exploring Operation: 70*19=1330, Resulting Numbers: [1330]
1330,91 unequal: No Solution
Exploring Operation: 70-19=51, Resulting Numbers: [51]
51,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,2,4
Current State: 91:[91, 142], Operations: ['52+20=72', '70+72=142']
Exploring Operation: 91+142=233, Resulting Numbers: [233]
233,91 unequal: No Solution
Exploring Operation: 142-91=51, Resulting Numbers: [51]
51,91 unequal: No Solution
Exploring Operation: 91*142=12922, Resulting Numbers: [12922]
12922,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,2,1
Current State: 91:[72, 161], Operations: ['52+20=72', '91+70=161']
Exploring Operation: 72+161=233, Resulting Numbers: [233]
233,91 unequal: No Solution
Exploring Operation: 72*161=11592, Resulting Numbers: [11592]
11592,91 unequal: No Solution
Exploring Operation: 161-72=89, Resulting Numbers: [89]
89,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,3
Current State: 91:[52, 91, 90], Operations: ['70+20=90']
Exploring Operation: 91-90=1, Resulting Numbers: [52, 1]
Generated Node #0,3,0: 91:[52, 1] Operation: 91-90=1
Exploring Operation: 91-52=39, Resulting Numbers: [90, 39]
Generated Node #0,3,1: 91:[90, 39] Operation: 91-52=39
Exploring Operation: 52+91=143, Resulting Numbers: [90, 143]
Generated Node #0,3,2: 91:[90, 143] Operation: 52+91=143
Exploring Operation: 52+90=142, Resulting Numbers: [91, 142]
Generated Node #0,3,3: 91:[91, 142] Operation: 52+90=142
Exploring Operation: 90-52=38, Resulting Numbers: [91, 38]
Generated Node #0,3,4: 91:[91, 38] Operation: 90-52=38
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 91:[91, 38], Operations: ['70+20=90', '90-52=38']
Exploring Operation: 91*38=3458, Resulting Numbers: [3458]
3458,91 unequal: No Solution
Exploring Operation: 91+38=129, Resulting Numbers: [129]
129,91 unequal: No Solution
Exploring Operation: 91-38=53, Resulting Numbers: [53]
53,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,3,1
Current State: 91:[90, 39], Operations: ['70+20=90', '91-52=39']
Exploring Operation: 90+39=129, Resulting Numbers: [129]
129,91 unequal: No Solution
Exploring Operation: 90*39=3510, Resulting Numbers: [3510]
3510,91 unequal: No Solution
Exploring Operation: 90-39=51, Resulting Numbers: [51]
51,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,3,0
Current State: 91:[52, 1], Operations: ['70+20=90', '91-90=1']
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,91 unequal: No Solution
Exploring Operation: 52*1=52, Resulting Numbers: [52]
52,91 unequal: No Solution
Exploring Operation: 52/1=52, Resulting Numbers: [52]
52,91 unequal: No Solution
Exploring Operation: 52+1=53, Resulting Numbers: [53]
53,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,3,3
Current State: 91:[91, 142], Operations: ['70+20=90', '52+90=142']
Exploring Operation: 142-91=51, Resulting Numbers: [51]
51,91 unequal: No Solution
Exploring Operation: 91+142=233, Resulting Numbers: [233]
233,91 unequal: No Solution
Exploring Operation: 91*142=12922, Resulting Numbers: [12922]
12922,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,3,2
Current State: 91:[90, 143], Operations: ['70+20=90', '52+91=143']
Exploring Operation: 90*143=12870, Resulting Numbers: [12870]
12870,91 unequal: No Solution
Exploring Operation: 143-90=53, Resulting Numbers: [53]
53,91 unequal: No Solution
Exploring Operation: 90+143=233, Resulting Numbers: [233]
233,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
51,
39,
97,
55
] | 54 | [
"51-39=12",
"97-55=42",
"12+42=54"
] | Current State: 54:[51, 39, 97, 55], Operations: []
Exploring Operation: 51-39=12, Resulting Numbers: [97, 55, 12]
Generated Node #2: [97, 55, 12] from Operation: 51-39=12
Current State: 54:[97, 55, 12], Operations: ['51-39=12']
Exploring Operation: 97-55=42, Resulting Numbers: [12, 42]
Generated Node #3: [12, 42] from Operation: 97-55=42
Current State: 54:[12, 42], Operations: ['51-39=12', '97-55=42']
Exploring Operation: 12+42=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[51, 39, 97, 55], Operations: []
Exploring Operation: 97-51=46, Resulting Numbers: [39, 55, 46]
Generated Node #0,0: 54:[39, 55, 46] Operation: 97-51=46
Exploring Operation: 51-39=12, Resulting Numbers: [97, 55, 12]
Generated Node #0,1: 54:[97, 55, 12] Operation: 51-39=12
Exploring Operation: 97-55=42, Resulting Numbers: [51, 39, 42]
Generated Node #0,2: 54:[51, 39, 42] Operation: 97-55=42
Exploring Operation: 97-39=58, Resulting Numbers: [51, 55, 58]
Generated Node #0,3: 54:[51, 55, 58] Operation: 97-39=58
Start Sub Search at level 1: Moving to Node #0,3
Current State: 54:[51, 55, 58], Operations: ['97-39=58']
Exploring Operation: 58-55=3, Resulting Numbers: [51, 3]
Generated Node #0,3,0: 54:[51, 3] Operation: 58-55=3
Exploring Operation: 51+55=106, Resulting Numbers: [58, 106]
Generated Node #0,3,1: 54:[58, 106] Operation: 51+55=106
Exploring Operation: 55-51=4, Resulting Numbers: [58, 4]
Generated Node #0,3,2: 54:[58, 4] Operation: 55-51=4
Exploring Operation: 58-51=7, Resulting Numbers: [55, 7]
Generated Node #0,3,3: 54:[55, 7] Operation: 58-51=7
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 54:[55, 7], Operations: ['97-39=58', '58-51=7']
Exploring Operation: 55*7=385, Resulting Numbers: [385]
385,54 unequal: No Solution
Exploring Operation: 55-7=48, Resulting Numbers: [48]
48,54 unequal: No Solution
Exploring Operation: 55+7=62, Resulting Numbers: [62]
62,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,3,0
Current State: 54:[51, 3], Operations: ['97-39=58', '58-55=3']
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,54 unequal: No Solution
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,54 unequal: No Solution
Exploring Operation: 51*3=153, Resulting Numbers: [153]
153,54 unequal: No Solution
Exploring Operation: 51+3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[51, 39, 97, 55], Operations: []
Exploring Operation: 97-39=58, Resulting Numbers: [51, 55, 58]
Generated Node #0,3: 54:[51, 55, 58] Operation: 97-39=58
Moving to Node #0,3
Current State: 54:[51, 55, 58], Operations: ['97-39=58']
Exploring Operation: 58-55=3, Resulting Numbers: [51, 3]
Generated Node #0,3,0: 54:[51, 3] Operation: 58-55=3
Moving to Node #0,3,0
Current State: 54:[51, 3], Operations: ['97-39=58', '58-55=3']
Exploring Operation: 51+3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_4 | mult_heuristic |
[
29,
9,
52,
79
] | 87 | [
"79-52=27",
"29*27=783",
"783/9=87"
] | Current State: 87:[29, 9, 52, 79], Operations: []
Exploring Operation: 79-52=27, Resulting Numbers: [29, 9, 27]
Generated Node #2: [29, 9, 27] from Operation: 79-52=27
Current State: 87:[29, 9, 27], Operations: ['79-52=27']
Exploring Operation: 29*27=783, Resulting Numbers: [9, 783]
Generated Node #3: [9, 783] from Operation: 29*27=783
Current State: 87:[9, 783], Operations: ['79-52=27', '29*27=783']
Exploring Operation: 783/9=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[29, 9, 52, 79], Operations: []
Exploring Operation: 29+52=81, Resulting Numbers: [9, 79, 81]
Generated Node #0,0: 87:[9, 79, 81] Operation: 29+52=81
Exploring Operation: 79-52=27, Resulting Numbers: [29, 9, 27]
Generated Node #0,1: 87:[29, 9, 27] Operation: 79-52=27
Start Sub Search at level 1: Moving to Node #0,1
Current State: 87:[29, 9, 27], Operations: ['79-52=27']
Exploring Operation: 27/9=3, Resulting Numbers: [29, 3]
Generated Node #0,1,0: 87:[29, 3] Operation: 27/9=3
Exploring Operation: 29-27=2, Resulting Numbers: [9, 2]
Generated Node #0,1,1: 87:[9, 2] Operation: 29-27=2
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 87:[29, 3], Operations: ['79-52=27', '27/9=3']
Exploring Operation: 29+3=32, Resulting Numbers: [32]
32,87 unequal: No Solution
Exploring Operation: 29*3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[29, 9, 52, 79], Operations: []
Exploring Operation: 79-52=27, Resulting Numbers: [29, 9, 27]
Generated Node #0,1: 87:[29, 9, 27] Operation: 79-52=27
Moving to Node #0,1
Current State: 87:[29, 9, 27], Operations: ['79-52=27']
Exploring Operation: 27/9=3, Resulting Numbers: [29, 3]
Generated Node #0,1,0: 87:[29, 3] Operation: 27/9=3
Moving to Node #0,1,0
Current State: 87:[29, 3], Operations: ['79-52=27', '27/9=3']
Exploring Operation: 29*3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
64,
11,
27,
13
] | 93 | [
"64-11=53",
"27+13=40",
"53+40=93"
] | Current State: 93:[64, 11, 27, 13], Operations: []
Exploring Operation: 64-11=53, Resulting Numbers: [27, 13, 53]
Generated Node #2: [27, 13, 53] from Operation: 64-11=53
Current State: 93:[27, 13, 53], Operations: ['64-11=53']
Exploring Operation: 27+13=40, Resulting Numbers: [53, 40]
Generated Node #3: [53, 40] from Operation: 27+13=40
Current State: 93:[53, 40], Operations: ['64-11=53', '27+13=40']
Exploring Operation: 53+40=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[64, 11, 27, 13], Operations: []
Exploring Operation: 64-27=37, Resulting Numbers: [11, 13, 37]
Generated Node #0,0: 93:[11, 13, 37] Operation: 64-27=37
Exploring Operation: 64+27=91, Resulting Numbers: [11, 13, 91]
Generated Node #0,1: 93:[11, 13, 91] Operation: 64+27=91
Moving to Node #0,1
Current State: 93:[11, 13, 91], Operations: ['64+27=91']
Exploring Operation: 13-11=2, Resulting Numbers: [91, 2]
Generated Node #0,1,0: 93:[91, 2] Operation: 13-11=2
Exploring Operation: 11+13=24, Resulting Numbers: [91, 24]
Generated Node #0,1,1: 93:[91, 24] Operation: 11+13=24
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 93:[91, 2], Operations: ['64+27=91', '13-11=2']
Exploring Operation: 91-2=89, Resulting Numbers: [89]
89,93 unequal: No Solution
Exploring Operation: 91+2=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[64, 11, 27, 13], Operations: []
Exploring Operation: 64+27=91, Resulting Numbers: [11, 13, 91]
Generated Node #0,1: 93:[11, 13, 91] Operation: 64+27=91
Moving to Node #0,1
Current State: 93:[11, 13, 91], Operations: ['64+27=91']
Exploring Operation: 13-11=2, Resulting Numbers: [91, 2]
Generated Node #0,1,0: 93:[91, 2] Operation: 13-11=2
Moving to Node #0,1,0
Current State: 93:[91, 2], Operations: ['64+27=91', '13-11=2']
Exploring Operation: 91+2=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
45,
95,
26,
2
] | 48 | [
"95-45=50",
"50-26=24",
"2*24=48"
] | Current State: 48:[45, 95, 26, 2], Operations: []
Exploring Operation: 95-45=50, Resulting Numbers: [26, 2, 50]
Generated Node #2: [26, 2, 50] from Operation: 95-45=50
Current State: 48:[26, 2, 50], Operations: ['95-45=50']
Exploring Operation: 50-26=24, Resulting Numbers: [2, 24]
Generated Node #3: [2, 24] from Operation: 50-26=24
Current State: 48:[2, 24], Operations: ['95-45=50', '50-26=24']
Exploring Operation: 2*24=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[45, 95, 26, 2], Operations: []
Exploring Operation: 95-26=69, Resulting Numbers: [45, 2, 69]
Generated Node #0,0: 48:[45, 2, 69] Operation: 95-26=69
Exploring Operation: 45-26=19, Resulting Numbers: [95, 2, 19]
Generated Node #0,1: 48:[95, 2, 19] Operation: 45-26=19
Exploring Operation: 95-45=50, Resulting Numbers: [26, 2, 50]
Generated Node #0,2: 48:[26, 2, 50] Operation: 95-45=50
Start Sub Search at level 1: Moving to Node #0,2
Current State: 48:[26, 2, 50], Operations: ['95-45=50']
Exploring Operation: 50-2=48, Resulting Numbers: [26, 48]
Generated Node #0,2,0: 48:[26, 48] Operation: 50-2=48
Exploring Operation: 50-26=24, Resulting Numbers: [2, 24]
Generated Node #0,2,1: 48:[2, 24] Operation: 50-26=24
Exploring Operation: 26-2=24, Resulting Numbers: [50, 24]
Generated Node #0,2,2: 48:[50, 24] Operation: 26-2=24
Moving to Node #0,2,1
Current State: 48:[2, 24], Operations: ['95-45=50', '50-26=24']
Exploring Operation: 2*24=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[45, 95, 26, 2], Operations: []
Exploring Operation: 95-45=50, Resulting Numbers: [26, 2, 50]
Generated Node #0,2: 48:[26, 2, 50] Operation: 95-45=50
Moving to Node #0,2
Current State: 48:[26, 2, 50], Operations: ['95-45=50']
Exploring Operation: 50-26=24, Resulting Numbers: [2, 24]
Generated Node #0,2,1: 48:[2, 24] Operation: 50-26=24
Moving to Node #0,2,1
Current State: 48:[2, 24], Operations: ['95-45=50', '50-26=24']
Exploring Operation: 2*24=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
23,
55,
4,
4
] | 21 | [
"23-4=19",
"4*19=76",
"76-55=21"
] | Current State: 21:[23, 55, 4, 4], Operations: []
Exploring Operation: 23-4=19, Resulting Numbers: [55, 19]
Generated Node #2: [55, 19] from Operation: 23-4=19
Current State: 21:[55, 19], Operations: ['23-4=19']
Exploring Operation: 4*19=76, Resulting Numbers: [55, 76]
Generated Node #3: [55, 76] from Operation: 4*19=76
Current State: 21:[55, 76], Operations: ['23-4=19', '4*19=76']
Exploring Operation: 76-55=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[23, 55, 4, 4], Operations: []
Exploring Operation: 55-4=51, Resulting Numbers: [23, 4, 51]
Generated Node #0,0: 21:[23, 4, 51] Operation: 55-4=51
Exploring Operation: 55-4=51, Resulting Numbers: [23, 4, 51]
Generated Node #0,1: 21:[23, 4, 51] Operation: 55-4=51
Exploring Operation: 55-23=32, Resulting Numbers: [4, 4, 32]
Generated Node #0,2: 21:[4, 4, 32] Operation: 55-23=32
Moving to Node #0,2
Current State: 21:[4, 4, 32], Operations: ['55-23=32']
Exploring Operation: 32-4=28, Resulting Numbers: [4, 28]
Generated Node #0,2,0: 21:[4, 28] Operation: 32-4=28
Exploring Operation: 32/4=8, Resulting Numbers: [4, 8]
Generated Node #0,2,1: 21:[4, 8] Operation: 32/4=8
Exploring Operation: 32/4=8, Resulting Numbers: [4, 8]
Generated Node #0,2,2: 21:[4, 8] Operation: 32/4=8
Moving to Node #0,0
Current State: 21:[23, 4, 51], Operations: ['55-4=51']
Exploring Operation: 51-4=47, Resulting Numbers: [23, 47]
Generated Node #0,0,0: 21:[23, 47] Operation: 51-4=47
Exploring Operation: 51-23=28, Resulting Numbers: [4, 28]
Generated Node #0,0,1: 21:[4, 28] Operation: 51-23=28
Exploring Operation: 23-4=19, Resulting Numbers: [51, 19]
Generated Node #0,0,2: 21:[51, 19] Operation: 23-4=19
Moving to Node #0,1
Current State: 21:[23, 4, 51], Operations: ['55-4=51']
Exploring Operation: 23-4=19, Resulting Numbers: [51, 19]
Generated Node #0,1,0: 21:[51, 19] Operation: 23-4=19
Exploring Operation: 51-4=47, Resulting Numbers: [23, 47]
Generated Node #0,1,1: 21:[23, 47] Operation: 51-4=47
Exploring Operation: 51-23=28, Resulting Numbers: [4, 28]
Generated Node #0,1,2: 21:[4, 28] Operation: 51-23=28
Moving to Node #0,2,1
Current State: 21:[4, 8], Operations: ['55-23=32', '32/4=8']
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,21 unequal: No Solution
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,21 unequal: No Solution
Moving to Node #0,2,2
Current State: 21:[4, 8], Operations: ['55-23=32', '32/4=8']
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,21 unequal: No Solution
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,21 unequal: No Solution
Moving to Node #0,2,0
Current State: 21:[4, 28], Operations: ['55-23=32', '32-4=28']
Exploring Operation: 4+28=32, Resulting Numbers: [32]
32,21 unequal: No Solution
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,21 unequal: No Solution
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,21 unequal: No Solution
Moving to Node #0,1,2
Current State: 21:[4, 28], Operations: ['55-4=51', '51-23=28']
Exploring Operation: 4+28=32, Resulting Numbers: [32]
32,21 unequal: No Solution
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,21 unequal: No Solution
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,21 unequal: No Solution
Moving to Node #0,0,1
Current State: 21:[4, 28], Operations: ['55-4=51', '51-23=28']
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,21 unequal: No Solution
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,21 unequal: No Solution
Exploring Operation: 4+28=32, Resulting Numbers: [32]
32,21 unequal: No Solution
Moving to Node #0,0,0
Current State: 21:[23, 47], Operations: ['55-4=51', '51-4=47']
Exploring Operation: 23+47=70, Resulting Numbers: [70]
70,21 unequal: No Solution
Exploring Operation: 23*47=1081, Resulting Numbers: [1081]
1081,21 unequal: No Solution
Exploring Operation: 47-23=24, Resulting Numbers: [24]
24,21 unequal: No Solution
Moving to Node #0,1,1
Current State: 21:[23, 47], Operations: ['55-4=51', '51-4=47']
Exploring Operation: 23+47=70, Resulting Numbers: [70]
70,21 unequal: No Solution
Exploring Operation: 47-23=24, Resulting Numbers: [24]
24,21 unequal: No Solution
Exploring Operation: 23*47=1081, Resulting Numbers: [1081]
1081,21 unequal: No Solution
Moving to Node #0,1,0
Current State: 21:[51, 19], Operations: ['55-4=51', '23-4=19']
Exploring Operation: 51+19=70, Resulting Numbers: [70]
70,21 unequal: No Solution
Exploring Operation: 51*19=969, Resulting Numbers: [969]
969,21 unequal: No Solution
Exploring Operation: 51-19=32, Resulting Numbers: [32]
32,21 unequal: No Solution
Moving to Node #0,0,2
Current State: 21:[51, 19], Operations: ['55-4=51', '23-4=19']
Exploring Operation: 51*19=969, Resulting Numbers: [969]
969,21 unequal: No Solution
Exploring Operation: 51+19=70, Resulting Numbers: [70]
70,21 unequal: No Solution
Exploring Operation: 51-19=32, Resulting Numbers: [32]
32,21 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
86,
17,
43,
22
] | 90 | [
"86-17=69",
"43-22=21",
"69+21=90"
] | Current State: 90:[86, 17, 43, 22], Operations: []
Exploring Operation: 86-17=69, Resulting Numbers: [43, 22, 69]
Generated Node #2: [43, 22, 69] from Operation: 86-17=69
Current State: 90:[43, 22, 69], Operations: ['86-17=69']
Exploring Operation: 43-22=21, Resulting Numbers: [69, 21]
Generated Node #3: [69, 21] from Operation: 43-22=21
Current State: 90:[69, 21], Operations: ['86-17=69', '43-22=21']
Exploring Operation: 69+21=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[86, 17, 43, 22], Operations: []
Exploring Operation: 86-43=43, Resulting Numbers: [17, 22, 43]
Generated Node #0,0: 90:[17, 22, 43] Operation: 86-43=43
Exploring Operation: 43-17=26, Resulting Numbers: [86, 22, 26]
Generated Node #0,1: 90:[86, 22, 26] Operation: 43-17=26
Exploring Operation: 86/43=2, Resulting Numbers: [17, 22, 2]
Generated Node #0,2: 90:[17, 22, 2] Operation: 86/43=2
Exploring Operation: 43-22=21, Resulting Numbers: [86, 17, 21]
Generated Node #0,3: 90:[86, 17, 21] Operation: 43-22=21
Exploring Operation: 22-17=5, Resulting Numbers: [86, 43, 5]
Generated Node #0,4: 90:[86, 43, 5] Operation: 22-17=5
Moving to Node #0,2
Current State: 90:[17, 22, 2], Operations: ['86/43=2']
Exploring Operation: 22-2=20, Resulting Numbers: [17, 20]
Generated Node #0,2,0: 90:[17, 20] Operation: 22-2=20
Exploring Operation: 22/2=11, Resulting Numbers: [17, 11]
Generated Node #0,2,1: 90:[17, 11] Operation: 22/2=11
Exploring Operation: 22*2=44, Resulting Numbers: [17, 44]
Generated Node #0,2,2: 90:[17, 44] Operation: 22*2=44
Exploring Operation: 17-2=15, Resulting Numbers: [22, 15]
Generated Node #0,2,3: 90:[22, 15] Operation: 17-2=15
Exploring Operation: 22-17=5, Resulting Numbers: [2, 5]
Generated Node #0,2,4: 90:[2, 5] Operation: 22-17=5
Moving to Node #0,4
Current State: 90:[86, 43, 5], Operations: ['22-17=5']
Exploring Operation: 86-5=81, Resulting Numbers: [43, 81]
Generated Node #0,4,0: 90:[43, 81] Operation: 86-5=81
Exploring Operation: 43+5=48, Resulting Numbers: [86, 48]
Generated Node #0,4,1: 90:[86, 48] Operation: 43+5=48
Exploring Operation: 86+5=91, Resulting Numbers: [43, 91]
Generated Node #0,4,2: 90:[43, 91] Operation: 86+5=91
Exploring Operation: 86-43=43, Resulting Numbers: [5, 43]
Generated Node #0,4,3: 90:[5, 43] Operation: 86-43=43
Exploring Operation: 86/43=2, Resulting Numbers: [5, 2]
Generated Node #0,4,4: 90:[5, 2] Operation: 86/43=2
Moving to Node #0,0
Current State: 90:[17, 22, 43], Operations: ['86-43=43']
Exploring Operation: 17+43=60, Resulting Numbers: [22, 60]
Generated Node #0,0,0: 90:[22, 60] Operation: 17+43=60
Exploring Operation: 17+22=39, Resulting Numbers: [43, 39]
Generated Node #0,0,1: 90:[43, 39] Operation: 17+22=39
Exploring Operation: 43-17=26, Resulting Numbers: [22, 26]
Generated Node #0,0,2: 90:[22, 26] Operation: 43-17=26
Exploring Operation: 43-22=21, Resulting Numbers: [17, 21]
Generated Node #0,0,3: 90:[17, 21] Operation: 43-22=21
Exploring Operation: 22-17=5, Resulting Numbers: [43, 5]
Generated Node #0,0,4: 90:[43, 5] Operation: 22-17=5
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 90:[43, 5], Operations: ['86-43=43', '22-17=5']
Exploring Operation: 43*5=215, Resulting Numbers: [215]
215,90 unequal: No Solution
Exploring Operation: 43+5=48, Resulting Numbers: [48]
48,90 unequal: No Solution
Exploring Operation: 43-5=38, Resulting Numbers: [38]
38,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 90:[17, 21], Operations: ['86-43=43', '43-22=21']
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,90 unequal: No Solution
Exploring Operation: 17*21=357, Resulting Numbers: [357]
357,90 unequal: No Solution
Exploring Operation: 17+21=38, Resulting Numbers: [38]
38,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 90:[43, 39], Operations: ['86-43=43', '17+22=39']
Exploring Operation: 43*39=1677, Resulting Numbers: [1677]
1677,90 unequal: No Solution
Exploring Operation: 43-39=4, Resulting Numbers: [4]
4,90 unequal: No Solution
Exploring Operation: 43+39=82, Resulting Numbers: [82]
82,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 90:[22, 26], Operations: ['86-43=43', '43-17=26']
Exploring Operation: 22*26=572, Resulting Numbers: [572]
572,90 unequal: No Solution
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,90 unequal: No Solution
Exploring Operation: 22+26=48, Resulting Numbers: [48]
48,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 90:[22, 60], Operations: ['86-43=43', '17+43=60']
Exploring Operation: 60-22=38, Resulting Numbers: [38]
38,90 unequal: No Solution
Exploring Operation: 22*60=1320, Resulting Numbers: [1320]
1320,90 unequal: No Solution
Exploring Operation: 22+60=82, Resulting Numbers: [82]
82,90 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: 90:[86, 17, 21], Operations: ['43-22=21']
Exploring Operation: 86+21=107, Resulting Numbers: [17, 107]
Generated Node #0,3,0: 90:[17, 107] Operation: 86+21=107
Exploring Operation: 21-17=4, Resulting Numbers: [86, 4]
Generated Node #0,3,1: 90:[86, 4] Operation: 21-17=4
Exploring Operation: 17+21=38, Resulting Numbers: [86, 38]
Generated Node #0,3,2: 90:[86, 38] Operation: 17+21=38
Exploring Operation: 86+17=103, Resulting Numbers: [21, 103]
Generated Node #0,3,3: 90:[21, 103] Operation: 86+17=103
Exploring Operation: 86-21=65, Resulting Numbers: [17, 65]
Generated Node #0,3,4: 90:[17, 65] Operation: 86-21=65
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 90:[86, 4], Operations: ['43-22=21', '21-17=4']
Exploring Operation: 86-4=82, Resulting Numbers: [82]
82,90 unequal: No Solution
Exploring Operation: 86*4=344, Resulting Numbers: [344]
344,90 unequal: No Solution
Exploring Operation: 86+4=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[86, 17, 43, 22], Operations: []
Exploring Operation: 43-22=21, Resulting Numbers: [86, 17, 21]
Generated Node #0,3: 90:[86, 17, 21] Operation: 43-22=21
Moving to Node #0,3
Current State: 90:[86, 17, 21], Operations: ['43-22=21']
Exploring Operation: 21-17=4, Resulting Numbers: [86, 4]
Generated Node #0,3,1: 90:[86, 4] Operation: 21-17=4
Moving to Node #0,3,1
Current State: 90:[86, 4], Operations: ['43-22=21', '21-17=4']
Exploring Operation: 86+4=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.959201 | hs_5 | sum_heuristic |
[
50,
40,
12,
90
] | 60 | [
"40*90=3600",
"3600/50=72",
"72-12=60"
] | Current State: 60:[50, 40, 12, 90], Operations: []
Exploring Operation: 40*90=3600, Resulting Numbers: [50, 12, 3600]
Generated Node #2: [50, 12, 3600] from Operation: 40*90=3600
Current State: 60:[50, 12, 3600], Operations: ['40*90=3600']
Exploring Operation: 3600/50=72, Resulting Numbers: [12, 72]
Generated Node #3: [12, 72] from Operation: 3600/50=72
Current State: 60:[12, 72], Operations: ['40*90=3600', '3600/50=72']
Exploring Operation: 72-12=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[50, 40, 12, 90], Operations: []
Exploring Operation: 90-12=78, Resulting Numbers: [50, 40, 78]
Generated Node #0,0: 60:[50, 40, 78] Operation: 90-12=78
Exploring Operation: 90-40=50, Resulting Numbers: [50, 12, 50]
Generated Node #0,1: 60:[50, 12, 50] Operation: 90-40=50
Exploring Operation: 90-50=40, Resulting Numbers: [40, 12, 40]
Generated Node #0,2: 60:[40, 12, 40] Operation: 90-50=40
Exploring Operation: 50-40=10, Resulting Numbers: [12, 90, 10]
Generated Node #0,3: 60:[12, 90, 10] Operation: 50-40=10
Exploring Operation: 50+12=62, Resulting Numbers: [40, 90, 62]
Generated Node #0,4: 60:[40, 90, 62] Operation: 50+12=62
Moving to Node #0,1
Current State: 60:[50, 12, 50], Operations: ['90-40=50']
Exploring Operation: 12+50=62, Resulting Numbers: [50, 62]
Generated Node #0,1,0: 60:[50, 62] Operation: 12+50=62
Exploring Operation: 50-50=0, Resulting Numbers: [12, 0]
Generated Node #0,1,1: 60:[12, 0] Operation: 50-50=0
Exploring Operation: 50-12=38, Resulting Numbers: [50, 38]
Generated Node #0,1,2: 60:[50, 38] Operation: 50-12=38
Exploring Operation: 50+12=62, Resulting Numbers: [50, 62]
Generated Node #0,1,3: 60:[50, 62] Operation: 50+12=62
Exploring Operation: 50/50=1, Resulting Numbers: [12, 1]
Generated Node #0,1,4: 60:[12, 1] Operation: 50/50=1
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 60:[12, 1], Operations: ['90-40=50', '50/50=1']
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Exploring Operation: 12+1=13, Resulting Numbers: [13]
13,60 unequal: No Solution
Exploring Operation: 12*1=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,60 unequal: No Solution
No 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: 60:[12, 0], Operations: ['90-40=50', '50-50=0']
Exploring Operation: 12*0=0, Resulting Numbers: [0]
0,60 unequal: No Solution
Exploring Operation: 12+0=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Exploring Operation: 12-0=12, Resulting Numbers: [12]
12,60 unequal: No Solution
No 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: 60:[50, 62], Operations: ['90-40=50', '12+50=62']
Exploring Operation: 50+62=112, Resulting Numbers: [112]
112,60 unequal: No Solution
Exploring Operation: 62-50=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Exploring Operation: 50*62=3100, Resulting Numbers: [3100]
3100,60 unequal: No Solution
No 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: 60:[50, 62], Operations: ['90-40=50', '50+12=62']
Exploring Operation: 50+62=112, Resulting Numbers: [112]
112,60 unequal: No Solution
Exploring Operation: 50*62=3100, Resulting Numbers: [3100]
3100,60 unequal: No Solution
Exploring Operation: 62-50=12, Resulting Numbers: [12]
12,60 unequal: No Solution
No 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: 60:[50, 38], Operations: ['90-40=50', '50-12=38']
Exploring Operation: 50+38=88, Resulting Numbers: [88]
88,60 unequal: No Solution
Exploring Operation: 50*38=1900, Resulting Numbers: [1900]
1900,60 unequal: No Solution
Exploring Operation: 50-38=12, Resulting Numbers: [12]
12,60 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: 60:[40, 12, 40], Operations: ['90-50=40']
Exploring Operation: 40-12=28, Resulting Numbers: [40, 28]
Generated Node #0,2,0: 60:[40, 28] Operation: 40-12=28
Exploring Operation: 40-12=28, Resulting Numbers: [40, 28]
Generated Node #0,2,1: 60:[40, 28] Operation: 40-12=28
Exploring Operation: 40-40=0, Resulting Numbers: [12, 0]
Generated Node #0,2,2: 60:[12, 0] Operation: 40-40=0
Exploring Operation: 40/40=1, Resulting Numbers: [12, 1]
Generated Node #0,2,3: 60:[12, 1] Operation: 40/40=1
Exploring Operation: 40+12=52, Resulting Numbers: [40, 52]
Generated Node #0,2,4: 60:[40, 52] Operation: 40+12=52
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 60:[12, 1], Operations: ['90-50=40', '40/40=1']
Exploring Operation: 12+1=13, Resulting Numbers: [13]
13,60 unequal: No Solution
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 12*1=12, Resulting Numbers: [12]
12,60 unequal: No Solution
No 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: 60:[12, 0], Operations: ['90-50=40', '40-40=0']
Exploring Operation: 12*0=0, Resulting Numbers: [0]
0,60 unequal: No Solution
Exploring Operation: 12-0=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Exploring Operation: 12+0=12, Resulting Numbers: [12]
12,60 unequal: No Solution
No 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: 60:[40, 28], Operations: ['90-50=40', '40-12=28']
Exploring Operation: 40*28=1120, Resulting Numbers: [1120]
1120,60 unequal: No Solution
Exploring Operation: 40+28=68, Resulting Numbers: [68]
68,60 unequal: No Solution
Exploring Operation: 40-28=12, Resulting Numbers: [12]
12,60 unequal: No Solution
No 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: 60:[40, 28], Operations: ['90-50=40', '40-12=28']
Exploring Operation: 40*28=1120, Resulting Numbers: [1120]
1120,60 unequal: No Solution
Exploring Operation: 40-28=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Exploring Operation: 40+28=68, Resulting Numbers: [68]
68,60 unequal: No Solution
No 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: 60:[40, 52], Operations: ['90-50=40', '40+12=52']
Exploring Operation: 40*52=2080, Resulting Numbers: [2080]
2080,60 unequal: No Solution
Exploring Operation: 52-40=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Exploring Operation: 40+52=92, Resulting Numbers: [92]
92,60 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: 60:[12, 90, 10], Operations: ['50-40=10']
Exploring Operation: 12+10=22, Resulting Numbers: [90, 22]
Generated Node #0,3,0: 60:[90, 22] Operation: 12+10=22
Exploring Operation: 90/10=9, Resulting Numbers: [12, 9]
Generated Node #0,3,1: 60:[12, 9] Operation: 90/10=9
Exploring Operation: 12-10=2, Resulting Numbers: [90, 2]
Generated Node #0,3,2: 60:[90, 2] Operation: 12-10=2
Exploring Operation: 90-10=80, Resulting Numbers: [12, 80]
Generated Node #0,3,3: 60:[12, 80] Operation: 90-10=80
Exploring Operation: 90-12=78, Resulting Numbers: [10, 78]
Generated Node #0,3,4: 60:[10, 78] Operation: 90-12=78
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 60:[12, 9], Operations: ['50-40=10', '90/10=9']
Exploring Operation: 12*9=108, Resulting Numbers: [108]
108,60 unequal: No Solution
Exploring Operation: 12+9=21, Resulting Numbers: [21]
21,60 unequal: No Solution
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,60 unequal: No Solution
No 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: 60:[10, 78], Operations: ['50-40=10', '90-12=78']
Exploring Operation: 10+78=88, Resulting Numbers: [88]
88,60 unequal: No Solution
Exploring Operation: 78-10=68, Resulting Numbers: [68]
68,60 unequal: No Solution
Exploring Operation: 10*78=780, Resulting Numbers: [780]
780,60 unequal: No Solution
No 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: 60:[12, 80], Operations: ['50-40=10', '90-10=80']
Exploring Operation: 80-12=68, Resulting Numbers: [68]
68,60 unequal: No Solution
Exploring Operation: 12+80=92, Resulting Numbers: [92]
92,60 unequal: No Solution
Exploring Operation: 12*80=960, Resulting Numbers: [960]
960,60 unequal: No Solution
No 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: 60:[90, 2], Operations: ['50-40=10', '12-10=2']
Exploring Operation: 90+2=92, Resulting Numbers: [92]
92,60 unequal: No Solution
Exploring Operation: 90-2=88, Resulting Numbers: [88]
88,60 unequal: No Solution
Exploring Operation: 90*2=180, Resulting Numbers: [180]
180,60 unequal: No Solution
Exploring Operation: 90/2=45, Resulting Numbers: [45]
45,60 unequal: No Solution
No 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: 60:[90, 22], Operations: ['50-40=10', '12+10=22']
Exploring Operation: 90*22=1980, Resulting Numbers: [1980]
1980,60 unequal: No Solution
Exploring Operation: 90+22=112, Resulting Numbers: [112]
112,60 unequal: No Solution
Exploring Operation: 90-22=68, Resulting Numbers: [68]
68,60 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: 60:[50, 40, 78], Operations: ['90-12=78']
Exploring Operation: 78-40=38, Resulting Numbers: [50, 38]
Generated Node #0,0,0: 60:[50, 38] Operation: 78-40=38
Exploring Operation: 50+40=90, Resulting Numbers: [78, 90]
Generated Node #0,0,1: 60:[78, 90] Operation: 50+40=90
Exploring Operation: 40+78=118, Resulting Numbers: [50, 118]
Generated Node #0,0,2: 60:[50, 118] Operation: 40+78=118
Exploring Operation: 50-40=10, Resulting Numbers: [78, 10]
Generated Node #0,0,3: 60:[78, 10] Operation: 50-40=10
Exploring Operation: 78-50=28, Resulting Numbers: [40, 28]
Generated Node #0,0,4: 60:[40, 28] Operation: 78-50=28
Moving to Node #0,4
Current State: 60:[40, 90, 62], Operations: ['50+12=62']
Exploring Operation: 90-62=28, Resulting Numbers: [40, 28]
Generated Node #0,4,0: 60:[40, 28] Operation: 90-62=28
Exploring Operation: 40+90=130, Resulting Numbers: [62, 130]
Generated Node #0,4,1: 60:[62, 130] Operation: 40+90=130
Exploring Operation: 62-40=22, Resulting Numbers: [90, 22]
Generated Node #0,4,2: 60:[90, 22] Operation: 62-40=22
Exploring Operation: 40+62=102, Resulting Numbers: [90, 102]
Generated Node #0,4,3: 60:[90, 102] Operation: 40+62=102
Exploring Operation: 90-40=50, Resulting Numbers: [62, 50]
Generated Node #0,4,4: 60:[62, 50] Operation: 90-40=50
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 60:[40, 28], Operations: ['50+12=62', '90-62=28']
Exploring Operation: 40*28=1120, Resulting Numbers: [1120]
1120,60 unequal: No Solution
Exploring Operation: 40+28=68, Resulting Numbers: [68]
68,60 unequal: No Solution
Exploring Operation: 40-28=12, Resulting Numbers: [12]
12,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 60:[62, 50], Operations: ['50+12=62', '90-40=50']
Exploring Operation: 62-50=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Exploring Operation: 62+50=112, Resulting Numbers: [112]
112,60 unequal: No Solution
Exploring Operation: 62*50=3100, Resulting Numbers: [3100]
3100,60 unequal: No Solution
No 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: 60:[90, 22], Operations: ['50+12=62', '62-40=22']
Exploring Operation: 90*22=1980, Resulting Numbers: [1980]
1980,60 unequal: No Solution
Exploring Operation: 90+22=112, Resulting Numbers: [112]
112,60 unequal: No Solution
Exploring Operation: 90-22=68, Resulting Numbers: [68]
68,60 unequal: No Solution
No 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: 60:[62, 130], Operations: ['50+12=62', '40+90=130']
Exploring Operation: 62+130=192, Resulting Numbers: [192]
192,60 unequal: No Solution
Exploring Operation: 130-62=68, Resulting Numbers: [68]
68,60 unequal: No Solution
Exploring Operation: 62*130=8060, Resulting Numbers: [8060]
8060,60 unequal: No Solution
No 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: 60:[90, 102], Operations: ['50+12=62', '40+62=102']
Exploring Operation: 102-90=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Exploring Operation: 90+102=192, Resulting Numbers: [192]
192,60 unequal: No Solution
Exploring Operation: 90*102=9180, Resulting Numbers: [9180]
9180,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,4
Current State: 60:[40, 28], Operations: ['90-12=78', '78-50=28']
Exploring Operation: 40-28=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Exploring Operation: 40*28=1120, Resulting Numbers: [1120]
1120,60 unequal: No Solution
Exploring Operation: 40+28=68, Resulting Numbers: [68]
68,60 unequal: No Solution
Moving to Node #0,0,3
Current State: 60:[78, 10], Operations: ['90-12=78', '50-40=10']
Exploring Operation: 78+10=88, Resulting Numbers: [88]
88,60 unequal: No Solution
Exploring Operation: 78*10=780, Resulting Numbers: [780]
780,60 unequal: No Solution
Exploring Operation: 78-10=68, Resulting Numbers: [68]
68,60 unequal: No Solution
Moving to Node #0,0,0
Current State: 60:[50, 38], Operations: ['90-12=78', '78-40=38']
Exploring Operation: 50+38=88, Resulting Numbers: [88]
88,60 unequal: No Solution
Exploring Operation: 50-38=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Exploring Operation: 50*38=1900, Resulting Numbers: [1900]
1900,60 unequal: No Solution
Moving to Node #0,0,1
Current State: 60:[78, 90], Operations: ['90-12=78', '50+40=90']
Exploring Operation: 78+90=168, Resulting Numbers: [168]
168,60 unequal: No Solution
Exploring Operation: 90-78=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Exploring Operation: 78*90=7020, Resulting Numbers: [7020]
7020,60 unequal: No Solution
Moving to Node #0,0,2
Current State: 60:[50, 118], Operations: ['90-12=78', '40+78=118']
Exploring Operation: 50+118=168, Resulting Numbers: [168]
168,60 unequal: No Solution
Exploring Operation: 118-50=68, Resulting Numbers: [68]
68,60 unequal: No Solution
Exploring Operation: 50*118=5900, Resulting Numbers: [5900]
5900,60 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
81,
65,
63,
26
] | 68 | [
"65-63=2",
"26/2=13",
"81-13=68"
] | Current State: 68:[81, 65, 63, 26], Operations: []
Exploring Operation: 65-63=2, Resulting Numbers: [81, 26, 2]
Generated Node #2: [81, 26, 2] from Operation: 65-63=2
Current State: 68:[81, 26, 2], Operations: ['65-63=2']
Exploring Operation: 26/2=13, Resulting Numbers: [81, 13]
Generated Node #3: [81, 13] from Operation: 26/2=13
Current State: 68:[81, 13], Operations: ['65-63=2', '26/2=13']
Exploring Operation: 81-13=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[81, 65, 63, 26], Operations: []
Exploring Operation: 81-65=16, Resulting Numbers: [63, 26, 16]
Generated Node #0,0: 68:[63, 26, 16] Operation: 81-65=16
Exploring Operation: 81-26=55, Resulting Numbers: [65, 63, 55]
Generated Node #0,1: 68:[65, 63, 55] Operation: 81-26=55
Exploring Operation: 63-26=37, Resulting Numbers: [81, 65, 37]
Generated Node #0,2: 68:[81, 65, 37] Operation: 63-26=37
Exploring Operation: 81-63=18, Resulting Numbers: [65, 26, 18]
Generated Node #0,3: 68:[65, 26, 18] Operation: 81-63=18
Moving to Node #0,3
Current State: 68:[65, 26, 18], Operations: ['81-63=18']
Exploring Operation: 65-18=47, Resulting Numbers: [26, 47]
Generated Node #0,3,0: 68:[26, 47] Operation: 65-18=47
Exploring Operation: 65-26=39, Resulting Numbers: [18, 39]
Generated Node #0,3,1: 68:[18, 39] Operation: 65-26=39
Exploring Operation: 26+18=44, Resulting Numbers: [65, 44]
Generated Node #0,3,2: 68:[65, 44] Operation: 26+18=44
Exploring Operation: 26-18=8, Resulting Numbers: [65, 8]
Generated Node #0,3,3: 68:[65, 8] Operation: 26-18=8
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 68:[18, 39], Operations: ['81-63=18', '65-26=39']
Exploring Operation: 18*39=702, Resulting Numbers: [702]
702,68 unequal: No Solution
Exploring Operation: 18+39=57, Resulting Numbers: [57]
57,68 unequal: No Solution
Exploring Operation: 39-18=21, Resulting Numbers: [21]
21,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 68:[65, 8], Operations: ['81-63=18', '26-18=8']
Exploring Operation: 65*8=520, Resulting Numbers: [520]
520,68 unequal: No Solution
Exploring Operation: 65-8=57, Resulting Numbers: [57]
57,68 unequal: No Solution
Exploring Operation: 65+8=73, Resulting Numbers: [73]
73,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 68:[65, 44], Operations: ['81-63=18', '26+18=44']
Exploring Operation: 65-44=21, Resulting Numbers: [21]
21,68 unequal: No Solution
Exploring Operation: 65*44=2860, Resulting Numbers: [2860]
2860,68 unequal: No Solution
Exploring Operation: 65+44=109, Resulting Numbers: [109]
109,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 68:[26, 47], Operations: ['81-63=18', '65-18=47']
Exploring Operation: 26*47=1222, Resulting Numbers: [1222]
1222,68 unequal: No Solution
Exploring Operation: 26+47=73, Resulting Numbers: [73]
73,68 unequal: No Solution
Exploring Operation: 47-26=21, Resulting Numbers: [21]
21,68 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: 68:[63, 26, 16], Operations: ['81-65=16']
Exploring Operation: 63+16=79, Resulting Numbers: [26, 79]
Generated Node #0,0,0: 68:[26, 79] Operation: 63+16=79
Exploring Operation: 63-26=37, Resulting Numbers: [16, 37]
Generated Node #0,0,1: 68:[16, 37] Operation: 63-26=37
Exploring Operation: 26+16=42, Resulting Numbers: [63, 42]
Generated Node #0,0,2: 68:[63, 42] Operation: 26+16=42
Exploring Operation: 26-16=10, Resulting Numbers: [63, 10]
Generated Node #0,0,3: 68:[63, 10] Operation: 26-16=10
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 68:[16, 37], Operations: ['81-65=16', '63-26=37']
Exploring Operation: 16*37=592, Resulting Numbers: [592]
592,68 unequal: No Solution
Exploring Operation: 16+37=53, Resulting Numbers: [53]
53,68 unequal: No Solution
Exploring Operation: 37-16=21, Resulting Numbers: [21]
21,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 68:[63, 10], Operations: ['81-65=16', '26-16=10']
Exploring Operation: 63-10=53, Resulting Numbers: [53]
53,68 unequal: No Solution
Exploring Operation: 63+10=73, Resulting Numbers: [73]
73,68 unequal: No Solution
Exploring Operation: 63*10=630, Resulting Numbers: [630]
630,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 68:[63, 42], Operations: ['81-65=16', '26+16=42']
Exploring Operation: 63+42=105, Resulting Numbers: [105]
105,68 unequal: No Solution
Exploring Operation: 63*42=2646, Resulting Numbers: [2646]
2646,68 unequal: No Solution
Exploring Operation: 63-42=21, Resulting Numbers: [21]
21,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 68:[26, 79], Operations: ['81-65=16', '63+16=79']
Exploring Operation: 26+79=105, Resulting Numbers: [105]
105,68 unequal: No Solution
Exploring Operation: 26*79=2054, Resulting Numbers: [2054]
2054,68 unequal: No Solution
Exploring Operation: 79-26=53, Resulting Numbers: [53]
53,68 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: 68:[81, 65, 37], Operations: ['63-26=37']
Exploring Operation: 81-37=44, Resulting Numbers: [65, 44]
Generated Node #0,2,0: 68:[65, 44] Operation: 81-37=44
Exploring Operation: 81-65=16, Resulting Numbers: [37, 16]
Generated Node #0,2,1: 68:[37, 16] Operation: 81-65=16
Exploring Operation: 65-37=28, Resulting Numbers: [81, 28]
Generated Node #0,2,2: 68:[81, 28] Operation: 65-37=28
Exploring Operation: 65+37=102, Resulting Numbers: [81, 102]
Generated Node #0,2,3: 68:[81, 102] Operation: 65+37=102
Moving to Node #0,1
Current State: 68:[65, 63, 55], Operations: ['81-26=55']
Exploring Operation: 63+55=118, Resulting Numbers: [65, 118]
Generated Node #0,1,0: 68:[65, 118] Operation: 63+55=118
Exploring Operation: 65-55=10, Resulting Numbers: [63, 10]
Generated Node #0,1,1: 68:[63, 10] Operation: 65-55=10
Exploring Operation: 63-55=8, Resulting Numbers: [65, 8]
Generated Node #0,1,2: 68:[65, 8] Operation: 63-55=8
Exploring Operation: 65-63=2, Resulting Numbers: [55, 2]
Generated Node #0,1,3: 68:[55, 2] Operation: 65-63=2
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 68:[65, 8], Operations: ['81-26=55', '63-55=8']
Exploring Operation: 65*8=520, Resulting Numbers: [520]
520,68 unequal: No Solution
Exploring Operation: 65-8=57, Resulting Numbers: [57]
57,68 unequal: No Solution
Exploring Operation: 65+8=73, Resulting Numbers: [73]
73,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 68:[63, 10], Operations: ['81-26=55', '65-55=10']
Exploring Operation: 63-10=53, Resulting Numbers: [53]
53,68 unequal: No Solution
Exploring Operation: 63*10=630, Resulting Numbers: [630]
630,68 unequal: No Solution
Exploring Operation: 63+10=73, Resulting Numbers: [73]
73,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 68:[55, 2], Operations: ['81-26=55', '65-63=2']
Exploring Operation: 55+2=57, Resulting Numbers: [57]
57,68 unequal: No Solution
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,68 unequal: No Solution
Exploring Operation: 55*2=110, Resulting Numbers: [110]
110,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 68:[65, 118], Operations: ['81-26=55', '63+55=118']
Exploring Operation: 118-65=53, Resulting Numbers: [53]
53,68 unequal: No Solution
Exploring Operation: 65*118=7670, Resulting Numbers: [7670]
7670,68 unequal: No Solution
Exploring Operation: 65+118=183, Resulting Numbers: [183]
183,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 68:[37, 16], Operations: ['63-26=37', '81-65=16']
Exploring Operation: 37*16=592, Resulting Numbers: [592]
592,68 unequal: No Solution
Exploring Operation: 37+16=53, Resulting Numbers: [53]
53,68 unequal: No Solution
Exploring Operation: 37-16=21, Resulting Numbers: [21]
21,68 unequal: No Solution
Moving to Node #0,2,0
Current State: 68:[65, 44], Operations: ['63-26=37', '81-37=44']
Exploring Operation: 65-44=21, Resulting Numbers: [21]
21,68 unequal: No Solution
Exploring Operation: 65*44=2860, Resulting Numbers: [2860]
2860,68 unequal: No Solution
Exploring Operation: 65+44=109, Resulting Numbers: [109]
109,68 unequal: No Solution
Moving to Node #0,2,2
Current State: 68:[81, 28], Operations: ['63-26=37', '65-37=28']
Exploring Operation: 81*28=2268, Resulting Numbers: [2268]
2268,68 unequal: No Solution
Exploring Operation: 81+28=109, Resulting Numbers: [109]
109,68 unequal: No Solution
Exploring Operation: 81-28=53, Resulting Numbers: [53]
53,68 unequal: No Solution
Moving to Node #0,2,3
Current State: 68:[81, 102], Operations: ['63-26=37', '65+37=102']
Exploring Operation: 81+102=183, Resulting Numbers: [183]
183,68 unequal: No Solution
Exploring Operation: 102-81=21, Resulting Numbers: [21]
21,68 unequal: No Solution
Exploring Operation: 81*102=8262, Resulting Numbers: [8262]
8262,68 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
29,
67,
78,
51
] | 11 | [
"67-29=38",
"78-51=27",
"38-27=11"
] | Current State: 11:[29, 67, 78, 51], Operations: []
Exploring Operation: 67-29=38, Resulting Numbers: [78, 51, 38]
Generated Node #2: [78, 51, 38] from Operation: 67-29=38
Current State: 11:[78, 51, 38], Operations: ['67-29=38']
Exploring Operation: 78-51=27, Resulting Numbers: [38, 27]
Generated Node #3: [38, 27] from Operation: 78-51=27
Current State: 11:[38, 27], Operations: ['67-29=38', '78-51=27']
Exploring Operation: 38-27=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[29, 67, 78, 51], Operations: []
Exploring Operation: 78-51=27, Resulting Numbers: [29, 67, 27]
Generated Node #0,0: 11:[29, 67, 27] Operation: 78-51=27
Exploring Operation: 78-67=11, Resulting Numbers: [29, 51, 11]
Generated Node #0,1: 11:[29, 51, 11] Operation: 78-67=11
Exploring Operation: 67-51=16, Resulting Numbers: [29, 78, 16]
Generated Node #0,2: 11:[29, 78, 16] Operation: 67-51=16
Exploring Operation: 67-29=38, Resulting Numbers: [78, 51, 38]
Generated Node #0,3: 11:[78, 51, 38] Operation: 67-29=38
Start Sub Search at level 1: Moving to Node #0,1
Current State: 11:[29, 51, 11], Operations: ['78-67=11']
Exploring Operation: 29-11=18, Resulting Numbers: [51, 18]
Generated Node #0,1,0: 11:[51, 18] Operation: 29-11=18
Exploring Operation: 51-11=40, Resulting Numbers: [29, 40]
Generated Node #0,1,1: 11:[29, 40] Operation: 51-11=40
Exploring Operation: 51-29=22, Resulting Numbers: [11, 22]
Generated Node #0,1,2: 11:[11, 22] Operation: 51-29=22
Exploring Operation: 29+51=80, Resulting Numbers: [11, 80]
Generated Node #0,1,3: 11:[11, 80] Operation: 29+51=80
Moving to Node #0,1,2
Current State: 11:[11, 22], Operations: ['78-67=11', '51-29=22']
Exploring Operation: 22/11=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[29, 67, 78, 51], Operations: []
Exploring Operation: 78-67=11, Resulting Numbers: [29, 51, 11]
Generated Node #0,1: 11:[29, 51, 11] Operation: 78-67=11
Moving to Node #0,1
Current State: 11:[29, 51, 11], Operations: ['78-67=11']
Exploring Operation: 51-29=22, Resulting Numbers: [11, 22]
Generated Node #0,1,2: 11:[11, 22] Operation: 51-29=22
Moving to Node #0,1,2
Current State: 11:[11, 22], Operations: ['78-67=11', '51-29=22']
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
67,
17,
97,
82
] | 95 | [
"67+17=84",
"97+82=179",
"179-84=95"
] | Current State: 95:[67, 17, 97, 82], Operations: []
Exploring Operation: 67+17=84, Resulting Numbers: [97, 82, 84]
Generated Node #2: [97, 82, 84] from Operation: 67+17=84
Current State: 95:[97, 82, 84], Operations: ['67+17=84']
Exploring Operation: 97+82=179, Resulting Numbers: [84, 179]
Generated Node #3: [84, 179] from Operation: 97+82=179
Current State: 95:[84, 179], Operations: ['67+17=84', '97+82=179']
Exploring Operation: 179-84=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[67, 17, 97, 82], Operations: []
Exploring Operation: 17+82=99, Resulting Numbers: [67, 97, 99]
Generated Node #0,0: 95:[67, 97, 99] Operation: 17+82=99
Exploring Operation: 97-82=15, Resulting Numbers: [67, 17, 15]
Generated Node #0,1: 95:[67, 17, 15] Operation: 97-82=15
Exploring Operation: 97-67=30, Resulting Numbers: [17, 82, 30]
Generated Node #0,2: 95:[17, 82, 30] Operation: 97-67=30
Exploring Operation: 82-67=15, Resulting Numbers: [17, 97, 15]
Generated Node #0,3: 95:[17, 97, 15] Operation: 82-67=15
Exploring Operation: 67+17=84, Resulting Numbers: [97, 82, 84]
Generated Node #0,4: 95:[97, 82, 84] Operation: 67+17=84
Moving to Node #0,3
Current State: 95:[17, 97, 15], Operations: ['82-67=15']
Exploring Operation: 97+15=112, Resulting Numbers: [17, 112]
Generated Node #0,3,0: 95:[17, 112] Operation: 97+15=112
Exploring Operation: 97-17=80, Resulting Numbers: [15, 80]
Generated Node #0,3,1: 95:[15, 80] Operation: 97-17=80
Exploring Operation: 17-15=2, Resulting Numbers: [97, 2]
Generated Node #0,3,2: 95:[97, 2] Operation: 17-15=2
Exploring Operation: 17+15=32, Resulting Numbers: [97, 32]
Generated Node #0,3,3: 95:[97, 32] Operation: 17+15=32
Exploring Operation: 97-15=82, Resulting Numbers: [17, 82]
Generated Node #0,3,4: 95:[17, 82] Operation: 97-15=82
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 95:[97, 2], Operations: ['82-67=15', '17-15=2']
Exploring Operation: 97*2=194, Resulting Numbers: [194]
194,95 unequal: No Solution
Exploring Operation: 97+2=99, Resulting Numbers: [99]
99,95 unequal: No Solution
Exploring Operation: 97-2=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[67, 17, 97, 82], Operations: []
Exploring Operation: 82-67=15, Resulting Numbers: [17, 97, 15]
Generated Node #0,3: 95:[17, 97, 15] Operation: 82-67=15
Moving to Node #0,3
Current State: 95:[17, 97, 15], Operations: ['82-67=15']
Exploring Operation: 17-15=2, Resulting Numbers: [97, 2]
Generated Node #0,3,2: 95:[97, 2] Operation: 17-15=2
Moving to Node #0,3,2
Current State: 95:[97, 2], Operations: ['82-67=15', '17-15=2']
Exploring Operation: 97-2=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
63,
87,
98,
17
] | 91 | [
"87-63=24",
"98+17=115",
"115-24=91"
] | Current State: 91:[63, 87, 98, 17], Operations: []
Exploring Operation: 87-63=24, Resulting Numbers: [98, 17, 24]
Generated Node #2: [98, 17, 24] from Operation: 87-63=24
Current State: 91:[98, 17, 24], Operations: ['87-63=24']
Exploring Operation: 98+17=115, Resulting Numbers: [24, 115]
Generated Node #3: [24, 115] from Operation: 98+17=115
Current State: 91:[24, 115], Operations: ['87-63=24', '98+17=115']
Exploring Operation: 115-24=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[63, 87, 98, 17], Operations: []
Exploring Operation: 98-63=35, Resulting Numbers: [87, 17, 35]
Generated Node #0,0: 91:[87, 17, 35] Operation: 98-63=35
Exploring Operation: 87-63=24, Resulting Numbers: [98, 17, 24]
Generated Node #0,1: 91:[98, 17, 24] Operation: 87-63=24
Exploring Operation: 98-87=11, Resulting Numbers: [63, 17, 11]
Generated Node #0,2: 91:[63, 17, 11] Operation: 98-87=11
Exploring Operation: 63+17=80, Resulting Numbers: [87, 98, 80]
Generated Node #0,3: 91:[87, 98, 80] Operation: 63+17=80
Moving to Node #0,1
Current State: 91:[98, 17, 24], Operations: ['87-63=24']
Exploring Operation: 98+17=115, Resulting Numbers: [24, 115]
Generated Node #0,1,0: 91:[24, 115] Operation: 98+17=115
Exploring Operation: 24-17=7, Resulting Numbers: [98, 7]
Generated Node #0,1,1: 91:[98, 7] Operation: 24-17=7
Exploring Operation: 98-17=81, Resulting Numbers: [24, 81]
Generated Node #0,1,2: 91:[24, 81] Operation: 98-17=81
Exploring Operation: 98-24=74, Resulting Numbers: [17, 74]
Generated Node #0,1,3: 91:[17, 74] Operation: 98-24=74
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 91:[98, 7], Operations: ['87-63=24', '24-17=7']
Exploring Operation: 98*7=686, Resulting Numbers: [686]
686,91 unequal: No Solution
Exploring Operation: 98/7=14, Resulting Numbers: [14]
14,91 unequal: No Solution
Exploring Operation: 98-7=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[63, 87, 98, 17], Operations: []
Exploring Operation: 87-63=24, Resulting Numbers: [98, 17, 24]
Generated Node #0,1: 91:[98, 17, 24] Operation: 87-63=24
Moving to Node #0,1
Current State: 91:[98, 17, 24], Operations: ['87-63=24']
Exploring Operation: 24-17=7, Resulting Numbers: [98, 7]
Generated Node #0,1,1: 91:[98, 7] Operation: 24-17=7
Moving to Node #0,1,1
Current State: 91:[98, 7], Operations: ['87-63=24', '24-17=7']
Exploring Operation: 98-7=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
7,
64,
50,
68
] | 34 | [
"7*68=476",
"64-50=14",
"476/14=34"
] | Current State: 34:[7, 64, 50, 68], Operations: []
Exploring Operation: 7*68=476, Resulting Numbers: [64, 50, 476]
Generated Node #2: [64, 50, 476] from Operation: 7*68=476
Current State: 34:[64, 50, 476], Operations: ['7*68=476']
Exploring Operation: 64-50=14, Resulting Numbers: [476, 14]
Generated Node #3: [476, 14] from Operation: 64-50=14
Current State: 34:[476, 14], Operations: ['7*68=476', '64-50=14']
Exploring Operation: 476/14=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[7, 64, 50, 68], Operations: []
Exploring Operation: 68-64=4, Resulting Numbers: [7, 50, 4]
Generated Node #0,0: 34:[7, 50, 4] Operation: 68-64=4
Moving to Node #0,0
Current State: 34:[7, 50, 4], Operations: ['68-64=4']
Exploring Operation: 50-7=43, Resulting Numbers: [4, 43]
Generated Node #0,0,0: 34:[4, 43] Operation: 50-7=43
Moving to Node #0,0,0
Current State: 34:[4, 43], Operations: ['68-64=4', '50-7=43']
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,34 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
59,
63,
7,
78
] | 26 | [
"63-59=4",
"7-4=3",
"78/3=26"
] | Current State: 26:[59, 63, 7, 78], Operations: []
Exploring Operation: 63-59=4, Resulting Numbers: [7, 78, 4]
Generated Node #2: [7, 78, 4] from Operation: 63-59=4
Current State: 26:[7, 78, 4], Operations: ['63-59=4']
Exploring Operation: 7-4=3, Resulting Numbers: [78, 3]
Generated Node #3: [78, 3] from Operation: 7-4=3
Current State: 26:[78, 3], Operations: ['63-59=4', '7-4=3']
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[59, 63, 7, 78], Operations: []
Exploring Operation: 78-63=15, Resulting Numbers: [59, 7, 15]
Generated Node #0,0: 26:[59, 7, 15] Operation: 78-63=15
Moving to Node #0,0
Current State: 26:[59, 7, 15], Operations: ['78-63=15']
Exploring Operation: 59-15=44, Resulting Numbers: [7, 44]
Generated Node #0,0,0: 26:[7, 44] Operation: 59-15=44
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 26:[7, 44], Operations: ['78-63=15', '59-15=44']
Exploring Operation: 44-7=37, Resulting Numbers: [37]
37,26 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 |
[
91,
92,
2,
13
] | 98 | [
"91+92=183",
"13+183=196",
"196/2=98"
] | Current State: 98:[91, 92, 2, 13], Operations: []
Exploring Operation: 91+92=183, Resulting Numbers: [2, 13, 183]
Generated Node #2: [2, 13, 183] from Operation: 91+92=183
Current State: 98:[2, 13, 183], Operations: ['91+92=183']
Exploring Operation: 13+183=196, Resulting Numbers: [2, 196]
Generated Node #3: [2, 196] from Operation: 13+183=196
Current State: 98:[2, 196], Operations: ['91+92=183', '13+183=196']
Exploring Operation: 196/2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[91, 92, 2, 13], Operations: []
Exploring Operation: 92-91=1, Resulting Numbers: [2, 13, 1]
Generated Node #0,0: 98:[2, 13, 1] Operation: 92-91=1
Exploring Operation: 91/13=7, Resulting Numbers: [92, 2, 7]
Generated Node #0,1: 98:[92, 2, 7] Operation: 91/13=7
Exploring Operation: 92/2=46, Resulting Numbers: [91, 13, 46]
Generated Node #0,2: 98:[91, 13, 46] Operation: 92/2=46
Exploring Operation: 91+2=93, Resulting Numbers: [92, 13, 93]
Generated Node #0,3: 98:[92, 13, 93] Operation: 91+2=93
Moving to Node #0,0
Current State: 98:[2, 13, 1], Operations: ['92-91=1']
Exploring Operation: 2*1=2, Resulting Numbers: [13, 2]
Generated Node #0,0,0: 98:[13, 2] Operation: 2*1=2
Exploring Operation: 2/1=2, Resulting Numbers: [13, 2]
Generated Node #0,0,1: 98:[13, 2] Operation: 2/1=2
Exploring Operation: 13*1=13, Resulting Numbers: [2, 13]
Generated Node #0,0,2: 98:[2, 13] Operation: 13*1=13
Exploring Operation: 13+1=14, Resulting Numbers: [2, 14]
Generated Node #0,0,3: 98:[2, 14] Operation: 13+1=14
Moving to Node #0,1
Current State: 98:[92, 2, 7], Operations: ['91/13=7']
Exploring Operation: 92+2=94, Resulting Numbers: [7, 94]
Generated Node #0,1,0: 98:[7, 94] Operation: 92+2=94
Exploring Operation: 92/2=46, Resulting Numbers: [7, 46]
Generated Node #0,1,1: 98:[7, 46] Operation: 92/2=46
Exploring Operation: 92+7=99, Resulting Numbers: [2, 99]
Generated Node #0,1,2: 98:[2, 99] Operation: 92+7=99
Exploring Operation: 2*7=14, Resulting Numbers: [92, 14]
Generated Node #0,1,3: 98:[92, 14] Operation: 2*7=14
Moving to Node #0,2
Current State: 98:[91, 13, 46], Operations: ['92/2=46']
Exploring Operation: 91/13=7, Resulting Numbers: [46, 7]
Generated Node #0,2,0: 98:[46, 7] Operation: 91/13=7
Exploring Operation: 91+13=104, Resulting Numbers: [46, 104]
Generated Node #0,2,1: 98:[46, 104] Operation: 91+13=104
Exploring Operation: 13+46=59, Resulting Numbers: [91, 59]
Generated Node #0,2,2: 98:[91, 59] Operation: 13+46=59
Exploring Operation: 91-46=45, Resulting Numbers: [13, 45]
Generated Node #0,2,3: 98:[13, 45] Operation: 91-46=45
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 98:[46, 7], Operations: ['92/2=46', '91/13=7']
Exploring Operation: 46*7=322, Resulting Numbers: [322]
322,98 unequal: No Solution
Exploring Operation: 46+7=53, Resulting Numbers: [53]
53,98 unequal: No Solution
Exploring Operation: 46-7=39, Resulting Numbers: [39]
39,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 98:[13, 45], Operations: ['92/2=46', '91-46=45']
Exploring Operation: 13*45=585, Resulting Numbers: [585]
585,98 unequal: No Solution
Exploring Operation: 13+45=58, Resulting Numbers: [58]
58,98 unequal: No Solution
Exploring Operation: 45-13=32, Resulting Numbers: [32]
32,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 98:[46, 104], Operations: ['92/2=46', '91+13=104']
Exploring Operation: 104-46=58, Resulting Numbers: [58]
58,98 unequal: No Solution
Exploring Operation: 46+104=150, Resulting Numbers: [150]
150,98 unequal: No Solution
Exploring Operation: 46*104=4784, Resulting Numbers: [4784]
4784,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 98:[91, 59], Operations: ['92/2=46', '13+46=59']
Exploring Operation: 91*59=5369, Resulting Numbers: [5369]
5369,98 unequal: No Solution
Exploring Operation: 91-59=32, Resulting Numbers: [32]
32,98 unequal: No Solution
Exploring Operation: 91+59=150, Resulting Numbers: [150]
150,98 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: 98:[92, 13, 93], Operations: ['91+2=93']
Exploring Operation: 92+13=105, Resulting Numbers: [93, 105]
Generated Node #0,3,0: 98:[93, 105] Operation: 92+13=105
Exploring Operation: 93-92=1, Resulting Numbers: [13, 1]
Generated Node #0,3,1: 98:[13, 1] Operation: 93-92=1
Exploring Operation: 13+93=106, Resulting Numbers: [92, 106]
Generated Node #0,3,2: 98:[92, 106] Operation: 13+93=106
Exploring Operation: 92-13=79, Resulting Numbers: [93, 79]
Generated Node #0,3,3: 98:[93, 79] Operation: 92-13=79
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 98:[13, 1], Operations: ['91+2=93', '93-92=1']
Exploring Operation: 13/1=13, Resulting Numbers: [13]
13,98 unequal: No Solution
Exploring Operation: 13*1=13, Resulting Numbers: [13]
13,98 unequal: No Solution
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,98 unequal: No Solution
Exploring Operation: 13+1=14, Resulting Numbers: [14]
14,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 98:[93, 105], Operations: ['91+2=93', '92+13=105']
Exploring Operation: 93*105=9765, Resulting Numbers: [9765]
9765,98 unequal: No Solution
Exploring Operation: 105-93=12, Resulting Numbers: [12]
12,98 unequal: No Solution
Exploring Operation: 93+105=198, Resulting Numbers: [198]
198,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 98:[92, 106], Operations: ['91+2=93', '13+93=106']
Exploring Operation: 92*106=9752, Resulting Numbers: [9752]
9752,98 unequal: No Solution
Exploring Operation: 92+106=198, Resulting Numbers: [198]
198,98 unequal: No Solution
Exploring Operation: 106-92=14, Resulting Numbers: [14]
14,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 98:[93, 79], Operations: ['91+2=93', '92-13=79']
Exploring Operation: 93*79=7347, Resulting Numbers: [7347]
7347,98 unequal: No Solution
Exploring Operation: 93+79=172, Resulting Numbers: [172]
172,98 unequal: No Solution
Exploring Operation: 93-79=14, Resulting Numbers: [14]
14,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,3
Current State: 98:[2, 14], Operations: ['92-91=1', '13+1=14']
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,98 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,98 unequal: No Solution
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,98 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,98 unequal: No Solution
Moving to Node #0,0,1
Current State: 98:[13, 2], Operations: ['92-91=1', '2/1=2']
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,98 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,98 unequal: No Solution
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,98 unequal: No Solution
Moving to Node #0,0,0
Current State: 98:[13, 2], Operations: ['92-91=1', '2*1=2']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,98 unequal: No Solution
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,98 unequal: No Solution
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,98 unequal: No Solution
Moving to Node #0,1,2
Current State: 98:[2, 99], Operations: ['91/13=7', '92+7=99']
Exploring Operation: 2+99=101, Resulting Numbers: [101]
101,98 unequal: No Solution
Exploring Operation: 2*99=198, Resulting Numbers: [198]
198,98 unequal: No Solution
Exploring Operation: 99-2=97, Resulting Numbers: [97]
97,98 unequal: No Solution
Moving to Node #0,0,2
Current State: 98:[2, 13], Operations: ['92-91=1', '13*1=13']
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,98 unequal: No Solution
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,98 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,98 unequal: No Solution
Moving to Node #0,1,1
Current State: 98:[7, 46], Operations: ['91/13=7', '92/2=46']
Exploring Operation: 7+46=53, Resulting Numbers: [53]
53,98 unequal: No Solution
Exploring Operation: 46-7=39, Resulting Numbers: [39]
39,98 unequal: No Solution
Exploring Operation: 7*46=322, Resulting Numbers: [322]
322,98 unequal: No Solution
Moving to Node #0,1,0
Current State: 98:[7, 94], Operations: ['91/13=7', '92+2=94']
Exploring Operation: 7+94=101, Resulting Numbers: [101]
101,98 unequal: No Solution
Exploring Operation: 7*94=658, Resulting Numbers: [658]
658,98 unequal: No Solution
Exploring Operation: 94-7=87, Resulting Numbers: [87]
87,98 unequal: No Solution
Moving to Node #0,1,3
Current State: 98:[92, 14], Operations: ['91/13=7', '2*7=14']
Exploring Operation: 92*14=1288, Resulting Numbers: [1288]
1288,98 unequal: No Solution
Exploring Operation: 92+14=106, Resulting Numbers: [106]
106,98 unequal: No Solution
Exploring Operation: 92-14=78, Resulting Numbers: [78]
78,98 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
94,
9,
92,
59
] | 70 | [
"94+9=103",
"92-59=33",
"103-33=70"
] | Current State: 70:[94, 9, 92, 59], Operations: []
Exploring Operation: 94+9=103, Resulting Numbers: [92, 59, 103]
Generated Node #2: [92, 59, 103] from Operation: 94+9=103
Current State: 70:[92, 59, 103], Operations: ['94+9=103']
Exploring Operation: 92-59=33, Resulting Numbers: [103, 33]
Generated Node #3: [103, 33] from Operation: 92-59=33
Current State: 70:[103, 33], Operations: ['94+9=103', '92-59=33']
Exploring Operation: 103-33=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[94, 9, 92, 59], Operations: []
Exploring Operation: 94-59=35, Resulting Numbers: [9, 92, 35]
Generated Node #0,0: 70:[9, 92, 35] Operation: 94-59=35
Exploring Operation: 92-9=83, Resulting Numbers: [94, 59, 83]
Generated Node #0,1: 70:[94, 59, 83] Operation: 92-9=83
Exploring Operation: 92-59=33, Resulting Numbers: [94, 9, 33]
Generated Node #0,2: 70:[94, 9, 33] Operation: 92-59=33
Exploring Operation: 94-92=2, Resulting Numbers: [9, 59, 2]
Generated Node #0,3: 70:[9, 59, 2] Operation: 94-92=2
Exploring Operation: 94-9=85, Resulting Numbers: [92, 59, 85]
Generated Node #0,4: 70:[92, 59, 85] Operation: 94-9=85
Start Sub Search at level 1: Moving to Node #0,3
Current State: 70:[9, 59, 2], Operations: ['94-92=2']
Exploring Operation: 59-2=57, Resulting Numbers: [9, 57]
Generated Node #0,3,0: 70:[9, 57] Operation: 59-2=57
Exploring Operation: 9+2=11, Resulting Numbers: [59, 11]
Generated Node #0,3,1: 70:[59, 11] Operation: 9+2=11
Exploring Operation: 59+2=61, Resulting Numbers: [9, 61]
Generated Node #0,3,2: 70:[9, 61] Operation: 59+2=61
Exploring Operation: 9-2=7, Resulting Numbers: [59, 7]
Generated Node #0,3,3: 70:[59, 7] Operation: 9-2=7
Exploring Operation: 9+59=68, Resulting Numbers: [2, 68]
Generated Node #0,3,4: 70:[2, 68] Operation: 9+59=68
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 70:[2, 68], Operations: ['94-92=2', '9+59=68']
Exploring Operation: 68/2=34, Resulting Numbers: [34]
34,70 unequal: No Solution
Exploring Operation: 68-2=66, Resulting Numbers: [66]
66,70 unequal: No Solution
Exploring Operation: 2+68=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[94, 9, 92, 59], Operations: []
Exploring Operation: 94-92=2, Resulting Numbers: [9, 59, 2]
Generated Node #0,3: 70:[9, 59, 2] Operation: 94-92=2
Moving to Node #0,3
Current State: 70:[9, 59, 2], Operations: ['94-92=2']
Exploring Operation: 9+59=68, Resulting Numbers: [2, 68]
Generated Node #0,3,4: 70:[2, 68] Operation: 9+59=68
Moving to Node #0,3,4
Current State: 70:[2, 68], Operations: ['94-92=2', '9+59=68']
Exploring Operation: 2+68=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
11,
20,
14,
29
] | 89 | [
"14-11=3",
"20*3=60",
"29+60=89"
] | Current State: 89:[11, 20, 14, 29], Operations: []
Exploring Operation: 14-11=3, Resulting Numbers: [20, 29, 3]
Generated Node #2: [20, 29, 3] from Operation: 14-11=3
Current State: 89:[20, 29, 3], Operations: ['14-11=3']
Exploring Operation: 20*3=60, Resulting Numbers: [29, 60]
Generated Node #3: [29, 60] from Operation: 20*3=60
Current State: 89:[29, 60], Operations: ['14-11=3', '20*3=60']
Exploring Operation: 29+60=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[11, 20, 14, 29], Operations: []
Exploring Operation: 11+14=25, Resulting Numbers: [20, 29, 25]
Generated Node #0,0: 89:[20, 29, 25] Operation: 11+14=25
Exploring Operation: 11+20=31, Resulting Numbers: [14, 29, 31]
Generated Node #0,1: 89:[14, 29, 31] Operation: 11+20=31
Moving to Node #0,0
Current State: 89:[20, 29, 25], Operations: ['11+14=25']
Exploring Operation: 20+25=45, Resulting Numbers: [29, 45]
Generated Node #0,0,0: 89:[29, 45] Operation: 20+25=45
Exploring Operation: 20+29=49, Resulting Numbers: [25, 49]
Generated Node #0,0,1: 89:[25, 49] Operation: 20+29=49
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 89:[29, 45], Operations: ['11+14=25', '20+25=45']
Exploring Operation: 29+45=74, Resulting Numbers: [74]
74,89 unequal: No Solution
Exploring Operation: 45-29=16, Resulting Numbers: [16]
16,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 89:[25, 49], Operations: ['11+14=25', '20+29=49']
Exploring Operation: 25+49=74, Resulting Numbers: [74]
74,89 unequal: No Solution
Exploring Operation: 49-25=24, Resulting Numbers: [24]
24,89 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: 89:[14, 29, 31], Operations: ['11+20=31']
Exploring Operation: 14+31=45, Resulting Numbers: [29, 45]
Generated Node #0,1,0: 89:[29, 45] Operation: 14+31=45
Exploring Operation: 14+29=43, Resulting Numbers: [31, 43]
Generated Node #0,1,1: 89:[31, 43] Operation: 14+29=43
Moving to Node #0,1,0
Current State: 89:[29, 45], Operations: ['11+20=31', '14+31=45']
Exploring Operation: 29+45=74, Resulting Numbers: [74]
74,89 unequal: No Solution
Exploring Operation: 45-29=16, Resulting Numbers: [16]
16,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[31, 43], Operations: ['11+20=31', '14+29=43']
Exploring Operation: 43-31=12, Resulting Numbers: [12]
12,89 unequal: No Solution
Exploring Operation: 31+43=74, Resulting Numbers: [74]
74,89 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
28,
81,
96,
17
] | 42 | [
"28*96=2688",
"81-17=64",
"2688/64=42"
] | Current State: 42:[28, 81, 96, 17], Operations: []
Exploring Operation: 28*96=2688, Resulting Numbers: [81, 17, 2688]
Generated Node #2: [81, 17, 2688] from Operation: 28*96=2688
Current State: 42:[81, 17, 2688], Operations: ['28*96=2688']
Exploring Operation: 81-17=64, Resulting Numbers: [2688, 64]
Generated Node #3: [2688, 64] from Operation: 81-17=64
Current State: 42:[2688, 64], Operations: ['28*96=2688', '81-17=64']
Exploring Operation: 2688/64=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[28, 81, 96, 17], Operations: []
Exploring Operation: 96-28=68, Resulting Numbers: [81, 17, 68]
Generated Node #0,0: 42:[81, 17, 68] Operation: 96-28=68
Exploring Operation: 81-17=64, Resulting Numbers: [28, 96, 64]
Generated Node #0,1: 42:[28, 96, 64] Operation: 81-17=64
Exploring Operation: 96-81=15, Resulting Numbers: [28, 17, 15]
Generated Node #0,2: 42:[28, 17, 15] Operation: 96-81=15
Exploring Operation: 81-28=53, Resulting Numbers: [96, 17, 53]
Generated Node #0,3: 42:[96, 17, 53] Operation: 81-28=53
Moving to Node #0,2
Current State: 42:[28, 17, 15], Operations: ['96-81=15']
Exploring Operation: 28+15=43, Resulting Numbers: [17, 43]
Generated Node #0,2,0: 42:[17, 43] Operation: 28+15=43
Exploring Operation: 28+17=45, Resulting Numbers: [15, 45]
Generated Node #0,2,1: 42:[15, 45] Operation: 28+17=45
Exploring Operation: 28-15=13, Resulting Numbers: [17, 13]
Generated Node #0,2,2: 42:[17, 13] Operation: 28-15=13
Exploring Operation: 28-17=11, Resulting Numbers: [15, 11]
Generated Node #0,2,3: 42:[15, 11] Operation: 28-17=11
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 42:[17, 43], Operations: ['96-81=15', '28+15=43']
Exploring Operation: 17+43=60, Resulting Numbers: [60]
60,42 unequal: No Solution
Exploring Operation: 43-17=26, Resulting Numbers: [26]
26,42 unequal: No Solution
Exploring Operation: 17*43=731, Resulting Numbers: [731]
731,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 42:[15, 45], Operations: ['96-81=15', '28+17=45']
Exploring Operation: 15+45=60, Resulting Numbers: [60]
60,42 unequal: No Solution
Exploring Operation: 45/15=3, Resulting Numbers: [3]
3,42 unequal: No Solution
Exploring Operation: 45-15=30, Resulting Numbers: [30]
30,42 unequal: No Solution
Exploring Operation: 15*45=675, Resulting Numbers: [675]
675,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 42:[17, 13], Operations: ['96-81=15', '28-15=13']
Exploring Operation: 17+13=30, Resulting Numbers: [30]
30,42 unequal: No Solution
Exploring Operation: 17*13=221, Resulting Numbers: [221]
221,42 unequal: No Solution
Exploring Operation: 17-13=4, Resulting Numbers: [4]
4,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 42:[15, 11], Operations: ['96-81=15', '28-17=11']
Exploring Operation: 15*11=165, Resulting Numbers: [165]
165,42 unequal: No Solution
Exploring Operation: 15-11=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Exploring Operation: 15+11=26, Resulting Numbers: [26]
26,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 42:[96, 17, 53], Operations: ['81-28=53']
Exploring Operation: 53-17=36, Resulting Numbers: [96, 36]
Generated Node #0,3,0: 42:[96, 36] Operation: 53-17=36
Exploring Operation: 96-17=79, Resulting Numbers: [53, 79]
Generated Node #0,3,1: 42:[53, 79] Operation: 96-17=79
Exploring Operation: 96-53=43, Resulting Numbers: [17, 43]
Generated Node #0,3,2: 42:[17, 43] Operation: 96-53=43
Exploring Operation: 96+17=113, Resulting Numbers: [53, 113]
Generated Node #0,3,3: 42:[53, 113] Operation: 96+17=113
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 42:[17, 43], Operations: ['81-28=53', '96-53=43']
Exploring Operation: 17+43=60, Resulting Numbers: [60]
60,42 unequal: No Solution
Exploring Operation: 43-17=26, Resulting Numbers: [26]
26,42 unequal: No Solution
Exploring Operation: 17*43=731, Resulting Numbers: [731]
731,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 42:[53, 79], Operations: ['81-28=53', '96-17=79']
Exploring Operation: 53+79=132, Resulting Numbers: [132]
132,42 unequal: No Solution
Exploring Operation: 79-53=26, Resulting Numbers: [26]
26,42 unequal: No Solution
Exploring Operation: 53*79=4187, Resulting Numbers: [4187]
4187,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 42:[96, 36], Operations: ['81-28=53', '53-17=36']
Exploring Operation: 96*36=3456, Resulting Numbers: [3456]
3456,42 unequal: No Solution
Exploring Operation: 96-36=60, Resulting Numbers: [60]
60,42 unequal: No Solution
Exploring Operation: 96+36=132, Resulting Numbers: [132]
132,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 42:[53, 113], Operations: ['81-28=53', '96+17=113']
Exploring Operation: 113-53=60, Resulting Numbers: [60]
60,42 unequal: No Solution
Exploring Operation: 53+113=166, Resulting Numbers: [166]
166,42 unequal: No Solution
Exploring Operation: 53*113=5989, Resulting Numbers: [5989]
5989,42 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: 42:[81, 17, 68], Operations: ['96-28=68']
Exploring Operation: 68-17=51, Resulting Numbers: [81, 51]
Generated Node #0,0,0: 42:[81, 51] Operation: 68-17=51
Exploring Operation: 68/17=4, Resulting Numbers: [81, 4]
Generated Node #0,0,1: 42:[81, 4] Operation: 68/17=4
Exploring Operation: 81-68=13, Resulting Numbers: [17, 13]
Generated Node #0,0,2: 42:[17, 13] Operation: 81-68=13
Exploring Operation: 81-17=64, Resulting Numbers: [68, 64]
Generated Node #0,0,3: 42:[68, 64] Operation: 81-17=64
Moving to Node #0,1
Current State: 42:[28, 96, 64], Operations: ['81-17=64']
Exploring Operation: 28+96=124, Resulting Numbers: [64, 124]
Generated Node #0,1,0: 42:[64, 124] Operation: 28+96=124
Exploring Operation: 96-28=68, Resulting Numbers: [64, 68]
Generated Node #0,1,1: 42:[64, 68] Operation: 96-28=68
Exploring Operation: 96-64=32, Resulting Numbers: [28, 32]
Generated Node #0,1,2: 42:[28, 32] Operation: 96-64=32
Exploring Operation: 64-28=36, Resulting Numbers: [96, 36]
Generated Node #0,1,3: 42:[96, 36] Operation: 64-28=36
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 42:[28, 32], Operations: ['81-17=64', '96-64=32']
Exploring Operation: 28*32=896, Resulting Numbers: [896]
896,42 unequal: No Solution
Exploring Operation: 28+32=60, Resulting Numbers: [60]
60,42 unequal: No Solution
Exploring Operation: 32-28=4, Resulting Numbers: [4]
4,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 42:[64, 68], Operations: ['81-17=64', '96-28=68']
Exploring Operation: 64*68=4352, Resulting Numbers: [4352]
4352,42 unequal: No Solution
Exploring Operation: 68-64=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Exploring Operation: 64+68=132, Resulting Numbers: [132]
132,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 42:[96, 36], Operations: ['81-17=64', '64-28=36']
Exploring Operation: 96-36=60, Resulting Numbers: [60]
60,42 unequal: No Solution
Exploring Operation: 96+36=132, Resulting Numbers: [132]
132,42 unequal: No Solution
Exploring Operation: 96*36=3456, Resulting Numbers: [3456]
3456,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 42:[64, 124], Operations: ['81-17=64', '28+96=124']
Exploring Operation: 64*124=7936, Resulting Numbers: [7936]
7936,42 unequal: No Solution
Exploring Operation: 64+124=188, Resulting Numbers: [188]
188,42 unequal: No Solution
Exploring Operation: 124-64=60, Resulting Numbers: [60]
60,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 42:[17, 13], Operations: ['96-28=68', '81-68=13']
Exploring Operation: 17-13=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Exploring Operation: 17*13=221, Resulting Numbers: [221]
221,42 unequal: No Solution
Exploring Operation: 17+13=30, Resulting Numbers: [30]
30,42 unequal: No Solution
Moving to Node #0,0,1
Current State: 42:[81, 4], Operations: ['96-28=68', '68/17=4']
Exploring Operation: 81*4=324, Resulting Numbers: [324]
324,42 unequal: No Solution
Exploring Operation: 81+4=85, Resulting Numbers: [85]
85,42 unequal: No Solution
Exploring Operation: 81-4=77, Resulting Numbers: [77]
77,42 unequal: No Solution
Moving to Node #0,0,3
Current State: 42:[68, 64], Operations: ['96-28=68', '81-17=64']
Exploring Operation: 68*64=4352, Resulting Numbers: [4352]
4352,42 unequal: No Solution
Exploring Operation: 68-64=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Exploring Operation: 68+64=132, Resulting Numbers: [132]
132,42 unequal: No Solution
Moving to Node #0,0,0
Current State: 42:[81, 51], Operations: ['96-28=68', '68-17=51']
Exploring Operation: 81*51=4131, Resulting Numbers: [4131]
4131,42 unequal: No Solution
Exploring Operation: 81-51=30, Resulting Numbers: [30]
30,42 unequal: No Solution
Exploring Operation: 81+51=132, Resulting Numbers: [132]
132,42 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
7,
25,
48,
80
] | 49 | [
"25+48=73",
"80-73=7",
"7*7=49"
] | Current State: 49:[7, 25, 48, 80], Operations: []
Exploring Operation: 25+48=73, Resulting Numbers: [7, 80, 73]
Generated Node #2: [7, 80, 73] from Operation: 25+48=73
Current State: 49:[7, 80, 73], Operations: ['25+48=73']
Exploring Operation: 80-73=7, Resulting Numbers: [7, 7]
Generated Node #3: [7, 7] from Operation: 80-73=7
Current State: 49:[7, 7], Operations: ['25+48=73', '80-73=7']
Exploring Operation: 7*7=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[7, 25, 48, 80], Operations: []
Exploring Operation: 80-7=73, Resulting Numbers: [25, 48, 73]
Generated Node #0,0: 49:[25, 48, 73] Operation: 80-7=73
Exploring Operation: 25-7=18, Resulting Numbers: [48, 80, 18]
Generated Node #0,1: 49:[48, 80, 18] Operation: 25-7=18
Exploring Operation: 48-25=23, Resulting Numbers: [7, 80, 23]
Generated Node #0,2: 49:[7, 80, 23] Operation: 48-25=23
Exploring Operation: 80-48=32, Resulting Numbers: [7, 25, 32]
Generated Node #0,3: 49:[7, 25, 32] Operation: 80-48=32
Exploring Operation: 80-25=55, Resulting Numbers: [7, 48, 55]
Generated Node #0,4: 49:[7, 48, 55] Operation: 80-25=55
Start Sub Search at level 1: Moving to Node #0,4
Current State: 49:[7, 48, 55], Operations: ['80-25=55']
Exploring Operation: 7+55=62, Resulting Numbers: [48, 62]
Generated Node #0,4,0: 49:[48, 62] Operation: 7+55=62
Exploring Operation: 7+48=55, Resulting Numbers: [55, 55]
Generated Node #0,4,1: 49:[55, 55] Operation: 7+48=55
Exploring Operation: 55-7=48, Resulting Numbers: [48, 48]
Generated Node #0,4,2: 49:[48, 48] Operation: 55-7=48
Exploring Operation: 48-7=41, Resulting Numbers: [55, 41]
Generated Node #0,4,3: 49:[55, 41] Operation: 48-7=41
Exploring Operation: 55-48=7, Resulting Numbers: [7, 7]
Generated Node #0,4,4: 49:[7, 7] Operation: 55-48=7
Moving to Node #0,4,4
Current State: 49:[7, 7], Operations: ['80-25=55', '55-48=7']
Exploring Operation: 7-7=0, Resulting Numbers: [0]
0,49 unequal: No Solution
Exploring Operation: 7/7=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 7*7=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[7, 25, 48, 80], Operations: []
Exploring Operation: 80-25=55, Resulting Numbers: [7, 48, 55]
Generated Node #0,4: 49:[7, 48, 55] Operation: 80-25=55
Moving to Node #0,4
Current State: 49:[7, 48, 55], Operations: ['80-25=55']
Exploring Operation: 55-48=7, Resulting Numbers: [7, 7]
Generated Node #0,4,4: 49:[7, 7] Operation: 55-48=7
Moving to Node #0,4,4
Current State: 49:[7, 7], Operations: ['80-25=55', '55-48=7']
Exploring Operation: 7*7=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
96,
90,
21,
43
] | 70 | [
"96-90=6",
"21+43=64",
"6+64=70"
] | Current State: 70:[96, 90, 21, 43], Operations: []
Exploring Operation: 96-90=6, Resulting Numbers: [21, 43, 6]
Generated Node #2: [21, 43, 6] from Operation: 96-90=6
Current State: 70:[21, 43, 6], Operations: ['96-90=6']
Exploring Operation: 21+43=64, Resulting Numbers: [6, 64]
Generated Node #3: [6, 64] from Operation: 21+43=64
Current State: 70:[6, 64], Operations: ['96-90=6', '21+43=64']
Exploring Operation: 6+64=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[96, 90, 21, 43], Operations: []
Exploring Operation: 96-90=6, Resulting Numbers: [21, 43, 6]
Generated Node #0,0: 70:[21, 43, 6] Operation: 96-90=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[21, 43, 6], Operations: ['96-90=6']
Exploring Operation: 21+43=64, Resulting Numbers: [6, 64]
Generated Node #0,0,0: 70:[6, 64] Operation: 21+43=64
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 70:[6, 64], Operations: ['96-90=6', '21+43=64']
Exploring Operation: 6+64=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[96, 90, 21, 43], Operations: []
Exploring Operation: 96-90=6, Resulting Numbers: [21, 43, 6]
Generated Node #0,0: 70:[21, 43, 6] Operation: 96-90=6
Moving to Node #0,0
Current State: 70:[21, 43, 6], Operations: ['96-90=6']
Exploring Operation: 21+43=64, Resulting Numbers: [6, 64]
Generated Node #0,0,0: 70:[6, 64] Operation: 21+43=64
Moving to Node #0,0,0
Current State: 70:[6, 64], Operations: ['96-90=6', '21+43=64']
Exploring Operation: 6+64=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
45,
98,
23,
1
] | 76 | [
"98-45=53",
"23*1=23",
"53+23=76"
] | Current State: 76:[45, 98, 23, 1], Operations: []
Exploring Operation: 98-45=53, Resulting Numbers: [23, 1, 53]
Generated Node #2: [23, 1, 53] from Operation: 98-45=53
Current State: 76:[23, 1, 53], Operations: ['98-45=53']
Exploring Operation: 23*1=23, Resulting Numbers: [53, 23]
Generated Node #3: [53, 23] from Operation: 23*1=23
Current State: 76:[53, 23], Operations: ['98-45=53', '23*1=23']
Exploring Operation: 53+23=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[45, 98, 23, 1], Operations: []
Exploring Operation: 45-23=22, Resulting Numbers: [98, 1, 22]
Generated Node #0,0: 76:[98, 1, 22] Operation: 45-23=22
Exploring Operation: 98-23=75, Resulting Numbers: [45, 1, 75]
Generated Node #0,1: 76:[45, 1, 75] Operation: 98-23=75
Exploring Operation: 98-45=53, Resulting Numbers: [23, 1, 53]
Generated Node #0,2: 76:[23, 1, 53] Operation: 98-45=53
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[45, 1, 75], Operations: ['98-23=75']
Exploring Operation: 45*1=45, Resulting Numbers: [75, 45]
Generated Node #0,1,0: 76:[75, 45] Operation: 45*1=45
Exploring Operation: 45-1=44, Resulting Numbers: [75, 44]
Generated Node #0,1,1: 76:[75, 44] Operation: 45-1=44
Exploring Operation: 1+75=76, Resulting Numbers: [45, 76]
Generated Node #0,1,2: 76:[45, 76] Operation: 1+75=76
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 76:[75, 44], Operations: ['98-23=75', '45-1=44']
Exploring Operation: 75*44=3300, Resulting Numbers: [3300]
3300,76 unequal: No Solution
Exploring Operation: 75+44=119, Resulting Numbers: [119]
119,76 unequal: No Solution
Exploring Operation: 75-44=31, Resulting Numbers: [31]
31,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 76:[45, 76], Operations: ['98-23=75', '1+75=76']
Exploring Operation: 45+76=121, Resulting Numbers: [121]
121,76 unequal: No Solution
Exploring Operation: 76-45=31, Resulting Numbers: [31]
31,76 unequal: No Solution
Exploring Operation: 45*76=3420, Resulting Numbers: [3420]
3420,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 76:[75, 45], Operations: ['98-23=75', '45*1=45']
Exploring Operation: 75+45=120, Resulting Numbers: [120]
120,76 unequal: No Solution
Exploring Operation: 75-45=30, Resulting Numbers: [30]
30,76 unequal: No Solution
Exploring Operation: 75*45=3375, Resulting Numbers: [3375]
3375,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 76:[23, 1, 53], Operations: ['98-45=53']
Exploring Operation: 23-1=22, Resulting Numbers: [53, 22]
Generated Node #0,2,0: 76:[53, 22] Operation: 23-1=22
Exploring Operation: 23+53=76, Resulting Numbers: [1, 76]
Generated Node #0,2,1: 76:[1, 76] Operation: 23+53=76
Exploring Operation: 53-23=30, Resulting Numbers: [1, 30]
Generated Node #0,2,2: 76:[1, 30] Operation: 53-23=30
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 76:[1, 76], Operations: ['98-45=53', '23+53=76']
Exploring Operation: 1*76=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[45, 98, 23, 1], Operations: []
Exploring Operation: 98-45=53, Resulting Numbers: [23, 1, 53]
Generated Node #0,2: 76:[23, 1, 53] Operation: 98-45=53
Moving to Node #0,2
Current State: 76:[23, 1, 53], Operations: ['98-45=53']
Exploring Operation: 23+53=76, Resulting Numbers: [1, 76]
Generated Node #0,2,1: 76:[1, 76] Operation: 23+53=76
Moving to Node #0,2,1
Current State: 76:[1, 76], Operations: ['98-45=53', '23+53=76']
Exploring Operation: 1*76=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035 | hs_3 | sum_heuristic |
[
9,
79,
24,
16
] | 31 | [
"79-16=63",
"63/9=7",
"24+7=31"
] | Current State: 31:[9, 79, 24, 16], Operations: []
Exploring Operation: 79-16=63, Resulting Numbers: [9, 24, 63]
Generated Node #2: [9, 24, 63] from Operation: 79-16=63
Current State: 31:[9, 24, 63], Operations: ['79-16=63']
Exploring Operation: 63/9=7, Resulting Numbers: [24, 7]
Generated Node #3: [24, 7] from Operation: 63/9=7
Current State: 31:[24, 7], Operations: ['79-16=63', '63/9=7']
Exploring Operation: 24+7=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[9, 79, 24, 16], Operations: []
Exploring Operation: 79-9=70, Resulting Numbers: [24, 16, 70]
Generated Node #0,0: 31:[24, 16, 70] Operation: 79-9=70
Exploring Operation: 79-24=55, Resulting Numbers: [9, 16, 55]
Generated Node #0,1: 31:[9, 16, 55] Operation: 79-24=55
Exploring Operation: 9+16=25, Resulting Numbers: [79, 24, 25]
Generated Node #0,2: 31:[79, 24, 25] Operation: 9+16=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[24, 16, 70], Operations: ['79-9=70']
Exploring Operation: 24+16=40, Resulting Numbers: [70, 40]
Generated Node #0,0,0: 31:[70, 40] Operation: 24+16=40
Exploring Operation: 70-24=46, Resulting Numbers: [16, 46]
Generated Node #0,0,1: 31:[16, 46] Operation: 70-24=46
Exploring Operation: 70-16=54, Resulting Numbers: [24, 54]
Generated Node #0,0,2: 31:[24, 54] Operation: 70-16=54
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 31:[16, 46], Operations: ['79-9=70', '70-24=46']
Exploring Operation: 16*46=736, Resulting Numbers: [736]
736,31 unequal: No Solution
Exploring Operation: 46-16=30, Resulting Numbers: [30]
30,31 unequal: No Solution
Exploring Operation: 16+46=62, Resulting Numbers: [62]
62,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 31:[24, 54], Operations: ['79-9=70', '70-16=54']
Exploring Operation: 54-24=30, Resulting Numbers: [30]
30,31 unequal: No Solution
Exploring Operation: 24+54=78, Resulting Numbers: [78]
78,31 unequal: No Solution
Exploring Operation: 24*54=1296, Resulting Numbers: [1296]
1296,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 31:[70, 40], Operations: ['79-9=70', '24+16=40']
Exploring Operation: 70-40=30, Resulting Numbers: [30]
30,31 unequal: No Solution
Exploring Operation: 70*40=2800, Resulting Numbers: [2800]
2800,31 unequal: No Solution
Exploring Operation: 70+40=110, Resulting Numbers: [110]
110,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 31:[9, 16, 55], Operations: ['79-24=55']
Exploring Operation: 55-9=46, Resulting Numbers: [16, 46]
Generated Node #0,1,0: 31:[16, 46] Operation: 55-9=46
Exploring Operation: 55-16=39, Resulting Numbers: [9, 39]
Generated Node #0,1,1: 31:[9, 39] Operation: 55-16=39
Exploring Operation: 9+16=25, Resulting Numbers: [55, 25]
Generated Node #0,1,2: 31:[55, 25] Operation: 9+16=25
Moving to Node #0,1,0
Current State: 31:[16, 46], Operations: ['79-24=55', '55-9=46']
Exploring Operation: 16+46=62, Resulting Numbers: [62]
62,31 unequal: No Solution
Exploring Operation: 46-16=30, Resulting Numbers: [30]
30,31 unequal: No Solution
Exploring Operation: 16*46=736, Resulting Numbers: [736]
736,31 unequal: No Solution
Moving to Node #0,1,1
Current State: 31:[9, 39], Operations: ['79-24=55', '55-16=39']
Exploring Operation: 9+39=48, Resulting Numbers: [48]
48,31 unequal: No Solution
Exploring Operation: 9*39=351, Resulting Numbers: [351]
351,31 unequal: No Solution
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,31 unequal: No Solution
Moving to Node #0,1,2
Current State: 31:[55, 25], Operations: ['79-24=55', '9+16=25']
Exploring Operation: 55+25=80, Resulting Numbers: [80]
80,31 unequal: No Solution
Exploring Operation: 55-25=30, Resulting Numbers: [30]
30,31 unequal: No Solution
Exploring Operation: 55*25=1375, Resulting Numbers: [1375]
1375,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 31:[79, 24, 25], Operations: ['9+16=25']
Exploring Operation: 79-24=55, Resulting Numbers: [25, 55]
Generated Node #0,2,0: 31:[25, 55] Operation: 79-24=55
Exploring Operation: 79-25=54, Resulting Numbers: [24, 54]
Generated Node #0,2,1: 31:[24, 54] Operation: 79-25=54
Exploring Operation: 24+25=49, Resulting Numbers: [79, 49]
Generated Node #0,2,2: 31:[79, 49] Operation: 24+25=49
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 31:[25, 55], Operations: ['9+16=25', '79-24=55']
Exploring Operation: 25+55=80, Resulting Numbers: [80]
80,31 unequal: No Solution
Exploring Operation: 55-25=30, Resulting Numbers: [30]
30,31 unequal: No Solution
Exploring Operation: 25*55=1375, Resulting Numbers: [1375]
1375,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 31:[24, 54], Operations: ['9+16=25', '79-25=54']
Exploring Operation: 24*54=1296, Resulting Numbers: [1296]
1296,31 unequal: No Solution
Exploring Operation: 54-24=30, Resulting Numbers: [30]
30,31 unequal: No Solution
Exploring Operation: 24+54=78, Resulting Numbers: [78]
78,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 31:[79, 49], Operations: ['9+16=25', '24+25=49']
Exploring Operation: 79-49=30, Resulting Numbers: [30]
30,31 unequal: No Solution
Exploring Operation: 79+49=128, Resulting Numbers: [128]
128,31 unequal: No Solution
Exploring Operation: 79*49=3871, Resulting Numbers: [3871]
3871,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
83,
20,
87,
5
] | 16 | [
"87-83=4",
"20/5=4",
"4*4=16"
] | Current State: 16:[83, 20, 87, 5], Operations: []
Exploring Operation: 87-83=4, Resulting Numbers: [20, 5, 4]
Generated Node #2: [20, 5, 4] from Operation: 87-83=4
Current State: 16:[20, 5, 4], Operations: ['87-83=4']
Exploring Operation: 20/5=4, Resulting Numbers: [4, 4]
Generated Node #3: [4, 4] from Operation: 20/5=4
Current State: 16:[4, 4], Operations: ['87-83=4', '20/5=4']
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[83, 20, 87, 5], Operations: []
Exploring Operation: 83-20=63, Resulting Numbers: [87, 5, 63]
Generated Node #0,0: 16:[87, 5, 63] Operation: 83-20=63
Exploring Operation: 87-5=82, Resulting Numbers: [83, 20, 82]
Generated Node #0,1: 16:[83, 20, 82] Operation: 87-5=82
Exploring Operation: 87-20=67, Resulting Numbers: [83, 5, 67]
Generated Node #0,2: 16:[83, 5, 67] Operation: 87-20=67
Exploring Operation: 87-83=4, Resulting Numbers: [20, 5, 4]
Generated Node #0,3: 16:[20, 5, 4] Operation: 87-83=4
Exploring Operation: 83-5=78, Resulting Numbers: [20, 87, 78]
Generated Node #0,4: 16:[20, 87, 78] Operation: 83-5=78
Moving to Node #0,3
Current State: 16:[20, 5, 4], Operations: ['87-83=4']
Exploring Operation: 5+4=9, Resulting Numbers: [20, 9]
Generated Node #0,3,0: 16:[20, 9] Operation: 5+4=9
Exploring Operation: 20-4=16, Resulting Numbers: [5, 16]
Generated Node #0,3,1: 16:[5, 16] Operation: 20-4=16
Exploring Operation: 20/4=5, Resulting Numbers: [5, 5]
Generated Node #0,3,2: 16:[5, 5] Operation: 20/4=5
Exploring Operation: 20-5=15, Resulting Numbers: [4, 15]
Generated Node #0,3,3: 16:[4, 15] Operation: 20-5=15
Exploring Operation: 20/5=4, Resulting Numbers: [4, 4]
Generated Node #0,3,4: 16:[4, 4] Operation: 20/5=4
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 16:[4, 4], Operations: ['87-83=4', '20/5=4']
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,16 unequal: No Solution
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[83, 20, 87, 5], Operations: []
Exploring Operation: 87-83=4, Resulting Numbers: [20, 5, 4]
Generated Node #0,3: 16:[20, 5, 4] Operation: 87-83=4
Moving to Node #0,3
Current State: 16:[20, 5, 4], Operations: ['87-83=4']
Exploring Operation: 20/5=4, Resulting Numbers: [4, 4]
Generated Node #0,3,4: 16:[4, 4] Operation: 20/5=4
Moving to Node #0,3,4
Current State: 16:[4, 4], Operations: ['87-83=4', '20/5=4']
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
40,
8,
30,
92
] | 63 | [
"92-8=84",
"30*84=2520",
"2520/40=63"
] | Current State: 63:[40, 8, 30, 92], Operations: []
Exploring Operation: 92-8=84, Resulting Numbers: [40, 30, 84]
Generated Node #2: [40, 30, 84] from Operation: 92-8=84
Current State: 63:[40, 30, 84], Operations: ['92-8=84']
Exploring Operation: 30*84=2520, Resulting Numbers: [40, 2520]
Generated Node #3: [40, 2520] from Operation: 30*84=2520
Current State: 63:[40, 2520], Operations: ['92-8=84', '30*84=2520']
Exploring Operation: 2520/40=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[40, 8, 30, 92], Operations: []
Exploring Operation: 92-30=62, Resulting Numbers: [40, 8, 62]
Generated Node #0,0: 63:[40, 8, 62] Operation: 92-30=62
Exploring Operation: 40-30=10, Resulting Numbers: [8, 92, 10]
Generated Node #0,1: 63:[8, 92, 10] Operation: 40-30=10
Exploring Operation: 92-40=52, Resulting Numbers: [8, 30, 52]
Generated Node #0,2: 63:[8, 30, 52] Operation: 92-40=52
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[40, 8, 62], Operations: ['92-30=62']
Exploring Operation: 62-40=22, Resulting Numbers: [8, 22]
Generated Node #0,0,0: 63:[8, 22] Operation: 62-40=22
Exploring Operation: 40-8=32, Resulting Numbers: [62, 32]
Generated Node #0,0,1: 63:[62, 32] Operation: 40-8=32
Exploring Operation: 40/8=5, Resulting Numbers: [62, 5]
Generated Node #0,0,2: 63:[62, 5] Operation: 40/8=5
Moving to Node #0,0,0
Current State: 63:[8, 22], Operations: ['92-30=62', '62-40=22']
Exploring Operation: 8*22=176, Resulting Numbers: [176]
176,63 unequal: No Solution
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,63 unequal: No Solution
Exploring Operation: 8+22=30, Resulting Numbers: [30]
30,63 unequal: No Solution
Moving to Node #0,0,2
Current State: 63:[62, 5], Operations: ['92-30=62', '40/8=5']
Exploring Operation: 62+5=67, Resulting Numbers: [67]
67,63 unequal: No Solution
Exploring Operation: 62*5=310, Resulting Numbers: [310]
310,63 unequal: No Solution
Exploring Operation: 62-5=57, Resulting Numbers: [57]
57,63 unequal: No Solution
Moving to Node #0,0,1
Current State: 63:[62, 32], Operations: ['92-30=62', '40-8=32']
Exploring Operation: 62-32=30, Resulting Numbers: [30]
30,63 unequal: No Solution
Exploring Operation: 62+32=94, Resulting Numbers: [94]
94,63 unequal: No Solution
Exploring Operation: 62*32=1984, Resulting Numbers: [1984]
1984,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 63:[8, 30, 52], Operations: ['92-40=52']
Exploring Operation: 30-8=22, Resulting Numbers: [52, 22]
Generated Node #0,2,0: 63:[52, 22] Operation: 30-8=22
Exploring Operation: 8+52=60, Resulting Numbers: [30, 60]
Generated Node #0,2,1: 63:[30, 60] Operation: 8+52=60
Exploring Operation: 52-30=22, Resulting Numbers: [8, 22]
Generated Node #0,2,2: 63:[8, 22] Operation: 52-30=22
Moving to Node #0,2,2
Current State: 63:[8, 22], Operations: ['92-40=52', '52-30=22']
Exploring Operation: 8+22=30, Resulting Numbers: [30]
30,63 unequal: No Solution
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,63 unequal: No Solution
Exploring Operation: 8*22=176, Resulting Numbers: [176]
176,63 unequal: No Solution
Moving to Node #0,2,0
Current State: 63:[52, 22], Operations: ['92-40=52', '30-8=22']
Exploring Operation: 52-22=30, Resulting Numbers: [30]
30,63 unequal: No Solution
Exploring Operation: 52+22=74, Resulting Numbers: [74]
74,63 unequal: No Solution
Exploring Operation: 52*22=1144, Resulting Numbers: [1144]
1144,63 unequal: No Solution
Moving to Node #0,2,1
Current State: 63:[30, 60], Operations: ['92-40=52', '8+52=60']
Exploring Operation: 30+60=90, Resulting Numbers: [90]
90,63 unequal: No Solution
Exploring Operation: 60/30=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Exploring Operation: 60-30=30, Resulting Numbers: [30]
30,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 63:[8, 92, 10], Operations: ['40-30=10']
Exploring Operation: 92-10=82, Resulting Numbers: [8, 82]
Generated Node #0,1,0: 63:[8, 82] Operation: 92-10=82
Exploring Operation: 92-8=84, Resulting Numbers: [10, 84]
Generated Node #0,1,1: 63:[10, 84] Operation: 92-8=84
Exploring Operation: 10-8=2, Resulting Numbers: [92, 2]
Generated Node #0,1,2: 63:[92, 2] Operation: 10-8=2
Moving to Node #0,1,0
Current State: 63:[8, 82], Operations: ['40-30=10', '92-10=82']
Exploring Operation: 8+82=90, Resulting Numbers: [90]
90,63 unequal: No Solution
Exploring Operation: 8*82=656, Resulting Numbers: [656]
656,63 unequal: No Solution
Exploring Operation: 82-8=74, Resulting Numbers: [74]
74,63 unequal: No Solution
Moving to Node #0,1,1
Current State: 63:[10, 84], Operations: ['40-30=10', '92-8=84']
Exploring Operation: 10*84=840, Resulting Numbers: [840]
840,63 unequal: No Solution
Exploring Operation: 84-10=74, Resulting Numbers: [74]
74,63 unequal: No Solution
Exploring Operation: 10+84=94, Resulting Numbers: [94]
94,63 unequal: No Solution
Moving to Node #0,1,2
Current State: 63:[92, 2], Operations: ['40-30=10', '10-8=2']
Exploring Operation: 92/2=46, Resulting Numbers: [46]
46,63 unequal: No Solution
Exploring Operation: 92-2=90, Resulting Numbers: [90]
90,63 unequal: No Solution
Exploring Operation: 92+2=94, Resulting Numbers: [94]
94,63 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 |
[
88,
54,
38,
62
] | 66 | [
"88-54=34",
"38+62=100",
"100-34=66"
] | Current State: 66:[88, 54, 38, 62], Operations: []
Exploring Operation: 88-54=34, Resulting Numbers: [38, 62, 34]
Generated Node #2: [38, 62, 34] from Operation: 88-54=34
Current State: 66:[38, 62, 34], Operations: ['88-54=34']
Exploring Operation: 38+62=100, Resulting Numbers: [34, 100]
Generated Node #3: [34, 100] from Operation: 38+62=100
Current State: 66:[34, 100], Operations: ['88-54=34', '38+62=100']
Exploring Operation: 100-34=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[88, 54, 38, 62], Operations: []
Exploring Operation: 88-54=34, Resulting Numbers: [38, 62, 34]
Generated Node #0,0: 66:[38, 62, 34] Operation: 88-54=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[38, 62, 34], Operations: ['88-54=34']
Exploring Operation: 62-38=24, Resulting Numbers: [34, 24]
Generated Node #0,0,0: 66:[34, 24] Operation: 62-38=24
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 66:[34, 24], Operations: ['88-54=34', '62-38=24']
Exploring Operation: 34-24=10, Resulting Numbers: [10]
10,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 |
[
7,
99,
44,
3
] | 76 | [
"7*3=21",
"99-44=55",
"21+55=76"
] | Current State: 76:[7, 99, 44, 3], Operations: []
Exploring Operation: 7*3=21, Resulting Numbers: [99, 44, 21]
Generated Node #2: [99, 44, 21] from Operation: 7*3=21
Current State: 76:[99, 44, 21], Operations: ['7*3=21']
Exploring Operation: 99-44=55, Resulting Numbers: [21, 55]
Generated Node #3: [21, 55] from Operation: 99-44=55
Current State: 76:[21, 55], Operations: ['7*3=21', '99-44=55']
Exploring Operation: 21+55=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[7, 99, 44, 3], Operations: []
Exploring Operation: 99-44=55, Resulting Numbers: [7, 3, 55]
Generated Node #0,0: 76:[7, 3, 55] Operation: 99-44=55
Exploring Operation: 99/3=33, Resulting Numbers: [7, 44, 33]
Generated Node #0,1: 76:[7, 44, 33] Operation: 99/3=33
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[7, 44, 33], Operations: ['99/3=33']
Exploring Operation: 44-7=37, Resulting Numbers: [33, 37]
Generated Node #0,1,0: 76:[33, 37] Operation: 44-7=37
Exploring Operation: 44+33=77, Resulting Numbers: [7, 77]
Generated Node #0,1,1: 76:[7, 77] Operation: 44+33=77
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 76:[7, 77], Operations: ['99/3=33', '44+33=77']
Exploring Operation: 77/7=11, Resulting Numbers: [11]
11,76 unequal: No Solution
Exploring Operation: 77-7=70, Resulting Numbers: [70]
70,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 76:[33, 37], Operations: ['99/3=33', '44-7=37']
Exploring Operation: 37-33=4, Resulting Numbers: [4]
4,76 unequal: No Solution
Exploring Operation: 33+37=70, Resulting Numbers: [70]
70,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[7, 3, 55], Operations: ['99-44=55']
Exploring Operation: 7+55=62, Resulting Numbers: [3, 62]
Generated Node #0,0,0: 76:[3, 62] Operation: 7+55=62
Exploring Operation: 55-7=48, Resulting Numbers: [3, 48]
Generated Node #0,0,1: 76:[3, 48] Operation: 55-7=48
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 76:[3, 48], Operations: ['99-44=55', '55-7=48']
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,76 unequal: No Solution
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 76:[3, 62], Operations: ['99-44=55', '7+55=62']
Exploring Operation: 3+62=65, Resulting Numbers: [65]
65,76 unequal: No Solution
Exploring Operation: 62-3=59, Resulting Numbers: [59]
59,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
30,
92,
38,
9
] | 24 | [
"92-38=54",
"54/9=6",
"30-6=24"
] | Current State: 24:[30, 92, 38, 9], Operations: []
Exploring Operation: 92-38=54, Resulting Numbers: [30, 9, 54]
Generated Node #2: [30, 9, 54] from Operation: 92-38=54
Current State: 24:[30, 9, 54], Operations: ['92-38=54']
Exploring Operation: 54/9=6, Resulting Numbers: [30, 6]
Generated Node #3: [30, 6] from Operation: 54/9=6
Current State: 24:[30, 6], Operations: ['92-38=54', '54/9=6']
Exploring Operation: 30-6=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[30, 92, 38, 9], Operations: []
Exploring Operation: 92-38=54, Resulting Numbers: [30, 9, 54]
Generated Node #0,0: 24:[30, 9, 54] Operation: 92-38=54
Moving to Node #0,0
Current State: 24:[30, 9, 54], Operations: ['92-38=54']
Exploring Operation: 54-30=24, Resulting Numbers: [9, 24]
Generated Node #0,0,0: 24:[9, 24] Operation: 54-30=24
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[9, 24], Operations: ['92-38=54', '54-30=24']
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
79,
15,
26,
35
] | 55 | [
"79-15=64",
"35-26=9",
"64-9=55"
] | Current State: 55:[79, 15, 26, 35], Operations: []
Exploring Operation: 79-15=64, Resulting Numbers: [26, 35, 64]
Generated Node #2: [26, 35, 64] from Operation: 79-15=64
Current State: 55:[26, 35, 64], Operations: ['79-15=64']
Exploring Operation: 35-26=9, Resulting Numbers: [64, 9]
Generated Node #3: [64, 9] from Operation: 35-26=9
Current State: 55:[64, 9], Operations: ['79-15=64', '35-26=9']
Exploring Operation: 64-9=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[79, 15, 26, 35], Operations: []
Exploring Operation: 79-35=44, Resulting Numbers: [15, 26, 44]
Generated Node #0,0: 55:[15, 26, 44] Operation: 79-35=44
Exploring Operation: 35-26=9, Resulting Numbers: [79, 15, 9]
Generated Node #0,1: 55:[79, 15, 9] Operation: 35-26=9
Exploring Operation: 26+35=61, Resulting Numbers: [79, 15, 61]
Generated Node #0,2: 55:[79, 15, 61] Operation: 26+35=61
Exploring Operation: 79-26=53, Resulting Numbers: [15, 35, 53]
Generated Node #0,3: 55:[15, 35, 53] Operation: 79-26=53
Moving to Node #0,3
Current State: 55:[15, 35, 53], Operations: ['79-26=53']
Exploring Operation: 15+35=50, Resulting Numbers: [53, 50]
Generated Node #0,3,0: 55:[53, 50] Operation: 15+35=50
Exploring Operation: 35-15=20, Resulting Numbers: [53, 20]
Generated Node #0,3,1: 55:[53, 20] Operation: 35-15=20
Exploring Operation: 15+53=68, Resulting Numbers: [35, 68]
Generated Node #0,3,2: 55:[35, 68] Operation: 15+53=68
Exploring Operation: 53-35=18, Resulting Numbers: [15, 18]
Generated Node #0,3,3: 55:[15, 18] Operation: 53-35=18
Moving to Node #0,1
Current State: 55:[79, 15, 9], Operations: ['35-26=9']
Exploring Operation: 79-9=70, Resulting Numbers: [15, 70]
Generated Node #0,1,0: 55:[15, 70] Operation: 79-9=70
Exploring Operation: 15-9=6, Resulting Numbers: [79, 6]
Generated Node #0,1,1: 55:[79, 6] Operation: 15-9=6
Exploring Operation: 79-15=64, Resulting Numbers: [9, 64]
Generated Node #0,1,2: 55:[9, 64] Operation: 79-15=64
Exploring Operation: 79+9=88, Resulting Numbers: [15, 88]
Generated Node #0,1,3: 55:[15, 88] Operation: 79+9=88
Moving to Node #0,0
Current State: 55:[15, 26, 44], Operations: ['79-35=44']
Exploring Operation: 26+44=70, Resulting Numbers: [15, 70]
Generated Node #0,0,0: 55:[15, 70] Operation: 26+44=70
Exploring Operation: 44-26=18, Resulting Numbers: [15, 18]
Generated Node #0,0,1: 55:[15, 18] Operation: 44-26=18
Exploring Operation: 26-15=11, Resulting Numbers: [44, 11]
Generated Node #0,0,2: 55:[44, 11] Operation: 26-15=11
Exploring Operation: 15+44=59, Resulting Numbers: [26, 59]
Generated Node #0,0,3: 55:[26, 59] Operation: 15+44=59
Moving to Node #0,2
Current State: 55:[79, 15, 61], Operations: ['26+35=61']
Exploring Operation: 79-61=18, Resulting Numbers: [15, 18]
Generated Node #0,2,0: 55:[15, 18] Operation: 79-61=18
Exploring Operation: 79-15=64, Resulting Numbers: [61, 64]
Generated Node #0,2,1: 55:[61, 64] Operation: 79-15=64
Exploring Operation: 79+15=94, Resulting Numbers: [61, 94]
Generated Node #0,2,2: 55:[61, 94] Operation: 79+15=94
Exploring Operation: 61-15=46, Resulting Numbers: [79, 46]
Generated Node #0,2,3: 55:[79, 46] Operation: 61-15=46
Moving to Node #0,3,0
Current State: 55:[53, 50], Operations: ['79-26=53', '15+35=50']
Exploring Operation: 53*50=2650, Resulting Numbers: [2650]
2650,55 unequal: No Solution
Exploring Operation: 53-50=3, Resulting Numbers: [3]
3,55 unequal: No Solution
Exploring Operation: 53+50=103, Resulting Numbers: [103]
103,55 unequal: No Solution
Moving to Node #0,3,3
Current State: 55:[15, 18], Operations: ['79-26=53', '53-35=18']
Exploring Operation: 18-15=3, Resulting Numbers: [3]
3,55 unequal: No Solution
Exploring Operation: 15*18=270, Resulting Numbers: [270]
270,55 unequal: No Solution
Exploring Operation: 15+18=33, Resulting Numbers: [33]
33,55 unequal: No Solution
Moving to Node #0,2,0
Current State: 55:[15, 18], Operations: ['26+35=61', '79-61=18']
Exploring Operation: 15+18=33, Resulting Numbers: [33]
33,55 unequal: No Solution
Exploring Operation: 15*18=270, Resulting Numbers: [270]
270,55 unequal: No Solution
Exploring Operation: 18-15=3, Resulting Numbers: [3]
3,55 unequal: No Solution
Moving to Node #0,3,1
Current State: 55:[53, 20], Operations: ['79-26=53', '35-15=20']
Exploring Operation: 53-20=33, Resulting Numbers: [33]
33,55 unequal: No Solution
Exploring Operation: 53+20=73, Resulting Numbers: [73]
73,55 unequal: No Solution
Exploring Operation: 53*20=1060, Resulting Numbers: [1060]
1060,55 unequal: No Solution
Moving to Node #0,1,2
Current State: 55:[9, 64], Operations: ['35-26=9', '79-15=64']
Exploring Operation: 64-9=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[79, 15, 26, 35], Operations: []
Exploring Operation: 35-26=9, Resulting Numbers: [79, 15, 9]
Generated Node #0,1: 55:[79, 15, 9] Operation: 35-26=9
Moving to Node #0,1
Current State: 55:[79, 15, 9], Operations: ['35-26=9']
Exploring Operation: 79-15=64, Resulting Numbers: [9, 64]
Generated Node #0,1,2: 55:[9, 64] Operation: 79-15=64
Moving to Node #0,1,2
Current State: 55:[9, 64], Operations: ['35-26=9', '79-15=64']
Exploring Operation: 64-9=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 0.967882 | hs_4 | sum_heuristic |
[
21,
28,
7,
66
] | 49 | [
"66-21=45",
"28/7=4",
"45+4=49"
] | Current State: 49:[21, 28, 7, 66], Operations: []
Exploring Operation: 66-21=45, Resulting Numbers: [28, 7, 45]
Generated Node #2: [28, 7, 45] from Operation: 66-21=45
Current State: 49:[28, 7, 45], Operations: ['66-21=45']
Exploring Operation: 28/7=4, Resulting Numbers: [45, 4]
Generated Node #3: [45, 4] from Operation: 28/7=4
Current State: 49:[45, 4], Operations: ['66-21=45', '28/7=4']
Exploring Operation: 45+4=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[21, 28, 7, 66], Operations: []
Exploring Operation: 66-28=38, Resulting Numbers: [21, 7, 38]
Generated Node #0,0: 49:[21, 7, 38] Operation: 66-28=38
Exploring Operation: 66-21=45, Resulting Numbers: [28, 7, 45]
Generated Node #0,1: 49:[28, 7, 45] Operation: 66-21=45
Exploring Operation: 21+28=49, Resulting Numbers: [7, 66, 49]
Generated Node #0,2: 49:[7, 66, 49] Operation: 21+28=49
Exploring Operation: 28-21=7, Resulting Numbers: [7, 66, 7]
Generated Node #0,3: 49:[7, 66, 7] Operation: 28-21=7
Start Sub Search at level 1: Moving to Node #0,2
Current State: 49:[7, 66, 49], Operations: ['21+28=49']
Exploring Operation: 66-7=59, Resulting Numbers: [49, 59]
Generated Node #0,2,0: 49:[49, 59] Operation: 66-7=59
Exploring Operation: 7+66=73, Resulting Numbers: [49, 73]
Generated Node #0,2,1: 49:[49, 73] Operation: 7+66=73
Exploring Operation: 49/7=7, Resulting Numbers: [66, 7]
Generated Node #0,2,2: 49:[66, 7] Operation: 49/7=7
Exploring Operation: 66-49=17, Resulting Numbers: [7, 17]
Generated Node #0,2,3: 49:[7, 17] Operation: 66-49=17
Moving to Node #0,2,0
Current State: 49:[49, 59], Operations: ['21+28=49', '66-7=59']
Exploring Operation: 59-49=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 49*59=2891, Resulting Numbers: [2891]
2891,49 unequal: No Solution
Exploring Operation: 49+59=108, Resulting Numbers: [108]
108,49 unequal: No Solution
Moving to Node #0,2,3
Current State: 49:[7, 17], Operations: ['21+28=49', '66-49=17']
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 7+17=24, Resulting Numbers: [24]
24,49 unequal: No Solution
Exploring Operation: 7*17=119, Resulting Numbers: [119]
119,49 unequal: No Solution
Moving to Node #0,2,2
Current State: 49:[66, 7], Operations: ['21+28=49', '49/7=7']
Exploring Operation: 66+7=73, Resulting Numbers: [73]
73,49 unequal: No Solution
Exploring Operation: 66*7=462, Resulting Numbers: [462]
462,49 unequal: No Solution
Exploring Operation: 66-7=59, Resulting Numbers: [59]
59,49 unequal: No Solution
Moving to Node #0,2,1
Current State: 49:[49, 73], Operations: ['21+28=49', '7+66=73']
Exploring Operation: 49+73=122, Resulting Numbers: [122]
122,49 unequal: No Solution
Exploring Operation: 73-49=24, Resulting Numbers: [24]
24,49 unequal: No Solution
Exploring Operation: 49*73=3577, Resulting Numbers: [3577]
3577,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 49:[7, 66, 7], Operations: ['28-21=7']
Exploring Operation: 66-7=59, Resulting Numbers: [7, 59]
Generated Node #0,3,0: 49:[7, 59] Operation: 66-7=59
Exploring Operation: 7/7=1, Resulting Numbers: [66, 1]
Generated Node #0,3,1: 49:[66, 1] Operation: 7/7=1
Exploring Operation: 66-7=59, Resulting Numbers: [7, 59]
Generated Node #0,3,2: 49:[7, 59] Operation: 66-7=59
Exploring Operation: 7*7=49, Resulting Numbers: [66, 49]
Generated Node #0,3,3: 49:[66, 49] Operation: 7*7=49
Moving to Node #0,3,0
Current State: 49:[7, 59], Operations: ['28-21=7', '66-7=59']
Exploring Operation: 59-7=52, Resulting Numbers: [52]
52,49 unequal: No Solution
Exploring Operation: 7*59=413, Resulting Numbers: [413]
413,49 unequal: No Solution
Exploring Operation: 7+59=66, Resulting Numbers: [66]
66,49 unequal: No Solution
Moving to Node #0,3,2
Current State: 49:[7, 59], Operations: ['28-21=7', '66-7=59']
Exploring Operation: 59-7=52, Resulting Numbers: [52]
52,49 unequal: No Solution
Exploring Operation: 7+59=66, Resulting Numbers: [66]
66,49 unequal: No Solution
Exploring Operation: 7*59=413, Resulting Numbers: [413]
413,49 unequal: No Solution
Moving to Node #0,3,3
Current State: 49:[66, 49], Operations: ['28-21=7', '7*7=49']
Exploring Operation: 66-49=17, Resulting Numbers: [17]
17,49 unequal: No Solution
Exploring Operation: 66*49=3234, Resulting Numbers: [3234]
3234,49 unequal: No Solution
Exploring Operation: 66+49=115, Resulting Numbers: [115]
115,49 unequal: No Solution
Moving to Node #0,3,1
Current State: 49:[66, 1], Operations: ['28-21=7', '7/7=1']
Exploring Operation: 66-1=65, Resulting Numbers: [65]
65,49 unequal: No Solution
Exploring Operation: 66*1=66, Resulting Numbers: [66]
66,49 unequal: No Solution
Exploring Operation: 66+1=67, Resulting Numbers: [67]
67,49 unequal: No Solution
Exploring Operation: 66/1=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
Current State: 49:[21, 7, 38], Operations: ['66-28=38']
Exploring Operation: 38-21=17, Resulting Numbers: [7, 17]
Generated Node #0,0,0: 49:[7, 17] Operation: 38-21=17
Exploring Operation: 21-7=14, Resulting Numbers: [38, 14]
Generated Node #0,0,1: 49:[38, 14] Operation: 21-7=14
Exploring Operation: 21+38=59, Resulting Numbers: [7, 59]
Generated Node #0,0,2: 49:[7, 59] Operation: 21+38=59
Exploring Operation: 21/7=3, Resulting Numbers: [38, 3]
Generated Node #0,0,3: 49:[38, 3] Operation: 21/7=3
Moving to Node #0,0,0
Current State: 49:[7, 17], Operations: ['66-28=38', '38-21=17']
Exploring Operation: 7+17=24, Resulting Numbers: [24]
24,49 unequal: No Solution
Exploring Operation: 7*17=119, Resulting Numbers: [119]
119,49 unequal: No Solution
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Moving to Node #0,0,2
Current State: 49:[7, 59], Operations: ['66-28=38', '21+38=59']
Exploring Operation: 7+59=66, Resulting Numbers: [66]
66,49 unequal: No Solution
Exploring Operation: 7*59=413, Resulting Numbers: [413]
413,49 unequal: No Solution
Exploring Operation: 59-7=52, Resulting Numbers: [52]
52,49 unequal: No Solution
Moving to Node #0,0,3
Current State: 49:[38, 3], Operations: ['66-28=38', '21/7=3']
Exploring Operation: 38+3=41, Resulting Numbers: [41]
41,49 unequal: No Solution
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,49 unequal: No Solution
Exploring Operation: 38*3=114, Resulting Numbers: [114]
114,49 unequal: No Solution
Moving to Node #0,0,1
Current State: 49:[38, 14], Operations: ['66-28=38', '21-7=14']
Exploring Operation: 38-14=24, Resulting Numbers: [24]
24,49 unequal: No Solution
Exploring Operation: 38+14=52, Resulting Numbers: [52]
52,49 unequal: No Solution
Exploring Operation: 38*14=532, Resulting Numbers: [532]
532,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,1
Current State: 49:[28, 7, 45], Operations: ['66-21=45']
Exploring Operation: 28+7=35, Resulting Numbers: [45, 35]
Generated Node #0,1,0: 49:[45, 35] Operation: 28+7=35
Exploring Operation: 45-28=17, Resulting Numbers: [7, 17]
Generated Node #0,1,1: 49:[7, 17] Operation: 45-28=17
Exploring Operation: 28/7=4, Resulting Numbers: [45, 4]
Generated Node #0,1,2: 49:[45, 4] Operation: 28/7=4
Exploring Operation: 28-7=21, Resulting Numbers: [45, 21]
Generated Node #0,1,3: 49:[45, 21] Operation: 28-7=21
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 49:[45, 4], Operations: ['66-21=45', '28/7=4']
Exploring Operation: 45*4=180, Resulting Numbers: [180]
180,49 unequal: No Solution
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,49 unequal: No Solution
Exploring Operation: 45+4=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[21, 28, 7, 66], Operations: []
Exploring Operation: 66-21=45, Resulting Numbers: [28, 7, 45]
Generated Node #0,1: 49:[28, 7, 45] Operation: 66-21=45
Moving to Node #0,1
Current State: 49:[28, 7, 45], Operations: ['66-21=45']
Exploring Operation: 28/7=4, Resulting Numbers: [45, 4]
Generated Node #0,1,2: 49:[45, 4] Operation: 28/7=4
Moving to Node #0,1,2
Current State: 49:[45, 4], Operations: ['66-21=45', '28/7=4']
Exploring Operation: 45+4=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.944444 | hs_4 | sum_heuristic |
[
91,
18,
92,
94
] | 71 | [
"91-18=73",
"94-92=2",
"73-2=71"
] | Current State: 71:[91, 18, 92, 94], Operations: []
Exploring Operation: 91-18=73, Resulting Numbers: [92, 94, 73]
Generated Node #2: [92, 94, 73] from Operation: 91-18=73
Current State: 71:[92, 94, 73], Operations: ['91-18=73']
Exploring Operation: 94-92=2, Resulting Numbers: [73, 2]
Generated Node #3: [73, 2] from Operation: 94-92=2
Current State: 71:[73, 2], Operations: ['91-18=73', '94-92=2']
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[91, 18, 92, 94], Operations: []
Exploring Operation: 92-18=74, Resulting Numbers: [91, 94, 74]
Generated Node #0,0: 71:[91, 94, 74] Operation: 92-18=74
Exploring Operation: 91-18=73, Resulting Numbers: [92, 94, 73]
Generated Node #0,1: 71:[92, 94, 73] Operation: 91-18=73
Moving to Node #0,0
Current State: 71:[91, 94, 74], Operations: ['92-18=74']
Exploring Operation: 94-91=3, Resulting Numbers: [74, 3]
Generated Node #0,0,0: 71:[74, 3] Operation: 94-91=3
Exploring Operation: 94-74=20, Resulting Numbers: [91, 20]
Generated Node #0,0,1: 71:[91, 20] Operation: 94-74=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[74, 3], Operations: ['92-18=74', '94-91=3']
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[91, 18, 92, 94], Operations: []
Exploring Operation: 92-18=74, Resulting Numbers: [91, 94, 74]
Generated Node #0,0: 71:[91, 94, 74] Operation: 92-18=74
Moving to Node #0,0
Current State: 71:[91, 94, 74], Operations: ['92-18=74']
Exploring Operation: 94-91=3, Resulting Numbers: [74, 3]
Generated Node #0,0,0: 71:[74, 3] Operation: 94-91=3
Moving to Node #0,0,0
Current State: 71:[74, 3], Operations: ['92-18=74', '94-91=3']
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
73,
33,
13,
2
] | 67 | [
"73-33=40",
"2*40=80",
"80-13=67"
] | Current State: 67:[73, 33, 13, 2], Operations: []
Exploring Operation: 73-33=40, Resulting Numbers: [13, 2, 40]
Generated Node #2: [13, 2, 40] from Operation: 73-33=40
Current State: 67:[13, 2, 40], Operations: ['73-33=40']
Exploring Operation: 2*40=80, Resulting Numbers: [13, 80]
Generated Node #3: [13, 80] from Operation: 2*40=80
Current State: 67:[13, 80], Operations: ['73-33=40', '2*40=80']
Exploring Operation: 80-13=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[73, 33, 13, 2], Operations: []
Exploring Operation: 73-2=71, Resulting Numbers: [33, 13, 71]
Generated Node #0,0: 67:[33, 13, 71] Operation: 73-2=71
Exploring Operation: 33+2=35, Resulting Numbers: [73, 13, 35]
Generated Node #0,1: 67:[73, 13, 35] Operation: 33+2=35
Exploring Operation: 33*2=66, Resulting Numbers: [73, 13, 66]
Generated Node #0,2: 67:[73, 13, 66] Operation: 33*2=66
Exploring Operation: 13*2=26, Resulting Numbers: [73, 33, 26]
Generated Node #0,3: 67:[73, 33, 26] Operation: 13*2=26
Exploring Operation: 33+13=46, Resulting Numbers: [73, 2, 46]
Generated Node #0,4: 67:[73, 2, 46] Operation: 33+13=46
Start Sub Search at level 1: Moving to Node #0,2
Current State: 67:[73, 13, 66], Operations: ['33*2=66']
Exploring Operation: 13+66=79, Resulting Numbers: [73, 79]
Generated Node #0,2,0: 67:[73, 79] Operation: 13+66=79
Exploring Operation: 73-13=60, Resulting Numbers: [66, 60]
Generated Node #0,2,1: 67:[66, 60] Operation: 73-13=60
Exploring Operation: 73+13=86, Resulting Numbers: [66, 86]
Generated Node #0,2,2: 67:[66, 86] Operation: 73+13=86
Exploring Operation: 73-66=7, Resulting Numbers: [13, 7]
Generated Node #0,2,3: 67:[13, 7] Operation: 73-66=7
Exploring Operation: 66-13=53, Resulting Numbers: [73, 53]
Generated Node #0,2,4: 67:[73, 53] Operation: 66-13=53
Moving to Node #0,2,1
Current State: 67:[66, 60], Operations: ['33*2=66', '73-13=60']
Exploring Operation: 66*60=3960, Resulting Numbers: [3960]
3960,67 unequal: No Solution
Exploring Operation: 66-60=6, Resulting Numbers: [6]
6,67 unequal: No Solution
Exploring Operation: 66+60=126, Resulting Numbers: [126]
126,67 unequal: No Solution
Moving to Node #0,2,0
Current State: 67:[73, 79], Operations: ['33*2=66', '13+66=79']
Exploring Operation: 73+79=152, Resulting Numbers: [152]
152,67 unequal: No Solution
Exploring Operation: 73*79=5767, Resulting Numbers: [5767]
5767,67 unequal: No Solution
Exploring Operation: 79-73=6, Resulting Numbers: [6]
6,67 unequal: No Solution
Moving to Node #0,2,2
Current State: 67:[66, 86], Operations: ['33*2=66', '73+13=86']
Exploring Operation: 66*86=5676, Resulting Numbers: [5676]
5676,67 unequal: No Solution
Exploring Operation: 66+86=152, Resulting Numbers: [152]
152,67 unequal: No Solution
Exploring Operation: 86-66=20, Resulting Numbers: [20]
20,67 unequal: No Solution
Moving to Node #0,2,4
Current State: 67:[73, 53], Operations: ['33*2=66', '66-13=53']
Exploring Operation: 73*53=3869, Resulting Numbers: [3869]
3869,67 unequal: No Solution
Exploring Operation: 73-53=20, Resulting Numbers: [20]
20,67 unequal: No Solution
Exploring Operation: 73+53=126, Resulting Numbers: [126]
126,67 unequal: No Solution
Moving to Node #0,2,3
Current State: 67:[13, 7], Operations: ['33*2=66', '73-66=7']
Exploring Operation: 13*7=91, Resulting Numbers: [91]
91,67 unequal: No Solution
Exploring Operation: 13+7=20, Resulting Numbers: [20]
20,67 unequal: No Solution
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 67:[73, 33, 26], Operations: ['13*2=26']
Exploring Operation: 73-26=47, Resulting Numbers: [33, 47]
Generated Node #0,3,0: 67:[33, 47] Operation: 73-26=47
Exploring Operation: 73+26=99, Resulting Numbers: [33, 99]
Generated Node #0,3,1: 67:[33, 99] Operation: 73+26=99
Exploring Operation: 73-33=40, Resulting Numbers: [26, 40]
Generated Node #0,3,2: 67:[26, 40] Operation: 73-33=40
Exploring Operation: 33+26=59, Resulting Numbers: [73, 59]
Generated Node #0,3,3: 67:[73, 59] Operation: 33+26=59
Exploring Operation: 33-26=7, Resulting Numbers: [73, 7]
Generated Node #0,3,4: 67:[73, 7] Operation: 33-26=7
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 67:[73, 59], Operations: ['13*2=26', '33+26=59']
Exploring Operation: 73*59=4307, Resulting Numbers: [4307]
4307,67 unequal: No Solution
Exploring Operation: 73+59=132, Resulting Numbers: [132]
132,67 unequal: No Solution
Exploring Operation: 73-59=14, Resulting Numbers: [14]
14,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 67:[33, 47], Operations: ['13*2=26', '73-26=47']
Exploring Operation: 33+47=80, Resulting Numbers: [80]
80,67 unequal: No Solution
Exploring Operation: 47-33=14, Resulting Numbers: [14]
14,67 unequal: No Solution
Exploring Operation: 33*47=1551, Resulting Numbers: [1551]
1551,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 67:[33, 99], Operations: ['13*2=26', '73+26=99']
Exploring Operation: 33+99=132, Resulting Numbers: [132]
132,67 unequal: No Solution
Exploring Operation: 33*99=3267, Resulting Numbers: [3267]
3267,67 unequal: No Solution
Exploring Operation: 99/33=3, Resulting Numbers: [3]
3,67 unequal: No Solution
Exploring Operation: 99-33=66, Resulting Numbers: [66]
66,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 67:[73, 7], Operations: ['13*2=26', '33-26=7']
Exploring Operation: 73-7=66, Resulting Numbers: [66]
66,67 unequal: No Solution
Exploring Operation: 73+7=80, Resulting Numbers: [80]
80,67 unequal: No Solution
Exploring Operation: 73*7=511, Resulting Numbers: [511]
511,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 67:[26, 40], Operations: ['13*2=26', '73-33=40']
Exploring Operation: 26*40=1040, Resulting Numbers: [1040]
1040,67 unequal: No Solution
Exploring Operation: 40-26=14, Resulting Numbers: [14]
14,67 unequal: No Solution
Exploring Operation: 26+40=66, Resulting Numbers: [66]
66,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[33, 13, 71], Operations: ['73-2=71']
Exploring Operation: 33+13=46, Resulting Numbers: [71, 46]
Generated Node #0,0,0: 67:[71, 46] Operation: 33+13=46
Exploring Operation: 71-33=38, Resulting Numbers: [13, 38]
Generated Node #0,0,1: 67:[13, 38] Operation: 71-33=38
Exploring Operation: 71-13=58, Resulting Numbers: [33, 58]
Generated Node #0,0,2: 67:[33, 58] Operation: 71-13=58
Exploring Operation: 13+71=84, Resulting Numbers: [33, 84]
Generated Node #0,0,3: 67:[33, 84] Operation: 13+71=84
Exploring Operation: 33-13=20, Resulting Numbers: [71, 20]
Generated Node #0,0,4: 67:[71, 20] Operation: 33-13=20
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 67:[71, 46], Operations: ['73-2=71', '33+13=46']
Exploring Operation: 71*46=3266, Resulting Numbers: [3266]
3266,67 unequal: No Solution
Exploring Operation: 71+46=117, Resulting Numbers: [117]
117,67 unequal: No Solution
Exploring Operation: 71-46=25, Resulting Numbers: [25]
25,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 67:[33, 58], Operations: ['73-2=71', '71-13=58']
Exploring Operation: 33*58=1914, Resulting Numbers: [1914]
1914,67 unequal: No Solution
Exploring Operation: 58-33=25, Resulting Numbers: [25]
25,67 unequal: No Solution
Exploring Operation: 33+58=91, Resulting Numbers: [91]
91,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 67:[33, 84], Operations: ['73-2=71', '13+71=84']
Exploring Operation: 33+84=117, Resulting Numbers: [117]
117,67 unequal: No Solution
Exploring Operation: 33*84=2772, Resulting Numbers: [2772]
2772,67 unequal: No Solution
Exploring Operation: 84-33=51, Resulting Numbers: [51]
51,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 67:[71, 20], Operations: ['73-2=71', '33-13=20']
Exploring Operation: 71*20=1420, Resulting Numbers: [1420]
1420,67 unequal: No Solution
Exploring Operation: 71+20=91, Resulting Numbers: [91]
91,67 unequal: No Solution
Exploring Operation: 71-20=51, Resulting Numbers: [51]
51,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 67:[13, 38], Operations: ['73-2=71', '71-33=38']
Exploring Operation: 38-13=25, Resulting Numbers: [25]
25,67 unequal: No Solution
Exploring Operation: 13*38=494, Resulting Numbers: [494]
494,67 unequal: No Solution
Exploring Operation: 13+38=51, Resulting Numbers: [51]
51,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[73, 13, 35], Operations: ['33+2=35']
Exploring Operation: 13+35=48, Resulting Numbers: [73, 48]
Generated Node #0,1,0: 67:[73, 48] Operation: 13+35=48
Exploring Operation: 73+13=86, Resulting Numbers: [35, 86]
Generated Node #0,1,1: 67:[35, 86] Operation: 73+13=86
Exploring Operation: 35-13=22, Resulting Numbers: [73, 22]
Generated Node #0,1,2: 67:[73, 22] Operation: 35-13=22
Exploring Operation: 73-35=38, Resulting Numbers: [13, 38]
Generated Node #0,1,3: 67:[13, 38] Operation: 73-35=38
Exploring Operation: 73-13=60, Resulting Numbers: [35, 60]
Generated Node #0,1,4: 67:[35, 60] Operation: 73-13=60
Moving to Node #0,1,0
Current State: 67:[73, 48], Operations: ['33+2=35', '13+35=48']
Exploring Operation: 73+48=121, Resulting Numbers: [121]
121,67 unequal: No Solution
Exploring Operation: 73*48=3504, Resulting Numbers: [3504]
3504,67 unequal: No Solution
Exploring Operation: 73-48=25, Resulting Numbers: [25]
25,67 unequal: No Solution
Moving to Node #0,1,4
Current State: 67:[35, 60], Operations: ['33+2=35', '73-13=60']
Exploring Operation: 35+60=95, Resulting Numbers: [95]
95,67 unequal: No Solution
Exploring Operation: 35*60=2100, Resulting Numbers: [2100]
2100,67 unequal: No Solution
Exploring Operation: 60-35=25, Resulting Numbers: [25]
25,67 unequal: No Solution
Moving to Node #0,1,1
Current State: 67:[35, 86], Operations: ['33+2=35', '73+13=86']
Exploring Operation: 86-35=51, Resulting Numbers: [51]
51,67 unequal: No Solution
Exploring Operation: 35+86=121, Resulting Numbers: [121]
121,67 unequal: No Solution
Exploring Operation: 35*86=3010, Resulting Numbers: [3010]
3010,67 unequal: No Solution
Moving to Node #0,1,2
Current State: 67:[73, 22], Operations: ['33+2=35', '35-13=22']
Exploring Operation: 73-22=51, Resulting Numbers: [51]
51,67 unequal: No Solution
Exploring Operation: 73*22=1606, Resulting Numbers: [1606]
1606,67 unequal: No Solution
Exploring Operation: 73+22=95, Resulting Numbers: [95]
95,67 unequal: No Solution
Moving to Node #0,1,3
Current State: 67:[13, 38], Operations: ['33+2=35', '73-35=38']
Exploring Operation: 38-13=25, Resulting Numbers: [25]
25,67 unequal: No Solution
Exploring Operation: 13+38=51, Resulting Numbers: [51]
51,67 unequal: No Solution
Exploring Operation: 13*38=494, Resulting Numbers: [494]
494,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 67:[73, 2, 46], Operations: ['33+13=46']
Exploring Operation: 73+2=75, Resulting Numbers: [46, 75]
Generated Node #0,4,0: 67:[46, 75] Operation: 73+2=75
Exploring Operation: 2+46=48, Resulting Numbers: [73, 48]
Generated Node #0,4,1: 67:[73, 48] Operation: 2+46=48
Exploring Operation: 46-2=44, Resulting Numbers: [73, 44]
Generated Node #0,4,2: 67:[73, 44] Operation: 46-2=44
Exploring Operation: 2*46=92, Resulting Numbers: [73, 92]
Generated Node #0,4,3: 67:[73, 92] Operation: 2*46=92
Exploring Operation: 73-2=71, Resulting Numbers: [46, 71]
Generated Node #0,4,4: 67:[46, 71] Operation: 73-2=71
Moving to Node #0,4,1
Current State: 67:[73, 48], Operations: ['33+13=46', '2+46=48']
Exploring Operation: 73+48=121, Resulting Numbers: [121]
121,67 unequal: No Solution
Exploring Operation: 73-48=25, Resulting Numbers: [25]
25,67 unequal: No Solution
Exploring Operation: 73*48=3504, Resulting Numbers: [3504]
3504,67 unequal: No Solution
Moving to Node #0,4,4
Current State: 67:[46, 71], Operations: ['33+13=46', '73-2=71']
Exploring Operation: 46*71=3266, Resulting Numbers: [3266]
3266,67 unequal: No Solution
Exploring Operation: 46+71=117, Resulting Numbers: [117]
117,67 unequal: No Solution
Exploring Operation: 71-46=25, Resulting Numbers: [25]
25,67 unequal: No Solution
Moving to Node #0,4,0
Current State: 67:[46, 75], Operations: ['33+13=46', '73+2=75']
Exploring Operation: 75-46=29, Resulting Numbers: [29]
29,67 unequal: No Solution
Exploring Operation: 46*75=3450, Resulting Numbers: [3450]
3450,67 unequal: No Solution
Exploring Operation: 46+75=121, Resulting Numbers: [121]
121,67 unequal: No Solution
Moving to Node #0,4,2
Current State: 67:[73, 44], Operations: ['33+13=46', '46-2=44']
Exploring Operation: 73*44=3212, Resulting Numbers: [3212]
3212,67 unequal: No Solution
Exploring Operation: 73-44=29, Resulting Numbers: [29]
29,67 unequal: No Solution
Exploring Operation: 73+44=117, Resulting Numbers: [117]
117,67 unequal: No Solution
Moving to Node #0,4,3
Current State: 67:[73, 92], Operations: ['33+13=46', '2*46=92']
Exploring Operation: 92-73=19, Resulting Numbers: [19]
19,67 unequal: No Solution
Exploring Operation: 73+92=165, Resulting Numbers: [165]
165,67 unequal: No Solution
Exploring Operation: 73*92=6716, Resulting Numbers: [6716]
6716,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
18,
8,
55,
14
] | 85 | [
"18-8=10",
"14*10=140",
"140-55=85"
] | Current State: 85:[18, 8, 55, 14], Operations: []
Exploring Operation: 18-8=10, Resulting Numbers: [55, 14, 10]
Generated Node #2: [55, 14, 10] from Operation: 18-8=10
Current State: 85:[55, 14, 10], Operations: ['18-8=10']
Exploring Operation: 14*10=140, Resulting Numbers: [55, 140]
Generated Node #3: [55, 140] from Operation: 14*10=140
Current State: 85:[55, 140], Operations: ['18-8=10', '14*10=140']
Exploring Operation: 140-55=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[18, 8, 55, 14], Operations: []
Exploring Operation: 55-18=37, Resulting Numbers: [8, 14, 37]
Generated Node #0,0: 85:[8, 14, 37] Operation: 55-18=37
Exploring Operation: 18+55=73, Resulting Numbers: [8, 14, 73]
Generated Node #0,1: 85:[8, 14, 73] Operation: 18+55=73
Exploring Operation: 55+14=69, Resulting Numbers: [18, 8, 69]
Generated Node #0,2: 85:[18, 8, 69] Operation: 55+14=69
Exploring Operation: 8+55=63, Resulting Numbers: [18, 14, 63]
Generated Node #0,3: 85:[18, 14, 63] Operation: 8+55=63
Moving to Node #0,1
Current State: 85:[8, 14, 73], Operations: ['18+55=73']
Exploring Operation: 14+73=87, Resulting Numbers: [8, 87]
Generated Node #0,1,0: 85:[8, 87] Operation: 14+73=87
Exploring Operation: 8+14=22, Resulting Numbers: [73, 22]
Generated Node #0,1,1: 85:[73, 22] Operation: 8+14=22
Exploring Operation: 8+73=81, Resulting Numbers: [14, 81]
Generated Node #0,1,2: 85:[14, 81] Operation: 8+73=81
Exploring Operation: 14-8=6, Resulting Numbers: [73, 6]
Generated Node #0,1,3: 85:[73, 6] Operation: 14-8=6
Moving to Node #0,2
Current State: 85:[18, 8, 69], Operations: ['55+14=69']
Exploring Operation: 8+69=77, Resulting Numbers: [18, 77]
Generated Node #0,2,0: 85:[18, 77] Operation: 8+69=77
Exploring Operation: 18+8=26, Resulting Numbers: [69, 26]
Generated Node #0,2,1: 85:[69, 26] Operation: 18+8=26
Exploring Operation: 18-8=10, Resulting Numbers: [69, 10]
Generated Node #0,2,2: 85:[69, 10] Operation: 18-8=10
Exploring Operation: 18+69=87, Resulting Numbers: [8, 87]
Generated Node #0,2,3: 85:[8, 87] Operation: 18+69=87
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 85:[8, 87], Operations: ['55+14=69', '18+69=87']
Exploring Operation: 8+87=95, Resulting Numbers: [95]
95,85 unequal: No Solution
Exploring Operation: 87-8=79, Resulting Numbers: [79]
79,85 unequal: No Solution
Exploring Operation: 8*87=696, Resulting Numbers: [696]
696,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 85:[18, 77], Operations: ['55+14=69', '8+69=77']
Exploring Operation: 77-18=59, Resulting Numbers: [59]
59,85 unequal: No Solution
Exploring Operation: 18*77=1386, Resulting Numbers: [1386]
1386,85 unequal: No Solution
Exploring Operation: 18+77=95, Resulting Numbers: [95]
95,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 85:[69, 10], Operations: ['55+14=69', '18-8=10']
Exploring Operation: 69*10=690, Resulting Numbers: [690]
690,85 unequal: No Solution
Exploring Operation: 69+10=79, Resulting Numbers: [79]
79,85 unequal: No Solution
Exploring Operation: 69-10=59, Resulting Numbers: [59]
59,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 85:[69, 26], Operations: ['55+14=69', '18+8=26']
Exploring Operation: 69+26=95, Resulting Numbers: [95]
95,85 unequal: No Solution
Exploring Operation: 69-26=43, Resulting Numbers: [43]
43,85 unequal: No Solution
Exploring Operation: 69*26=1794, Resulting Numbers: [1794]
1794,85 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: 85:[18, 14, 63], Operations: ['8+55=63']
Exploring Operation: 18-14=4, Resulting Numbers: [63, 4]
Generated Node #0,3,0: 85:[63, 4] Operation: 18-14=4
Exploring Operation: 14+63=77, Resulting Numbers: [18, 77]
Generated Node #0,3,1: 85:[18, 77] Operation: 14+63=77
Exploring Operation: 18+63=81, Resulting Numbers: [14, 81]
Generated Node #0,3,2: 85:[14, 81] Operation: 18+63=81
Exploring Operation: 63-18=45, Resulting Numbers: [14, 45]
Generated Node #0,3,3: 85:[14, 45] Operation: 63-18=45
Moving to Node #0,0
Current State: 85:[8, 14, 37], Operations: ['55-18=37']
Exploring Operation: 14-8=6, Resulting Numbers: [37, 6]
Generated Node #0,0,0: 85:[37, 6] Operation: 14-8=6
Exploring Operation: 37-14=23, Resulting Numbers: [8, 23]
Generated Node #0,0,1: 85:[8, 23] Operation: 37-14=23
Exploring Operation: 8+14=22, Resulting Numbers: [37, 22]
Generated Node #0,0,2: 85:[37, 22] Operation: 8+14=22
Exploring Operation: 37-8=29, Resulting Numbers: [14, 29]
Generated Node #0,0,3: 85:[14, 29] Operation: 37-8=29
Moving to Node #0,1,0
Current State: 85:[8, 87], Operations: ['18+55=73', '14+73=87']
Exploring Operation: 8*87=696, Resulting Numbers: [696]
696,85 unequal: No Solution
Exploring Operation: 87-8=79, Resulting Numbers: [79]
79,85 unequal: No Solution
Exploring Operation: 8+87=95, Resulting Numbers: [95]
95,85 unequal: No Solution
Moving to Node #0,1,2
Current State: 85:[14, 81], Operations: ['18+55=73', '8+73=81']
Exploring Operation: 81-14=67, Resulting Numbers: [67]
67,85 unequal: No Solution
Exploring Operation: 14*81=1134, Resulting Numbers: [1134]
1134,85 unequal: No Solution
Exploring Operation: 14+81=95, Resulting Numbers: [95]
95,85 unequal: No Solution
Moving to Node #0,3,2
Current State: 85:[14, 81], Operations: ['8+55=63', '18+63=81']
Exploring Operation: 14+81=95, Resulting Numbers: [95]
95,85 unequal: No Solution
Exploring Operation: 81-14=67, Resulting Numbers: [67]
67,85 unequal: No Solution
Exploring Operation: 14*81=1134, Resulting Numbers: [1134]
1134,85 unequal: No Solution
Moving to Node #0,3,1
Current State: 85:[18, 77], Operations: ['8+55=63', '14+63=77']
Exploring Operation: 18+77=95, Resulting Numbers: [95]
95,85 unequal: No Solution
Exploring Operation: 18*77=1386, Resulting Numbers: [1386]
1386,85 unequal: No Solution
Exploring Operation: 77-18=59, Resulting Numbers: [59]
59,85 unequal: No Solution
Moving to Node #0,0,1
Current State: 85:[8, 23], Operations: ['55-18=37', '37-14=23']
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,85 unequal: No Solution
Exploring Operation: 8+23=31, Resulting Numbers: [31]
31,85 unequal: No Solution
Exploring Operation: 8*23=184, Resulting Numbers: [184]
184,85 unequal: No Solution
Moving to Node #0,1,3
Current State: 85:[73, 6], Operations: ['18+55=73', '14-8=6']
Exploring Operation: 73*6=438, Resulting Numbers: [438]
438,85 unequal: No Solution
Exploring Operation: 73-6=67, Resulting Numbers: [67]
67,85 unequal: No Solution
Exploring Operation: 73+6=79, Resulting Numbers: [79]
79,85 unequal: No Solution
Moving to Node #0,0,3
Current State: 85:[14, 29], Operations: ['55-18=37', '37-8=29']
Exploring Operation: 14+29=43, Resulting Numbers: [43]
43,85 unequal: No Solution
Exploring Operation: 29-14=15, Resulting Numbers: [15]
15,85 unequal: No Solution
Exploring Operation: 14*29=406, Resulting Numbers: [406]
406,85 unequal: No Solution
Moving to Node #0,1,1
Current State: 85:[73, 22], Operations: ['18+55=73', '8+14=22']
Exploring Operation: 73+22=95, Resulting Numbers: [95]
95,85 unequal: No Solution
Exploring Operation: 73-22=51, Resulting Numbers: [51]
51,85 unequal: No Solution
Exploring Operation: 73*22=1606, Resulting Numbers: [1606]
1606,85 unequal: No Solution
Moving to Node #0,0,0
Current State: 85:[37, 6], Operations: ['55-18=37', '14-8=6']
Exploring Operation: 37-6=31, Resulting Numbers: [31]
31,85 unequal: No Solution
Exploring Operation: 37+6=43, Resulting Numbers: [43]
43,85 unequal: No Solution
Exploring Operation: 37*6=222, Resulting Numbers: [222]
222,85 unequal: No Solution
Moving to Node #0,3,0
Current State: 85:[63, 4], Operations: ['8+55=63', '18-14=4']
Exploring Operation: 63-4=59, Resulting Numbers: [59]
59,85 unequal: No Solution
Exploring Operation: 63*4=252, Resulting Numbers: [252]
252,85 unequal: No Solution
Exploring Operation: 63+4=67, Resulting Numbers: [67]
67,85 unequal: No Solution
Moving to Node #0,0,2
Current State: 85:[37, 22], Operations: ['55-18=37', '8+14=22']
Exploring Operation: 37*22=814, Resulting Numbers: [814]
814,85 unequal: No Solution
Exploring Operation: 37+22=59, Resulting Numbers: [59]
59,85 unequal: No Solution
Exploring Operation: 37-22=15, Resulting Numbers: [15]
15,85 unequal: No Solution
Moving to Node #0,3,3
Current State: 85:[14, 45], Operations: ['8+55=63', '63-18=45']
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,85 unequal: No Solution
Exploring Operation: 14+45=59, Resulting Numbers: [59]
59,85 unequal: No Solution
Exploring Operation: 14*45=630, Resulting Numbers: [630]
630,85 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
83,
96,
53,
78
] | 47 | [
"96-83=13",
"78/13=6",
"53-6=47"
] | Current State: 47:[83, 96, 53, 78], Operations: []
Exploring Operation: 96-83=13, Resulting Numbers: [53, 78, 13]
Generated Node #2: [53, 78, 13] from Operation: 96-83=13
Current State: 47:[53, 78, 13], Operations: ['96-83=13']
Exploring Operation: 78/13=6, Resulting Numbers: [53, 6]
Generated Node #3: [53, 6] from Operation: 78/13=6
Current State: 47:[53, 6], Operations: ['96-83=13', '78/13=6']
Exploring Operation: 53-6=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[83, 96, 53, 78], Operations: []
Exploring Operation: 96-83=13, Resulting Numbers: [53, 78, 13]
Generated Node #0,0: 47:[53, 78, 13] Operation: 96-83=13
Exploring Operation: 96-53=43, Resulting Numbers: [83, 78, 43]
Generated Node #0,1: 47:[83, 78, 43] Operation: 96-53=43
Exploring Operation: 96-78=18, Resulting Numbers: [83, 53, 18]
Generated Node #0,2: 47:[83, 53, 18] Operation: 96-78=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[53, 78, 13], Operations: ['96-83=13']
Exploring Operation: 78/13=6, Resulting Numbers: [53, 6]
Generated Node #0,0,0: 47:[53, 6] Operation: 78/13=6
Exploring Operation: 53-13=40, Resulting Numbers: [78, 40]
Generated Node #0,0,1: 47:[78, 40] Operation: 53-13=40
Exploring Operation: 78-13=65, Resulting Numbers: [53, 65]
Generated Node #0,0,2: 47:[53, 65] Operation: 78-13=65
Moving to Node #0,0,2
Current State: 47:[53, 65], Operations: ['96-83=13', '78-13=65']
Exploring Operation: 53*65=3445, Resulting Numbers: [3445]
3445,47 unequal: No Solution
Exploring Operation: 53+65=118, Resulting Numbers: [118]
118,47 unequal: No Solution
Exploring Operation: 65-53=12, Resulting Numbers: [12]
12,47 unequal: No Solution
Moving to Node #0,0,1
Current State: 47:[78, 40], Operations: ['96-83=13', '53-13=40']
Exploring Operation: 78*40=3120, Resulting Numbers: [3120]
3120,47 unequal: No Solution
Exploring Operation: 78+40=118, Resulting Numbers: [118]
118,47 unequal: No Solution
Exploring Operation: 78-40=38, Resulting Numbers: [38]
38,47 unequal: No Solution
Moving to Node #0,0,0
Current State: 47:[53, 6], Operations: ['96-83=13', '78/13=6']
Exploring Operation: 53*6=318, Resulting Numbers: [318]
318,47 unequal: No Solution
Exploring Operation: 53-6=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[83, 96, 53, 78], Operations: []
Exploring Operation: 96-83=13, Resulting Numbers: [53, 78, 13]
Generated Node #0,0: 47:[53, 78, 13] Operation: 96-83=13
Moving to Node #0,0
Current State: 47:[53, 78, 13], Operations: ['96-83=13']
Exploring Operation: 78/13=6, Resulting Numbers: [53, 6]
Generated Node #0,0,0: 47:[53, 6] Operation: 78/13=6
Moving to Node #0,0,0
Current State: 47:[53, 6], Operations: ['96-83=13', '78/13=6']
Exploring Operation: 53-6=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | sum_heuristic |
[
12,
44,
10,
98
] | 53 | [
"10+98=108",
"108/12=9",
"44+9=53"
] | Current State: 53:[12, 44, 10, 98], Operations: []
Exploring Operation: 10+98=108, Resulting Numbers: [12, 44, 108]
Generated Node #2: [12, 44, 108] from Operation: 10+98=108
Current State: 53:[12, 44, 108], Operations: ['10+98=108']
Exploring Operation: 108/12=9, Resulting Numbers: [44, 9]
Generated Node #3: [44, 9] from Operation: 108/12=9
Current State: 53:[44, 9], Operations: ['10+98=108', '108/12=9']
Exploring Operation: 44+9=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[12, 44, 10, 98], Operations: []
Exploring Operation: 98-10=88, Resulting Numbers: [12, 44, 88]
Generated Node #0,0: 53:[12, 44, 88] Operation: 98-10=88
Exploring Operation: 98-12=86, Resulting Numbers: [44, 10, 86]
Generated Node #0,1: 53:[44, 10, 86] Operation: 98-12=86
Exploring Operation: 44+10=54, Resulting Numbers: [12, 98, 54]
Generated Node #0,2: 53:[12, 98, 54] Operation: 44+10=54
Exploring Operation: 12+10=22, Resulting Numbers: [44, 98, 22]
Generated Node #0,3: 53:[44, 98, 22] Operation: 12+10=22
Exploring Operation: 98-44=54, Resulting Numbers: [12, 10, 54]
Generated Node #0,4: 53:[12, 10, 54] Operation: 98-44=54
Moving to Node #0,0
Current State: 53:[12, 44, 88], Operations: ['98-10=88']
Exploring Operation: 44-12=32, Resulting Numbers: [88, 32]
Generated Node #0,0,0: 53:[88, 32] Operation: 44-12=32
Exploring Operation: 12+88=100, Resulting Numbers: [44, 100]
Generated Node #0,0,1: 53:[44, 100] Operation: 12+88=100
Exploring Operation: 88-12=76, Resulting Numbers: [44, 76]
Generated Node #0,0,2: 53:[44, 76] Operation: 88-12=76
Exploring Operation: 12+44=56, Resulting Numbers: [88, 56]
Generated Node #0,0,3: 53:[88, 56] Operation: 12+44=56
Exploring Operation: 88-44=44, Resulting Numbers: [12, 44]
Generated Node #0,0,4: 53:[12, 44] Operation: 88-44=44
Moving to Node #0,3
Current State: 53:[44, 98, 22], Operations: ['12+10=22']
Exploring Operation: 44-22=22, Resulting Numbers: [98, 22]
Generated Node #0,3,0: 53:[98, 22] Operation: 44-22=22
Exploring Operation: 98-44=54, Resulting Numbers: [22, 54]
Generated Node #0,3,1: 53:[22, 54] Operation: 98-44=54
Exploring Operation: 44+22=66, Resulting Numbers: [98, 66]
Generated Node #0,3,2: 53:[98, 66] Operation: 44+22=66
Exploring Operation: 98-22=76, Resulting Numbers: [44, 76]
Generated Node #0,3,3: 53:[44, 76] Operation: 98-22=76
Exploring Operation: 98+22=120, Resulting Numbers: [44, 120]
Generated Node #0,3,4: 53:[44, 120] Operation: 98+22=120
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 53:[22, 54], Operations: ['12+10=22', '98-44=54']
Exploring Operation: 22*54=1188, Resulting Numbers: [1188]
1188,53 unequal: No Solution
Exploring Operation: 54-22=32, Resulting Numbers: [32]
32,53 unequal: No Solution
Exploring Operation: 22+54=76, Resulting Numbers: [76]
76,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 53:[44, 76], Operations: ['12+10=22', '98-22=76']
Exploring Operation: 76-44=32, Resulting Numbers: [32]
32,53 unequal: No Solution
Exploring Operation: 44*76=3344, Resulting Numbers: [3344]
3344,53 unequal: No Solution
Exploring Operation: 44+76=120, Resulting Numbers: [120]
120,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 53:[98, 66], Operations: ['12+10=22', '44+22=66']
Exploring Operation: 98*66=6468, Resulting Numbers: [6468]
6468,53 unequal: No Solution
Exploring Operation: 98-66=32, Resulting Numbers: [32]
32,53 unequal: No Solution
Exploring Operation: 98+66=164, Resulting Numbers: [164]
164,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 53:[98, 22], Operations: ['12+10=22', '44-22=22']
Exploring Operation: 98+22=120, Resulting Numbers: [120]
120,53 unequal: No Solution
Exploring Operation: 98*22=2156, Resulting Numbers: [2156]
2156,53 unequal: No Solution
Exploring Operation: 98-22=76, Resulting Numbers: [76]
76,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 53:[44, 120], Operations: ['12+10=22', '98+22=120']
Exploring Operation: 44*120=5280, Resulting Numbers: [5280]
5280,53 unequal: No Solution
Exploring Operation: 120-44=76, Resulting Numbers: [76]
76,53 unequal: No Solution
Exploring Operation: 44+120=164, Resulting Numbers: [164]
164,53 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: 53:[44, 10, 86], Operations: ['98-12=86']
Exploring Operation: 86-10=76, Resulting Numbers: [44, 76]
Generated Node #0,1,0: 53:[44, 76] Operation: 86-10=76
Exploring Operation: 44+10=54, Resulting Numbers: [86, 54]
Generated Node #0,1,1: 53:[86, 54] Operation: 44+10=54
Exploring Operation: 86-44=42, Resulting Numbers: [10, 42]
Generated Node #0,1,2: 53:[10, 42] Operation: 86-44=42
Exploring Operation: 10+86=96, Resulting Numbers: [44, 96]
Generated Node #0,1,3: 53:[44, 96] Operation: 10+86=96
Exploring Operation: 44-10=34, Resulting Numbers: [86, 34]
Generated Node #0,1,4: 53:[86, 34] Operation: 44-10=34
Moving to Node #0,4
Current State: 53:[12, 10, 54], Operations: ['98-44=54']
Exploring Operation: 12-10=2, Resulting Numbers: [54, 2]
Generated Node #0,4,0: 53:[54, 2] Operation: 12-10=2
Exploring Operation: 54-10=44, Resulting Numbers: [12, 44]
Generated Node #0,4,1: 53:[12, 44] Operation: 54-10=44
Exploring Operation: 54-12=42, Resulting Numbers: [10, 42]
Generated Node #0,4,2: 53:[10, 42] Operation: 54-12=42
Exploring Operation: 10+54=64, Resulting Numbers: [12, 64]
Generated Node #0,4,3: 53:[12, 64] Operation: 10+54=64
Exploring Operation: 12+10=22, Resulting Numbers: [54, 22]
Generated Node #0,4,4: 53:[54, 22] Operation: 12+10=22
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 53:[54, 22], Operations: ['98-44=54', '12+10=22']
Exploring Operation: 54-22=32, Resulting Numbers: [32]
32,53 unequal: No Solution
Exploring Operation: 54+22=76, Resulting Numbers: [76]
76,53 unequal: No Solution
Exploring Operation: 54*22=1188, Resulting Numbers: [1188]
1188,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 53:[12, 44], Operations: ['98-44=54', '54-10=44']
Exploring Operation: 44-12=32, Resulting Numbers: [32]
32,53 unequal: No Solution
Exploring Operation: 12+44=56, Resulting Numbers: [56]
56,53 unequal: No Solution
Exploring Operation: 12*44=528, Resulting Numbers: [528]
528,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 53:[54, 2], Operations: ['98-44=54', '12-10=2']
Exploring Operation: 54+2=56, Resulting Numbers: [56]
56,53 unequal: No Solution
Exploring Operation: 54*2=108, Resulting Numbers: [108]
108,53 unequal: No Solution
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,53 unequal: No Solution
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 53:[12, 64], Operations: ['98-44=54', '10+54=64']
Exploring Operation: 12*64=768, Resulting Numbers: [768]
768,53 unequal: No Solution
Exploring Operation: 64-12=52, Resulting Numbers: [52]
52,53 unequal: No Solution
Exploring Operation: 12+64=76, Resulting Numbers: [76]
76,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 53:[10, 42], Operations: ['98-44=54', '54-12=42']
Exploring Operation: 10*42=420, Resulting Numbers: [420]
420,53 unequal: No Solution
Exploring Operation: 10+42=52, Resulting Numbers: [52]
52,53 unequal: No Solution
Exploring Operation: 42-10=32, Resulting Numbers: [32]
32,53 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: 53:[12, 98, 54], Operations: ['44+10=54']
Exploring Operation: 98-54=44, Resulting Numbers: [12, 44]
Generated Node #0,2,0: 53:[12, 44] Operation: 98-54=44
Exploring Operation: 98-12=86, Resulting Numbers: [54, 86]
Generated Node #0,2,1: 53:[54, 86] Operation: 98-12=86
Exploring Operation: 54-12=42, Resulting Numbers: [98, 42]
Generated Node #0,2,2: 53:[98, 42] Operation: 54-12=42
Exploring Operation: 12+98=110, Resulting Numbers: [54, 110]
Generated Node #0,2,3: 53:[54, 110] Operation: 12+98=110
Exploring Operation: 12+54=66, Resulting Numbers: [98, 66]
Generated Node #0,2,4: 53:[98, 66] Operation: 12+54=66
Moving to Node #0,0,2
Current State: 53:[44, 76], Operations: ['98-10=88', '88-12=76']
Exploring Operation: 76-44=32, Resulting Numbers: [32]
32,53 unequal: No Solution
Exploring Operation: 44+76=120, Resulting Numbers: [120]
120,53 unequal: No Solution
Exploring Operation: 44*76=3344, Resulting Numbers: [3344]
3344,53 unequal: No Solution
Moving to Node #0,1,0
Current State: 53:[44, 76], Operations: ['98-12=86', '86-10=76']
Exploring Operation: 44*76=3344, Resulting Numbers: [3344]
3344,53 unequal: No Solution
Exploring Operation: 76-44=32, Resulting Numbers: [32]
32,53 unequal: No Solution
Exploring Operation: 44+76=120, Resulting Numbers: [120]
120,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[86, 54], Operations: ['98-12=86', '44+10=54']
Exploring Operation: 86+54=140, Resulting Numbers: [140]
140,53 unequal: No Solution
Exploring Operation: 86-54=32, Resulting Numbers: [32]
32,53 unequal: No Solution
Exploring Operation: 86*54=4644, Resulting Numbers: [4644]
4644,53 unequal: No Solution
Moving to Node #0,2,1
Current State: 53:[54, 86], Operations: ['44+10=54', '98-12=86']
Exploring Operation: 86-54=32, Resulting Numbers: [32]
32,53 unequal: No Solution
Exploring Operation: 54+86=140, Resulting Numbers: [140]
140,53 unequal: No Solution
Exploring Operation: 54*86=4644, Resulting Numbers: [4644]
4644,53 unequal: No Solution
Moving to Node #0,0,3
Current State: 53:[88, 56], Operations: ['98-10=88', '12+44=56']
Exploring Operation: 88-56=32, Resulting Numbers: [32]
32,53 unequal: No Solution
Exploring Operation: 88*56=4928, Resulting Numbers: [4928]
4928,53 unequal: No Solution
Exploring Operation: 88+56=144, Resulting Numbers: [144]
144,53 unequal: No Solution
Moving to Node #0,0,4
Current State: 53:[12, 44], Operations: ['98-10=88', '88-44=44']
Exploring Operation: 44-12=32, Resulting Numbers: [32]
32,53 unequal: No Solution
Exploring Operation: 12+44=56, Resulting Numbers: [56]
56,53 unequal: No Solution
Exploring Operation: 12*44=528, Resulting Numbers: [528]
528,53 unequal: No Solution
Moving to Node #0,2,0
Current State: 53:[12, 44], Operations: ['44+10=54', '98-54=44']
Exploring Operation: 12+44=56, Resulting Numbers: [56]
56,53 unequal: No Solution
Exploring Operation: 12*44=528, Resulting Numbers: [528]
528,53 unequal: No Solution
Exploring Operation: 44-12=32, Resulting Numbers: [32]
32,53 unequal: No Solution
Moving to Node #0,1,3
Current State: 53:[44, 96], Operations: ['98-12=86', '10+86=96']
Exploring Operation: 44*96=4224, Resulting Numbers: [4224]
4224,53 unequal: No Solution
Exploring Operation: 44+96=140, Resulting Numbers: [140]
140,53 unequal: No Solution
Exploring Operation: 96-44=52, Resulting Numbers: [52]
52,53 unequal: No Solution
Moving to Node #0,1,4
Current State: 53:[86, 34], Operations: ['98-12=86', '44-10=34']
Exploring Operation: 86*34=2924, Resulting Numbers: [2924]
2924,53 unequal: No Solution
Exploring Operation: 86-34=52, Resulting Numbers: [52]
52,53 unequal: No Solution
Exploring Operation: 86+34=120, Resulting Numbers: [120]
120,53 unequal: No Solution
Moving to Node #0,1,2
Current State: 53:[10, 42], Operations: ['98-12=86', '86-44=42']
Exploring Operation: 10*42=420, Resulting Numbers: [420]
420,53 unequal: No Solution
Exploring Operation: 10+42=52, Resulting Numbers: [52]
52,53 unequal: No Solution
Exploring Operation: 42-10=32, Resulting Numbers: [32]
32,53 unequal: No Solution
Moving to Node #0,2,2
Current State: 53:[98, 42], Operations: ['44+10=54', '54-12=42']
Exploring Operation: 98-42=56, Resulting Numbers: [56]
56,53 unequal: No Solution
Exploring Operation: 98+42=140, Resulting Numbers: [140]
140,53 unequal: No Solution
Exploring Operation: 98*42=4116, Resulting Numbers: [4116]
4116,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[44, 100], Operations: ['98-10=88', '12+88=100']
Exploring Operation: 44*100=4400, Resulting Numbers: [4400]
4400,53 unequal: No Solution
Exploring Operation: 100-44=56, Resulting Numbers: [56]
56,53 unequal: No Solution
Exploring Operation: 44+100=144, Resulting Numbers: [144]
144,53 unequal: No Solution
Moving to Node #0,0,0
Current State: 53:[88, 32], Operations: ['98-10=88', '44-12=32']
Exploring Operation: 88*32=2816, Resulting Numbers: [2816]
2816,53 unequal: No Solution
Exploring Operation: 88-32=56, Resulting Numbers: [56]
56,53 unequal: No Solution
Exploring Operation: 88+32=120, Resulting Numbers: [120]
120,53 unequal: No Solution
Moving to Node #0,2,3
Current State: 53:[54, 110], Operations: ['44+10=54', '12+98=110']
Exploring Operation: 54*110=5940, Resulting Numbers: [5940]
5940,53 unequal: No Solution
Exploring Operation: 54+110=164, Resulting Numbers: [164]
164,53 unequal: No Solution
Exploring Operation: 110-54=56, Resulting Numbers: [56]
56,53 unequal: No Solution
Moving to Node #0,2,4
Current State: 53:[98, 66], Operations: ['44+10=54', '12+54=66']
Exploring Operation: 98+66=164, Resulting Numbers: [164]
164,53 unequal: No Solution
Exploring Operation: 98-66=32, Resulting Numbers: [32]
32,53 unequal: No Solution
Exploring Operation: 98*66=6468, Resulting Numbers: [6468]
6468,53 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
70,
3,
45,
77
] | 99 | [
"70-3=67",
"77-45=32",
"67+32=99"
] | Current State: 99:[70, 3, 45, 77], Operations: []
Exploring Operation: 70-3=67, Resulting Numbers: [45, 77, 67]
Generated Node #2: [45, 77, 67] from Operation: 70-3=67
Current State: 99:[45, 77, 67], Operations: ['70-3=67']
Exploring Operation: 77-45=32, Resulting Numbers: [67, 32]
Generated Node #3: [67, 32] from Operation: 77-45=32
Current State: 99:[67, 32], Operations: ['70-3=67', '77-45=32']
Exploring Operation: 67+32=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[70, 3, 45, 77], Operations: []
Exploring Operation: 77-70=7, Resulting Numbers: [3, 45, 7]
Generated Node #0,0: 99:[3, 45, 7] Operation: 77-70=7
Exploring Operation: 70-45=25, Resulting Numbers: [3, 77, 25]
Generated Node #0,1: 99:[3, 77, 25] Operation: 70-45=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[3, 45, 7], Operations: ['77-70=7']
Exploring Operation: 45/3=15, Resulting Numbers: [7, 15]
Generated Node #0,0,0: 99:[7, 15] Operation: 45/3=15
Exploring Operation: 45-7=38, Resulting Numbers: [3, 38]
Generated Node #0,0,1: 99:[3, 38] Operation: 45-7=38
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 99:[3, 38], Operations: ['77-70=7', '45-7=38']
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,99 unequal: No Solution
Exploring Operation: 3+38=41, Resulting Numbers: [41]
41,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,0,0
Current State: 99:[7, 15], Operations: ['77-70=7', '45/3=15']
Exploring Operation: 7*15=105, Resulting Numbers: [105]
105,99 unequal: No Solution
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,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,1
Current State: 99:[3, 77, 25], Operations: ['70-45=25']
Exploring Operation: 77-25=52, Resulting Numbers: [3, 52]
Generated Node #0,1,0: 99:[3, 52] Operation: 77-25=52
Exploring Operation: 77+25=102, Resulting Numbers: [3, 102]
Generated Node #0,1,1: 99:[3, 102] Operation: 77+25=102
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 99:[3, 102], Operations: ['70-45=25', '77+25=102']
Exploring Operation: 102-3=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[70, 3, 45, 77], Operations: []
Exploring Operation: 70-45=25, Resulting Numbers: [3, 77, 25]
Generated Node #0,1: 99:[3, 77, 25] Operation: 70-45=25
Moving to Node #0,1
Current State: 99:[3, 77, 25], Operations: ['70-45=25']
Exploring Operation: 77+25=102, Resulting Numbers: [3, 102]
Generated Node #0,1,1: 99:[3, 102] Operation: 77+25=102
Moving to Node #0,1,1
Current State: 99:[3, 102], Operations: ['70-45=25', '77+25=102']
Exploring Operation: 102-3=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
84,
39,
84,
49
] | 87 | [
"84/84=1",
"39+49=88",
"88-1=87"
] | Current State: 87:[84, 39, 84, 49], Operations: []
Exploring Operation: 84/84=1, Resulting Numbers: [39, 49, 1]
Generated Node #2: [39, 49, 1] from Operation: 84/84=1
Current State: 87:[39, 49, 1], Operations: ['84/84=1']
Exploring Operation: 39+49=88, Resulting Numbers: [1, 88]
Generated Node #3: [1, 88] from Operation: 39+49=88
Current State: 87:[1, 88], Operations: ['84/84=1', '39+49=88']
Exploring Operation: 88-1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[84, 39, 84, 49], Operations: []
Exploring Operation: 49-39=10, Resulting Numbers: [84, 84, 10]
Generated Node #0,0: 87:[84, 84, 10] Operation: 49-39=10
Exploring Operation: 84-49=35, Resulting Numbers: [39, 84, 35]
Generated Node #0,1: 87:[39, 84, 35] Operation: 84-49=35
Exploring Operation: 39+49=88, Resulting Numbers: [84, 84, 88]
Generated Node #0,2: 87:[84, 84, 88] Operation: 39+49=88
Exploring Operation: 84-49=35, Resulting Numbers: [84, 39, 35]
Generated Node #0,3: 87:[84, 39, 35] Operation: 84-49=35
Moving to Node #0,2
Current State: 87:[84, 84, 88], Operations: ['39+49=88']
Exploring Operation: 88-84=4, Resulting Numbers: [84, 4]
Generated Node #0,2,0: 87:[84, 4] Operation: 88-84=4
Exploring Operation: 84/84=1, Resulting Numbers: [88, 1]
Generated Node #0,2,1: 87:[88, 1] Operation: 84/84=1
Exploring Operation: 84-84=0, Resulting Numbers: [88, 0]
Generated Node #0,2,2: 87:[88, 0] Operation: 84-84=0
Exploring Operation: 88-84=4, Resulting Numbers: [84, 4]
Generated Node #0,2,3: 87:[84, 4] Operation: 88-84=4
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 87:[88, 1], Operations: ['39+49=88', '84/84=1']
Exploring Operation: 88/1=88, Resulting Numbers: [88]
88,87 unequal: No Solution
Exploring Operation: 88+1=89, Resulting Numbers: [89]
89,87 unequal: No Solution
Exploring Operation: 88-1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[84, 39, 84, 49], Operations: []
Exploring Operation: 39+49=88, Resulting Numbers: [84, 84, 88]
Generated Node #0,2: 87:[84, 84, 88] Operation: 39+49=88
Moving to Node #0,2
Current State: 87:[84, 84, 88], Operations: ['39+49=88']
Exploring Operation: 84/84=1, Resulting Numbers: [88, 1]
Generated Node #0,2,1: 87:[88, 1] Operation: 84/84=1
Moving to Node #0,2,1
Current State: 87:[88, 1], Operations: ['39+49=88', '84/84=1']
Exploring Operation: 88-1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
82,
13,
8,
27
] | 77 | [
"13+27=40",
"40/8=5",
"82-5=77"
] | Current State: 77:[82, 13, 8, 27], Operations: []
Exploring Operation: 13+27=40, Resulting Numbers: [82, 8, 40]
Generated Node #2: [82, 8, 40] from Operation: 13+27=40
Current State: 77:[82, 8, 40], Operations: ['13+27=40']
Exploring Operation: 40/8=5, Resulting Numbers: [82, 5]
Generated Node #3: [82, 5] from Operation: 40/8=5
Current State: 77:[82, 5], Operations: ['13+27=40', '40/8=5']
Exploring Operation: 82-5=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[82, 13, 8, 27], Operations: []
Exploring Operation: 82-8=74, Resulting Numbers: [13, 27, 74]
Generated Node #0,0: 77:[13, 27, 74] Operation: 82-8=74
Exploring Operation: 27-8=19, Resulting Numbers: [82, 13, 19]
Generated Node #0,1: 77:[82, 13, 19] Operation: 27-8=19
Exploring Operation: 27-13=14, Resulting Numbers: [82, 8, 14]
Generated Node #0,2: 77:[82, 8, 14] Operation: 27-13=14
Exploring Operation: 13-8=5, Resulting Numbers: [82, 27, 5]
Generated Node #0,3: 77:[82, 27, 5] Operation: 13-8=5
Moving to Node #0,2
Current State: 77:[82, 8, 14], Operations: ['27-13=14']
Exploring Operation: 82-8=74, Resulting Numbers: [14, 74]
Generated Node #0,2,0: 77:[14, 74] Operation: 82-8=74
Exploring Operation: 82+8=90, Resulting Numbers: [14, 90]
Generated Node #0,2,1: 77:[14, 90] Operation: 82+8=90
Exploring Operation: 14-8=6, Resulting Numbers: [82, 6]
Generated Node #0,2,2: 77:[82, 6] Operation: 14-8=6
Exploring Operation: 82-14=68, Resulting Numbers: [8, 68]
Generated Node #0,2,3: 77:[8, 68] Operation: 82-14=68
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 77:[14, 74], Operations: ['27-13=14', '82-8=74']
Exploring Operation: 14*74=1036, Resulting Numbers: [1036]
1036,77 unequal: No Solution
Exploring Operation: 14+74=88, Resulting Numbers: [88]
88,77 unequal: No Solution
Exploring Operation: 74-14=60, Resulting Numbers: [60]
60,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:[82, 6], Operations: ['27-13=14', '14-8=6']
Exploring Operation: 82-6=76, Resulting Numbers: [76]
76,77 unequal: No Solution
Exploring Operation: 82*6=492, Resulting Numbers: [492]
492,77 unequal: No Solution
Exploring Operation: 82+6=88, Resulting Numbers: [88]
88,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 77:[8, 68], Operations: ['27-13=14', '82-14=68']
Exploring Operation: 8+68=76, Resulting Numbers: [76]
76,77 unequal: No Solution
Exploring Operation: 68-8=60, Resulting Numbers: [60]
60,77 unequal: No Solution
Exploring Operation: 8*68=544, Resulting Numbers: [544]
544,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,1
Current State: 77:[14, 90], Operations: ['27-13=14', '82+8=90']
Exploring Operation: 90-14=76, Resulting Numbers: [76]
76,77 unequal: No Solution
Exploring Operation: 14+90=104, Resulting Numbers: [104]
104,77 unequal: No Solution
Exploring Operation: 14*90=1260, Resulting Numbers: [1260]
1260,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:[82, 13, 19], Operations: ['27-8=19']
Exploring Operation: 19-13=6, Resulting Numbers: [82, 6]
Generated Node #0,1,0: 77:[82, 6] Operation: 19-13=6
Exploring Operation: 82-13=69, Resulting Numbers: [19, 69]
Generated Node #0,1,1: 77:[19, 69] Operation: 82-13=69
Exploring Operation: 82-19=63, Resulting Numbers: [13, 63]
Generated Node #0,1,2: 77:[13, 63] Operation: 82-19=63
Exploring Operation: 82+13=95, Resulting Numbers: [19, 95]
Generated Node #0,1,3: 77:[19, 95] Operation: 82+13=95
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 77:[82, 6], Operations: ['27-8=19', '19-13=6']
Exploring Operation: 82-6=76, Resulting Numbers: [76]
76,77 unequal: No Solution
Exploring Operation: 82*6=492, Resulting Numbers: [492]
492,77 unequal: No Solution
Exploring Operation: 82+6=88, Resulting Numbers: [88]
88,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 77:[19, 69], Operations: ['27-8=19', '82-13=69']
Exploring Operation: 19+69=88, Resulting Numbers: [88]
88,77 unequal: No Solution
Exploring Operation: 19*69=1311, Resulting Numbers: [1311]
1311,77 unequal: No Solution
Exploring Operation: 69-19=50, Resulting Numbers: [50]
50,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 77:[13, 63], Operations: ['27-8=19', '82-19=63']
Exploring Operation: 13*63=819, Resulting Numbers: [819]
819,77 unequal: No Solution
Exploring Operation: 63-13=50, Resulting Numbers: [50]
50,77 unequal: No Solution
Exploring Operation: 13+63=76, Resulting Numbers: [76]
76,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 77:[19, 95], Operations: ['27-8=19', '82+13=95']
Exploring Operation: 19*95=1805, Resulting Numbers: [1805]
1805,77 unequal: No Solution
Exploring Operation: 95/19=5, Resulting Numbers: [5]
5,77 unequal: No Solution
Exploring Operation: 19+95=114, Resulting Numbers: [114]
114,77 unequal: No Solution
Exploring Operation: 95-19=76, Resulting Numbers: [76]
76,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:[13, 27, 74], Operations: ['82-8=74']
Exploring Operation: 13+74=87, Resulting Numbers: [27, 87]
Generated Node #0,0,0: 77:[27, 87] Operation: 13+74=87
Exploring Operation: 27+74=101, Resulting Numbers: [13, 101]
Generated Node #0,0,1: 77:[13, 101] Operation: 27+74=101
Exploring Operation: 13+27=40, Resulting Numbers: [74, 40]
Generated Node #0,0,2: 77:[74, 40] Operation: 13+27=40
Exploring Operation: 27-13=14, Resulting Numbers: [74, 14]
Generated Node #0,0,3: 77:[74, 14] Operation: 27-13=14
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 77:[74, 14], Operations: ['82-8=74', '27-13=14']
Exploring Operation: 74*14=1036, Resulting Numbers: [1036]
1036,77 unequal: No Solution
Exploring Operation: 74-14=60, Resulting Numbers: [60]
60,77 unequal: No Solution
Exploring Operation: 74+14=88, Resulting Numbers: [88]
88,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:[27, 87], Operations: ['82-8=74', '13+74=87']
Exploring Operation: 27*87=2349, Resulting Numbers: [2349]
2349,77 unequal: No Solution
Exploring Operation: 27+87=114, Resulting Numbers: [114]
114,77 unequal: No Solution
Exploring Operation: 87-27=60, Resulting Numbers: [60]
60,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:[13, 101], Operations: ['82-8=74', '27+74=101']
Exploring Operation: 101-13=88, Resulting Numbers: [88]
88,77 unequal: No Solution
Exploring Operation: 13+101=114, Resulting Numbers: [114]
114,77 unequal: No Solution
Exploring Operation: 13*101=1313, Resulting Numbers: [1313]
1313,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,2
Current State: 77:[74, 40], Operations: ['82-8=74', '13+27=40']
Exploring Operation: 74-40=34, Resulting Numbers: [34]
34,77 unequal: No Solution
Exploring Operation: 74+40=114, Resulting Numbers: [114]
114,77 unequal: No Solution
Exploring Operation: 74*40=2960, Resulting Numbers: [2960]
2960,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 77:[82, 27, 5], Operations: ['13-8=5']
Exploring Operation: 27-5=22, Resulting Numbers: [82, 22]
Generated Node #0,3,0: 77:[82, 22] Operation: 27-5=22
Exploring Operation: 82-27=55, Resulting Numbers: [5, 55]
Generated Node #0,3,1: 77:[5, 55] Operation: 82-27=55
Exploring Operation: 82+5=87, Resulting Numbers: [27, 87]
Generated Node #0,3,2: 77:[27, 87] Operation: 82+5=87
Exploring Operation: 82-5=77, Resulting Numbers: [27, 77]
Generated Node #0,3,3: 77:[27, 77] Operation: 82-5=77
Moving to Node #0,3,0
Current State: 77:[82, 22], Operations: ['13-8=5', '27-5=22']
Exploring Operation: 82+22=104, Resulting Numbers: [104]
104,77 unequal: No Solution
Exploring Operation: 82-22=60, Resulting Numbers: [60]
60,77 unequal: No Solution
Exploring Operation: 82*22=1804, Resulting Numbers: [1804]
1804,77 unequal: No Solution
Moving to Node #0,3,3
Current State: 77:[27, 77], Operations: ['13-8=5', '82-5=77']
Exploring Operation: 27+77=104, Resulting Numbers: [104]
104,77 unequal: No Solution
Exploring Operation: 77-27=50, Resulting Numbers: [50]
50,77 unequal: No Solution
Exploring Operation: 27*77=2079, Resulting Numbers: [2079]
2079,77 unequal: No Solution
Moving to Node #0,3,1
Current State: 77:[5, 55], Operations: ['13-8=5', '82-27=55']
Exploring Operation: 55-5=50, Resulting Numbers: [50]
50,77 unequal: No Solution
Exploring Operation: 5*55=275, Resulting Numbers: [275]
275,77 unequal: No Solution
Exploring Operation: 5+55=60, Resulting Numbers: [60]
60,77 unequal: No Solution
Exploring Operation: 55/5=11, Resulting Numbers: [11]
11,77 unequal: No Solution
Moving to Node #0,3,2
Current State: 77:[27, 87], Operations: ['13-8=5', '82+5=87']
Exploring Operation: 27+87=114, Resulting Numbers: [114]
114,77 unequal: No Solution
Exploring Operation: 87-27=60, Resulting Numbers: [60]
60,77 unequal: No Solution
Exploring Operation: 27*87=2349, Resulting Numbers: [2349]
2349,77 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
98,
3,
51,
73
] | 29 | [
"98-3=95",
"51+73=124",
"124-95=29"
] | Current State: 29:[98, 3, 51, 73], Operations: []
Exploring Operation: 98-3=95, Resulting Numbers: [51, 73, 95]
Generated Node #2: [51, 73, 95] from Operation: 98-3=95
Current State: 29:[51, 73, 95], Operations: ['98-3=95']
Exploring Operation: 51+73=124, Resulting Numbers: [95, 124]
Generated Node #3: [95, 124] from Operation: 51+73=124
Current State: 29:[95, 124], Operations: ['98-3=95', '51+73=124']
Exploring Operation: 124-95=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[98, 3, 51, 73], Operations: []
Exploring Operation: 98-51=47, Resulting Numbers: [3, 73, 47]
Generated Node #0,0: 29:[3, 73, 47] Operation: 98-51=47
Exploring Operation: 51/3=17, Resulting Numbers: [98, 73, 17]
Generated Node #0,1: 29:[98, 73, 17] Operation: 51/3=17
Exploring Operation: 98-73=25, Resulting Numbers: [3, 51, 25]
Generated Node #0,2: 29:[3, 51, 25] Operation: 98-73=25
Exploring Operation: 73-51=22, Resulting Numbers: [98, 3, 22]
Generated Node #0,3: 29:[98, 3, 22] Operation: 73-51=22
Start Sub Search at level 1: Moving to Node #0,2
Current State: 29:[3, 51, 25], Operations: ['98-73=25']
Exploring Operation: 3+51=54, Resulting Numbers: [25, 54]
Generated Node #0,2,0: 29:[25, 54] Operation: 3+51=54
Exploring Operation: 51-3=48, Resulting Numbers: [25, 48]
Generated Node #0,2,1: 29:[25, 48] Operation: 51-3=48
Exploring Operation: 51/3=17, Resulting Numbers: [25, 17]
Generated Node #0,2,2: 29:[25, 17] Operation: 51/3=17
Exploring Operation: 3+25=28, Resulting Numbers: [51, 28]
Generated Node #0,2,3: 29:[51, 28] Operation: 3+25=28
Moving to Node #0,2,2
Current State: 29:[25, 17], Operations: ['98-73=25', '51/3=17']
Exploring Operation: 25+17=42, Resulting Numbers: [42]
42,29 unequal: No Solution
Exploring Operation: 25-17=8, Resulting Numbers: [8]
8,29 unequal: No Solution
Exploring Operation: 25*17=425, Resulting Numbers: [425]
425,29 unequal: No Solution
Moving to Node #0,2,3
Current State: 29:[51, 28], Operations: ['98-73=25', '3+25=28']
Exploring Operation: 51-28=23, Resulting Numbers: [23]
23,29 unequal: No Solution
Exploring Operation: 51*28=1428, Resulting Numbers: [1428]
1428,29 unequal: No Solution
Exploring Operation: 51+28=79, Resulting Numbers: [79]
79,29 unequal: No Solution
Moving to Node #0,2,1
Current State: 29:[25, 48], Operations: ['98-73=25', '51-3=48']
Exploring Operation: 48-25=23, Resulting Numbers: [23]
23,29 unequal: No Solution
Exploring Operation: 25*48=1200, Resulting Numbers: [1200]
1200,29 unequal: No Solution
Exploring Operation: 25+48=73, Resulting Numbers: [73]
73,29 unequal: No Solution
Moving to Node #0,2,0
Current State: 29:[25, 54], Operations: ['98-73=25', '3+51=54']
Exploring Operation: 25+54=79, Resulting Numbers: [79]
79,29 unequal: No Solution
Exploring Operation: 25*54=1350, Resulting Numbers: [1350]
1350,29 unequal: No Solution
Exploring Operation: 54-25=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[98, 3, 51, 73], Operations: []
Exploring Operation: 98-73=25, Resulting Numbers: [3, 51, 25]
Generated Node #0,2: 29:[3, 51, 25] Operation: 98-73=25
Moving to Node #0,2
Current State: 29:[3, 51, 25], Operations: ['98-73=25']
Exploring Operation: 3+51=54, Resulting Numbers: [25, 54]
Generated Node #0,2,0: 29:[25, 54] Operation: 3+51=54
Moving to Node #0,2,0
Current State: 29:[25, 54], Operations: ['98-73=25', '3+51=54']
Exploring Operation: 54-25=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_4 | sum_heuristic |
[
16,
9,
43,
77
] | 85 | [
"16*43=688",
"77+688=765",
"765/9=85"
] | Current State: 85:[16, 9, 43, 77], Operations: []
Exploring Operation: 16*43=688, Resulting Numbers: [9, 77, 688]
Generated Node #2: [9, 77, 688] from Operation: 16*43=688
Current State: 85:[9, 77, 688], Operations: ['16*43=688']
Exploring Operation: 77+688=765, Resulting Numbers: [9, 765]
Generated Node #3: [9, 765] from Operation: 77+688=765
Current State: 85:[9, 765], Operations: ['16*43=688', '77+688=765']
Exploring Operation: 765/9=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[16, 9, 43, 77], Operations: []
Exploring Operation: 77-43=34, Resulting Numbers: [16, 9, 34]
Generated Node #0,0: 85:[16, 9, 34] Operation: 77-43=34
Exploring Operation: 43-9=34, Resulting Numbers: [16, 77, 34]
Generated Node #0,1: 85:[16, 77, 34] Operation: 43-9=34
Exploring Operation: 43-16=27, Resulting Numbers: [9, 77, 27]
Generated Node #0,2: 85:[9, 77, 27] Operation: 43-16=27
Moving to Node #0,0
Current State: 85:[16, 9, 34], Operations: ['77-43=34']
Exploring Operation: 16-9=7, Resulting Numbers: [34, 7]
Generated Node #0,0,0: 85:[34, 7] Operation: 16-9=7
Exploring Operation: 34-16=18, Resulting Numbers: [9, 18]
Generated Node #0,0,1: 85:[9, 18] Operation: 34-16=18
Exploring Operation: 34-9=25, Resulting Numbers: [16, 25]
Generated Node #0,0,2: 85:[16, 25] Operation: 34-9=25
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 85:[9, 18], Operations: ['77-43=34', '34-16=18']
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,85 unequal: No Solution
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,85 unequal: No Solution
Exploring Operation: 9+18=27, Resulting Numbers: [27]
27,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 85:[16, 25], Operations: ['77-43=34', '34-9=25']
Exploring Operation: 16+25=41, Resulting Numbers: [41]
41,85 unequal: No Solution
Exploring Operation: 16*25=400, Resulting Numbers: [400]
400,85 unequal: No Solution
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 85:[34, 7], Operations: ['77-43=34', '16-9=7']
Exploring Operation: 34*7=238, Resulting Numbers: [238]
238,85 unequal: No Solution
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,85 unequal: No Solution
Exploring Operation: 34+7=41, Resulting Numbers: [41]
41,85 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: 85:[9, 77, 27], Operations: ['43-16=27']
Exploring Operation: 27/9=3, Resulting Numbers: [77, 3]
Generated Node #0,2,0: 85:[77, 3] Operation: 27/9=3
Exploring Operation: 27-9=18, Resulting Numbers: [77, 18]
Generated Node #0,2,1: 85:[77, 18] Operation: 27-9=18
Exploring Operation: 9+77=86, Resulting Numbers: [27, 86]
Generated Node #0,2,2: 85:[27, 86] Operation: 9+77=86
Moving to Node #0,1
Current State: 85:[16, 77, 34], Operations: ['43-9=34']
Exploring Operation: 77+34=111, Resulting Numbers: [16, 111]
Generated Node #0,1,0: 85:[16, 111] Operation: 77+34=111
Exploring Operation: 16+77=93, Resulting Numbers: [34, 93]
Generated Node #0,1,1: 85:[34, 93] Operation: 16+77=93
Exploring Operation: 34-16=18, Resulting Numbers: [77, 18]
Generated Node #0,1,2: 85:[77, 18] Operation: 34-16=18
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 85:[77, 18], Operations: ['43-9=34', '34-16=18']
Exploring Operation: 77-18=59, Resulting Numbers: [59]
59,85 unequal: No Solution
Exploring Operation: 77*18=1386, Resulting Numbers: [1386]
1386,85 unequal: No Solution
Exploring Operation: 77+18=95, Resulting Numbers: [95]
95,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 85:[34, 93], Operations: ['43-9=34', '16+77=93']
Exploring Operation: 34+93=127, Resulting Numbers: [127]
127,85 unequal: No Solution
Exploring Operation: 93-34=59, Resulting Numbers: [59]
59,85 unequal: No Solution
Exploring Operation: 34*93=3162, Resulting Numbers: [3162]
3162,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 85:[16, 111], Operations: ['43-9=34', '77+34=111']
Exploring Operation: 16*111=1776, Resulting Numbers: [1776]
1776,85 unequal: No Solution
Exploring Operation: 16+111=127, Resulting Numbers: [127]
127,85 unequal: No Solution
Exploring Operation: 111-16=95, Resulting Numbers: [95]
95,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 85:[77, 18], Operations: ['43-16=27', '27-9=18']
Exploring Operation: 77-18=59, Resulting Numbers: [59]
59,85 unequal: No Solution
Exploring Operation: 77*18=1386, Resulting Numbers: [1386]
1386,85 unequal: No Solution
Exploring Operation: 77+18=95, Resulting Numbers: [95]
95,85 unequal: No Solution
Moving to Node #0,2,0
Current State: 85:[77, 3], Operations: ['43-16=27', '27/9=3']
Exploring Operation: 77+3=80, Resulting Numbers: [80]
80,85 unequal: No Solution
Exploring Operation: 77*3=231, Resulting Numbers: [231]
231,85 unequal: No Solution
Exploring Operation: 77-3=74, Resulting Numbers: [74]
74,85 unequal: No Solution
Moving to Node #0,2,2
Current State: 85:[27, 86], Operations: ['43-16=27', '9+77=86']
Exploring Operation: 27+86=113, Resulting Numbers: [113]
113,85 unequal: No Solution
Exploring Operation: 27*86=2322, Resulting Numbers: [2322]
2322,85 unequal: No Solution
Exploring Operation: 86-27=59, Resulting Numbers: [59]
59,85 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
75,
17,
37,
44
] | 16 | [
"17*37=629",
"75+629=704",
"704/44=16"
] | Current State: 16:[75, 17, 37, 44], Operations: []
Exploring Operation: 17*37=629, Resulting Numbers: [75, 44, 629]
Generated Node #2: [75, 44, 629] from Operation: 17*37=629
Current State: 16:[75, 44, 629], Operations: ['17*37=629']
Exploring Operation: 75+629=704, Resulting Numbers: [44, 704]
Generated Node #3: [44, 704] from Operation: 75+629=704
Current State: 16:[44, 704], Operations: ['17*37=629', '75+629=704']
Exploring Operation: 704/44=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[75, 17, 37, 44], Operations: []
Exploring Operation: 75-44=31, Resulting Numbers: [17, 37, 31]
Generated Node #0,0: 16:[17, 37, 31] Operation: 75-44=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[17, 37, 31], Operations: ['75-44=31']
Exploring Operation: 37-31=6, Resulting Numbers: [17, 6]
Generated Node #0,0,0: 16:[17, 6] Operation: 37-31=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 16:[17, 6], Operations: ['75-44=31', '37-31=6']
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
29,
51,
94,
81
] | 67 | [
"29+51=80",
"94-81=13",
"80-13=67"
] | Current State: 67:[29, 51, 94, 81], Operations: []
Exploring Operation: 29+51=80, Resulting Numbers: [94, 81, 80]
Generated Node #2: [94, 81, 80] from Operation: 29+51=80
Current State: 67:[94, 81, 80], Operations: ['29+51=80']
Exploring Operation: 94-81=13, Resulting Numbers: [80, 13]
Generated Node #3: [80, 13] from Operation: 94-81=13
Current State: 67:[80, 13], Operations: ['29+51=80', '94-81=13']
Exploring Operation: 80-13=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[29, 51, 94, 81], Operations: []
Exploring Operation: 81-29=52, Resulting Numbers: [51, 94, 52]
Generated Node #0,0: 67:[51, 94, 52] Operation: 81-29=52
Exploring Operation: 94-29=65, Resulting Numbers: [51, 81, 65]
Generated Node #0,1: 67:[51, 81, 65] Operation: 94-29=65
Exploring Operation: 29+51=80, Resulting Numbers: [94, 81, 80]
Generated Node #0,2: 67:[94, 81, 80] Operation: 29+51=80
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[51, 81, 65], Operations: ['94-29=65']
Exploring Operation: 81-51=30, Resulting Numbers: [65, 30]
Generated Node #0,1,0: 67:[65, 30] Operation: 81-51=30
Exploring Operation: 51+81=132, Resulting Numbers: [65, 132]
Generated Node #0,1,1: 67:[65, 132] Operation: 51+81=132
Exploring Operation: 51+65=116, Resulting Numbers: [81, 116]
Generated Node #0,1,2: 67:[81, 116] Operation: 51+65=116
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 67:[65, 30], Operations: ['94-29=65', '81-51=30']
Exploring Operation: 65-30=35, Resulting Numbers: [35]
35,67 unequal: No Solution
Exploring Operation: 65+30=95, Resulting Numbers: [95]
95,67 unequal: No Solution
Exploring Operation: 65*30=1950, Resulting Numbers: [1950]
1950,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 67:[81, 116], Operations: ['94-29=65', '51+65=116']
Exploring Operation: 116-81=35, Resulting Numbers: [35]
35,67 unequal: No Solution
Exploring Operation: 81+116=197, Resulting Numbers: [197]
197,67 unequal: No Solution
Exploring Operation: 81*116=9396, Resulting Numbers: [9396]
9396,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 67:[65, 132], Operations: ['94-29=65', '51+81=132']
Exploring Operation: 65*132=8580, Resulting Numbers: [8580]
8580,67 unequal: No Solution
Exploring Operation: 65+132=197, Resulting Numbers: [197]
197,67 unequal: No Solution
Exploring Operation: 132-65=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[29, 51, 94, 81], Operations: []
Exploring Operation: 94-29=65, Resulting Numbers: [51, 81, 65]
Generated Node #0,1: 67:[51, 81, 65] Operation: 94-29=65
Moving to Node #0,1
Current State: 67:[51, 81, 65], Operations: ['94-29=65']
Exploring Operation: 51+81=132, Resulting Numbers: [65, 132]
Generated Node #0,1,1: 67:[65, 132] Operation: 51+81=132
Moving to Node #0,1,1
Current State: 67:[65, 132], Operations: ['94-29=65', '51+81=132']
Exploring Operation: 132-65=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_3 | sum_heuristic |
[
26,
19,
6,
2
] | 44 | [
"26-19=7",
"6*7=42",
"2+42=44"
] | Current State: 44:[26, 19, 6, 2], Operations: []
Exploring Operation: 26-19=7, Resulting Numbers: [6, 2, 7]
Generated Node #2: [6, 2, 7] from Operation: 26-19=7
Current State: 44:[6, 2, 7], Operations: ['26-19=7']
Exploring Operation: 6*7=42, Resulting Numbers: [2, 42]
Generated Node #3: [2, 42] from Operation: 6*7=42
Current State: 44:[2, 42], Operations: ['26-19=7', '6*7=42']
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[26, 19, 6, 2], Operations: []
Exploring Operation: 26+19=45, Resulting Numbers: [6, 2, 45]
Generated Node #0,0: 44:[6, 2, 45] Operation: 26+19=45
Moving to Node #0,0
Current State: 44:[6, 2, 45], Operations: ['26+19=45']
Exploring Operation: 6-2=4, Resulting Numbers: [45, 4]
Generated Node #0,0,0: 44:[45, 4] Operation: 6-2=4
Moving to Node #0,0,0
Current State: 44:[45, 4], Operations: ['26+19=45', '6-2=4']
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,44 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
56,
30,
33,
7
] | 49 | [
"56-30=26",
"33-26=7",
"7*7=49"
] | Current State: 49:[56, 30, 33, 7], Operations: []
Exploring Operation: 56-30=26, Resulting Numbers: [33, 7, 26]
Generated Node #2: [33, 7, 26] from Operation: 56-30=26
Current State: 49:[33, 7, 26], Operations: ['56-30=26']
Exploring Operation: 33-26=7, Resulting Numbers: [7, 7]
Generated Node #3: [7, 7] from Operation: 33-26=7
Current State: 49:[7, 7], Operations: ['56-30=26', '33-26=7']
Exploring Operation: 7*7=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[56, 30, 33, 7], Operations: []
Exploring Operation: 56-30=26, Resulting Numbers: [33, 7, 26]
Generated Node #0,0: 49:[33, 7, 26] Operation: 56-30=26
Exploring Operation: 33-30=3, Resulting Numbers: [56, 7, 3]
Generated Node #0,1: 49:[56, 7, 3] Operation: 33-30=3
Exploring Operation: 56-7=49, Resulting Numbers: [30, 33, 49]
Generated Node #0,2: 49:[30, 33, 49] Operation: 56-7=49
Exploring Operation: 30+33=63, Resulting Numbers: [56, 7, 63]
Generated Node #0,3: 49:[56, 7, 63] Operation: 30+33=63
Exploring Operation: 56-33=23, Resulting Numbers: [30, 7, 23]
Generated Node #0,4: 49:[30, 7, 23] Operation: 56-33=23
Moving to Node #0,1
Current State: 49:[56, 7, 3], Operations: ['33-30=3']
Exploring Operation: 56-3=53, Resulting Numbers: [7, 53]
Generated Node #0,1,0: 49:[7, 53] Operation: 56-3=53
Exploring Operation: 7+3=10, Resulting Numbers: [56, 10]
Generated Node #0,1,1: 49:[56, 10] Operation: 7+3=10
Exploring Operation: 56+3=59, Resulting Numbers: [7, 59]
Generated Node #0,1,2: 49:[7, 59] Operation: 56+3=59
Exploring Operation: 56/7=8, Resulting Numbers: [3, 8]
Generated Node #0,1,3: 49:[3, 8] Operation: 56/7=8
Exploring Operation: 56-7=49, Resulting Numbers: [3, 49]
Generated Node #0,1,4: 49:[3, 49] Operation: 56-7=49
Moving to Node #0,3
Current State: 49:[56, 7, 63], Operations: ['30+33=63']
Exploring Operation: 63-7=56, Resulting Numbers: [56, 56]
Generated Node #0,3,0: 49:[56, 56] Operation: 63-7=56
Exploring Operation: 63/7=9, Resulting Numbers: [56, 9]
Generated Node #0,3,1: 49:[56, 9] Operation: 63/7=9
Exploring Operation: 56-7=49, Resulting Numbers: [63, 49]
Generated Node #0,3,2: 49:[63, 49] Operation: 56-7=49
Exploring Operation: 63-56=7, Resulting Numbers: [7, 7]
Generated Node #0,3,3: 49:[7, 7] Operation: 63-56=7
Exploring Operation: 56/7=8, Resulting Numbers: [63, 8]
Generated Node #0,3,4: 49:[63, 8] Operation: 56/7=8
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 49:[7, 7], Operations: ['30+33=63', '63-56=7']
Exploring Operation: 7-7=0, Resulting Numbers: [0]
0,49 unequal: No Solution
Exploring Operation: 7+7=14, Resulting Numbers: [14]
14,49 unequal: No Solution
Exploring Operation: 7/7=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 7*7=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[56, 30, 33, 7], Operations: []
Exploring Operation: 30+33=63, Resulting Numbers: [56, 7, 63]
Generated Node #0,3: 49:[56, 7, 63] Operation: 30+33=63
Moving to Node #0,3
Current State: 49:[56, 7, 63], Operations: ['30+33=63']
Exploring Operation: 63-56=7, Resulting Numbers: [7, 7]
Generated Node #0,3,3: 49:[7, 7] Operation: 63-56=7
Moving to Node #0,3,3
Current State: 49:[7, 7], Operations: ['30+33=63', '63-56=7']
Exploring Operation: 7*7=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_5 | mult_heuristic |
[
41,
54,
90,
19
] | 96 | [
"54-41=13",
"90+19=109",
"109-13=96"
] | Current State: 96:[41, 54, 90, 19], Operations: []
Exploring Operation: 54-41=13, Resulting Numbers: [90, 19, 13]
Generated Node #2: [90, 19, 13] from Operation: 54-41=13
Current State: 96:[90, 19, 13], Operations: ['54-41=13']
Exploring Operation: 90+19=109, Resulting Numbers: [13, 109]
Generated Node #3: [13, 109] from Operation: 90+19=109
Current State: 96:[13, 109], Operations: ['54-41=13', '90+19=109']
Exploring Operation: 109-13=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[41, 54, 90, 19], Operations: []
Exploring Operation: 41-19=22, Resulting Numbers: [54, 90, 22]
Generated Node #0,0: 96:[54, 90, 22] Operation: 41-19=22
Exploring Operation: 90-41=49, Resulting Numbers: [54, 19, 49]
Generated Node #0,1: 96:[54, 19, 49] Operation: 90-41=49
Exploring Operation: 54-41=13, Resulting Numbers: [90, 19, 13]
Generated Node #0,2: 96:[90, 19, 13] Operation: 54-41=13
Exploring Operation: 41+54=95, Resulting Numbers: [90, 19, 95]
Generated Node #0,3: 96:[90, 19, 95] Operation: 41+54=95
Start Sub Search at level 1: Moving to Node #0,1
Current State: 96:[54, 19, 49], Operations: ['90-41=49']
Exploring Operation: 54+49=103, Resulting Numbers: [19, 103]
Generated Node #0,1,0: 96:[19, 103] Operation: 54+49=103
Exploring Operation: 54-49=5, Resulting Numbers: [19, 5]
Generated Node #0,1,1: 96:[19, 5] Operation: 54-49=5
Exploring Operation: 54-19=35, Resulting Numbers: [49, 35]
Generated Node #0,1,2: 96:[49, 35] Operation: 54-19=35
Exploring Operation: 49-19=30, Resulting Numbers: [54, 30]
Generated Node #0,1,3: 96:[54, 30] Operation: 49-19=30
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 96:[19, 5], Operations: ['90-41=49', '54-49=5']
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,96 unequal: No Solution
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,96 unequal: No Solution
Exploring Operation: 19+5=24, Resulting Numbers: [24]
24,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 96:[49, 35], Operations: ['90-41=49', '54-19=35']
Exploring Operation: 49+35=84, Resulting Numbers: [84]
84,96 unequal: No Solution
Exploring Operation: 49-35=14, Resulting Numbers: [14]
14,96 unequal: No Solution
Exploring Operation: 49*35=1715, Resulting Numbers: [1715]
1715,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 96:[54, 30], Operations: ['90-41=49', '49-19=30']
Exploring Operation: 54-30=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Exploring Operation: 54+30=84, Resulting Numbers: [84]
84,96 unequal: No Solution
Exploring Operation: 54*30=1620, Resulting Numbers: [1620]
1620,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 96:[19, 103], Operations: ['90-41=49', '54+49=103']
Exploring Operation: 103-19=84, Resulting Numbers: [84]
84,96 unequal: No Solution
Exploring Operation: 19+103=122, Resulting Numbers: [122]
122,96 unequal: No Solution
Exploring Operation: 19*103=1957, Resulting Numbers: [1957]
1957,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 96:[90, 19, 13], Operations: ['54-41=13']
Exploring Operation: 19-13=6, Resulting Numbers: [90, 6]
Generated Node #0,2,0: 96:[90, 6] Operation: 19-13=6
Exploring Operation: 19+13=32, Resulting Numbers: [90, 32]
Generated Node #0,2,1: 96:[90, 32] Operation: 19+13=32
Exploring Operation: 90+19=109, Resulting Numbers: [13, 109]
Generated Node #0,2,2: 96:[13, 109] Operation: 90+19=109
Exploring Operation: 90+13=103, Resulting Numbers: [19, 103]
Generated Node #0,2,3: 96:[19, 103] Operation: 90+13=103
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 96:[90, 6], Operations: ['54-41=13', '19-13=6']
Exploring Operation: 90-6=84, Resulting Numbers: [84]
84,96 unequal: No Solution
Exploring Operation: 90/6=15, Resulting Numbers: [15]
15,96 unequal: No Solution
Exploring Operation: 90+6=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[41, 54, 90, 19], Operations: []
Exploring Operation: 54-41=13, Resulting Numbers: [90, 19, 13]
Generated Node #0,2: 96:[90, 19, 13] Operation: 54-41=13
Moving to Node #0,2
Current State: 96:[90, 19, 13], Operations: ['54-41=13']
Exploring Operation: 19-13=6, Resulting Numbers: [90, 6]
Generated Node #0,2,0: 96:[90, 6] Operation: 19-13=6
Moving to Node #0,2,0
Current State: 96:[90, 6], Operations: ['54-41=13', '19-13=6']
Exploring Operation: 90+6=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.97309 | hs_4 | sum_heuristic |
[
44,
52,
45,
72
] | 54 | [
"52-44=8",
"72/8=9",
"45+9=54"
] | Current State: 54:[44, 52, 45, 72], Operations: []
Exploring Operation: 52-44=8, Resulting Numbers: [45, 72, 8]
Generated Node #2: [45, 72, 8] from Operation: 52-44=8
Current State: 54:[45, 72, 8], Operations: ['52-44=8']
Exploring Operation: 72/8=9, Resulting Numbers: [45, 9]
Generated Node #3: [45, 9] from Operation: 72/8=9
Current State: 54:[45, 9], Operations: ['52-44=8', '72/8=9']
Exploring Operation: 45+9=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[44, 52, 45, 72], Operations: []
Exploring Operation: 72-52=20, Resulting Numbers: [44, 45, 20]
Generated Node #0,0: 54:[44, 45, 20] Operation: 72-52=20
Exploring Operation: 72-45=27, Resulting Numbers: [44, 52, 27]
Generated Node #0,1: 54:[44, 52, 27] Operation: 72-45=27
Exploring Operation: 72-44=28, Resulting Numbers: [52, 45, 28]
Generated Node #0,2: 54:[52, 45, 28] Operation: 72-44=28
Exploring Operation: 45-44=1, Resulting Numbers: [52, 72, 1]
Generated Node #0,3: 54:[52, 72, 1] Operation: 45-44=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 54:[44, 52, 27], Operations: ['72-45=27']
Exploring Operation: 52-27=25, Resulting Numbers: [44, 25]
Generated Node #0,1,0: 54:[44, 25] Operation: 52-27=25
Exploring Operation: 44-27=17, Resulting Numbers: [52, 17]
Generated Node #0,1,1: 54:[52, 17] Operation: 44-27=17
Exploring Operation: 52-44=8, Resulting Numbers: [27, 8]
Generated Node #0,1,2: 54:[27, 8] Operation: 52-44=8
Exploring Operation: 44+27=71, Resulting Numbers: [52, 71]
Generated Node #0,1,3: 54:[52, 71] Operation: 44+27=71
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 54:[27, 8], Operations: ['72-45=27', '52-44=8']
Exploring Operation: 27*8=216, Resulting Numbers: [216]
216,54 unequal: No Solution
Exploring Operation: 27+8=35, Resulting Numbers: [35]
35,54 unequal: No Solution
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 54:[52, 17], Operations: ['72-45=27', '44-27=17']
Exploring Operation: 52*17=884, Resulting Numbers: [884]
884,54 unequal: No Solution
Exploring Operation: 52-17=35, Resulting Numbers: [35]
35,54 unequal: No Solution
Exploring Operation: 52+17=69, Resulting Numbers: [69]
69,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:[44, 25], Operations: ['72-45=27', '52-27=25']
Exploring Operation: 44+25=69, Resulting Numbers: [69]
69,54 unequal: No Solution
Exploring Operation: 44*25=1100, Resulting Numbers: [1100]
1100,54 unequal: No Solution
Exploring Operation: 44-25=19, Resulting Numbers: [19]
19,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:[52, 71], Operations: ['72-45=27', '44+27=71']
Exploring Operation: 52*71=3692, Resulting Numbers: [3692]
3692,54 unequal: No Solution
Exploring Operation: 52+71=123, Resulting Numbers: [123]
123,54 unequal: No Solution
Exploring Operation: 71-52=19, Resulting Numbers: [19]
19,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,2
Current State: 54:[52, 45, 28], Operations: ['72-44=28']
Exploring Operation: 45-28=17, Resulting Numbers: [52, 17]
Generated Node #0,2,0: 54:[52, 17] Operation: 45-28=17
Exploring Operation: 52-28=24, Resulting Numbers: [45, 24]
Generated Node #0,2,1: 54:[45, 24] Operation: 52-28=24
Exploring Operation: 45+28=73, Resulting Numbers: [52, 73]
Generated Node #0,2,2: 54:[52, 73] Operation: 45+28=73
Exploring Operation: 52-45=7, Resulting Numbers: [28, 7]
Generated Node #0,2,3: 54:[28, 7] Operation: 52-45=7
Moving to Node #0,2,3
Current State: 54:[28, 7], Operations: ['72-44=28', '52-45=7']
Exploring Operation: 28+7=35, Resulting Numbers: [35]
35,54 unequal: No Solution
Exploring Operation: 28*7=196, Resulting Numbers: [196]
196,54 unequal: No Solution
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,54 unequal: No Solution
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,54 unequal: No Solution
Moving to Node #0,2,0
Current State: 54:[52, 17], Operations: ['72-44=28', '45-28=17']
Exploring Operation: 52+17=69, Resulting Numbers: [69]
69,54 unequal: No Solution
Exploring Operation: 52*17=884, Resulting Numbers: [884]
884,54 unequal: No Solution
Exploring Operation: 52-17=35, Resulting Numbers: [35]
35,54 unequal: No Solution
Moving to Node #0,2,1
Current State: 54:[45, 24], Operations: ['72-44=28', '52-28=24']
Exploring Operation: 45-24=21, Resulting Numbers: [21]
21,54 unequal: No Solution
Exploring Operation: 45+24=69, Resulting Numbers: [69]
69,54 unequal: No Solution
Exploring Operation: 45*24=1080, Resulting Numbers: [1080]
1080,54 unequal: No Solution
Moving to Node #0,2,2
Current State: 54:[52, 73], Operations: ['72-44=28', '45+28=73']
Exploring Operation: 52*73=3796, Resulting Numbers: [3796]
3796,54 unequal: No Solution
Exploring Operation: 73-52=21, Resulting Numbers: [21]
21,54 unequal: No Solution
Exploring Operation: 52+73=125, Resulting Numbers: [125]
125,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,0
Current State: 54:[44, 45, 20], Operations: ['72-52=20']
Exploring Operation: 44-20=24, Resulting Numbers: [45, 24]
Generated Node #0,0,0: 54:[45, 24] Operation: 44-20=24
Exploring Operation: 45-20=25, Resulting Numbers: [44, 25]
Generated Node #0,0,1: 54:[44, 25] Operation: 45-20=25
Exploring Operation: 45-44=1, Resulting Numbers: [20, 1]
Generated Node #0,0,2: 54:[20, 1] Operation: 45-44=1
Exploring Operation: 44+20=64, Resulting Numbers: [45, 64]
Generated Node #0,0,3: 54:[45, 64] Operation: 44+20=64
Moving to Node #0,0,2
Current State: 54:[20, 1], Operations: ['72-52=20', '45-44=1']
Exploring Operation: 20*1=20, Resulting Numbers: [20]
20,54 unequal: No Solution
Exploring Operation: 20+1=21, Resulting Numbers: [21]
21,54 unequal: No Solution
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,54 unequal: No Solution
Exploring Operation: 20/1=20, Resulting Numbers: [20]
20,54 unequal: No Solution
Moving to Node #0,0,1
Current State: 54:[44, 25], Operations: ['72-52=20', '45-20=25']
Exploring Operation: 44-25=19, Resulting Numbers: [19]
19,54 unequal: No Solution
Exploring Operation: 44+25=69, Resulting Numbers: [69]
69,54 unequal: No Solution
Exploring Operation: 44*25=1100, Resulting Numbers: [1100]
1100,54 unequal: No Solution
Moving to Node #0,0,0
Current State: 54:[45, 24], Operations: ['72-52=20', '44-20=24']
Exploring Operation: 45*24=1080, Resulting Numbers: [1080]
1080,54 unequal: No Solution
Exploring Operation: 45-24=21, Resulting Numbers: [21]
21,54 unequal: No Solution
Exploring Operation: 45+24=69, Resulting Numbers: [69]
69,54 unequal: No Solution
Moving to Node #0,0,3
Current State: 54:[45, 64], Operations: ['72-52=20', '44+20=64']
Exploring Operation: 64-45=19, Resulting Numbers: [19]
19,54 unequal: No Solution
Exploring Operation: 45+64=109, Resulting Numbers: [109]
109,54 unequal: No Solution
Exploring Operation: 45*64=2880, Resulting Numbers: [2880]
2880,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
Current State: 54:[52, 72, 1], Operations: ['45-44=1']
Exploring Operation: 52*1=52, Resulting Numbers: [72, 52]
Generated Node #0,3,0: 54:[72, 52] Operation: 52*1=52
Exploring Operation: 52+1=53, Resulting Numbers: [72, 53]
Generated Node #0,3,1: 54:[72, 53] Operation: 52+1=53
Exploring Operation: 72-52=20, Resulting Numbers: [1, 20]
Generated Node #0,3,2: 54:[1, 20] Operation: 72-52=20
Exploring Operation: 72-1=71, Resulting Numbers: [52, 71]
Generated Node #0,3,3: 54:[52, 71] Operation: 72-1=71
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 54:[1, 20], Operations: ['45-44=1', '72-52=20']
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,54 unequal: No Solution
Exploring Operation: 1+20=21, Resulting Numbers: [21]
21,54 unequal: No Solution
Exploring Operation: 1*20=20, Resulting Numbers: [20]
20,54 unequal: No Solution
Exploring Operation: 20/1=20, Resulting Numbers: [20]
20,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,3,1
Current State: 54:[72, 53], Operations: ['45-44=1', '52+1=53']
Exploring Operation: 72-53=19, Resulting Numbers: [19]
19,54 unequal: No Solution
Exploring Operation: 72+53=125, Resulting Numbers: [125]
125,54 unequal: No Solution
Exploring Operation: 72*53=3816, Resulting Numbers: [3816]
3816,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,3,3
Current State: 54:[52, 71], Operations: ['45-44=1', '72-1=71']
Exploring Operation: 52+71=123, Resulting Numbers: [123]
123,54 unequal: No Solution
Exploring Operation: 52*71=3692, Resulting Numbers: [3692]
3692,54 unequal: No Solution
Exploring Operation: 71-52=19, Resulting Numbers: [19]
19,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,3,0
Current State: 54:[72, 52], Operations: ['45-44=1', '52*1=52']
Exploring Operation: 72*52=3744, Resulting Numbers: [3744]
3744,54 unequal: No Solution
Exploring Operation: 72-52=20, Resulting Numbers: [20]
20,54 unequal: No Solution
Exploring Operation: 72+52=124, Resulting Numbers: [124]
124,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
No solution found.
| 0 | hs_4 | sum_heuristic |
[
7,
87,
10,
75
] | 82 | [
"7*10=70",
"87-75=12",
"70+12=82"
] | Current State: 82:[7, 87, 10, 75], Operations: []
Exploring Operation: 7*10=70, Resulting Numbers: [87, 75, 70]
Generated Node #2: [87, 75, 70] from Operation: 7*10=70
Current State: 82:[87, 75, 70], Operations: ['7*10=70']
Exploring Operation: 87-75=12, Resulting Numbers: [70, 12]
Generated Node #3: [70, 12] from Operation: 87-75=12
Current State: 82:[70, 12], Operations: ['7*10=70', '87-75=12']
Exploring Operation: 70+12=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[7, 87, 10, 75], Operations: []
Exploring Operation: 7+75=82, Resulting Numbers: [87, 10, 82]
Generated Node #0,0: 82:[87, 10, 82] Operation: 7+75=82
Exploring Operation: 10-7=3, Resulting Numbers: [87, 75, 3]
Generated Node #0,1: 82:[87, 75, 3] Operation: 10-7=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[87, 10, 82], Operations: ['7+75=82']
Exploring Operation: 87-82=5, Resulting Numbers: [10, 5]
Generated Node #0,0,0: 82:[10, 5] Operation: 87-82=5
Exploring Operation: 87-10=77, Resulting Numbers: [82, 77]
Generated Node #0,0,1: 82:[82, 77] Operation: 87-10=77
Moving to Node #0,0,1
Current State: 82:[82, 77], Operations: ['7+75=82', '87-10=77']
Exploring Operation: 82+77=159, Resulting Numbers: [159]
159,82 unequal: No Solution
Exploring Operation: 82-77=5, Resulting Numbers: [5]
5,82 unequal: No Solution
Moving to Node #0,0,0
Current State: 82:[10, 5], Operations: ['7+75=82', '87-82=5']
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,82 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[87, 75, 3], Operations: ['10-7=3']
Exploring Operation: 75+3=78, Resulting Numbers: [87, 78]
Generated Node #0,1,0: 82:[87, 78] Operation: 75+3=78
Exploring Operation: 87-3=84, Resulting Numbers: [75, 84]
Generated Node #0,1,1: 82:[75, 84] Operation: 87-3=84
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 82:[87, 78], Operations: ['10-7=3', '75+3=78']
Exploring Operation: 87+78=165, Resulting Numbers: [165]
165,82 unequal: No Solution
Exploring Operation: 87-78=9, Resulting Numbers: [9]
9,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 82:[75, 84], Operations: ['10-7=3', '87-3=84']
Exploring Operation: 84-75=9, Resulting Numbers: [9]
9,82 unequal: No Solution
Exploring Operation: 75+84=159, Resulting Numbers: [159]
159,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
92,
40,
23,
88
] | 44 | [
"92/23=4",
"88-40=48",
"48-4=44"
] | Current State: 44:[92, 40, 23, 88], Operations: []
Exploring Operation: 92/23=4, Resulting Numbers: [40, 88, 4]
Generated Node #2: [40, 88, 4] from Operation: 92/23=4
Current State: 44:[40, 88, 4], Operations: ['92/23=4']
Exploring Operation: 88-40=48, Resulting Numbers: [4, 48]
Generated Node #3: [4, 48] from Operation: 88-40=48
Current State: 44:[4, 48], Operations: ['92/23=4', '88-40=48']
Exploring Operation: 48-4=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[92, 40, 23, 88], Operations: []
Exploring Operation: 92/23=4, Resulting Numbers: [40, 88, 4]
Generated Node #0,0: 44:[40, 88, 4] Operation: 92/23=4
Exploring Operation: 92-40=52, Resulting Numbers: [23, 88, 52]
Generated Node #0,1: 44:[23, 88, 52] Operation: 92-40=52
Exploring Operation: 92-88=4, Resulting Numbers: [40, 23, 4]
Generated Node #0,2: 44:[40, 23, 4] Operation: 92-88=4
Start Sub Search at level 1: Moving to Node #0,2
Current State: 44:[40, 23, 4], Operations: ['92-88=4']
Exploring Operation: 40/4=10, Resulting Numbers: [23, 10]
Generated Node #0,2,0: 44:[23, 10] Operation: 40/4=10
Exploring Operation: 40+4=44, Resulting Numbers: [23, 44]
Generated Node #0,2,1: 44:[23, 44] Operation: 40+4=44
Exploring Operation: 40-23=17, Resulting Numbers: [4, 17]
Generated Node #0,2,2: 44:[4, 17] Operation: 40-23=17
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 44:[23, 44], Operations: ['92-88=4', '40+4=44']
Exploring Operation: 44-23=21, Resulting Numbers: [21]
21,44 unequal: No Solution
Exploring Operation: 23*44=1012, Resulting Numbers: [1012]
1012,44 unequal: No Solution
Exploring Operation: 23+44=67, Resulting Numbers: [67]
67,44 unequal: No Solution
No 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: 44:[23, 10], Operations: ['92-88=4', '40/4=10']
Exploring Operation: 23+10=33, Resulting Numbers: [33]
33,44 unequal: No Solution
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,44 unequal: No Solution
Exploring Operation: 23*10=230, Resulting Numbers: [230]
230,44 unequal: No Solution
No 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: 44:[4, 17], Operations: ['92-88=4', '40-23=17']
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,44 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,44 unequal: No Solution
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,44 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: 44:[40, 88, 4], Operations: ['92/23=4']
Exploring Operation: 88/4=22, Resulting Numbers: [40, 22]
Generated Node #0,0,0: 44:[40, 22] Operation: 88/4=22
Exploring Operation: 40+4=44, Resulting Numbers: [88, 44]
Generated Node #0,0,1: 44:[88, 44] Operation: 40+4=44
Exploring Operation: 88-40=48, Resulting Numbers: [4, 48]
Generated Node #0,0,2: 44:[4, 48] Operation: 88-40=48
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 44:[40, 22], Operations: ['92/23=4', '88/4=22']
Exploring Operation: 40+22=62, Resulting Numbers: [62]
62,44 unequal: No Solution
Exploring Operation: 40-22=18, Resulting Numbers: [18]
18,44 unequal: No Solution
Exploring Operation: 40*22=880, Resulting Numbers: [880]
880,44 unequal: No Solution
No 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: 44:[4, 48], Operations: ['92/23=4', '88-40=48']
Exploring Operation: 48/4=12, Resulting Numbers: [12]
12,44 unequal: No Solution
Exploring Operation: 48-4=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[92, 40, 23, 88], Operations: []
Exploring Operation: 92/23=4, Resulting Numbers: [40, 88, 4]
Generated Node #0,0: 44:[40, 88, 4] Operation: 92/23=4
Moving to Node #0,0
Current State: 44:[40, 88, 4], Operations: ['92/23=4']
Exploring Operation: 88-40=48, Resulting Numbers: [4, 48]
Generated Node #0,0,2: 44:[4, 48] Operation: 88-40=48
Moving to Node #0,0,2
Current State: 44:[4, 48], Operations: ['92/23=4', '88-40=48']
Exploring Operation: 48-4=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.976563 | hs_3 | mult_heuristic |
[
98,
92,
85,
2
] | 88 | [
"98-92=6",
"6/2=3",
"85+3=88"
] | Current State: 88:[98, 92, 85, 2], Operations: []
Exploring Operation: 98-92=6, Resulting Numbers: [85, 2, 6]
Generated Node #2: [85, 2, 6] from Operation: 98-92=6
Current State: 88:[85, 2, 6], Operations: ['98-92=6']
Exploring Operation: 6/2=3, Resulting Numbers: [85, 3]
Generated Node #3: [85, 3] from Operation: 6/2=3
Current State: 88:[85, 3], Operations: ['98-92=6', '6/2=3']
Exploring Operation: 85+3=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[98, 92, 85, 2], Operations: []
Exploring Operation: 98-92=6, Resulting Numbers: [85, 2, 6]
Generated Node #0,0: 88:[85, 2, 6] Operation: 98-92=6
Exploring Operation: 98-85=13, Resulting Numbers: [92, 2, 13]
Generated Node #0,1: 88:[92, 2, 13] Operation: 98-85=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[85, 2, 6], Operations: ['98-92=6']
Exploring Operation: 85+6=91, Resulting Numbers: [2, 91]
Generated Node #0,0,0: 88:[2, 91] Operation: 85+6=91
Exploring Operation: 85+2=87, Resulting Numbers: [6, 87]
Generated Node #0,0,1: 88:[6, 87] Operation: 85+2=87
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 88:[2, 91], Operations: ['98-92=6', '85+6=91']
Exploring Operation: 2+91=93, Resulting Numbers: [93]
93,88 unequal: No Solution
Exploring Operation: 91-2=89, Resulting Numbers: [89]
89,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:[6, 87], Operations: ['98-92=6', '85+2=87']
Exploring Operation: 87-6=81, Resulting Numbers: [81]
81,88 unequal: No Solution
Exploring Operation: 6+87=93, Resulting Numbers: [93]
93,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,1
Current State: 88:[92, 2, 13], Operations: ['98-85=13']
Exploring Operation: 92-2=90, Resulting Numbers: [13, 90]
Generated Node #0,1,0: 88:[13, 90] Operation: 92-2=90
Exploring Operation: 92/2=46, Resulting Numbers: [13, 46]
Generated Node #0,1,1: 88:[13, 46] Operation: 92/2=46
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 88:[13, 90], Operations: ['98-85=13', '92-2=90']
Exploring Operation: 13+90=103, Resulting Numbers: [103]
103,88 unequal: No Solution
Exploring Operation: 90-13=77, Resulting Numbers: [77]
77,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,1,1
Current State: 88:[13, 46], Operations: ['98-85=13', '92/2=46']
Exploring Operation: 46-13=33, Resulting Numbers: [33]
33,88 unequal: No Solution
Exploring Operation: 13+46=59, Resulting Numbers: [59]
59,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
No solution found.
| 0 | hs_2 | sum_heuristic |
[
15,
21,
97,
23
] | 38 | [
"15+21=36",
"97-23=74",
"74-36=38"
] | Current State: 38:[15, 21, 97, 23], Operations: []
Exploring Operation: 15+21=36, Resulting Numbers: [97, 23, 36]
Generated Node #2: [97, 23, 36] from Operation: 15+21=36
Current State: 38:[97, 23, 36], Operations: ['15+21=36']
Exploring Operation: 97-23=74, Resulting Numbers: [36, 74]
Generated Node #3: [36, 74] from Operation: 97-23=74
Current State: 38:[36, 74], Operations: ['15+21=36', '97-23=74']
Exploring Operation: 74-36=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[15, 21, 97, 23], Operations: []
Exploring Operation: 97-23=74, Resulting Numbers: [15, 21, 74]
Generated Node #0,0: 38:[15, 21, 74] Operation: 97-23=74
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[15, 21, 74], Operations: ['97-23=74']
Exploring Operation: 74-21=53, Resulting Numbers: [15, 53]
Generated Node #0,0,0: 38:[15, 53] Operation: 74-21=53
Moving to Node #0,0,0
Current State: 38:[15, 53], Operations: ['97-23=74', '74-21=53']
Exploring Operation: 53-15=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[15, 21, 97, 23], Operations: []
Exploring Operation: 97-23=74, Resulting Numbers: [15, 21, 74]
Generated Node #0,0: 38:[15, 21, 74] Operation: 97-23=74
Moving to Node #0,0
Current State: 38:[15, 21, 74], Operations: ['97-23=74']
Exploring Operation: 74-21=53, Resulting Numbers: [15, 53]
Generated Node #0,0,0: 38:[15, 53] Operation: 74-21=53
Moving to Node #0,0,0
Current State: 38:[15, 53], Operations: ['97-23=74', '74-21=53']
Exploring Operation: 53-15=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
89,
86,
2,
52
] | 53 | [
"89-86=3",
"52-2=50",
"3+50=53"
] | Current State: 53:[89, 86, 2, 52], Operations: []
Exploring Operation: 89-86=3, Resulting Numbers: [2, 52, 3]
Generated Node #2: [2, 52, 3] from Operation: 89-86=3
Current State: 53:[2, 52, 3], Operations: ['89-86=3']
Exploring Operation: 52-2=50, Resulting Numbers: [3, 50]
Generated Node #3: [3, 50] from Operation: 52-2=50
Current State: 53:[3, 50], Operations: ['89-86=3', '52-2=50']
Exploring Operation: 3+50=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[89, 86, 2, 52], Operations: []
Exploring Operation: 89-2=87, Resulting Numbers: [86, 52, 87]
Generated Node #0,0: 53:[86, 52, 87] Operation: 89-2=87
Exploring Operation: 86/2=43, Resulting Numbers: [89, 52, 43]
Generated Node #0,1: 53:[89, 52, 43] Operation: 86/2=43
Exploring Operation: 86-2=84, Resulting Numbers: [89, 52, 84]
Generated Node #0,2: 53:[89, 52, 84] Operation: 86-2=84
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[89, 52, 43], Operations: ['86/2=43']
Exploring Operation: 89-43=46, Resulting Numbers: [52, 46]
Generated Node #0,1,0: 53:[52, 46] Operation: 89-43=46
Exploring Operation: 52+43=95, Resulting Numbers: [89, 95]
Generated Node #0,1,1: 53:[89, 95] Operation: 52+43=95
Exploring Operation: 89-52=37, Resulting Numbers: [43, 37]
Generated Node #0,1,2: 53:[43, 37] Operation: 89-52=37
Moving to Node #0,1,0
Current State: 53:[52, 46], Operations: ['86/2=43', '89-43=46']
Exploring Operation: 52+46=98, Resulting Numbers: [98]
98,53 unequal: No Solution
Exploring Operation: 52*46=2392, Resulting Numbers: [2392]
2392,53 unequal: No Solution
Exploring Operation: 52-46=6, Resulting Numbers: [6]
6,53 unequal: No Solution
Moving to Node #0,1,2
Current State: 53:[43, 37], Operations: ['86/2=43', '89-52=37']
Exploring Operation: 43-37=6, Resulting Numbers: [6]
6,53 unequal: No Solution
Exploring Operation: 43+37=80, Resulting Numbers: [80]
80,53 unequal: No Solution
Exploring Operation: 43*37=1591, Resulting Numbers: [1591]
1591,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[89, 95], Operations: ['86/2=43', '52+43=95']
Exploring Operation: 89*95=8455, Resulting Numbers: [8455]
8455,53 unequal: No Solution
Exploring Operation: 95-89=6, Resulting Numbers: [6]
6,53 unequal: No Solution
Exploring Operation: 89+95=184, Resulting Numbers: [184]
184,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[86, 52, 87], Operations: ['89-2=87']
Exploring Operation: 86-52=34, Resulting Numbers: [87, 34]
Generated Node #0,0,0: 53:[87, 34] Operation: 86-52=34
Exploring Operation: 87-86=1, Resulting Numbers: [52, 1]
Generated Node #0,0,1: 53:[52, 1] Operation: 87-86=1
Exploring Operation: 87-52=35, Resulting Numbers: [86, 35]
Generated Node #0,0,2: 53:[86, 35] Operation: 87-52=35
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 53:[86, 35], Operations: ['89-2=87', '87-52=35']
Exploring Operation: 86-35=51, Resulting Numbers: [51]
51,53 unequal: No Solution
Exploring Operation: 86*35=3010, Resulting Numbers: [3010]
3010,53 unequal: No Solution
Exploring Operation: 86+35=121, Resulting Numbers: [121]
121,53 unequal: No Solution
No 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: 53:[87, 34], Operations: ['89-2=87', '86-52=34']
Exploring Operation: 87-34=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[89, 86, 2, 52], Operations: []
Exploring Operation: 89-2=87, Resulting Numbers: [86, 52, 87]
Generated Node #0,0: 53:[86, 52, 87] Operation: 89-2=87
Moving to Node #0,0
Current State: 53:[86, 52, 87], Operations: ['89-2=87']
Exploring Operation: 86-52=34, Resulting Numbers: [87, 34]
Generated Node #0,0,0: 53:[87, 34] Operation: 86-52=34
Moving to Node #0,0,0
Current State: 53:[87, 34], Operations: ['89-2=87', '86-52=34']
Exploring Operation: 87-34=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.977431 | hs_3 | sum_heuristic |
[
16,
50,
67,
94
] | 58 | [
"50+94=144",
"144/16=9",
"67-9=58"
] | Current State: 58:[16, 50, 67, 94], Operations: []
Exploring Operation: 50+94=144, Resulting Numbers: [16, 67, 144]
Generated Node #2: [16, 67, 144] from Operation: 50+94=144
Current State: 58:[16, 67, 144], Operations: ['50+94=144']
Exploring Operation: 144/16=9, Resulting Numbers: [67, 9]
Generated Node #3: [67, 9] from Operation: 144/16=9
Current State: 58:[67, 9], Operations: ['50+94=144', '144/16=9']
Exploring Operation: 67-9=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[16, 50, 67, 94], Operations: []
Exploring Operation: 67-16=51, Resulting Numbers: [50, 94, 51]
Generated Node #0,0: 58:[50, 94, 51] Operation: 67-16=51
Exploring Operation: 94-16=78, Resulting Numbers: [50, 67, 78]
Generated Node #0,1: 58:[50, 67, 78] Operation: 94-16=78
Exploring Operation: 94-67=27, Resulting Numbers: [16, 50, 27]
Generated Node #0,2: 58:[16, 50, 27] Operation: 94-67=27
Exploring Operation: 50-16=34, Resulting Numbers: [67, 94, 34]
Generated Node #0,3: 58:[67, 94, 34] Operation: 50-16=34
Exploring Operation: 94-50=44, Resulting Numbers: [16, 67, 44]
Generated Node #0,4: 58:[16, 67, 44] Operation: 94-50=44
Moving to Node #0,2
Current State: 58:[16, 50, 27], Operations: ['94-67=27']
Exploring Operation: 50-27=23, Resulting Numbers: [16, 23]
Generated Node #0,2,0: 58:[16, 23] Operation: 50-27=23
Exploring Operation: 50-16=34, Resulting Numbers: [27, 34]
Generated Node #0,2,1: 58:[27, 34] Operation: 50-16=34
Exploring Operation: 27-16=11, Resulting Numbers: [50, 11]
Generated Node #0,2,2: 58:[50, 11] Operation: 27-16=11
Exploring Operation: 16+50=66, Resulting Numbers: [27, 66]
Generated Node #0,2,3: 58:[27, 66] Operation: 16+50=66
Exploring Operation: 16+27=43, Resulting Numbers: [50, 43]
Generated Node #0,2,4: 58:[50, 43] Operation: 16+27=43
Moving to Node #0,4
Current State: 58:[16, 67, 44], Operations: ['94-50=44']
Exploring Operation: 44-16=28, Resulting Numbers: [67, 28]
Generated Node #0,4,0: 58:[67, 28] Operation: 44-16=28
Exploring Operation: 16+67=83, Resulting Numbers: [44, 83]
Generated Node #0,4,1: 58:[44, 83] Operation: 16+67=83
Exploring Operation: 67-44=23, Resulting Numbers: [16, 23]
Generated Node #0,4,2: 58:[16, 23] Operation: 67-44=23
Exploring Operation: 67-16=51, Resulting Numbers: [44, 51]
Generated Node #0,4,3: 58:[44, 51] Operation: 67-16=51
Exploring Operation: 16+44=60, Resulting Numbers: [67, 60]
Generated Node #0,4,4: 58:[67, 60] Operation: 16+44=60
Moving to Node #0,1
Current State: 58:[50, 67, 78], Operations: ['94-16=78']
Exploring Operation: 78-67=11, Resulting Numbers: [50, 11]
Generated Node #0,1,0: 58:[50, 11] Operation: 78-67=11
Exploring Operation: 78-50=28, Resulting Numbers: [67, 28]
Generated Node #0,1,1: 58:[67, 28] Operation: 78-50=28
Exploring Operation: 50+78=128, Resulting Numbers: [67, 128]
Generated Node #0,1,2: 58:[67, 128] Operation: 50+78=128
Exploring Operation: 67-50=17, Resulting Numbers: [78, 17]
Generated Node #0,1,3: 58:[78, 17] Operation: 67-50=17
Exploring Operation: 50+67=117, Resulting Numbers: [78, 117]
Generated Node #0,1,4: 58:[78, 117] Operation: 50+67=117
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 58:[67, 28], Operations: ['94-16=78', '78-50=28']
Exploring Operation: 67-28=39, Resulting Numbers: [39]
39,58 unequal: No Solution
Exploring Operation: 67+28=95, Resulting Numbers: [95]
95,58 unequal: No Solution
Exploring Operation: 67*28=1876, Resulting Numbers: [1876]
1876,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 58:[50, 11], Operations: ['94-16=78', '78-67=11']
Exploring Operation: 50+11=61, Resulting Numbers: [61]
61,58 unequal: No Solution
Exploring Operation: 50*11=550, Resulting Numbers: [550]
550,58 unequal: No Solution
Exploring Operation: 50-11=39, Resulting Numbers: [39]
39,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 58:[78, 17], Operations: ['94-16=78', '67-50=17']
Exploring Operation: 78-17=61, Resulting Numbers: [61]
61,58 unequal: No Solution
Exploring Operation: 78*17=1326, Resulting Numbers: [1326]
1326,58 unequal: No Solution
Exploring Operation: 78+17=95, Resulting Numbers: [95]
95,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 58:[67, 128], Operations: ['94-16=78', '50+78=128']
Exploring Operation: 67+128=195, Resulting Numbers: [195]
195,58 unequal: No Solution
Exploring Operation: 128-67=61, Resulting Numbers: [61]
61,58 unequal: No Solution
Exploring Operation: 67*128=8576, Resulting Numbers: [8576]
8576,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 58:[78, 117], Operations: ['94-16=78', '50+67=117']
Exploring Operation: 117-78=39, Resulting Numbers: [39]
39,58 unequal: No Solution
Exploring Operation: 78+117=195, Resulting Numbers: [195]
195,58 unequal: No Solution
Exploring Operation: 78*117=9126, Resulting Numbers: [9126]
9126,58 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: 58:[67, 94, 34], Operations: ['50-16=34']
Exploring Operation: 94-34=60, Resulting Numbers: [67, 60]
Generated Node #0,3,0: 58:[67, 60] Operation: 94-34=60
Exploring Operation: 94+34=128, Resulting Numbers: [67, 128]
Generated Node #0,3,1: 58:[67, 128] Operation: 94+34=128
Exploring Operation: 94-67=27, Resulting Numbers: [34, 27]
Generated Node #0,3,2: 58:[34, 27] Operation: 94-67=27
Exploring Operation: 67+34=101, Resulting Numbers: [94, 101]
Generated Node #0,3,3: 58:[94, 101] Operation: 67+34=101
Exploring Operation: 67-34=33, Resulting Numbers: [94, 33]
Generated Node #0,3,4: 58:[94, 33] Operation: 67-34=33
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 58:[34, 27], Operations: ['50-16=34', '94-67=27']
Exploring Operation: 34*27=918, Resulting Numbers: [918]
918,58 unequal: No Solution
Exploring Operation: 34-27=7, Resulting Numbers: [7]
7,58 unequal: No Solution
Exploring Operation: 34+27=61, Resulting Numbers: [61]
61,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,0
Current State: 58:[67, 60], Operations: ['50-16=34', '94-34=60']
Exploring Operation: 67-60=7, Resulting Numbers: [7]
7,58 unequal: No Solution
Exploring Operation: 67+60=127, Resulting Numbers: [127]
127,58 unequal: No Solution
Exploring Operation: 67*60=4020, Resulting Numbers: [4020]
4020,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,4
Current State: 58:[94, 33], Operations: ['50-16=34', '67-34=33']
Exploring Operation: 94-33=61, Resulting Numbers: [61]
61,58 unequal: No Solution
Exploring Operation: 94+33=127, Resulting Numbers: [127]
127,58 unequal: No Solution
Exploring Operation: 94*33=3102, Resulting Numbers: [3102]
3102,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,1
Current State: 58:[67, 128], Operations: ['50-16=34', '94+34=128']
Exploring Operation: 67*128=8576, Resulting Numbers: [8576]
8576,58 unequal: No Solution
Exploring Operation: 128-67=61, Resulting Numbers: [61]
61,58 unequal: No Solution
Exploring Operation: 67+128=195, Resulting Numbers: [195]
195,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,3
Current State: 58:[94, 101], Operations: ['50-16=34', '67+34=101']
Exploring Operation: 94*101=9494, Resulting Numbers: [9494]
9494,58 unequal: No Solution
Exploring Operation: 101-94=7, Resulting Numbers: [7]
7,58 unequal: No Solution
Exploring Operation: 94+101=195, Resulting Numbers: [195]
195,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 58:[50, 94, 51], Operations: ['67-16=51']
Exploring Operation: 51-50=1, Resulting Numbers: [94, 1]
Generated Node #0,0,0: 58:[94, 1] Operation: 51-50=1
Exploring Operation: 50+51=101, Resulting Numbers: [94, 101]
Generated Node #0,0,1: 58:[94, 101] Operation: 50+51=101
Exploring Operation: 94-50=44, Resulting Numbers: [51, 44]
Generated Node #0,0,2: 58:[51, 44] Operation: 94-50=44
Exploring Operation: 94-51=43, Resulting Numbers: [50, 43]
Generated Node #0,0,3: 58:[50, 43] Operation: 94-51=43
Exploring Operation: 50+94=144, Resulting Numbers: [51, 144]
Generated Node #0,0,4: 58:[51, 144] Operation: 50+94=144
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 58:[51, 44], Operations: ['67-16=51', '94-50=44']
Exploring Operation: 51+44=95, Resulting Numbers: [95]
95,58 unequal: No Solution
Exploring Operation: 51*44=2244, Resulting Numbers: [2244]
2244,58 unequal: No Solution
Exploring Operation: 51-44=7, Resulting Numbers: [7]
7,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,3
Current State: 58:[50, 43], Operations: ['67-16=51', '94-51=43']
Exploring Operation: 50*43=2150, Resulting Numbers: [2150]
2150,58 unequal: No Solution
Exploring Operation: 50-43=7, Resulting Numbers: [7]
7,58 unequal: No Solution
Exploring Operation: 50+43=93, Resulting Numbers: [93]
93,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,0
Current State: 58:[94, 1], Operations: ['67-16=51', '51-50=1']
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,58 unequal: No Solution
Exploring Operation: 94*1=94, Resulting Numbers: [94]
94,58 unequal: No Solution
Exploring Operation: 94/1=94, Resulting Numbers: [94]
94,58 unequal: No Solution
Exploring Operation: 94+1=95, Resulting Numbers: [95]
95,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,1
Current State: 58:[94, 101], Operations: ['67-16=51', '50+51=101']
Exploring Operation: 94*101=9494, Resulting Numbers: [9494]
9494,58 unequal: No Solution
Exploring Operation: 94+101=195, Resulting Numbers: [195]
195,58 unequal: No Solution
Exploring Operation: 101-94=7, Resulting Numbers: [7]
7,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,4
Current State: 58:[51, 144], Operations: ['67-16=51', '50+94=144']
Exploring Operation: 144-51=93, Resulting Numbers: [93]
93,58 unequal: No Solution
Exploring Operation: 51*144=7344, Resulting Numbers: [7344]
7344,58 unequal: No Solution
Exploring Operation: 51+144=195, Resulting Numbers: [195]
195,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 58:[27, 34], Operations: ['94-67=27', '50-16=34']
Exploring Operation: 34-27=7, Resulting Numbers: [7]
7,58 unequal: No Solution
Exploring Operation: 27*34=918, Resulting Numbers: [918]
918,58 unequal: No Solution
Exploring Operation: 27+34=61, Resulting Numbers: [61]
61,58 unequal: No Solution
Moving to Node #0,4,0
Current State: 58:[67, 28], Operations: ['94-50=44', '44-16=28']
Exploring Operation: 67+28=95, Resulting Numbers: [95]
95,58 unequal: No Solution
Exploring Operation: 67*28=1876, Resulting Numbers: [1876]
1876,58 unequal: No Solution
Exploring Operation: 67-28=39, Resulting Numbers: [39]
39,58 unequal: No Solution
Moving to Node #0,2,3
Current State: 58:[27, 66], Operations: ['94-67=27', '16+50=66']
Exploring Operation: 27+66=93, Resulting Numbers: [93]
93,58 unequal: No Solution
Exploring Operation: 27*66=1782, Resulting Numbers: [1782]
1782,58 unequal: No Solution
Exploring Operation: 66-27=39, Resulting Numbers: [39]
39,58 unequal: No Solution
Moving to Node #0,4,4
Current State: 58:[67, 60], Operations: ['94-50=44', '16+44=60']
Exploring Operation: 67*60=4020, Resulting Numbers: [4020]
4020,58 unequal: No Solution
Exploring Operation: 67-60=7, Resulting Numbers: [7]
7,58 unequal: No Solution
Exploring Operation: 67+60=127, Resulting Numbers: [127]
127,58 unequal: No Solution
Moving to Node #0,2,2
Current State: 58:[50, 11], Operations: ['94-67=27', '27-16=11']
Exploring Operation: 50+11=61, Resulting Numbers: [61]
61,58 unequal: No Solution
Exploring Operation: 50*11=550, Resulting Numbers: [550]
550,58 unequal: No Solution
Exploring Operation: 50-11=39, Resulting Numbers: [39]
39,58 unequal: No Solution
Moving to Node #0,2,0
Current State: 58:[16, 23], Operations: ['94-67=27', '50-27=23']
Exploring Operation: 16+23=39, Resulting Numbers: [39]
39,58 unequal: No Solution
Exploring Operation: 23-16=7, Resulting Numbers: [7]
7,58 unequal: No Solution
Exploring Operation: 16*23=368, Resulting Numbers: [368]
368,58 unequal: No Solution
Moving to Node #0,4,2
Current State: 58:[16, 23], Operations: ['94-50=44', '67-44=23']
Exploring Operation: 16+23=39, Resulting Numbers: [39]
39,58 unequal: No Solution
Exploring Operation: 16*23=368, Resulting Numbers: [368]
368,58 unequal: No Solution
Exploring Operation: 23-16=7, Resulting Numbers: [7]
7,58 unequal: No Solution
Moving to Node #0,4,3
Current State: 58:[44, 51], Operations: ['94-50=44', '67-16=51']
Exploring Operation: 44+51=95, Resulting Numbers: [95]
95,58 unequal: No Solution
Exploring Operation: 51-44=7, Resulting Numbers: [7]
7,58 unequal: No Solution
Exploring Operation: 44*51=2244, Resulting Numbers: [2244]
2244,58 unequal: No Solution
Moving to Node #0,2,4
Current State: 58:[50, 43], Operations: ['94-67=27', '16+27=43']
Exploring Operation: 50*43=2150, Resulting Numbers: [2150]
2150,58 unequal: No Solution
Exploring Operation: 50-43=7, Resulting Numbers: [7]
7,58 unequal: No Solution
Exploring Operation: 50+43=93, Resulting Numbers: [93]
93,58 unequal: No Solution
Moving to Node #0,4,1
Current State: 58:[44, 83], Operations: ['94-50=44', '16+67=83']
Exploring Operation: 44+83=127, Resulting Numbers: [127]
127,58 unequal: No Solution
Exploring Operation: 83-44=39, Resulting Numbers: [39]
39,58 unequal: No Solution
Exploring Operation: 44*83=3652, Resulting Numbers: [3652]
3652,58 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
94,
8,
67,
22
] | 40 | [
"94-67=27",
"27-22=5",
"8*5=40"
] | Current State: 40:[94, 8, 67, 22], Operations: []
Exploring Operation: 94-67=27, Resulting Numbers: [8, 22, 27]
Generated Node #2: [8, 22, 27] from Operation: 94-67=27
Current State: 40:[8, 22, 27], Operations: ['94-67=27']
Exploring Operation: 27-22=5, Resulting Numbers: [8, 5]
Generated Node #3: [8, 5] from Operation: 27-22=5
Current State: 40:[8, 5], Operations: ['94-67=27', '27-22=5']
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[94, 8, 67, 22], Operations: []
Exploring Operation: 94-67=27, Resulting Numbers: [8, 22, 27]
Generated Node #0,0: 40:[8, 22, 27] Operation: 94-67=27
Moving to Node #0,0
Current State: 40:[8, 22, 27], Operations: ['94-67=27']
Exploring Operation: 27-22=5, Resulting Numbers: [8, 5]
Generated Node #0,0,0: 40:[8, 5] Operation: 27-22=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 40:[8, 5], Operations: ['94-67=27', '27-22=5']
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[94, 8, 67, 22], Operations: []
Exploring Operation: 94-67=27, Resulting Numbers: [8, 22, 27]
Generated Node #0,0: 40:[8, 22, 27] Operation: 94-67=27
Moving to Node #0,0
Current State: 40:[8, 22, 27], Operations: ['94-67=27']
Exploring Operation: 27-22=5, Resulting Numbers: [8, 5]
Generated Node #0,0,0: 40:[8, 5] Operation: 27-22=5
Moving to Node #0,0,0
Current State: 40:[8, 5], Operations: ['94-67=27', '27-22=5']
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
96,
81,
38,
65
] | 32 | [
"81-65=16",
"96/16=6",
"38-6=32"
] | Current State: 32:[96, 81, 38, 65], Operations: []
Exploring Operation: 81-65=16, Resulting Numbers: [96, 38, 16]
Generated Node #2: [96, 38, 16] from Operation: 81-65=16
Current State: 32:[96, 38, 16], Operations: ['81-65=16']
Exploring Operation: 96/16=6, Resulting Numbers: [38, 6]
Generated Node #3: [38, 6] from Operation: 96/16=6
Current State: 32:[38, 6], Operations: ['81-65=16', '96/16=6']
Exploring Operation: 38-6=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[96, 81, 38, 65], Operations: []
Exploring Operation: 96-65=31, Resulting Numbers: [81, 38, 31]
Generated Node #0,0: 32:[81, 38, 31] Operation: 96-65=31
Exploring Operation: 81-65=16, Resulting Numbers: [96, 38, 16]
Generated Node #0,1: 32:[96, 38, 16] Operation: 81-65=16
Exploring Operation: 96-38=58, Resulting Numbers: [81, 65, 58]
Generated Node #0,2: 32:[81, 65, 58] Operation: 96-38=58
Exploring Operation: 96-81=15, Resulting Numbers: [38, 65, 15]
Generated Node #0,3: 32:[38, 65, 15] Operation: 96-81=15
Start Sub Search at level 1: Moving to Node #0,3
Current State: 32:[38, 65, 15], Operations: ['96-81=15']
Exploring Operation: 65-38=27, Resulting Numbers: [15, 27]
Generated Node #0,3,0: 32:[15, 27] Operation: 65-38=27
Exploring Operation: 38-15=23, Resulting Numbers: [65, 23]
Generated Node #0,3,1: 32:[65, 23] Operation: 38-15=23
Exploring Operation: 38+15=53, Resulting Numbers: [65, 53]
Generated Node #0,3,2: 32:[65, 53] Operation: 38+15=53
Exploring Operation: 65-15=50, Resulting Numbers: [38, 50]
Generated Node #0,3,3: 32:[38, 50] Operation: 65-15=50
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 32:[15, 27], Operations: ['96-81=15', '65-38=27']
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,32 unequal: No Solution
Exploring Operation: 15+27=42, Resulting Numbers: [42]
42,32 unequal: No Solution
Exploring Operation: 15*27=405, Resulting Numbers: [405]
405,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 32:[38, 50], Operations: ['96-81=15', '65-15=50']
Exploring Operation: 50-38=12, Resulting Numbers: [12]
12,32 unequal: No Solution
Exploring Operation: 38*50=1900, Resulting Numbers: [1900]
1900,32 unequal: No Solution
Exploring Operation: 38+50=88, Resulting Numbers: [88]
88,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 32:[65, 23], Operations: ['96-81=15', '38-15=23']
Exploring Operation: 65-23=42, Resulting Numbers: [42]
42,32 unequal: No Solution
Exploring Operation: 65+23=88, Resulting Numbers: [88]
88,32 unequal: No Solution
Exploring Operation: 65*23=1495, Resulting Numbers: [1495]
1495,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 32:[65, 53], Operations: ['96-81=15', '38+15=53']
Exploring Operation: 65*53=3445, Resulting Numbers: [3445]
3445,32 unequal: No Solution
Exploring Operation: 65-53=12, Resulting Numbers: [12]
12,32 unequal: No Solution
Exploring Operation: 65+53=118, Resulting Numbers: [118]
118,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[81, 38, 31], Operations: ['96-65=31']
Exploring Operation: 81-31=50, Resulting Numbers: [38, 50]
Generated Node #0,0,0: 32:[38, 50] Operation: 81-31=50
Exploring Operation: 38-31=7, Resulting Numbers: [81, 7]
Generated Node #0,0,1: 32:[81, 7] Operation: 38-31=7
Exploring Operation: 81+31=112, Resulting Numbers: [38, 112]
Generated Node #0,0,2: 32:[38, 112] Operation: 81+31=112
Exploring Operation: 81-38=43, Resulting Numbers: [31, 43]
Generated Node #0,0,3: 32:[31, 43] Operation: 81-38=43
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 32:[31, 43], Operations: ['96-65=31', '81-38=43']
Exploring Operation: 43-31=12, Resulting Numbers: [12]
12,32 unequal: No Solution
Exploring Operation: 31*43=1333, Resulting Numbers: [1333]
1333,32 unequal: No Solution
Exploring Operation: 31+43=74, Resulting Numbers: [74]
74,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 32:[38, 50], Operations: ['96-65=31', '81-31=50']
Exploring Operation: 50-38=12, Resulting Numbers: [12]
12,32 unequal: No Solution
Exploring Operation: 38+50=88, Resulting Numbers: [88]
88,32 unequal: No Solution
Exploring Operation: 38*50=1900, Resulting Numbers: [1900]
1900,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 32:[81, 7], Operations: ['96-65=31', '38-31=7']
Exploring Operation: 81+7=88, Resulting Numbers: [88]
88,32 unequal: No Solution
Exploring Operation: 81-7=74, Resulting Numbers: [74]
74,32 unequal: No Solution
Exploring Operation: 81*7=567, Resulting Numbers: [567]
567,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 32:[38, 112], Operations: ['96-65=31', '81+31=112']
Exploring Operation: 38*112=4256, Resulting Numbers: [4256]
4256,32 unequal: No Solution
Exploring Operation: 38+112=150, Resulting Numbers: [150]
150,32 unequal: No Solution
Exploring Operation: 112-38=74, Resulting Numbers: [74]
74,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 32:[96, 38, 16], Operations: ['81-65=16']
Exploring Operation: 96/16=6, Resulting Numbers: [38, 6]
Generated Node #0,1,0: 32:[38, 6] Operation: 96/16=6
Exploring Operation: 38-16=22, Resulting Numbers: [96, 22]
Generated Node #0,1,1: 32:[96, 22] Operation: 38-16=22
Exploring Operation: 96-38=58, Resulting Numbers: [16, 58]
Generated Node #0,1,2: 32:[16, 58] Operation: 96-38=58
Exploring Operation: 96-16=80, Resulting Numbers: [38, 80]
Generated Node #0,1,3: 32:[38, 80] Operation: 96-16=80
Moving to Node #0,1,0
Current State: 32:[38, 6], Operations: ['81-65=16', '96/16=6']
Exploring Operation: 38+6=44, Resulting Numbers: [44]
44,32 unequal: No Solution
Exploring Operation: 38-6=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[96, 81, 38, 65], Operations: []
Exploring Operation: 81-65=16, Resulting Numbers: [96, 38, 16]
Generated Node #0,1: 32:[96, 38, 16] Operation: 81-65=16
Moving to Node #0,1
Current State: 32:[96, 38, 16], Operations: ['81-65=16']
Exploring Operation: 96/16=6, Resulting Numbers: [38, 6]
Generated Node #0,1,0: 32:[38, 6] Operation: 96/16=6
Moving to Node #0,1,0
Current State: 32:[38, 6], Operations: ['81-65=16', '96/16=6']
Exploring Operation: 38-6=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.960069 | hs_4 | sum_heuristic |
[
40,
18,
27,
28
] | 32 | [
"40*27=1080",
"1080/18=60",
"60-28=32"
] | Current State: 32:[40, 18, 27, 28], Operations: []
Exploring Operation: 40*27=1080, Resulting Numbers: [18, 28, 1080]
Generated Node #2: [18, 28, 1080] from Operation: 40*27=1080
Current State: 32:[18, 28, 1080], Operations: ['40*27=1080']
Exploring Operation: 1080/18=60, Resulting Numbers: [28, 60]
Generated Node #3: [28, 60] from Operation: 1080/18=60
Current State: 32:[28, 60], Operations: ['40*27=1080', '1080/18=60']
Exploring Operation: 60-28=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[40, 18, 27, 28], Operations: []
Exploring Operation: 27-18=9, Resulting Numbers: [40, 28, 9]
Generated Node #0,0: 32:[40, 28, 9] Operation: 27-18=9
Exploring Operation: 40-18=22, Resulting Numbers: [27, 28, 22]
Generated Node #0,1: 32:[27, 28, 22] Operation: 40-18=22
Exploring Operation: 28-27=1, Resulting Numbers: [40, 18, 1]
Generated Node #0,2: 32:[40, 18, 1] Operation: 28-27=1
Exploring Operation: 40-28=12, Resulting Numbers: [18, 27, 12]
Generated Node #0,3: 32:[18, 27, 12] Operation: 40-28=12
Exploring Operation: 40-27=13, Resulting Numbers: [18, 28, 13]
Generated Node #0,4: 32:[18, 28, 13] Operation: 40-27=13
Moving to Node #0,4
Current State: 32:[18, 28, 13], Operations: ['40-27=13']
Exploring Operation: 28-18=10, Resulting Numbers: [13, 10]
Generated Node #0,4,0: 32:[13, 10] Operation: 28-18=10
Exploring Operation: 18+13=31, Resulting Numbers: [28, 31]
Generated Node #0,4,1: 32:[28, 31] Operation: 18+13=31
Exploring Operation: 18-13=5, Resulting Numbers: [28, 5]
Generated Node #0,4,2: 32:[28, 5] Operation: 18-13=5
Exploring Operation: 28-13=15, Resulting Numbers: [18, 15]
Generated Node #0,4,3: 32:[18, 15] Operation: 28-13=15
Exploring Operation: 28+13=41, Resulting Numbers: [18, 41]
Generated Node #0,4,4: 32:[18, 41] Operation: 28+13=41
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 32:[18, 15], Operations: ['40-27=13', '28-13=15']
Exploring Operation: 18+15=33, Resulting Numbers: [33]
33,32 unequal: No Solution
Exploring Operation: 18*15=270, Resulting Numbers: [270]
270,32 unequal: No Solution
Exploring Operation: 18-15=3, Resulting Numbers: [3]
3,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 32:[13, 10], Operations: ['40-27=13', '28-18=10']
Exploring Operation: 13*10=130, Resulting Numbers: [130]
130,32 unequal: No Solution
Exploring Operation: 13+10=23, Resulting Numbers: [23]
23,32 unequal: No Solution
Exploring Operation: 13-10=3, Resulting Numbers: [3]
3,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 32:[28, 31], Operations: ['40-27=13', '18+13=31']
Exploring Operation: 31-28=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Exploring Operation: 28*31=868, Resulting Numbers: [868]
868,32 unequal: No Solution
Exploring Operation: 28+31=59, Resulting Numbers: [59]
59,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 32:[28, 5], Operations: ['40-27=13', '18-13=5']
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,32 unequal: No Solution
Exploring Operation: 28*5=140, Resulting Numbers: [140]
140,32 unequal: No Solution
Exploring Operation: 28+5=33, Resulting Numbers: [33]
33,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 32:[18, 41], Operations: ['40-27=13', '28+13=41']
Exploring Operation: 18*41=738, Resulting Numbers: [738]
738,32 unequal: No Solution
Exploring Operation: 41-18=23, Resulting Numbers: [23]
23,32 unequal: No Solution
Exploring Operation: 18+41=59, Resulting Numbers: [59]
59,32 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: 32:[18, 27, 12], Operations: ['40-28=12']
Exploring Operation: 27-12=15, Resulting Numbers: [18, 15]
Generated Node #0,3,0: 32:[18, 15] Operation: 27-12=15
Exploring Operation: 18+12=30, Resulting Numbers: [27, 30]
Generated Node #0,3,1: 32:[27, 30] Operation: 18+12=30
Exploring Operation: 18-12=6, Resulting Numbers: [27, 6]
Generated Node #0,3,2: 32:[27, 6] Operation: 18-12=6
Exploring Operation: 27+12=39, Resulting Numbers: [18, 39]
Generated Node #0,3,3: 32:[18, 39] Operation: 27+12=39
Exploring Operation: 27-18=9, Resulting Numbers: [12, 9]
Generated Node #0,3,4: 32:[12, 9] Operation: 27-18=9
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 32:[18, 15], Operations: ['40-28=12', '27-12=15']
Exploring Operation: 18+15=33, Resulting Numbers: [33]
33,32 unequal: No Solution
Exploring Operation: 18-15=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Exploring Operation: 18*15=270, Resulting Numbers: [270]
270,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 32:[12, 9], Operations: ['40-28=12', '27-18=9']
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Exploring Operation: 12+9=21, Resulting Numbers: [21]
21,32 unequal: No Solution
Exploring Operation: 12*9=108, Resulting Numbers: [108]
108,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 32:[27, 30], Operations: ['40-28=12', '18+12=30']
Exploring Operation: 30-27=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Exploring Operation: 27+30=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Exploring Operation: 27*30=810, Resulting Numbers: [810]
810,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 32:[27, 6], Operations: ['40-28=12', '18-12=6']
Exploring Operation: 27*6=162, Resulting Numbers: [162]
162,32 unequal: No Solution
Exploring Operation: 27+6=33, Resulting Numbers: [33]
33,32 unequal: No Solution
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 32:[18, 39], Operations: ['40-28=12', '27+12=39']
Exploring Operation: 18*39=702, Resulting Numbers: [702]
702,32 unequal: No Solution
Exploring Operation: 18+39=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Exploring Operation: 39-18=21, Resulting Numbers: [21]
21,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 32:[40, 18, 1], Operations: ['28-27=1']
Exploring Operation: 40-1=39, Resulting Numbers: [18, 39]
Generated Node #0,2,0: 32:[18, 39] Operation: 40-1=39
Exploring Operation: 18-1=17, Resulting Numbers: [40, 17]
Generated Node #0,2,1: 32:[40, 17] Operation: 18-1=17
Exploring Operation: 40-18=22, Resulting Numbers: [1, 22]
Generated Node #0,2,2: 32:[1, 22] Operation: 40-18=22
Exploring Operation: 40*1=40, Resulting Numbers: [18, 40]
Generated Node #0,2,3: 32:[18, 40] Operation: 40*1=40
Exploring Operation: 40/1=40, Resulting Numbers: [18, 40]
Generated Node #0,2,4: 32:[18, 40] Operation: 40/1=40
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 32:[1, 22], Operations: ['28-27=1', '40-18=22']
Exploring Operation: 1*22=22, Resulting Numbers: [22]
22,32 unequal: No Solution
Exploring Operation: 1+22=23, Resulting Numbers: [23]
23,32 unequal: No Solution
Exploring Operation: 22/1=22, Resulting Numbers: [22]
22,32 unequal: No Solution
Exploring Operation: 22-1=21, Resulting Numbers: [21]
21,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 32:[18, 39], Operations: ['28-27=1', '40-1=39']
Exploring Operation: 39-18=21, Resulting Numbers: [21]
21,32 unequal: No Solution
Exploring Operation: 18+39=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Exploring Operation: 18*39=702, Resulting Numbers: [702]
702,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 32:[40, 17], Operations: ['28-27=1', '18-1=17']
Exploring Operation: 40+17=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Exploring Operation: 40*17=680, Resulting Numbers: [680]
680,32 unequal: No Solution
Exploring Operation: 40-17=23, Resulting Numbers: [23]
23,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 32:[18, 40], Operations: ['28-27=1', '40*1=40']
Exploring Operation: 18+40=58, Resulting Numbers: [58]
58,32 unequal: No Solution
Exploring Operation: 18*40=720, Resulting Numbers: [720]
720,32 unequal: No Solution
Exploring Operation: 40-18=22, Resulting Numbers: [22]
22,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 32:[18, 40], Operations: ['28-27=1', '40/1=40']
Exploring Operation: 18*40=720, Resulting Numbers: [720]
720,32 unequal: No Solution
Exploring Operation: 18+40=58, Resulting Numbers: [58]
58,32 unequal: No Solution
Exploring Operation: 40-18=22, Resulting Numbers: [22]
22,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 32:[40, 28, 9], Operations: ['27-18=9']
Exploring Operation: 28+9=37, Resulting Numbers: [40, 37]
Generated Node #0,0,0: 32:[40, 37] Operation: 28+9=37
Exploring Operation: 28-9=19, Resulting Numbers: [40, 19]
Generated Node #0,0,1: 32:[40, 19] Operation: 28-9=19
Exploring Operation: 40-9=31, Resulting Numbers: [28, 31]
Generated Node #0,0,2: 32:[28, 31] Operation: 40-9=31
Exploring Operation: 40+9=49, Resulting Numbers: [28, 49]
Generated Node #0,0,3: 32:[28, 49] Operation: 40+9=49
Exploring Operation: 40-28=12, Resulting Numbers: [9, 12]
Generated Node #0,0,4: 32:[9, 12] Operation: 40-28=12
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 32:[28, 31], Operations: ['27-18=9', '40-9=31']
Exploring Operation: 28+31=59, Resulting Numbers: [59]
59,32 unequal: No Solution
Exploring Operation: 28*31=868, Resulting Numbers: [868]
868,32 unequal: No Solution
Exploring Operation: 31-28=3, Resulting Numbers: [3]
3,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 32:[9, 12], Operations: ['27-18=9', '40-28=12']
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Exploring Operation: 9*12=108, Resulting Numbers: [108]
108,32 unequal: No Solution
Exploring Operation: 9+12=21, Resulting Numbers: [21]
21,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 32:[40, 19], Operations: ['27-18=9', '28-9=19']
Exploring Operation: 40*19=760, Resulting Numbers: [760]
760,32 unequal: No Solution
Exploring Operation: 40-19=21, Resulting Numbers: [21]
21,32 unequal: No Solution
Exploring Operation: 40+19=59, Resulting Numbers: [59]
59,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 32:[40, 37], Operations: ['27-18=9', '28+9=37']
Exploring Operation: 40-37=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Exploring Operation: 40+37=77, Resulting Numbers: [77]
77,32 unequal: No Solution
Exploring Operation: 40*37=1480, Resulting Numbers: [1480]
1480,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 32:[28, 49], Operations: ['27-18=9', '40+9=49']
Exploring Operation: 28*49=1372, Resulting Numbers: [1372]
1372,32 unequal: No Solution
Exploring Operation: 49-28=21, Resulting Numbers: [21]
21,32 unequal: No Solution
Exploring Operation: 28+49=77, Resulting Numbers: [77]
77,32 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: 32:[27, 28, 22], Operations: ['40-18=22']
Exploring Operation: 27+22=49, Resulting Numbers: [28, 49]
Generated Node #0,1,0: 32:[28, 49] Operation: 27+22=49
Exploring Operation: 28-27=1, Resulting Numbers: [22, 1]
Generated Node #0,1,1: 32:[22, 1] Operation: 28-27=1
Exploring Operation: 27-22=5, Resulting Numbers: [28, 5]
Generated Node #0,1,2: 32:[28, 5] Operation: 27-22=5
Exploring Operation: 28-22=6, Resulting Numbers: [27, 6]
Generated Node #0,1,3: 32:[27, 6] Operation: 28-22=6
Exploring Operation: 28+22=50, Resulting Numbers: [27, 50]
Generated Node #0,1,4: 32:[27, 50] Operation: 28+22=50
Moving to Node #0,1,2
Current State: 32:[28, 5], Operations: ['40-18=22', '27-22=5']
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,32 unequal: No Solution
Exploring Operation: 28*5=140, Resulting Numbers: [140]
140,32 unequal: No Solution
Exploring Operation: 28+5=33, Resulting Numbers: [33]
33,32 unequal: No Solution
Moving to Node #0,1,3
Current State: 32:[27, 6], Operations: ['40-18=22', '28-22=6']
Exploring Operation: 27+6=33, Resulting Numbers: [33]
33,32 unequal: No Solution
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,32 unequal: No Solution
Exploring Operation: 27*6=162, Resulting Numbers: [162]
162,32 unequal: No Solution
Moving to Node #0,1,1
Current State: 32:[22, 1], Operations: ['40-18=22', '28-27=1']
Exploring Operation: 22/1=22, Resulting Numbers: [22]
22,32 unequal: No Solution
Exploring Operation: 22*1=22, Resulting Numbers: [22]
22,32 unequal: No Solution
Exploring Operation: 22+1=23, Resulting Numbers: [23]
23,32 unequal: No Solution
Exploring Operation: 22-1=21, Resulting Numbers: [21]
21,32 unequal: No Solution
Moving to Node #0,1,0
Current State: 32:[28, 49], Operations: ['40-18=22', '27+22=49']
Exploring Operation: 49-28=21, Resulting Numbers: [21]
21,32 unequal: No Solution
Exploring Operation: 28*49=1372, Resulting Numbers: [1372]
1372,32 unequal: No Solution
Exploring Operation: 28+49=77, Resulting Numbers: [77]
77,32 unequal: No Solution
Moving to Node #0,1,4
Current State: 32:[27, 50], Operations: ['40-18=22', '28+22=50']
Exploring Operation: 50-27=23, Resulting Numbers: [23]
23,32 unequal: No Solution
Exploring Operation: 27+50=77, Resulting Numbers: [77]
77,32 unequal: No Solution
Exploring Operation: 27*50=1350, Resulting Numbers: [1350]
1350,32 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
8,
7,
84,
52
] | 21 | [
"8*7=56",
"56-52=4",
"84/4=21"
] | Current State: 21:[8, 7, 84, 52], Operations: []
Exploring Operation: 8*7=56, Resulting Numbers: [84, 52, 56]
Generated Node #2: [84, 52, 56] from Operation: 8*7=56
Current State: 21:[84, 52, 56], Operations: ['8*7=56']
Exploring Operation: 56-52=4, Resulting Numbers: [84, 4]
Generated Node #3: [84, 4] from Operation: 56-52=4
Current State: 21:[84, 4], Operations: ['8*7=56', '56-52=4']
Exploring Operation: 84/4=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[8, 7, 84, 52], Operations: []
Exploring Operation: 84-52=32, Resulting Numbers: [8, 7, 32]
Generated Node #0,0: 21:[8, 7, 32] Operation: 84-52=32
Moving to Node #0,0
Current State: 21:[8, 7, 32], Operations: ['84-52=32']
Exploring Operation: 32/8=4, Resulting Numbers: [7, 4]
Generated Node #0,0,0: 21:[7, 4] Operation: 32/8=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 21:[7, 4], Operations: ['84-52=32', '32/8=4']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,21 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 |
[
28,
69,
78,
82
] | 39 | [
"69-28=41",
"78*41=3198",
"3198/82=39"
] | Current State: 39:[28, 69, 78, 82], Operations: []
Exploring Operation: 69-28=41, Resulting Numbers: [78, 82, 41]
Generated Node #2: [78, 82, 41] from Operation: 69-28=41
Current State: 39:[78, 82, 41], Operations: ['69-28=41']
Exploring Operation: 78*41=3198, Resulting Numbers: [82, 3198]
Generated Node #3: [82, 3198] from Operation: 78*41=3198
Current State: 39:[82, 3198], Operations: ['69-28=41', '78*41=3198']
Exploring Operation: 3198/82=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[28, 69, 78, 82], Operations: []
Exploring Operation: 78-69=9, Resulting Numbers: [28, 82, 9]
Generated Node #0,0: 39:[28, 82, 9] Operation: 78-69=9
Exploring Operation: 69-28=41, Resulting Numbers: [78, 82, 41]
Generated Node #0,1: 39:[78, 82, 41] Operation: 69-28=41
Exploring Operation: 78-28=50, Resulting Numbers: [69, 82, 50]
Generated Node #0,2: 39:[69, 82, 50] Operation: 78-28=50
Exploring Operation: 82-78=4, Resulting Numbers: [28, 69, 4]
Generated Node #0,3: 39:[28, 69, 4] Operation: 82-78=4
Exploring Operation: 82-69=13, Resulting Numbers: [28, 78, 13]
Generated Node #0,4: 39:[28, 78, 13] Operation: 82-69=13
Start Sub Search at level 1: Moving to Node #0,3
Current State: 39:[28, 69, 4], Operations: ['82-78=4']
Exploring Operation: 28-4=24, Resulting Numbers: [69, 24]
Generated Node #0,3,0: 39:[69, 24] Operation: 28-4=24
Exploring Operation: 28/4=7, Resulting Numbers: [69, 7]
Generated Node #0,3,1: 39:[69, 7] Operation: 28/4=7
Exploring Operation: 69-4=65, Resulting Numbers: [28, 65]
Generated Node #0,3,2: 39:[28, 65] Operation: 69-4=65
Exploring Operation: 28+4=32, Resulting Numbers: [69, 32]
Generated Node #0,3,3: 39:[69, 32] Operation: 28+4=32
Exploring Operation: 69-28=41, Resulting Numbers: [4, 41]
Generated Node #0,3,4: 39:[4, 41] Operation: 69-28=41
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 39:[4, 41], Operations: ['82-78=4', '69-28=41']
Exploring Operation: 4+41=45, Resulting Numbers: [45]
45,39 unequal: No Solution
Exploring Operation: 4*41=164, Resulting Numbers: [164]
164,39 unequal: No Solution
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,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,3,1
Current State: 39:[69, 7], Operations: ['82-78=4', '28/4=7']
Exploring Operation: 69+7=76, Resulting Numbers: [76]
76,39 unequal: No Solution
Exploring Operation: 69*7=483, Resulting Numbers: [483]
483,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
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 39:[28, 65], Operations: ['82-78=4', '69-4=65']
Exploring Operation: 65-28=37, Resulting Numbers: [37]
37,39 unequal: No Solution
Exploring Operation: 28+65=93, Resulting Numbers: [93]
93,39 unequal: No Solution
Exploring Operation: 28*65=1820, Resulting Numbers: [1820]
1820,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,3,3
Current State: 39:[69, 32], Operations: ['82-78=4', '28+4=32']
Exploring Operation: 69-32=37, Resulting Numbers: [37]
37,39 unequal: No Solution
Exploring Operation: 69+32=101, Resulting Numbers: [101]
101,39 unequal: No Solution
Exploring Operation: 69*32=2208, Resulting Numbers: [2208]
2208,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,3,0
Current State: 39:[69, 24], Operations: ['82-78=4', '28-4=24']
Exploring Operation: 69-24=45, Resulting Numbers: [45]
45,39 unequal: No Solution
Exploring Operation: 69+24=93, Resulting Numbers: [93]
93,39 unequal: No Solution
Exploring Operation: 69*24=1656, Resulting Numbers: [1656]
1656,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,4
Current State: 39:[28, 78, 13], Operations: ['82-69=13']
Exploring Operation: 78/13=6, Resulting Numbers: [28, 6]
Generated Node #0,4,0: 39:[28, 6] Operation: 78/13=6
Exploring Operation: 28-13=15, Resulting Numbers: [78, 15]
Generated Node #0,4,1: 39:[78, 15] Operation: 28-13=15
Exploring Operation: 28+13=41, Resulting Numbers: [78, 41]
Generated Node #0,4,2: 39:[78, 41] Operation: 28+13=41
Exploring Operation: 78-28=50, Resulting Numbers: [13, 50]
Generated Node #0,4,3: 39:[13, 50] Operation: 78-28=50
Exploring Operation: 78-13=65, Resulting Numbers: [28, 65]
Generated Node #0,4,4: 39:[28, 65] Operation: 78-13=65
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 39:[13, 50], Operations: ['82-69=13', '78-28=50']
Exploring Operation: 13*50=650, Resulting Numbers: [650]
650,39 unequal: No Solution
Exploring Operation: 13+50=63, Resulting Numbers: [63]
63,39 unequal: No Solution
Exploring Operation: 50-13=37, Resulting Numbers: [37]
37,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,4,0
Current State: 39:[28, 6], Operations: ['82-69=13', '78/13=6']
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,39 unequal: No Solution
Exploring Operation: 28+6=34, Resulting Numbers: [34]
34,39 unequal: No Solution
Exploring Operation: 28*6=168, Resulting Numbers: [168]
168,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,4,4
Current State: 39:[28, 65], Operations: ['82-69=13', '78-13=65']
Exploring Operation: 65-28=37, Resulting Numbers: [37]
37,39 unequal: No Solution
Exploring Operation: 28*65=1820, Resulting Numbers: [1820]
1820,39 unequal: No Solution
Exploring Operation: 28+65=93, Resulting Numbers: [93]
93,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,4,1
Current State: 39:[78, 15], Operations: ['82-69=13', '28-13=15']
Exploring Operation: 78*15=1170, Resulting Numbers: [1170]
1170,39 unequal: No Solution
Exploring Operation: 78+15=93, Resulting Numbers: [93]
93,39 unequal: No Solution
Exploring Operation: 78-15=63, Resulting Numbers: [63]
63,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,4,2
Current State: 39:[78, 41], Operations: ['82-69=13', '28+13=41']
Exploring Operation: 78*41=3198, Resulting Numbers: [3198]
3198,39 unequal: No Solution
Exploring Operation: 78+41=119, Resulting Numbers: [119]
119,39 unequal: No Solution
Exploring Operation: 78-41=37, Resulting Numbers: [37]
37,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:[28, 82, 9], Operations: ['78-69=9']
Exploring Operation: 28+9=37, Resulting Numbers: [82, 37]
Generated Node #0,0,0: 39:[82, 37] Operation: 28+9=37
Exploring Operation: 82+9=91, Resulting Numbers: [28, 91]
Generated Node #0,0,1: 39:[28, 91] Operation: 82+9=91
Exploring Operation: 82-9=73, Resulting Numbers: [28, 73]
Generated Node #0,0,2: 39:[28, 73] Operation: 82-9=73
Exploring Operation: 28-9=19, Resulting Numbers: [82, 19]
Generated Node #0,0,3: 39:[82, 19] Operation: 28-9=19
Exploring Operation: 82-28=54, Resulting Numbers: [9, 54]
Generated Node #0,0,4: 39:[9, 54] Operation: 82-28=54
Moving to Node #0,0,4
Current State: 39:[9, 54], Operations: ['78-69=9', '82-28=54']
Exploring Operation: 9*54=486, Resulting Numbers: [486]
486,39 unequal: No Solution
Exploring Operation: 54-9=45, Resulting Numbers: [45]
45,39 unequal: No Solution
Exploring Operation: 9+54=63, Resulting Numbers: [63]
63,39 unequal: No Solution
Exploring Operation: 54/9=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Moving to Node #0,0,2
Current State: 39:[28, 73], Operations: ['78-69=9', '82-9=73']
Exploring Operation: 28*73=2044, Resulting Numbers: [2044]
2044,39 unequal: No Solution
Exploring Operation: 28+73=101, Resulting Numbers: [101]
101,39 unequal: No Solution
Exploring Operation: 73-28=45, Resulting Numbers: [45]
45,39 unequal: No Solution
Moving to Node #0,0,0
Current State: 39:[82, 37], Operations: ['78-69=9', '28+9=37']
Exploring Operation: 82-37=45, Resulting Numbers: [45]
45,39 unequal: No Solution
Exploring Operation: 82*37=3034, Resulting Numbers: [3034]
3034,39 unequal: No Solution
Exploring Operation: 82+37=119, Resulting Numbers: [119]
119,39 unequal: No Solution
Moving to Node #0,0,3
Current State: 39:[82, 19], Operations: ['78-69=9', '28-9=19']
Exploring Operation: 82*19=1558, Resulting Numbers: [1558]
1558,39 unequal: No Solution
Exploring Operation: 82+19=101, Resulting Numbers: [101]
101,39 unequal: No Solution
Exploring Operation: 82-19=63, Resulting Numbers: [63]
63,39 unequal: No Solution
Moving to Node #0,0,1
Current State: 39:[28, 91], Operations: ['78-69=9', '82+9=91']
Exploring Operation: 91-28=63, Resulting Numbers: [63]
63,39 unequal: No Solution
Exploring Operation: 28*91=2548, Resulting Numbers: [2548]
2548,39 unequal: No Solution
Exploring Operation: 28+91=119, Resulting Numbers: [119]
119,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[78, 82, 41], Operations: ['69-28=41']
Exploring Operation: 78+82=160, Resulting Numbers: [41, 160]
Generated Node #0,1,0: 39:[41, 160] Operation: 78+82=160
Exploring Operation: 82-78=4, Resulting Numbers: [41, 4]
Generated Node #0,1,1: 39:[41, 4] Operation: 82-78=4
Exploring Operation: 82/41=2, Resulting Numbers: [78, 2]
Generated Node #0,1,2: 39:[78, 2] Operation: 82/41=2
Exploring Operation: 78-41=37, Resulting Numbers: [82, 37]
Generated Node #0,1,3: 39:[82, 37] Operation: 78-41=37
Exploring Operation: 82-41=41, Resulting Numbers: [78, 41]
Generated Node #0,1,4: 39:[78, 41] Operation: 82-41=41
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 39:[41, 4], Operations: ['69-28=41', '82-78=4']
Exploring Operation: 41+4=45, Resulting Numbers: [45]
45,39 unequal: No Solution
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,39 unequal: No Solution
Exploring Operation: 41*4=164, Resulting Numbers: [164]
164,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,2
Current State: 39:[78, 2], Operations: ['69-28=41', '82/41=2']
Exploring Operation: 78+2=80, Resulting Numbers: [80]
80,39 unequal: No Solution
Exploring Operation: 78*2=156, Resulting Numbers: [156]
156,39 unequal: No Solution
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[28, 69, 78, 82], Operations: []
Exploring Operation: 69-28=41, Resulting Numbers: [78, 82, 41]
Generated Node #0,1: 39:[78, 82, 41] Operation: 69-28=41
Moving to Node #0,1
Current State: 39:[78, 82, 41], Operations: ['69-28=41']
Exploring Operation: 82/41=2, Resulting Numbers: [78, 2]
Generated Node #0,1,2: 39:[78, 2] Operation: 82/41=2
Moving to Node #0,1,2
Current State: 39:[78, 2], Operations: ['69-28=41', '82/41=2']
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.929688 | hs_5 | mult_heuristic |
[
83,
18,
83,
16
] | 83 | [
"83+83=166",
"18-16=2",
"166/2=83"
] | Current State: 83:[83, 18, 83, 16], Operations: []
Exploring Operation: 83+83=166, Resulting Numbers: [18, 16, 166]
Generated Node #2: [18, 16, 166] from Operation: 83+83=166
Current State: 83:[18, 16, 166], Operations: ['83+83=166']
Exploring Operation: 18-16=2, Resulting Numbers: [166, 2]
Generated Node #3: [166, 2] from Operation: 18-16=2
Current State: 83:[166, 2], Operations: ['83+83=166', '18-16=2']
Exploring Operation: 166/2=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[83, 18, 83, 16], Operations: []
Exploring Operation: 18+16=34, Resulting Numbers: [83, 83, 34]
Generated Node #0,0: 83:[83, 83, 34] Operation: 18+16=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[83, 83, 34], Operations: ['18+16=34']
Exploring Operation: 83+34=117, Resulting Numbers: [83, 117]
Generated Node #0,0,0: 83:[83, 117] Operation: 83+34=117
Moving to Node #0,0,0
Current State: 83:[83, 117], Operations: ['18+16=34', '83+34=117']
Exploring Operation: 117-83=34, Resulting Numbers: [34]
34,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
3,
38,
56,
96
] | 81 | [
"3+38=41",
"96-56=40",
"41+40=81"
] | Current State: 81:[3, 38, 56, 96], Operations: []
Exploring Operation: 3+38=41, Resulting Numbers: [56, 96, 41]
Generated Node #2: [56, 96, 41] from Operation: 3+38=41
Current State: 81:[56, 96, 41], Operations: ['3+38=41']
Exploring Operation: 96-56=40, Resulting Numbers: [41, 40]
Generated Node #3: [41, 40] from Operation: 96-56=40
Current State: 81:[41, 40], Operations: ['3+38=41', '96-56=40']
Exploring Operation: 41+40=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[3, 38, 56, 96], Operations: []
Exploring Operation: 56-38=18, Resulting Numbers: [3, 96, 18]
Generated Node #0,0: 81:[3, 96, 18] Operation: 56-38=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[3, 96, 18], Operations: ['56-38=18']
Exploring Operation: 96-18=78, Resulting Numbers: [3, 78]
Generated Node #0,0,0: 81:[3, 78] Operation: 96-18=78
Moving to Node #0,0,0
Current State: 81:[3, 78], Operations: ['56-38=18', '96-18=78']
Exploring Operation: 3+78=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[3, 38, 56, 96], Operations: []
Exploring Operation: 56-38=18, Resulting Numbers: [3, 96, 18]
Generated Node #0,0: 81:[3, 96, 18] Operation: 56-38=18
Moving to Node #0,0
Current State: 81:[3, 96, 18], Operations: ['56-38=18']
Exploring Operation: 96-18=78, Resulting Numbers: [3, 78]
Generated Node #0,0,0: 81:[3, 78] Operation: 96-18=78
Moving to Node #0,0,0
Current State: 81:[3, 78], Operations: ['56-38=18', '96-18=78']
Exploring Operation: 3+78=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
60,
90,
61,
65
] | 79 | [
"65-60=5",
"90/5=18",
"61+18=79"
] | Current State: 79:[60, 90, 61, 65], Operations: []
Exploring Operation: 65-60=5, Resulting Numbers: [90, 61, 5]
Generated Node #2: [90, 61, 5] from Operation: 65-60=5
Current State: 79:[90, 61, 5], Operations: ['65-60=5']
Exploring Operation: 90/5=18, Resulting Numbers: [61, 18]
Generated Node #3: [61, 18] from Operation: 90/5=18
Current State: 79:[61, 18], Operations: ['65-60=5', '90/5=18']
Exploring Operation: 61+18=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[60, 90, 61, 65], Operations: []
Exploring Operation: 60+61=121, Resulting Numbers: [90, 65, 121]
Generated Node #0,0: 79:[90, 65, 121] Operation: 60+61=121
Exploring Operation: 61+65=126, Resulting Numbers: [60, 90, 126]
Generated Node #0,1: 79:[60, 90, 126] Operation: 61+65=126
Exploring Operation: 60+65=125, Resulting Numbers: [90, 61, 125]
Generated Node #0,2: 79:[90, 61, 125] Operation: 60+65=125
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[90, 65, 121], Operations: ['60+61=121']
Exploring Operation: 121-65=56, Resulting Numbers: [90, 56]
Generated Node #0,0,0: 79:[90, 56] Operation: 121-65=56
Exploring Operation: 90-65=25, Resulting Numbers: [121, 25]
Generated Node #0,0,1: 79:[121, 25] Operation: 90-65=25
Exploring Operation: 121-90=31, Resulting Numbers: [65, 31]
Generated Node #0,0,2: 79:[65, 31] Operation: 121-90=31
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[90, 56], Operations: ['60+61=121', '121-65=56']
Exploring Operation: 90*56=5040, Resulting Numbers: [5040]
5040,79 unequal: No Solution
Exploring Operation: 90+56=146, Resulting Numbers: [146]
146,79 unequal: No Solution
Exploring Operation: 90-56=34, Resulting Numbers: [34]
34,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,2
Current State: 79:[65, 31], Operations: ['60+61=121', '121-90=31']
Exploring Operation: 65-31=34, Resulting Numbers: [34]
34,79 unequal: No Solution
Exploring Operation: 65*31=2015, Resulting Numbers: [2015]
2015,79 unequal: No Solution
Exploring Operation: 65+31=96, Resulting Numbers: [96]
96,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:[121, 25], Operations: ['60+61=121', '90-65=25']
Exploring Operation: 121*25=3025, Resulting Numbers: [3025]
3025,79 unequal: No Solution
Exploring Operation: 121+25=146, Resulting Numbers: [146]
146,79 unequal: No Solution
Exploring Operation: 121-25=96, Resulting Numbers: [96]
96,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,2
Current State: 79:[90, 61, 125], Operations: ['60+65=125']
Exploring Operation: 125-61=64, Resulting Numbers: [90, 64]
Generated Node #0,2,0: 79:[90, 64] Operation: 125-61=64
Exploring Operation: 90-61=29, Resulting Numbers: [125, 29]
Generated Node #0,2,1: 79:[125, 29] Operation: 90-61=29
Exploring Operation: 125-90=35, Resulting Numbers: [61, 35]
Generated Node #0,2,2: 79:[61, 35] Operation: 125-90=35
Moving to Node #0,2,0
Current State: 79:[90, 64], Operations: ['60+65=125', '125-61=64']
Exploring Operation: 90+64=154, Resulting Numbers: [154]
154,79 unequal: No Solution
Exploring Operation: 90*64=5760, Resulting Numbers: [5760]
5760,79 unequal: No Solution
Exploring Operation: 90-64=26, Resulting Numbers: [26]
26,79 unequal: No Solution
Moving to Node #0,2,2
Current State: 79:[61, 35], Operations: ['60+65=125', '125-90=35']
Exploring Operation: 61*35=2135, Resulting Numbers: [2135]
2135,79 unequal: No Solution
Exploring Operation: 61+35=96, Resulting Numbers: [96]
96,79 unequal: No Solution
Exploring Operation: 61-35=26, Resulting Numbers: [26]
26,79 unequal: No Solution
Moving to Node #0,2,1
Current State: 79:[125, 29], Operations: ['60+65=125', '90-61=29']
Exploring Operation: 125-29=96, Resulting Numbers: [96]
96,79 unequal: No Solution
Exploring Operation: 125+29=154, Resulting Numbers: [154]
154,79 unequal: No Solution
Exploring Operation: 125*29=3625, Resulting Numbers: [3625]
3625,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,1
Current State: 79:[60, 90, 126], Operations: ['61+65=126']
Exploring Operation: 90-60=30, Resulting Numbers: [126, 30]
Generated Node #0,1,0: 79:[126, 30] Operation: 90-60=30
Exploring Operation: 126-60=66, Resulting Numbers: [90, 66]
Generated Node #0,1,1: 79:[90, 66] Operation: 126-60=66
Exploring Operation: 126-90=36, Resulting Numbers: [60, 36]
Generated Node #0,1,2: 79:[60, 36] Operation: 126-90=36
Moving to Node #0,1,1
Current State: 79:[90, 66], Operations: ['61+65=126', '126-60=66']
Exploring Operation: 90-66=24, Resulting Numbers: [24]
24,79 unequal: No Solution
Exploring Operation: 90+66=156, Resulting Numbers: [156]
156,79 unequal: No Solution
Exploring Operation: 90*66=5940, Resulting Numbers: [5940]
5940,79 unequal: No Solution
Moving to Node #0,1,2
Current State: 79:[60, 36], Operations: ['61+65=126', '126-90=36']
Exploring Operation: 60+36=96, Resulting Numbers: [96]
96,79 unequal: No Solution
Exploring Operation: 60*36=2160, Resulting Numbers: [2160]
2160,79 unequal: No Solution
Exploring Operation: 60-36=24, Resulting Numbers: [24]
24,79 unequal: No Solution
Moving to Node #0,1,0
Current State: 79:[126, 30], Operations: ['61+65=126', '90-60=30']
Exploring Operation: 126+30=156, Resulting Numbers: [156]
156,79 unequal: No Solution
Exploring Operation: 126*30=3780, Resulting Numbers: [3780]
3780,79 unequal: No Solution
Exploring Operation: 126-30=96, Resulting Numbers: [96]
96,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
60,
82,
42,
11
] | 75 | [
"82-60=22",
"42+11=53",
"22+53=75"
] | Current State: 75:[60, 82, 42, 11], Operations: []
Exploring Operation: 82-60=22, Resulting Numbers: [42, 11, 22]
Generated Node #2: [42, 11, 22] from Operation: 82-60=22
Current State: 75:[42, 11, 22], Operations: ['82-60=22']
Exploring Operation: 42+11=53, Resulting Numbers: [22, 53]
Generated Node #3: [22, 53] from Operation: 42+11=53
Current State: 75:[22, 53], Operations: ['82-60=22', '42+11=53']
Exploring Operation: 22+53=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[60, 82, 42, 11], Operations: []
Exploring Operation: 60-42=18, Resulting Numbers: [82, 11, 18]
Generated Node #0,0: 75:[82, 11, 18] Operation: 60-42=18
Exploring Operation: 82-60=22, Resulting Numbers: [42, 11, 22]
Generated Node #0,1: 75:[42, 11, 22] Operation: 82-60=22
Exploring Operation: 42-11=31, Resulting Numbers: [60, 82, 31]
Generated Node #0,2: 75:[60, 82, 31] Operation: 42-11=31
Exploring Operation: 60+11=71, Resulting Numbers: [82, 42, 71]
Generated Node #0,3: 75:[82, 42, 71] Operation: 60+11=71
Exploring Operation: 82-42=40, Resulting Numbers: [60, 11, 40]
Generated Node #0,4: 75:[60, 11, 40] Operation: 82-42=40
Moving to Node #0,0
Current State: 75:[82, 11, 18], Operations: ['60-42=18']
Exploring Operation: 82+11=93, Resulting Numbers: [18, 93]
Generated Node #0,0,0: 75:[18, 93] Operation: 82+11=93
Exploring Operation: 82-18=64, Resulting Numbers: [11, 64]
Generated Node #0,0,1: 75:[11, 64] Operation: 82-18=64
Exploring Operation: 18-11=7, Resulting Numbers: [82, 7]
Generated Node #0,0,2: 75:[82, 7] Operation: 18-11=7
Exploring Operation: 11+18=29, Resulting Numbers: [82, 29]
Generated Node #0,0,3: 75:[82, 29] Operation: 11+18=29
Exploring Operation: 82-11=71, Resulting Numbers: [18, 71]
Generated Node #0,0,4: 75:[18, 71] Operation: 82-11=71
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 75:[18, 71], Operations: ['60-42=18', '82-11=71']
Exploring Operation: 71-18=53, Resulting Numbers: [53]
53,75 unequal: No Solution
Exploring Operation: 18+71=89, Resulting Numbers: [89]
89,75 unequal: No Solution
Exploring Operation: 18*71=1278, Resulting Numbers: [1278]
1278,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 75:[82, 7], Operations: ['60-42=18', '18-11=7']
Exploring Operation: 82*7=574, Resulting Numbers: [574]
574,75 unequal: No Solution
Exploring Operation: 82+7=89, Resulting Numbers: [89]
89,75 unequal: No Solution
Exploring Operation: 82-7=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[60, 82, 42, 11], Operations: []
Exploring Operation: 60-42=18, Resulting Numbers: [82, 11, 18]
Generated Node #0,0: 75:[82, 11, 18] Operation: 60-42=18
Moving to Node #0,0
Current State: 75:[82, 11, 18], Operations: ['60-42=18']
Exploring Operation: 18-11=7, Resulting Numbers: [82, 7]
Generated Node #0,0,2: 75:[82, 7] Operation: 18-11=7
Moving to Node #0,0,2
Current State: 75:[82, 7], Operations: ['60-42=18', '18-11=7']
Exploring Operation: 82-7=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | mult_heuristic |
[
58,
38,
32,
76
] | 74 | [
"38*32=1216",
"1216/76=16",
"58+16=74"
] | Current State: 74:[58, 38, 32, 76], Operations: []
Exploring Operation: 38*32=1216, Resulting Numbers: [58, 76, 1216]
Generated Node #2: [58, 76, 1216] from Operation: 38*32=1216
Current State: 74:[58, 76, 1216], Operations: ['38*32=1216']
Exploring Operation: 1216/76=16, Resulting Numbers: [58, 16]
Generated Node #3: [58, 16] from Operation: 1216/76=16
Current State: 74:[58, 16], Operations: ['38*32=1216', '1216/76=16']
Exploring Operation: 58+16=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[58, 38, 32, 76], Operations: []
Exploring Operation: 58+32=90, Resulting Numbers: [38, 76, 90]
Generated Node #0,0: 74:[38, 76, 90] Operation: 58+32=90
Exploring Operation: 58-32=26, Resulting Numbers: [38, 76, 26]
Generated Node #0,1: 74:[38, 76, 26] Operation: 58-32=26
Exploring Operation: 76-58=18, Resulting Numbers: [38, 32, 18]
Generated Node #0,2: 74:[38, 32, 18] Operation: 76-58=18
Exploring Operation: 76/38=2, Resulting Numbers: [58, 32, 2]
Generated Node #0,3: 74:[58, 32, 2] Operation: 76/38=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 74:[38, 76, 26], Operations: ['58-32=26']
Exploring Operation: 76-38=38, Resulting Numbers: [26, 38]
Generated Node #0,1,0: 74:[26, 38] Operation: 76-38=38
Exploring Operation: 38+26=64, Resulting Numbers: [76, 64]
Generated Node #0,1,1: 74:[76, 64] Operation: 38+26=64
Exploring Operation: 38-26=12, Resulting Numbers: [76, 12]
Generated Node #0,1,2: 74:[76, 12] Operation: 38-26=12
Exploring Operation: 76/38=2, Resulting Numbers: [26, 2]
Generated Node #0,1,3: 74:[26, 2] Operation: 76/38=2
Moving to Node #0,1,3
Current State: 74:[26, 2], Operations: ['58-32=26', '76/38=2']
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 26*2=52, Resulting Numbers: [52]
52,74 unequal: No Solution
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,74 unequal: No Solution
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,74 unequal: No Solution
Moving to Node #0,1,1
Current State: 74:[76, 64], Operations: ['58-32=26', '38+26=64']
Exploring Operation: 76-64=12, Resulting Numbers: [12]
12,74 unequal: No Solution
Exploring Operation: 76+64=140, Resulting Numbers: [140]
140,74 unequal: No Solution
Exploring Operation: 76*64=4864, Resulting Numbers: [4864]
4864,74 unequal: No Solution
Moving to Node #0,1,0
Current State: 74:[26, 38], Operations: ['58-32=26', '76-38=38']
Exploring Operation: 26+38=64, Resulting Numbers: [64]
64,74 unequal: No Solution
Exploring Operation: 26*38=988, Resulting Numbers: [988]
988,74 unequal: No Solution
Exploring Operation: 38-26=12, Resulting Numbers: [12]
12,74 unequal: No Solution
Moving to Node #0,1,2
Current State: 74:[76, 12], Operations: ['58-32=26', '38-26=12']
Exploring Operation: 76+12=88, Resulting Numbers: [88]
88,74 unequal: No Solution
Exploring Operation: 76*12=912, Resulting Numbers: [912]
912,74 unequal: No Solution
Exploring Operation: 76-12=64, Resulting Numbers: [64]
64,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[38, 76, 90], Operations: ['58+32=90']
Exploring Operation: 90-38=52, Resulting Numbers: [76, 52]
Generated Node #0,0,0: 74:[76, 52] Operation: 90-38=52
Exploring Operation: 76-38=38, Resulting Numbers: [90, 38]
Generated Node #0,0,1: 74:[90, 38] Operation: 76-38=38
Exploring Operation: 76/38=2, Resulting Numbers: [90, 2]
Generated Node #0,0,2: 74:[90, 2] Operation: 76/38=2
Exploring Operation: 90-76=14, Resulting Numbers: [38, 14]
Generated Node #0,0,3: 74:[38, 14] Operation: 90-76=14
Moving to Node #0,0,3
Current State: 74:[38, 14], Operations: ['58+32=90', '90-76=14']
Exploring Operation: 38-14=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 38*14=532, Resulting Numbers: [532]
532,74 unequal: No Solution
Exploring Operation: 38+14=52, Resulting Numbers: [52]
52,74 unequal: No Solution
Moving to Node #0,0,2
Current State: 74:[90, 2], Operations: ['58+32=90', '76/38=2']
Exploring Operation: 90+2=92, Resulting Numbers: [92]
92,74 unequal: No Solution
Exploring Operation: 90/2=45, Resulting Numbers: [45]
45,74 unequal: No Solution
Exploring Operation: 90-2=88, Resulting Numbers: [88]
88,74 unequal: No Solution
Exploring Operation: 90*2=180, Resulting Numbers: [180]
180,74 unequal: No Solution
Moving to Node #0,0,1
Current State: 74:[90, 38], Operations: ['58+32=90', '76-38=38']
Exploring Operation: 90*38=3420, Resulting Numbers: [3420]
3420,74 unequal: No Solution
Exploring Operation: 90-38=52, Resulting Numbers: [52]
52,74 unequal: No Solution
Exploring Operation: 90+38=128, Resulting Numbers: [128]
128,74 unequal: No Solution
Moving to Node #0,0,0
Current State: 74:[76, 52], Operations: ['58+32=90', '90-38=52']
Exploring Operation: 76-52=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 76+52=128, Resulting Numbers: [128]
128,74 unequal: No Solution
Exploring Operation: 76*52=3952, Resulting Numbers: [3952]
3952,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 74:[58, 32, 2], Operations: ['76/38=2']
Exploring Operation: 58+2=60, Resulting Numbers: [32, 60]
Generated Node #0,3,0: 74:[32, 60] Operation: 58+2=60
Exploring Operation: 58+32=90, Resulting Numbers: [2, 90]
Generated Node #0,3,1: 74:[2, 90] Operation: 58+32=90
Exploring Operation: 58-32=26, Resulting Numbers: [2, 26]
Generated Node #0,3,2: 74:[2, 26] Operation: 58-32=26
Exploring Operation: 58/2=29, Resulting Numbers: [32, 29]
Generated Node #0,3,3: 74:[32, 29] Operation: 58/2=29
Moving to Node #0,3,2
Current State: 74:[2, 26], Operations: ['76/38=2', '58-32=26']
Exploring Operation: 2*26=52, Resulting Numbers: [52]
52,74 unequal: No Solution
Exploring Operation: 2+26=28, Resulting Numbers: [28]
28,74 unequal: No Solution
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,74 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Moving to Node #0,3,3
Current State: 74:[32, 29], Operations: ['76/38=2', '58/2=29']
Exploring Operation: 32-29=3, Resulting Numbers: [3]
3,74 unequal: No Solution
Exploring Operation: 32+29=61, Resulting Numbers: [61]
61,74 unequal: No Solution
Exploring Operation: 32*29=928, Resulting Numbers: [928]
928,74 unequal: No Solution
Moving to Node #0,3,1
Current State: 74:[2, 90], Operations: ['76/38=2', '58+32=90']
Exploring Operation: 2+90=92, Resulting Numbers: [92]
92,74 unequal: No Solution
Exploring Operation: 90-2=88, Resulting Numbers: [88]
88,74 unequal: No Solution
Exploring Operation: 2*90=180, Resulting Numbers: [180]
180,74 unequal: No Solution
Exploring Operation: 90/2=45, Resulting Numbers: [45]
45,74 unequal: No Solution
Moving to Node #0,3,0
Current State: 74:[32, 60], Operations: ['76/38=2', '58+2=60']
Exploring Operation: 32+60=92, Resulting Numbers: [92]
92,74 unequal: No Solution
Exploring Operation: 60-32=28, Resulting Numbers: [28]
28,74 unequal: No Solution
Exploring Operation: 32*60=1920, Resulting Numbers: [1920]
1920,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 74:[38, 32, 18], Operations: ['76-58=18']
Exploring Operation: 32-18=14, Resulting Numbers: [38, 14]
Generated Node #0,2,0: 74:[38, 14] Operation: 32-18=14
Exploring Operation: 38-32=6, Resulting Numbers: [18, 6]
Generated Node #0,2,1: 74:[18, 6] Operation: 38-32=6
Exploring Operation: 32+18=50, Resulting Numbers: [38, 50]
Generated Node #0,2,2: 74:[38, 50] Operation: 32+18=50
Exploring Operation: 38+32=70, Resulting Numbers: [18, 70]
Generated Node #0,2,3: 74:[18, 70] Operation: 38+32=70
Moving to Node #0,2,0
Current State: 74:[38, 14], Operations: ['76-58=18', '32-18=14']
Exploring Operation: 38+14=52, Resulting Numbers: [52]
52,74 unequal: No Solution
Exploring Operation: 38*14=532, Resulting Numbers: [532]
532,74 unequal: No Solution
Exploring Operation: 38-14=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Moving to Node #0,2,2
Current State: 74:[38, 50], Operations: ['76-58=18', '32+18=50']
Exploring Operation: 38+50=88, Resulting Numbers: [88]
88,74 unequal: No Solution
Exploring Operation: 38*50=1900, Resulting Numbers: [1900]
1900,74 unequal: No Solution
Exploring Operation: 50-38=12, Resulting Numbers: [12]
12,74 unequal: No Solution
Moving to Node #0,2,3
Current State: 74:[18, 70], Operations: ['76-58=18', '38+32=70']
Exploring Operation: 70-18=52, Resulting Numbers: [52]
52,74 unequal: No Solution
Exploring Operation: 18*70=1260, Resulting Numbers: [1260]
1260,74 unequal: No Solution
Exploring Operation: 18+70=88, Resulting Numbers: [88]
88,74 unequal: No Solution
Moving to Node #0,2,1
Current State: 74:[18, 6], Operations: ['76-58=18', '38-32=6']
Exploring Operation: 18+6=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,74 unequal: No Solution
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,74 unequal: No Solution
Exploring Operation: 18*6=108, Resulting Numbers: [108]
108,74 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 |
[
72,
40,
2,
21
] | 70 | [
"72+40=112",
"2*21=42",
"112-42=70"
] | Current State: 70:[72, 40, 2, 21], Operations: []
Exploring Operation: 72+40=112, Resulting Numbers: [2, 21, 112]
Generated Node #2: [2, 21, 112] from Operation: 72+40=112
Current State: 70:[2, 21, 112], Operations: ['72+40=112']
Exploring Operation: 2*21=42, Resulting Numbers: [112, 42]
Generated Node #3: [112, 42] from Operation: 2*21=42
Current State: 70:[112, 42], Operations: ['72+40=112', '2*21=42']
Exploring Operation: 112-42=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[72, 40, 2, 21], Operations: []
Exploring Operation: 40-2=38, Resulting Numbers: [72, 21, 38]
Generated Node #0,0: 70:[72, 21, 38] Operation: 40-2=38
Exploring Operation: 40-21=19, Resulting Numbers: [72, 2, 19]
Generated Node #0,1: 70:[72, 2, 19] Operation: 40-21=19
Exploring Operation: 72-40=32, Resulting Numbers: [2, 21, 32]
Generated Node #0,2: 70:[2, 21, 32] Operation: 72-40=32
Exploring Operation: 40+21=61, Resulting Numbers: [72, 2, 61]
Generated Node #0,3: 70:[72, 2, 61] Operation: 40+21=61
Exploring Operation: 72-2=70, Resulting Numbers: [40, 21, 70]
Generated Node #0,4: 70:[40, 21, 70] Operation: 72-2=70
Moving to Node #0,1
Current State: 70:[72, 2, 19], Operations: ['40-21=19']
Exploring Operation: 72-2=70, Resulting Numbers: [19, 70]
Generated Node #0,1,0: 70:[19, 70] Operation: 72-2=70
Exploring Operation: 72/2=36, Resulting Numbers: [19, 36]
Generated Node #0,1,1: 70:[19, 36] Operation: 72/2=36
Exploring Operation: 2*19=38, Resulting Numbers: [72, 38]
Generated Node #0,1,2: 70:[72, 38] Operation: 2*19=38
Exploring Operation: 72+2=74, Resulting Numbers: [19, 74]
Generated Node #0,1,3: 70:[19, 74] Operation: 72+2=74
Exploring Operation: 19-2=17, Resulting Numbers: [72, 17]
Generated Node #0,1,4: 70:[72, 17] Operation: 19-2=17
Moving to Node #0,2
Current State: 70:[2, 21, 32], Operations: ['72-40=32']
Exploring Operation: 32/2=16, Resulting Numbers: [21, 16]
Generated Node #0,2,0: 70:[21, 16] Operation: 32/2=16
Exploring Operation: 32-21=11, Resulting Numbers: [2, 11]
Generated Node #0,2,1: 70:[2, 11] Operation: 32-21=11
Exploring Operation: 21-2=19, Resulting Numbers: [32, 19]
Generated Node #0,2,2: 70:[32, 19] Operation: 21-2=19
Exploring Operation: 2+32=34, Resulting Numbers: [21, 34]
Generated Node #0,2,3: 70:[21, 34] Operation: 2+32=34
Exploring Operation: 2*21=42, Resulting Numbers: [32, 42]
Generated Node #0,2,4: 70:[32, 42] Operation: 2*21=42
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 70:[2, 11], Operations: ['72-40=32', '32-21=11']
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,70 unequal: No Solution
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,70 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 70:[32, 19], Operations: ['72-40=32', '21-2=19']
Exploring Operation: 32+19=51, Resulting Numbers: [51]
51,70 unequal: No Solution
Exploring Operation: 32-19=13, Resulting Numbers: [13]
13,70 unequal: No Solution
Exploring Operation: 32*19=608, Resulting Numbers: [608]
608,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 70:[21, 34], Operations: ['72-40=32', '2+32=34']
Exploring Operation: 21+34=55, Resulting Numbers: [55]
55,70 unequal: No Solution
Exploring Operation: 34-21=13, Resulting Numbers: [13]
13,70 unequal: No Solution
Exploring Operation: 21*34=714, Resulting Numbers: [714]
714,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 70:[21, 16], Operations: ['72-40=32', '32/2=16']
Exploring Operation: 21-16=5, Resulting Numbers: [5]
5,70 unequal: No Solution
Exploring Operation: 21+16=37, Resulting Numbers: [37]
37,70 unequal: No Solution
Exploring Operation: 21*16=336, Resulting Numbers: [336]
336,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 70:[32, 42], Operations: ['72-40=32', '2*21=42']
Exploring Operation: 42-32=10, Resulting Numbers: [10]
10,70 unequal: No Solution
Exploring Operation: 32*42=1344, Resulting Numbers: [1344]
1344,70 unequal: No Solution
Exploring Operation: 32+42=74, Resulting Numbers: [74]
74,70 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: 70:[72, 2, 61], Operations: ['40+21=61']
Exploring Operation: 72+2=74, Resulting Numbers: [61, 74]
Generated Node #0,3,0: 70:[61, 74] Operation: 72+2=74
Exploring Operation: 72-2=70, Resulting Numbers: [61, 70]
Generated Node #0,3,1: 70:[61, 70] Operation: 72-2=70
Exploring Operation: 72-61=11, Resulting Numbers: [2, 11]
Generated Node #0,3,2: 70:[2, 11] Operation: 72-61=11
Exploring Operation: 2+61=63, Resulting Numbers: [72, 63]
Generated Node #0,3,3: 70:[72, 63] Operation: 2+61=63
Exploring Operation: 72/2=36, Resulting Numbers: [61, 36]
Generated Node #0,3,4: 70:[61, 36] Operation: 72/2=36
Moving to Node #0,0
Current State: 70:[72, 21, 38], Operations: ['40-2=38']
Exploring Operation: 38-21=17, Resulting Numbers: [72, 17]
Generated Node #0,0,0: 70:[72, 17] Operation: 38-21=17
Exploring Operation: 72+21=93, Resulting Numbers: [38, 93]
Generated Node #0,0,1: 70:[38, 93] Operation: 72+21=93
Exploring Operation: 72-38=34, Resulting Numbers: [21, 34]
Generated Node #0,0,2: 70:[21, 34] Operation: 72-38=34
Exploring Operation: 21+38=59, Resulting Numbers: [72, 59]
Generated Node #0,0,3: 70:[72, 59] Operation: 21+38=59
Exploring Operation: 72-21=51, Resulting Numbers: [38, 51]
Generated Node #0,0,4: 70:[38, 51] Operation: 72-21=51
Moving to Node #0,4
Current State: 70:[40, 21, 70], Operations: ['72-2=70']
Exploring Operation: 40-21=19, Resulting Numbers: [70, 19]
Generated Node #0,4,0: 70:[70, 19] Operation: 40-21=19
Exploring Operation: 70-21=49, Resulting Numbers: [40, 49]
Generated Node #0,4,1: 70:[40, 49] Operation: 70-21=49
Exploring Operation: 70-40=30, Resulting Numbers: [21, 30]
Generated Node #0,4,2: 70:[21, 30] Operation: 70-40=30
Exploring Operation: 21+70=91, Resulting Numbers: [40, 91]
Generated Node #0,4,3: 70:[40, 91] Operation: 21+70=91
Exploring Operation: 40+21=61, Resulting Numbers: [70, 61]
Generated Node #0,4,4: 70:[70, 61] Operation: 40+21=61
Moving to Node #0,3,2
Current State: 70:[2, 11], Operations: ['40+21=61', '72-61=11']
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,70 unequal: No Solution
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,70 unequal: No Solution
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,70 unequal: No Solution
Moving to Node #0,1,0
Current State: 70:[19, 70], Operations: ['40-21=19', '72-2=70']
Exploring Operation: 70-19=51, Resulting Numbers: [51]
51,70 unequal: No Solution
Exploring Operation: 19+70=89, Resulting Numbers: [89]
89,70 unequal: No Solution
Exploring Operation: 19*70=1330, Resulting Numbers: [1330]
1330,70 unequal: No Solution
Moving to Node #0,1,4
Current State: 70:[72, 17], Operations: ['40-21=19', '19-2=17']
Exploring Operation: 72-17=55, Resulting Numbers: [55]
55,70 unequal: No Solution
Exploring Operation: 72*17=1224, Resulting Numbers: [1224]
1224,70 unequal: No Solution
Exploring Operation: 72+17=89, Resulting Numbers: [89]
89,70 unequal: No Solution
Moving to Node #0,1,2
Current State: 70:[72, 38], Operations: ['40-21=19', '2*19=38']
Exploring Operation: 72-38=34, Resulting Numbers: [34]
34,70 unequal: No Solution
Exploring Operation: 72*38=2736, Resulting Numbers: [2736]
2736,70 unequal: No Solution
Exploring Operation: 72+38=110, Resulting Numbers: [110]
110,70 unequal: No Solution
Moving to Node #0,0,0
Current State: 70:[72, 17], Operations: ['40-2=38', '38-21=17']
Exploring Operation: 72*17=1224, Resulting Numbers: [1224]
1224,70 unequal: No Solution
Exploring Operation: 72+17=89, Resulting Numbers: [89]
89,70 unequal: No Solution
Exploring Operation: 72-17=55, Resulting Numbers: [55]
55,70 unequal: No Solution
Moving to Node #0,4,0
Current State: 70:[70, 19], Operations: ['72-2=70', '40-21=19']
Exploring Operation: 70*19=1330, Resulting Numbers: [1330]
1330,70 unequal: No Solution
Exploring Operation: 70-19=51, Resulting Numbers: [51]
51,70 unequal: No Solution
Exploring Operation: 70+19=89, Resulting Numbers: [89]
89,70 unequal: No Solution
Moving to Node #0,1,1
Current State: 70:[19, 36], Operations: ['40-21=19', '72/2=36']
Exploring Operation: 36-19=17, Resulting Numbers: [17]
17,70 unequal: No Solution
Exploring Operation: 19+36=55, Resulting Numbers: [55]
55,70 unequal: No Solution
Exploring Operation: 19*36=684, Resulting Numbers: [684]
684,70 unequal: No Solution
Moving to Node #0,0,2
Current State: 70:[21, 34], Operations: ['40-2=38', '72-38=34']
Exploring Operation: 34-21=13, Resulting Numbers: [13]
13,70 unequal: No Solution
Exploring Operation: 21*34=714, Resulting Numbers: [714]
714,70 unequal: No Solution
Exploring Operation: 21+34=55, Resulting Numbers: [55]
55,70 unequal: No Solution
Moving to Node #0,3,1
Current State: 70:[61, 70], Operations: ['40+21=61', '72-2=70']
Exploring Operation: 61*70=4270, Resulting Numbers: [4270]
4270,70 unequal: No Solution
Exploring Operation: 61+70=131, Resulting Numbers: [131]
131,70 unequal: No Solution
Exploring Operation: 70-61=9, Resulting Numbers: [9]
9,70 unequal: No Solution
Moving to Node #0,1,3
Current State: 70:[19, 74], Operations: ['40-21=19', '72+2=74']
Exploring Operation: 74-19=55, Resulting Numbers: [55]
55,70 unequal: No Solution
Exploring Operation: 19+74=93, Resulting Numbers: [93]
93,70 unequal: No Solution
Exploring Operation: 19*74=1406, Resulting Numbers: [1406]
1406,70 unequal: No Solution
Moving to Node #0,3,3
Current State: 70:[72, 63], Operations: ['40+21=61', '2+61=63']
Exploring Operation: 72+63=135, Resulting Numbers: [135]
135,70 unequal: No Solution
Exploring Operation: 72*63=4536, Resulting Numbers: [4536]
4536,70 unequal: No Solution
Exploring Operation: 72-63=9, Resulting Numbers: [9]
9,70 unequal: No Solution
Moving to Node #0,4,4
Current State: 70:[70, 61], Operations: ['72-2=70', '40+21=61']
Exploring Operation: 70*61=4270, Resulting Numbers: [4270]
4270,70 unequal: No Solution
Exploring Operation: 70+61=131, Resulting Numbers: [131]
131,70 unequal: No Solution
Exploring Operation: 70-61=9, Resulting Numbers: [9]
9,70 unequal: No Solution
Moving to Node #0,3,4
Current State: 70:[61, 36], Operations: ['40+21=61', '72/2=36']
Exploring Operation: 61+36=97, Resulting Numbers: [97]
97,70 unequal: No Solution
Exploring Operation: 61*36=2196, Resulting Numbers: [2196]
2196,70 unequal: No Solution
Exploring Operation: 61-36=25, Resulting Numbers: [25]
25,70 unequal: No Solution
Moving to Node #0,4,2
Current State: 70:[21, 30], Operations: ['72-2=70', '70-40=30']
Exploring Operation: 21*30=630, Resulting Numbers: [630]
630,70 unequal: No Solution
Exploring Operation: 30-21=9, Resulting Numbers: [9]
9,70 unequal: No Solution
Exploring Operation: 21+30=51, Resulting Numbers: [51]
51,70 unequal: No Solution
Moving to Node #0,0,3
Current State: 70:[72, 59], Operations: ['40-2=38', '21+38=59']
Exploring Operation: 72-59=13, Resulting Numbers: [13]
13,70 unequal: No Solution
Exploring Operation: 72+59=131, Resulting Numbers: [131]
131,70 unequal: No Solution
Exploring Operation: 72*59=4248, Resulting Numbers: [4248]
4248,70 unequal: No Solution
Moving to Node #0,3,0
Current State: 70:[61, 74], Operations: ['40+21=61', '72+2=74']
Exploring Operation: 61+74=135, Resulting Numbers: [135]
135,70 unequal: No Solution
Exploring Operation: 61*74=4514, Resulting Numbers: [4514]
4514,70 unequal: No Solution
Exploring Operation: 74-61=13, Resulting Numbers: [13]
13,70 unequal: No Solution
Moving to Node #0,4,1
Current State: 70:[40, 49], Operations: ['72-2=70', '70-21=49']
Exploring Operation: 40*49=1960, Resulting Numbers: [1960]
1960,70 unequal: No Solution
Exploring Operation: 40+49=89, Resulting Numbers: [89]
89,70 unequal: No Solution
Exploring Operation: 49-40=9, Resulting Numbers: [9]
9,70 unequal: No Solution
Moving to Node #0,0,4
Current State: 70:[38, 51], Operations: ['40-2=38', '72-21=51']
Exploring Operation: 38*51=1938, Resulting Numbers: [1938]
1938,70 unequal: No Solution
Exploring Operation: 51-38=13, Resulting Numbers: [13]
13,70 unequal: No Solution
Exploring Operation: 38+51=89, Resulting Numbers: [89]
89,70 unequal: No Solution
Moving to Node #0,4,3
Current State: 70:[40, 91], Operations: ['72-2=70', '21+70=91']
Exploring Operation: 91-40=51, Resulting Numbers: [51]
51,70 unequal: No Solution
Exploring Operation: 40*91=3640, Resulting Numbers: [3640]
3640,70 unequal: No Solution
Exploring Operation: 40+91=131, Resulting Numbers: [131]
131,70 unequal: No Solution
Moving to Node #0,0,1
Current State: 70:[38, 93], Operations: ['40-2=38', '72+21=93']
Exploring Operation: 38*93=3534, Resulting Numbers: [3534]
3534,70 unequal: No Solution
Exploring Operation: 93-38=55, Resulting Numbers: [55]
55,70 unequal: No Solution
Exploring Operation: 38+93=131, Resulting Numbers: [131]
131,70 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
88,
5,
39,
22
] | 86 | [
"5+39=44",
"44/22=2",
"88-2=86"
] | Current State: 86:[88, 5, 39, 22], Operations: []
Exploring Operation: 5+39=44, Resulting Numbers: [88, 22, 44]
Generated Node #2: [88, 22, 44] from Operation: 5+39=44
Current State: 86:[88, 22, 44], Operations: ['5+39=44']
Exploring Operation: 44/22=2, Resulting Numbers: [88, 2]
Generated Node #3: [88, 2] from Operation: 44/22=2
Current State: 86:[88, 2], Operations: ['5+39=44', '44/22=2']
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[88, 5, 39, 22], Operations: []
Exploring Operation: 88/22=4, Resulting Numbers: [5, 39, 4]
Generated Node #0,0: 86:[5, 39, 4] Operation: 88/22=4
Exploring Operation: 39-22=17, Resulting Numbers: [88, 5, 17]
Generated Node #0,1: 86:[88, 5, 17] Operation: 39-22=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[5, 39, 4], Operations: ['88/22=4']
Exploring Operation: 39+4=43, Resulting Numbers: [5, 43]
Generated Node #0,0,0: 86:[5, 43] Operation: 39+4=43
Exploring Operation: 5+39=44, Resulting Numbers: [4, 44]
Generated Node #0,0,1: 86:[4, 44] Operation: 5+39=44
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 86:[5, 43], Operations: ['88/22=4', '39+4=43']
Exploring Operation: 43-5=38, Resulting Numbers: [38]
38,86 unequal: No Solution
Exploring Operation: 5+43=48, Resulting Numbers: [48]
48,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 86:[4, 44], Operations: ['88/22=4', '5+39=44']
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,86 unequal: No Solution
Exploring Operation: 4+44=48, Resulting Numbers: [48]
48,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 86:[88, 5, 17], Operations: ['39-22=17']
Exploring Operation: 5*17=85, Resulting Numbers: [88, 85]
Generated Node #0,1,0: 86:[88, 85] Operation: 5*17=85
Exploring Operation: 17-5=12, Resulting Numbers: [88, 12]
Generated Node #0,1,1: 86:[88, 12] Operation: 17-5=12
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 86:[88, 85], Operations: ['39-22=17', '5*17=85']
Exploring Operation: 88+85=173, Resulting Numbers: [173]
173,86 unequal: No Solution
Exploring Operation: 88-85=3, Resulting Numbers: [3]
3,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 86:[88, 12], Operations: ['39-22=17', '17-5=12']
Exploring Operation: 88+12=100, Resulting Numbers: [100]
100,86 unequal: No Solution
Exploring Operation: 88-12=76, Resulting Numbers: [76]
76,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
59,
15,
58,
82
] | 97 | [
"59-58=1",
"15+82=97",
"1*97=97"
] | Current State: 97:[59, 15, 58, 82], Operations: []
Exploring Operation: 59-58=1, Resulting Numbers: [15, 82, 1]
Generated Node #2: [15, 82, 1] from Operation: 59-58=1
Current State: 97:[15, 82, 1], Operations: ['59-58=1']
Exploring Operation: 15+82=97, Resulting Numbers: [1, 97]
Generated Node #3: [1, 97] from Operation: 15+82=97
Current State: 97:[1, 97], Operations: ['59-58=1', '15+82=97']
Exploring Operation: 1*97=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[59, 15, 58, 82], Operations: []
Exploring Operation: 59+15=74, Resulting Numbers: [58, 82, 74]
Generated Node #0,0: 97:[58, 82, 74] Operation: 59+15=74
Moving to Node #0,0
Current State: 97:[58, 82, 74], Operations: ['59+15=74']
Exploring Operation: 58+74=132, Resulting Numbers: [82, 132]
Generated Node #0,0,0: 97:[82, 132] Operation: 58+74=132
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[82, 132], Operations: ['59+15=74', '58+74=132']
Exploring Operation: 132-82=50, Resulting Numbers: [50]
50,97 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 |
[
96,
67,
2,
33
] | 31 | [
"96-67=29",
"33+29=62",
"62/2=31"
] | Current State: 31:[96, 67, 2, 33], Operations: []
Exploring Operation: 96-67=29, Resulting Numbers: [2, 33, 29]
Generated Node #2: [2, 33, 29] from Operation: 96-67=29
Current State: 31:[2, 33, 29], Operations: ['96-67=29']
Exploring Operation: 33+29=62, Resulting Numbers: [2, 62]
Generated Node #3: [2, 62] from Operation: 33+29=62
Current State: 31:[2, 62], Operations: ['96-67=29', '33+29=62']
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[96, 67, 2, 33], Operations: []
Exploring Operation: 96-67=29, Resulting Numbers: [2, 33, 29]
Generated Node #0,0: 31:[2, 33, 29] Operation: 96-67=29
Exploring Operation: 96-33=63, Resulting Numbers: [67, 2, 63]
Generated Node #0,1: 31:[67, 2, 63] Operation: 96-33=63
Exploring Operation: 67-33=34, Resulting Numbers: [96, 2, 34]
Generated Node #0,2: 31:[96, 2, 34] Operation: 67-33=34
Exploring Operation: 96/2=48, Resulting Numbers: [67, 33, 48]
Generated Node #0,3: 31:[67, 33, 48] Operation: 96/2=48
Exploring Operation: 96-2=94, Resulting Numbers: [67, 33, 94]
Generated Node #0,4: 31:[67, 33, 94] Operation: 96-2=94
Moving to Node #0,0
Current State: 31:[2, 33, 29], Operations: ['96-67=29']
Exploring Operation: 33-2=31, Resulting Numbers: [29, 31]
Generated Node #0,0,0: 31:[29, 31] Operation: 33-2=31
Exploring Operation: 2+33=35, Resulting Numbers: [29, 35]
Generated Node #0,0,1: 31:[29, 35] Operation: 2+33=35
Exploring Operation: 2+29=31, Resulting Numbers: [33, 31]
Generated Node #0,0,2: 31:[33, 31] Operation: 2+29=31
Exploring Operation: 29-2=27, Resulting Numbers: [33, 27]
Generated Node #0,0,3: 31:[33, 27] Operation: 29-2=27
Exploring Operation: 2*29=58, Resulting Numbers: [33, 58]
Generated Node #0,0,4: 31:[33, 58] Operation: 2*29=58
Moving to Node #0,3
Current State: 31:[67, 33, 48], Operations: ['96/2=48']
Exploring Operation: 67-48=19, Resulting Numbers: [33, 19]
Generated Node #0,3,0: 31:[33, 19] Operation: 67-48=19
Exploring Operation: 48-33=15, Resulting Numbers: [67, 15]
Generated Node #0,3,1: 31:[67, 15] Operation: 48-33=15
Exploring Operation: 67+33=100, Resulting Numbers: [48, 100]
Generated Node #0,3,2: 31:[48, 100] Operation: 67+33=100
Exploring Operation: 67+48=115, Resulting Numbers: [33, 115]
Generated Node #0,3,3: 31:[33, 115] Operation: 67+48=115
Exploring Operation: 67-33=34, Resulting Numbers: [48, 34]
Generated Node #0,3,4: 31:[48, 34] Operation: 67-33=34
Moving to Node #0,1
Current State: 31:[67, 2, 63], Operations: ['96-33=63']
Exploring Operation: 67-2=65, Resulting Numbers: [63, 65]
Generated Node #0,1,0: 31:[63, 65] Operation: 67-2=65
Exploring Operation: 63-2=61, Resulting Numbers: [67, 61]
Generated Node #0,1,1: 31:[67, 61] Operation: 63-2=61
Exploring Operation: 67-63=4, Resulting Numbers: [2, 4]
Generated Node #0,1,2: 31:[2, 4] Operation: 67-63=4
Exploring Operation: 2+63=65, Resulting Numbers: [67, 65]
Generated Node #0,1,3: 31:[67, 65] Operation: 2+63=65
Exploring Operation: 67+2=69, Resulting Numbers: [63, 69]
Generated Node #0,1,4: 31:[63, 69] Operation: 67+2=69
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 31:[2, 4], Operations: ['96-33=63', '67-63=4']
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,31 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,31 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,31 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 31:[63, 65], Operations: ['96-33=63', '67-2=65']
Exploring Operation: 63+65=128, Resulting Numbers: [128]
128,31 unequal: No Solution
Exploring Operation: 63*65=4095, Resulting Numbers: [4095]
4095,31 unequal: No Solution
Exploring Operation: 65-63=2, Resulting Numbers: [2]
2,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 31:[67, 61], Operations: ['96-33=63', '63-2=61']
Exploring Operation: 67-61=6, Resulting Numbers: [6]
6,31 unequal: No Solution
Exploring Operation: 67*61=4087, Resulting Numbers: [4087]
4087,31 unequal: No Solution
Exploring Operation: 67+61=128, Resulting Numbers: [128]
128,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 31:[67, 65], Operations: ['96-33=63', '2+63=65']
Exploring Operation: 67-65=2, Resulting Numbers: [2]
2,31 unequal: No Solution
Exploring Operation: 67+65=132, Resulting Numbers: [132]
132,31 unequal: No Solution
Exploring Operation: 67*65=4355, Resulting Numbers: [4355]
4355,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 31:[63, 69], Operations: ['96-33=63', '67+2=69']
Exploring Operation: 63+69=132, Resulting Numbers: [132]
132,31 unequal: No Solution
Exploring Operation: 63*69=4347, Resulting Numbers: [4347]
4347,31 unequal: No Solution
Exploring Operation: 69-63=6, Resulting Numbers: [6]
6,31 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: 31:[96, 2, 34], Operations: ['67-33=34']
Exploring Operation: 96-2=94, Resulting Numbers: [34, 94]
Generated Node #0,2,0: 31:[34, 94] Operation: 96-2=94
Exploring Operation: 96-34=62, Resulting Numbers: [2, 62]
Generated Node #0,2,1: 31:[2, 62] Operation: 96-34=62
Exploring Operation: 96+2=98, Resulting Numbers: [34, 98]
Generated Node #0,2,2: 31:[34, 98] Operation: 96+2=98
Exploring Operation: 96/2=48, Resulting Numbers: [34, 48]
Generated Node #0,2,3: 31:[34, 48] Operation: 96/2=48
Exploring Operation: 34-2=32, Resulting Numbers: [96, 32]
Generated Node #0,2,4: 31:[96, 32] Operation: 34-2=32
Moving to Node #0,4
Current State: 31:[67, 33, 94], Operations: ['96-2=94']
Exploring Operation: 67+33=100, Resulting Numbers: [94, 100]
Generated Node #0,4,0: 31:[94, 100] Operation: 67+33=100
Exploring Operation: 67-33=34, Resulting Numbers: [94, 34]
Generated Node #0,4,1: 31:[94, 34] Operation: 67-33=34
Exploring Operation: 67+94=161, Resulting Numbers: [33, 161]
Generated Node #0,4,2: 31:[33, 161] Operation: 67+94=161
Exploring Operation: 94-67=27, Resulting Numbers: [33, 27]
Generated Node #0,4,3: 31:[33, 27] Operation: 94-67=27
Exploring Operation: 94-33=61, Resulting Numbers: [67, 61]
Generated Node #0,4,4: 31:[67, 61] Operation: 94-33=61
Moving to Node #0,0,0
Current State: 31:[29, 31], Operations: ['96-67=29', '33-2=31']
Exploring Operation: 29*31=899, Resulting Numbers: [899]
899,31 unequal: No Solution
Exploring Operation: 29+31=60, Resulting Numbers: [60]
60,31 unequal: No Solution
Exploring Operation: 31-29=2, Resulting Numbers: [2]
2,31 unequal: No Solution
Moving to Node #0,0,2
Current State: 31:[33, 31], Operations: ['96-67=29', '2+29=31']
Exploring Operation: 33-31=2, Resulting Numbers: [2]
2,31 unequal: No Solution
Exploring Operation: 33+31=64, Resulting Numbers: [64]
64,31 unequal: No Solution
Exploring Operation: 33*31=1023, Resulting Numbers: [1023]
1023,31 unequal: No Solution
Moving to Node #0,0,1
Current State: 31:[29, 35], Operations: ['96-67=29', '2+33=35']
Exploring Operation: 29+35=64, Resulting Numbers: [64]
64,31 unequal: No Solution
Exploring Operation: 35-29=6, Resulting Numbers: [6]
6,31 unequal: No Solution
Exploring Operation: 29*35=1015, Resulting Numbers: [1015]
1015,31 unequal: No Solution
Moving to Node #0,0,3
Current State: 31:[33, 27], Operations: ['96-67=29', '29-2=27']
Exploring Operation: 33-27=6, Resulting Numbers: [6]
6,31 unequal: No Solution
Exploring Operation: 33+27=60, Resulting Numbers: [60]
60,31 unequal: No Solution
Exploring Operation: 33*27=891, Resulting Numbers: [891]
891,31 unequal: No Solution
Moving to Node #0,4,3
Current State: 31:[33, 27], Operations: ['96-2=94', '94-67=27']
Exploring Operation: 33*27=891, Resulting Numbers: [891]
891,31 unequal: No Solution
Exploring Operation: 33+27=60, Resulting Numbers: [60]
60,31 unequal: No Solution
Exploring Operation: 33-27=6, Resulting Numbers: [6]
6,31 unequal: No Solution
Moving to Node #0,3,0
Current State: 31:[33, 19], Operations: ['96/2=48', '67-48=19']
Exploring Operation: 33-19=14, Resulting Numbers: [14]
14,31 unequal: No Solution
Exploring Operation: 33+19=52, Resulting Numbers: [52]
52,31 unequal: No Solution
Exploring Operation: 33*19=627, Resulting Numbers: [627]
627,31 unequal: No Solution
Moving to Node #0,3,4
Current State: 31:[48, 34], Operations: ['96/2=48', '67-33=34']
Exploring Operation: 48*34=1632, Resulting Numbers: [1632]
1632,31 unequal: No Solution
Exploring Operation: 48-34=14, Resulting Numbers: [14]
14,31 unequal: No Solution
Exploring Operation: 48+34=82, Resulting Numbers: [82]
82,31 unequal: No Solution
Moving to Node #0,2,3
Current State: 31:[34, 48], Operations: ['67-33=34', '96/2=48']
Exploring Operation: 48-34=14, Resulting Numbers: [14]
14,31 unequal: No Solution
Exploring Operation: 34+48=82, Resulting Numbers: [82]
82,31 unequal: No Solution
Exploring Operation: 34*48=1632, Resulting Numbers: [1632]
1632,31 unequal: No Solution
Moving to Node #0,0,4
Current State: 31:[33, 58], Operations: ['96-67=29', '2*29=58']
Exploring Operation: 33*58=1914, Resulting Numbers: [1914]
1914,31 unequal: No Solution
Exploring Operation: 33+58=91, Resulting Numbers: [91]
91,31 unequal: No Solution
Exploring Operation: 58-33=25, Resulting Numbers: [25]
25,31 unequal: No Solution
Moving to Node #0,3,1
Current State: 31:[67, 15], Operations: ['96/2=48', '48-33=15']
Exploring Operation: 67*15=1005, Resulting Numbers: [1005]
1005,31 unequal: No Solution
Exploring Operation: 67+15=82, Resulting Numbers: [82]
82,31 unequal: No Solution
Exploring Operation: 67-15=52, Resulting Numbers: [52]
52,31 unequal: No Solution
Moving to Node #0,2,1
Current State: 31:[2, 62], Operations: ['67-33=34', '96-34=62']
Exploring Operation: 2+62=64, Resulting Numbers: [64]
64,31 unequal: No Solution
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,31 unequal: No Solution
Exploring Operation: 2*62=124, Resulting Numbers: [124]
124,31 unequal: No Solution
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[96, 67, 2, 33], Operations: []
Exploring Operation: 67-33=34, Resulting Numbers: [96, 2, 34]
Generated Node #0,2: 31:[96, 2, 34] Operation: 67-33=34
Moving to Node #0,2
Current State: 31:[96, 2, 34], Operations: ['67-33=34']
Exploring Operation: 96-34=62, Resulting Numbers: [2, 62]
Generated Node #0,2,1: 31:[2, 62] Operation: 96-34=62
Moving to Node #0,2,1
Current State: 31:[2, 62], Operations: ['67-33=34', '96-34=62']
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 0.927083 | hs_5 | sum_heuristic |
[
45,
95,
55,
19
] | 56 | [
"95/19=5",
"55/5=11",
"45+11=56"
] | Current State: 56:[45, 95, 55, 19], Operations: []
Exploring Operation: 95/19=5, Resulting Numbers: [45, 55, 5]
Generated Node #2: [45, 55, 5] from Operation: 95/19=5
Current State: 56:[45, 55, 5], Operations: ['95/19=5']
Exploring Operation: 55/5=11, Resulting Numbers: [45, 11]
Generated Node #3: [45, 11] from Operation: 55/5=11
Current State: 56:[45, 11], Operations: ['95/19=5', '55/5=11']
Exploring Operation: 45+11=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[45, 95, 55, 19], Operations: []
Exploring Operation: 95-45=50, Resulting Numbers: [55, 19, 50]
Generated Node #0,0: 56:[55, 19, 50] Operation: 95-45=50
Exploring Operation: 95/19=5, Resulting Numbers: [45, 55, 5]
Generated Node #0,1: 56:[45, 55, 5] Operation: 95/19=5
Moving to Node #0,0
Current State: 56:[55, 19, 50], Operations: ['95-45=50']
Exploring Operation: 50-19=31, Resulting Numbers: [55, 31]
Generated Node #0,0,0: 56:[55, 31] Operation: 50-19=31
Exploring Operation: 55-50=5, Resulting Numbers: [19, 5]
Generated Node #0,0,1: 56:[19, 5] Operation: 55-50=5
Moving to Node #0,1
Current State: 56:[45, 55, 5], Operations: ['95/19=5']
Exploring Operation: 55-45=10, Resulting Numbers: [5, 10]
Generated Node #0,1,0: 56:[5, 10] Operation: 55-45=10
Exploring Operation: 45/5=9, Resulting Numbers: [55, 9]
Generated Node #0,1,1: 56:[55, 9] Operation: 45/5=9
Moving to Node #0,1,1
Current State: 56:[55, 9], Operations: ['95/19=5', '45/5=9']
Exploring Operation: 55-9=46, Resulting Numbers: [46]
46,56 unequal: No Solution
Exploring Operation: 55+9=64, Resulting Numbers: [64]
64,56 unequal: No Solution
Moving to Node #0,1,0
Current State: 56:[5, 10], Operations: ['95/19=5', '55-45=10']
Exploring Operation: 5+10=15, Resulting Numbers: [15]
15,56 unequal: No Solution
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Moving to Node #0,0,0
Current State: 56:[55, 31], Operations: ['95-45=50', '50-19=31']
Exploring Operation: 55+31=86, Resulting Numbers: [86]
86,56 unequal: No Solution
Exploring Operation: 55-31=24, Resulting Numbers: [24]
24,56 unequal: No Solution
Moving to Node #0,0,1
Current State: 56:[19, 5], Operations: ['95-45=50', '55-50=5']
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,56 unequal: No Solution
Exploring Operation: 19+5=24, Resulting Numbers: [24]
24,56 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
59,
2,
39,
9
] | 97 | [
"59+9=68",
"2*68=136",
"136-39=97"
] | Current State: 97:[59, 2, 39, 9], Operations: []
Exploring Operation: 59+9=68, Resulting Numbers: [2, 39, 68]
Generated Node #2: [2, 39, 68] from Operation: 59+9=68
Current State: 97:[2, 39, 68], Operations: ['59+9=68']
Exploring Operation: 2*68=136, Resulting Numbers: [39, 136]
Generated Node #3: [39, 136] from Operation: 2*68=136
Current State: 97:[39, 136], Operations: ['59+9=68', '2*68=136']
Exploring Operation: 136-39=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[59, 2, 39, 9], Operations: []
Exploring Operation: 2*39=78, Resulting Numbers: [59, 9, 78]
Generated Node #0,0: 97:[59, 9, 78] Operation: 2*39=78
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[59, 9, 78], Operations: ['2*39=78']
Exploring Operation: 59+9=68, Resulting Numbers: [78, 68]
Generated Node #0,0,0: 97:[78, 68] Operation: 59+9=68
Moving to Node #0,0,0
Current State: 97:[78, 68], Operations: ['2*39=78', '59+9=68']
Exploring Operation: 78+68=146, Resulting Numbers: [146]
146,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
20,
36,
7,
60
] | 19 | [
"20*36=720",
"720/60=12",
"7+12=19"
] | Current State: 19:[20, 36, 7, 60], Operations: []
Exploring Operation: 20*36=720, Resulting Numbers: [7, 60, 720]
Generated Node #2: [7, 60, 720] from Operation: 20*36=720
Current State: 19:[7, 60, 720], Operations: ['20*36=720']
Exploring Operation: 720/60=12, Resulting Numbers: [7, 12]
Generated Node #3: [7, 12] from Operation: 720/60=12
Current State: 19:[7, 12], Operations: ['20*36=720', '720/60=12']
Exploring Operation: 7+12=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[20, 36, 7, 60], Operations: []
Exploring Operation: 60-36=24, Resulting Numbers: [20, 7, 24]
Generated Node #0,0: 19:[20, 7, 24] Operation: 60-36=24
Exploring Operation: 60/20=3, Resulting Numbers: [36, 7, 3]
Generated Node #0,1: 19:[36, 7, 3] Operation: 60/20=3
Moving to Node #0,0
Current State: 19:[20, 7, 24], Operations: ['60-36=24']
Exploring Operation: 20-7=13, Resulting Numbers: [24, 13]
Generated Node #0,0,0: 19:[24, 13] Operation: 20-7=13
Exploring Operation: 24-7=17, Resulting Numbers: [20, 17]
Generated Node #0,0,1: 19:[20, 17] Operation: 24-7=17
Moving to Node #0,1
Current State: 19:[36, 7, 3], Operations: ['60/20=3']
Exploring Operation: 36/3=12, Resulting Numbers: [7, 12]
Generated Node #0,1,0: 19:[7, 12] Operation: 36/3=12
Exploring Operation: 7*3=21, Resulting Numbers: [36, 21]
Generated Node #0,1,1: 19:[36, 21] Operation: 7*3=21
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 19:[7, 12], Operations: ['60/20=3', '36/3=12']
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Exploring Operation: 7+12=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[20, 36, 7, 60], Operations: []
Exploring Operation: 60/20=3, Resulting Numbers: [36, 7, 3]
Generated Node #0,1: 19:[36, 7, 3] Operation: 60/20=3
Moving to Node #0,1
Current State: 19:[36, 7, 3], Operations: ['60/20=3']
Exploring Operation: 36/3=12, Resulting Numbers: [7, 12]
Generated Node #0,1,0: 19:[7, 12] Operation: 36/3=12
Moving to Node #0,1,0
Current State: 19:[7, 12], Operations: ['60/20=3', '36/3=12']
Exploring Operation: 7+12=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
66,
4,
59,
44
] | 85 | [
"66+4=70",
"59-44=15",
"70+15=85"
] | Current State: 85:[66, 4, 59, 44], Operations: []
Exploring Operation: 66+4=70, Resulting Numbers: [59, 44, 70]
Generated Node #2: [59, 44, 70] from Operation: 66+4=70
Current State: 85:[59, 44, 70], Operations: ['66+4=70']
Exploring Operation: 59-44=15, Resulting Numbers: [70, 15]
Generated Node #3: [70, 15] from Operation: 59-44=15
Current State: 85:[70, 15], Operations: ['66+4=70', '59-44=15']
Exploring Operation: 70+15=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[66, 4, 59, 44], Operations: []
Exploring Operation: 66-44=22, Resulting Numbers: [4, 59, 22]
Generated Node #0,0: 85:[4, 59, 22] Operation: 66-44=22
Exploring Operation: 66-59=7, Resulting Numbers: [4, 44, 7]
Generated Node #0,1: 85:[4, 44, 7] Operation: 66-59=7
Exploring Operation: 59-44=15, Resulting Numbers: [66, 4, 15]
Generated Node #0,2: 85:[66, 4, 15] Operation: 59-44=15
Start Sub Search at level 1: Moving to Node #0,2
Current State: 85:[66, 4, 15], Operations: ['59-44=15']
Exploring Operation: 66+15=81, Resulting Numbers: [4, 81]
Generated Node #0,2,0: 85:[4, 81] Operation: 66+15=81
Exploring Operation: 4+15=19, Resulting Numbers: [66, 19]
Generated Node #0,2,1: 85:[66, 19] Operation: 4+15=19
Exploring Operation: 66+4=70, Resulting Numbers: [15, 70]
Generated Node #0,2,2: 85:[15, 70] Operation: 66+4=70
Moving to Node #0,2,0
Current State: 85:[4, 81], Operations: ['59-44=15', '66+15=81']
Exploring Operation: 81-4=77, Resulting Numbers: [77]
77,85 unequal: No Solution
Exploring Operation: 4+81=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[66, 4, 59, 44], Operations: []
Exploring Operation: 59-44=15, Resulting Numbers: [66, 4, 15]
Generated Node #0,2: 85:[66, 4, 15] Operation: 59-44=15
Moving to Node #0,2
Current State: 85:[66, 4, 15], Operations: ['59-44=15']
Exploring Operation: 66+15=81, Resulting Numbers: [4, 81]
Generated Node #0,2,0: 85:[4, 81] Operation: 66+15=81
Moving to Node #0,2,0
Current State: 85:[4, 81], Operations: ['59-44=15', '66+15=81']
Exploring Operation: 4+81=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
78,
23,
71,
15
] | 82 | [
"78-71=7",
"15*7=105",
"105-23=82"
] | Current State: 82:[78, 23, 71, 15], Operations: []
Exploring Operation: 78-71=7, Resulting Numbers: [23, 15, 7]
Generated Node #2: [23, 15, 7] from Operation: 78-71=7
Current State: 82:[23, 15, 7], Operations: ['78-71=7']
Exploring Operation: 15*7=105, Resulting Numbers: [23, 105]
Generated Node #3: [23, 105] from Operation: 15*7=105
Current State: 82:[23, 105], Operations: ['78-71=7', '15*7=105']
Exploring Operation: 105-23=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[78, 23, 71, 15], Operations: []
Exploring Operation: 71+15=86, Resulting Numbers: [78, 23, 86]
Generated Node #0,0: 82:[78, 23, 86] Operation: 71+15=86
Exploring Operation: 23+71=94, Resulting Numbers: [78, 15, 94]
Generated Node #0,1: 82:[78, 15, 94] Operation: 23+71=94
Exploring Operation: 23-15=8, Resulting Numbers: [78, 71, 8]
Generated Node #0,2: 82:[78, 71, 8] Operation: 23-15=8
Exploring Operation: 23+15=38, Resulting Numbers: [78, 71, 38]
Generated Node #0,3: 82:[78, 71, 38] Operation: 23+15=38
Exploring Operation: 71-23=48, Resulting Numbers: [78, 15, 48]
Generated Node #0,4: 82:[78, 15, 48] Operation: 71-23=48
Start Sub Search at level 1: Moving to Node #0,3
Current State: 82:[78, 71, 38], Operations: ['23+15=38']
Exploring Operation: 78+38=116, Resulting Numbers: [71, 116]
Generated Node #0,3,0: 82:[71, 116] Operation: 78+38=116
Exploring Operation: 78-38=40, Resulting Numbers: [71, 40]
Generated Node #0,3,1: 82:[71, 40] Operation: 78-38=40
Exploring Operation: 71-38=33, Resulting Numbers: [78, 33]
Generated Node #0,3,2: 82:[78, 33] Operation: 71-38=33
Exploring Operation: 71+38=109, Resulting Numbers: [78, 109]
Generated Node #0,3,3: 82:[78, 109] Operation: 71+38=109
Exploring Operation: 78-71=7, Resulting Numbers: [38, 7]
Generated Node #0,3,4: 82:[38, 7] Operation: 78-71=7
Moving to Node #0,3,4
Current State: 82:[38, 7], Operations: ['23+15=38', '78-71=7']
Exploring Operation: 38*7=266, Resulting Numbers: [266]
266,82 unequal: No Solution
Exploring Operation: 38+7=45, Resulting Numbers: [45]
45,82 unequal: No Solution
Exploring Operation: 38-7=31, Resulting Numbers: [31]
31,82 unequal: No Solution
Moving to Node #0,3,2
Current State: 82:[78, 33], Operations: ['23+15=38', '71-38=33']
Exploring Operation: 78+33=111, Resulting Numbers: [111]
111,82 unequal: No Solution
Exploring Operation: 78*33=2574, Resulting Numbers: [2574]
2574,82 unequal: No Solution
Exploring Operation: 78-33=45, Resulting Numbers: [45]
45,82 unequal: No Solution
Moving to Node #0,3,1
Current State: 82:[71, 40], Operations: ['23+15=38', '78-38=40']
Exploring Operation: 71*40=2840, Resulting Numbers: [2840]
2840,82 unequal: No Solution
Exploring Operation: 71-40=31, Resulting Numbers: [31]
31,82 unequal: No Solution
Exploring Operation: 71+40=111, Resulting Numbers: [111]
111,82 unequal: No Solution
Moving to Node #0,3,3
Current State: 82:[78, 109], Operations: ['23+15=38', '71+38=109']
Exploring Operation: 78+109=187, Resulting Numbers: [187]
187,82 unequal: No Solution
Exploring Operation: 78*109=8502, Resulting Numbers: [8502]
8502,82 unequal: No Solution
Exploring Operation: 109-78=31, Resulting Numbers: [31]
31,82 unequal: No Solution
Moving to Node #0,3,0
Current State: 82:[71, 116], Operations: ['23+15=38', '78+38=116']
Exploring Operation: 71*116=8236, Resulting Numbers: [8236]
8236,82 unequal: No Solution
Exploring Operation: 71+116=187, Resulting Numbers: [187]
187,82 unequal: No Solution
Exploring Operation: 116-71=45, Resulting Numbers: [45]
45,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 82:[78, 71, 8], Operations: ['23-15=8']
Exploring Operation: 71-8=63, Resulting Numbers: [78, 63]
Generated Node #0,2,0: 82:[78, 63] Operation: 71-8=63
Exploring Operation: 78-8=70, Resulting Numbers: [71, 70]
Generated Node #0,2,1: 82:[71, 70] Operation: 78-8=70
Exploring Operation: 71+8=79, Resulting Numbers: [78, 79]
Generated Node #0,2,2: 82:[78, 79] Operation: 71+8=79
Exploring Operation: 78+8=86, Resulting Numbers: [71, 86]
Generated Node #0,2,3: 82:[71, 86] Operation: 78+8=86
Exploring Operation: 78-71=7, Resulting Numbers: [8, 7]
Generated Node #0,2,4: 82:[8, 7] Operation: 78-71=7
Moving to Node #0,2,2
Current State: 82:[78, 79], Operations: ['23-15=8', '71+8=79']
Exploring Operation: 78*79=6162, Resulting Numbers: [6162]
6162,82 unequal: No Solution
Exploring Operation: 79-78=1, Resulting Numbers: [1]
1,82 unequal: No Solution
Exploring Operation: 78+79=157, Resulting Numbers: [157]
157,82 unequal: No Solution
Moving to Node #0,2,4
Current State: 82:[8, 7], Operations: ['23-15=8', '78-71=7']
Exploring Operation: 8*7=56, Resulting Numbers: [56]
56,82 unequal: No Solution
Exploring Operation: 8+7=15, Resulting Numbers: [15]
15,82 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,82 unequal: No Solution
Moving to Node #0,2,3
Current State: 82:[71, 86], Operations: ['23-15=8', '78+8=86']
Exploring Operation: 71+86=157, Resulting Numbers: [157]
157,82 unequal: No Solution
Exploring Operation: 71*86=6106, Resulting Numbers: [6106]
6106,82 unequal: No Solution
Exploring Operation: 86-71=15, Resulting Numbers: [15]
15,82 unequal: No Solution
Moving to Node #0,2,0
Current State: 82:[78, 63], Operations: ['23-15=8', '71-8=63']
Exploring Operation: 78*63=4914, Resulting Numbers: [4914]
4914,82 unequal: No Solution
Exploring Operation: 78+63=141, Resulting Numbers: [141]
141,82 unequal: No Solution
Exploring Operation: 78-63=15, Resulting Numbers: [15]
15,82 unequal: No Solution
Moving to Node #0,2,1
Current State: 82:[71, 70], Operations: ['23-15=8', '78-8=70']
Exploring Operation: 71-70=1, Resulting Numbers: [1]
1,82 unequal: No Solution
Exploring Operation: 71*70=4970, Resulting Numbers: [4970]
4970,82 unequal: No Solution
Exploring Operation: 71+70=141, Resulting Numbers: [141]
141,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 82:[78, 15, 48], Operations: ['71-23=48']
Exploring Operation: 48-15=33, Resulting Numbers: [78, 33]
Generated Node #0,4,0: 82:[78, 33] Operation: 48-15=33
Exploring Operation: 78-48=30, Resulting Numbers: [15, 30]
Generated Node #0,4,1: 82:[15, 30] Operation: 78-48=30
Exploring Operation: 78-15=63, Resulting Numbers: [48, 63]
Generated Node #0,4,2: 82:[48, 63] Operation: 78-15=63
Exploring Operation: 15+48=63, Resulting Numbers: [78, 63]
Generated Node #0,4,3: 82:[78, 63] Operation: 15+48=63
Exploring Operation: 78+15=93, Resulting Numbers: [48, 93]
Generated Node #0,4,4: 82:[48, 93] Operation: 78+15=93
Moving to Node #0,4,0
Current State: 82:[78, 33], Operations: ['71-23=48', '48-15=33']
Exploring Operation: 78+33=111, Resulting Numbers: [111]
111,82 unequal: No Solution
Exploring Operation: 78*33=2574, Resulting Numbers: [2574]
2574,82 unequal: No Solution
Exploring Operation: 78-33=45, Resulting Numbers: [45]
45,82 unequal: No Solution
Moving to Node #0,4,4
Current State: 82:[48, 93], Operations: ['71-23=48', '78+15=93']
Exploring Operation: 48+93=141, Resulting Numbers: [141]
141,82 unequal: No Solution
Exploring Operation: 48*93=4464, Resulting Numbers: [4464]
4464,82 unequal: No Solution
Exploring Operation: 93-48=45, Resulting Numbers: [45]
45,82 unequal: No Solution
Moving to Node #0,4,3
Current State: 82:[78, 63], Operations: ['71-23=48', '15+48=63']
Exploring Operation: 78-63=15, Resulting Numbers: [15]
15,82 unequal: No Solution
Exploring Operation: 78+63=141, Resulting Numbers: [141]
141,82 unequal: No Solution
Exploring Operation: 78*63=4914, Resulting Numbers: [4914]
4914,82 unequal: No Solution
Moving to Node #0,4,1
Current State: 82:[15, 30], Operations: ['71-23=48', '78-48=30']
Exploring Operation: 30/15=2, Resulting Numbers: [2]
2,82 unequal: No Solution
Exploring Operation: 15+30=45, Resulting Numbers: [45]
45,82 unequal: No Solution
Exploring Operation: 30-15=15, Resulting Numbers: [15]
15,82 unequal: No Solution
Exploring Operation: 15*30=450, Resulting Numbers: [450]
450,82 unequal: No Solution
Moving to Node #0,4,2
Current State: 82:[48, 63], Operations: ['71-23=48', '78-15=63']
Exploring Operation: 63-48=15, Resulting Numbers: [15]
15,82 unequal: No Solution
Exploring Operation: 48*63=3024, Resulting Numbers: [3024]
3024,82 unequal: No Solution
Exploring Operation: 48+63=111, Resulting Numbers: [111]
111,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[78, 23, 86], Operations: ['71+15=86']
Exploring Operation: 86-78=8, Resulting Numbers: [23, 8]
Generated Node #0,0,0: 82:[23, 8] Operation: 86-78=8
Exploring Operation: 78+23=101, Resulting Numbers: [86, 101]
Generated Node #0,0,1: 82:[86, 101] Operation: 78+23=101
Exploring Operation: 78-23=55, Resulting Numbers: [86, 55]
Generated Node #0,0,2: 82:[86, 55] Operation: 78-23=55
Exploring Operation: 23+86=109, Resulting Numbers: [78, 109]
Generated Node #0,0,3: 82:[78, 109] Operation: 23+86=109
Exploring Operation: 86-23=63, Resulting Numbers: [78, 63]
Generated Node #0,0,4: 82:[78, 63] Operation: 86-23=63
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 82:[86, 55], Operations: ['71+15=86', '78-23=55']
Exploring Operation: 86*55=4730, Resulting Numbers: [4730]
4730,82 unequal: No Solution
Exploring Operation: 86-55=31, Resulting Numbers: [31]
31,82 unequal: No Solution
Exploring Operation: 86+55=141, Resulting Numbers: [141]
141,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 82:[86, 101], Operations: ['71+15=86', '78+23=101']
Exploring Operation: 86+101=187, Resulting Numbers: [187]
187,82 unequal: No Solution
Exploring Operation: 101-86=15, Resulting Numbers: [15]
15,82 unequal: No Solution
Exploring Operation: 86*101=8686, Resulting Numbers: [8686]
8686,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 82:[78, 63], Operations: ['71+15=86', '86-23=63']
Exploring Operation: 78*63=4914, Resulting Numbers: [4914]
4914,82 unequal: No Solution
Exploring Operation: 78+63=141, Resulting Numbers: [141]
141,82 unequal: No Solution
Exploring Operation: 78-63=15, Resulting Numbers: [15]
15,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 82:[23, 8], Operations: ['71+15=86', '86-78=8']
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,82 unequal: No Solution
Exploring Operation: 23+8=31, Resulting Numbers: [31]
31,82 unequal: No Solution
Exploring Operation: 23*8=184, Resulting Numbers: [184]
184,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 82:[78, 109], Operations: ['71+15=86', '23+86=109']
Exploring Operation: 78*109=8502, Resulting Numbers: [8502]
8502,82 unequal: No Solution
Exploring Operation: 78+109=187, Resulting Numbers: [187]
187,82 unequal: No Solution
Exploring Operation: 109-78=31, Resulting Numbers: [31]
31,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[78, 15, 94], Operations: ['23+71=94']
Exploring Operation: 78+15=93, Resulting Numbers: [94, 93]
Generated Node #0,1,0: 82:[94, 93] Operation: 78+15=93
Exploring Operation: 94-78=16, Resulting Numbers: [15, 16]
Generated Node #0,1,1: 82:[15, 16] Operation: 94-78=16
Exploring Operation: 94-15=79, Resulting Numbers: [78, 79]
Generated Node #0,1,2: 82:[78, 79] Operation: 94-15=79
Exploring Operation: 78-15=63, Resulting Numbers: [94, 63]
Generated Node #0,1,3: 82:[94, 63] Operation: 78-15=63
Exploring Operation: 15+94=109, Resulting Numbers: [78, 109]
Generated Node #0,1,4: 82:[78, 109] Operation: 15+94=109
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 82:[78, 79], Operations: ['23+71=94', '94-15=79']
Exploring Operation: 78+79=157, Resulting Numbers: [157]
157,82 unequal: No Solution
Exploring Operation: 79-78=1, Resulting Numbers: [1]
1,82 unequal: No Solution
Exploring Operation: 78*79=6162, Resulting Numbers: [6162]
6162,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 82:[94, 93], Operations: ['23+71=94', '78+15=93']
Exploring Operation: 94+93=187, Resulting Numbers: [187]
187,82 unequal: No Solution
Exploring Operation: 94*93=8742, Resulting Numbers: [8742]
8742,82 unequal: No Solution
Exploring Operation: 94-93=1, Resulting Numbers: [1]
1,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 82:[15, 16], Operations: ['23+71=94', '94-78=16']
Exploring Operation: 15+16=31, Resulting Numbers: [31]
31,82 unequal: No Solution
Exploring Operation: 15*16=240, Resulting Numbers: [240]
240,82 unequal: No Solution
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 82:[94, 63], Operations: ['23+71=94', '78-15=63']
Exploring Operation: 94*63=5922, Resulting Numbers: [5922]
5922,82 unequal: No Solution
Exploring Operation: 94+63=157, Resulting Numbers: [157]
157,82 unequal: No Solution
Exploring Operation: 94-63=31, Resulting Numbers: [31]
31,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 82:[78, 109], Operations: ['23+71=94', '15+94=109']
Exploring Operation: 109-78=31, Resulting Numbers: [31]
31,82 unequal: No Solution
Exploring Operation: 78+109=187, Resulting Numbers: [187]
187,82 unequal: No Solution
Exploring Operation: 78*109=8502, Resulting Numbers: [8502]
8502,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
76,
38,
81,
53
] | 20 | [
"76+38=114",
"81+53=134",
"134-114=20"
] | Current State: 20:[76, 38, 81, 53], Operations: []
Exploring Operation: 76+38=114, Resulting Numbers: [81, 53, 114]
Generated Node #2: [81, 53, 114] from Operation: 76+38=114
Current State: 20:[81, 53, 114], Operations: ['76+38=114']
Exploring Operation: 81+53=134, Resulting Numbers: [114, 134]
Generated Node #3: [114, 134] from Operation: 81+53=134
Current State: 20:[114, 134], Operations: ['76+38=114', '81+53=134']
Exploring Operation: 134-114=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[76, 38, 81, 53], Operations: []
Exploring Operation: 81-76=5, Resulting Numbers: [38, 53, 5]
Generated Node #0,0: 20:[38, 53, 5] Operation: 81-76=5
Exploring Operation: 76-53=23, Resulting Numbers: [38, 81, 23]
Generated Node #0,1: 20:[38, 81, 23] Operation: 76-53=23
Exploring Operation: 81-53=28, Resulting Numbers: [76, 38, 28]
Generated Node #0,2: 20:[76, 38, 28] Operation: 81-53=28
Moving to Node #0,0
Current State: 20:[38, 53, 5], Operations: ['81-76=5']
Exploring Operation: 53-5=48, Resulting Numbers: [38, 48]
Generated Node #0,0,0: 20:[38, 48] Operation: 53-5=48
Exploring Operation: 38-5=33, Resulting Numbers: [53, 33]
Generated Node #0,0,1: 20:[53, 33] Operation: 38-5=33
Exploring Operation: 53-38=15, Resulting Numbers: [5, 15]
Generated Node #0,0,2: 20:[5, 15] Operation: 53-38=15
Moving to Node #0,1
Current State: 20:[38, 81, 23], Operations: ['76-53=23']
Exploring Operation: 81-38=43, Resulting Numbers: [23, 43]
Generated Node #0,1,0: 20:[23, 43] Operation: 81-38=43
Exploring Operation: 81-23=58, Resulting Numbers: [38, 58]
Generated Node #0,1,1: 20:[38, 58] Operation: 81-23=58
Exploring Operation: 38-23=15, Resulting Numbers: [81, 15]
Generated Node #0,1,2: 20:[81, 15] Operation: 38-23=15
Moving to Node #0,2
Current State: 20:[76, 38, 28], Operations: ['81-53=28']
Exploring Operation: 76-38=38, Resulting Numbers: [28, 38]
Generated Node #0,2,0: 20:[28, 38] Operation: 76-38=38
Exploring Operation: 76/38=2, Resulting Numbers: [28, 2]
Generated Node #0,2,1: 20:[28, 2] Operation: 76/38=2
Exploring Operation: 76-28=48, Resulting Numbers: [38, 48]
Generated Node #0,2,2: 20:[38, 48] Operation: 76-28=48
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 20:[28, 2], Operations: ['81-53=28', '76/38=2']
Exploring Operation: 28+2=30, Resulting Numbers: [30]
30,20 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,20 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,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,2,0
Current State: 20:[28, 38], Operations: ['81-53=28', '76-38=38']
Exploring Operation: 28+38=66, Resulting Numbers: [66]
66,20 unequal: No Solution
Exploring Operation: 38-28=10, Resulting Numbers: [10]
10,20 unequal: No Solution
Exploring Operation: 28*38=1064, Resulting Numbers: [1064]
1064,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,2,2
Current State: 20:[38, 48], Operations: ['81-53=28', '76-28=48']
Exploring Operation: 38*48=1824, Resulting Numbers: [1824]
1824,20 unequal: No Solution
Exploring Operation: 38+48=86, Resulting Numbers: [86]
86,20 unequal: No Solution
Exploring Operation: 48-38=10, Resulting Numbers: [10]
10,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 20:[5, 15], Operations: ['81-76=5', '53-38=15']
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,20 unequal: No Solution
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,20 unequal: No Solution
Exploring Operation: 5+15=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[76, 38, 81, 53], Operations: []
Exploring Operation: 81-76=5, Resulting Numbers: [38, 53, 5]
Generated Node #0,0: 20:[38, 53, 5] Operation: 81-76=5
Moving to Node #0,0
Current State: 20:[38, 53, 5], Operations: ['81-76=5']
Exploring Operation: 53-38=15, Resulting Numbers: [5, 15]
Generated Node #0,0,2: 20:[5, 15] Operation: 53-38=15
Moving to Node #0,0,2
Current State: 20:[5, 15], Operations: ['81-76=5', '53-38=15']
Exploring Operation: 5+15=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 0.975694 | hs_3 | sum_heuristic |
[
96,
46,
42,
91
] | 94 | [
"96+42=138",
"138/46=3",
"91+3=94"
] | Current State: 94:[96, 46, 42, 91], Operations: []
Exploring Operation: 96+42=138, Resulting Numbers: [46, 91, 138]
Generated Node #2: [46, 91, 138] from Operation: 96+42=138
Current State: 94:[46, 91, 138], Operations: ['96+42=138']
Exploring Operation: 138/46=3, Resulting Numbers: [91, 3]
Generated Node #3: [91, 3] from Operation: 138/46=3
Current State: 94:[91, 3], Operations: ['96+42=138', '138/46=3']
Exploring Operation: 91+3=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[96, 46, 42, 91], Operations: []
Exploring Operation: 91-42=49, Resulting Numbers: [96, 46, 49]
Generated Node #0,0: 94:[96, 46, 49] Operation: 91-42=49
Exploring Operation: 46-42=4, Resulting Numbers: [96, 91, 4]
Generated Node #0,1: 94:[96, 91, 4] Operation: 46-42=4
Exploring Operation: 96-91=5, Resulting Numbers: [46, 42, 5]
Generated Node #0,2: 94:[46, 42, 5] Operation: 96-91=5
Exploring Operation: 96-46=50, Resulting Numbers: [42, 91, 50]
Generated Node #0,3: 94:[42, 91, 50] Operation: 96-46=50
Exploring Operation: 91-46=45, Resulting Numbers: [96, 42, 45]
Generated Node #0,4: 94:[96, 42, 45] Operation: 91-46=45
Moving to Node #0,0
Current State: 94:[96, 46, 49], Operations: ['91-42=49']
Exploring Operation: 49-46=3, Resulting Numbers: [96, 3]
Generated Node #0,0,0: 94:[96, 3] Operation: 49-46=3
Exploring Operation: 46+49=95, Resulting Numbers: [96, 95]
Generated Node #0,0,1: 94:[96, 95] Operation: 46+49=95
Exploring Operation: 96-49=47, Resulting Numbers: [46, 47]
Generated Node #0,0,2: 94:[46, 47] Operation: 96-49=47
Exploring Operation: 96-46=50, Resulting Numbers: [49, 50]
Generated Node #0,0,3: 94:[49, 50] Operation: 96-46=50
Exploring Operation: 96+46=142, Resulting Numbers: [49, 142]
Generated Node #0,0,4: 94:[49, 142] Operation: 96+46=142
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 94:[46, 47], Operations: ['91-42=49', '96-49=47']
Exploring Operation: 46+47=93, Resulting Numbers: [93]
93,94 unequal: No Solution
Exploring Operation: 46*47=2162, Resulting Numbers: [2162]
2162,94 unequal: No Solution
Exploring Operation: 47-46=1, Resulting Numbers: [1]
1,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 94:[96, 3], Operations: ['91-42=49', '49-46=3']
Exploring Operation: 96-3=93, Resulting Numbers: [93]
93,94 unequal: No Solution
Exploring Operation: 96/3=32, Resulting Numbers: [32]
32,94 unequal: No Solution
Exploring Operation: 96*3=288, Resulting Numbers: [288]
288,94 unequal: No Solution
Exploring Operation: 96+3=99, Resulting Numbers: [99]
99,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 94:[96, 95], Operations: ['91-42=49', '46+49=95']
Exploring Operation: 96*95=9120, Resulting Numbers: [9120]
9120,94 unequal: No Solution
Exploring Operation: 96+95=191, Resulting Numbers: [191]
191,94 unequal: No Solution
Exploring Operation: 96-95=1, Resulting Numbers: [1]
1,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 94:[49, 50], Operations: ['91-42=49', '96-46=50']
Exploring Operation: 49+50=99, Resulting Numbers: [99]
99,94 unequal: No Solution
Exploring Operation: 50-49=1, Resulting Numbers: [1]
1,94 unequal: No Solution
Exploring Operation: 49*50=2450, Resulting Numbers: [2450]
2450,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 94:[49, 142], Operations: ['91-42=49', '96+46=142']
Exploring Operation: 142-49=93, Resulting Numbers: [93]
93,94 unequal: No Solution
Exploring Operation: 49*142=6958, Resulting Numbers: [6958]
6958,94 unequal: No Solution
Exploring Operation: 49+142=191, Resulting Numbers: [191]
191,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 94:[96, 91, 4], Operations: ['46-42=4']
Exploring Operation: 91-4=87, Resulting Numbers: [96, 87]
Generated Node #0,1,0: 94:[96, 87] Operation: 91-4=87
Exploring Operation: 96+4=100, Resulting Numbers: [91, 100]
Generated Node #0,1,1: 94:[91, 100] Operation: 96+4=100
Exploring Operation: 91+4=95, Resulting Numbers: [96, 95]
Generated Node #0,1,2: 94:[96, 95] Operation: 91+4=95
Exploring Operation: 96-91=5, Resulting Numbers: [4, 5]
Generated Node #0,1,3: 94:[4, 5] Operation: 96-91=5
Exploring Operation: 96-4=92, Resulting Numbers: [91, 92]
Generated Node #0,1,4: 94:[91, 92] Operation: 96-4=92
Moving to Node #0,2
Current State: 94:[46, 42, 5], Operations: ['96-91=5']
Exploring Operation: 46+5=51, Resulting Numbers: [42, 51]
Generated Node #0,2,0: 94:[42, 51] Operation: 46+5=51
Exploring Operation: 46-5=41, Resulting Numbers: [42, 41]
Generated Node #0,2,1: 94:[42, 41] Operation: 46-5=41
Exploring Operation: 46+42=88, Resulting Numbers: [5, 88]
Generated Node #0,2,2: 94:[5, 88] Operation: 46+42=88
Exploring Operation: 42+5=47, Resulting Numbers: [46, 47]
Generated Node #0,2,3: 94:[46, 47] Operation: 42+5=47
Exploring Operation: 46-42=4, Resulting Numbers: [5, 4]
Generated Node #0,2,4: 94:[5, 4] Operation: 46-42=4
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 94:[46, 47], Operations: ['96-91=5', '42+5=47']
Exploring Operation: 46*47=2162, Resulting Numbers: [2162]
2162,94 unequal: No Solution
Exploring Operation: 46+47=93, Resulting Numbers: [93]
93,94 unequal: No Solution
Exploring Operation: 47-46=1, Resulting Numbers: [1]
1,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 94:[5, 4], Operations: ['96-91=5', '46-42=4']
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,94 unequal: No Solution
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,94 unequal: No Solution
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 94:[42, 51], Operations: ['96-91=5', '46+5=51']
Exploring Operation: 42+51=93, Resulting Numbers: [93]
93,94 unequal: No Solution
Exploring Operation: 42*51=2142, Resulting Numbers: [2142]
2142,94 unequal: No Solution
Exploring Operation: 51-42=9, Resulting Numbers: [9]
9,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 94:[5, 88], Operations: ['96-91=5', '46+42=88']
Exploring Operation: 5+88=93, Resulting Numbers: [93]
93,94 unequal: No Solution
Exploring Operation: 88-5=83, Resulting Numbers: [83]
83,94 unequal: No Solution
Exploring Operation: 5*88=440, Resulting Numbers: [440]
440,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 94:[42, 41], Operations: ['96-91=5', '46-5=41']
Exploring Operation: 42-41=1, Resulting Numbers: [1]
1,94 unequal: No Solution
Exploring Operation: 42+41=83, Resulting Numbers: [83]
83,94 unequal: No Solution
Exploring Operation: 42*41=1722, Resulting Numbers: [1722]
1722,94 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: 94:[96, 42, 45], Operations: ['91-46=45']
Exploring Operation: 96-42=54, Resulting Numbers: [45, 54]
Generated Node #0,4,0: 94:[45, 54] Operation: 96-42=54
Exploring Operation: 42+45=87, Resulting Numbers: [96, 87]
Generated Node #0,4,1: 94:[96, 87] Operation: 42+45=87
Exploring Operation: 45-42=3, Resulting Numbers: [96, 3]
Generated Node #0,4,2: 94:[96, 3] Operation: 45-42=3
Exploring Operation: 96+42=138, Resulting Numbers: [45, 138]
Generated Node #0,4,3: 94:[45, 138] Operation: 96+42=138
Exploring Operation: 96-45=51, Resulting Numbers: [42, 51]
Generated Node #0,4,4: 94:[42, 51] Operation: 96-45=51
Moving to Node #0,3
Current State: 94:[42, 91, 50], Operations: ['96-46=50']
Exploring Operation: 91-50=41, Resulting Numbers: [42, 41]
Generated Node #0,3,0: 94:[42, 41] Operation: 91-50=41
Exploring Operation: 50-42=8, Resulting Numbers: [91, 8]
Generated Node #0,3,1: 94:[91, 8] Operation: 50-42=8
Exploring Operation: 42+91=133, Resulting Numbers: [50, 133]
Generated Node #0,3,2: 94:[50, 133] Operation: 42+91=133
Exploring Operation: 42+50=92, Resulting Numbers: [91, 92]
Generated Node #0,3,3: 94:[91, 92] Operation: 42+50=92
Exploring Operation: 91-42=49, Resulting Numbers: [50, 49]
Generated Node #0,3,4: 94:[50, 49] Operation: 91-42=49
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 94:[91, 92], Operations: ['96-46=50', '42+50=92']
Exploring Operation: 91*92=8372, Resulting Numbers: [8372]
8372,94 unequal: No Solution
Exploring Operation: 92-91=1, Resulting Numbers: [1]
1,94 unequal: No Solution
Exploring Operation: 91+92=183, Resulting Numbers: [183]
183,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 94:[50, 49], Operations: ['96-46=50', '91-42=49']
Exploring Operation: 50+49=99, Resulting Numbers: [99]
99,94 unequal: No Solution
Exploring Operation: 50-49=1, Resulting Numbers: [1]
1,94 unequal: No Solution
Exploring Operation: 50*49=2450, Resulting Numbers: [2450]
2450,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 94:[91, 8], Operations: ['96-46=50', '50-42=8']
Exploring Operation: 91*8=728, Resulting Numbers: [728]
728,94 unequal: No Solution
Exploring Operation: 91-8=83, Resulting Numbers: [83]
83,94 unequal: No Solution
Exploring Operation: 91+8=99, Resulting Numbers: [99]
99,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 94:[42, 41], Operations: ['96-46=50', '91-50=41']
Exploring Operation: 42+41=83, Resulting Numbers: [83]
83,94 unequal: No Solution
Exploring Operation: 42-41=1, Resulting Numbers: [1]
1,94 unequal: No Solution
Exploring Operation: 42*41=1722, Resulting Numbers: [1722]
1722,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 94:[50, 133], Operations: ['96-46=50', '42+91=133']
Exploring Operation: 133-50=83, Resulting Numbers: [83]
83,94 unequal: No Solution
Exploring Operation: 50+133=183, Resulting Numbers: [183]
183,94 unequal: No Solution
Exploring Operation: 50*133=6650, Resulting Numbers: [6650]
6650,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 94:[96, 95], Operations: ['46-42=4', '91+4=95']
Exploring Operation: 96*95=9120, Resulting Numbers: [9120]
9120,94 unequal: No Solution
Exploring Operation: 96-95=1, Resulting Numbers: [1]
1,94 unequal: No Solution
Exploring Operation: 96+95=191, Resulting Numbers: [191]
191,94 unequal: No Solution
Moving to Node #0,4,2
Current State: 94:[96, 3], Operations: ['91-46=45', '45-42=3']
Exploring Operation: 96+3=99, Resulting Numbers: [99]
99,94 unequal: No Solution
Exploring Operation: 96/3=32, Resulting Numbers: [32]
32,94 unequal: No Solution
Exploring Operation: 96*3=288, Resulting Numbers: [288]
288,94 unequal: No Solution
Exploring Operation: 96-3=93, Resulting Numbers: [93]
93,94 unequal: No Solution
Moving to Node #0,1,4
Current State: 94:[91, 92], Operations: ['46-42=4', '96-4=92']
Exploring Operation: 91*92=8372, Resulting Numbers: [8372]
8372,94 unequal: No Solution
Exploring Operation: 92-91=1, Resulting Numbers: [1]
1,94 unequal: No Solution
Exploring Operation: 91+92=183, Resulting Numbers: [183]
183,94 unequal: No Solution
Moving to Node #0,1,3
Current State: 94:[4, 5], Operations: ['46-42=4', '96-91=5']
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,94 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,94 unequal: No Solution
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,94 unequal: No Solution
Moving to Node #0,4,0
Current State: 94:[45, 54], Operations: ['91-46=45', '96-42=54']
Exploring Operation: 45*54=2430, Resulting Numbers: [2430]
2430,94 unequal: No Solution
Exploring Operation: 45+54=99, Resulting Numbers: [99]
99,94 unequal: No Solution
Exploring Operation: 54-45=9, Resulting Numbers: [9]
9,94 unequal: No Solution
Moving to Node #0,4,4
Current State: 94:[42, 51], Operations: ['91-46=45', '96-45=51']
Exploring Operation: 42*51=2142, Resulting Numbers: [2142]
2142,94 unequal: No Solution
Exploring Operation: 42+51=93, Resulting Numbers: [93]
93,94 unequal: No Solution
Exploring Operation: 51-42=9, Resulting Numbers: [9]
9,94 unequal: No Solution
Moving to Node #0,1,1
Current State: 94:[91, 100], Operations: ['46-42=4', '96+4=100']
Exploring Operation: 91*100=9100, Resulting Numbers: [9100]
9100,94 unequal: No Solution
Exploring Operation: 91+100=191, Resulting Numbers: [191]
191,94 unequal: No Solution
Exploring Operation: 100-91=9, Resulting Numbers: [9]
9,94 unequal: No Solution
Moving to Node #0,1,0
Current State: 94:[96, 87], Operations: ['46-42=4', '91-4=87']
Exploring Operation: 96+87=183, Resulting Numbers: [183]
183,94 unequal: No Solution
Exploring Operation: 96-87=9, Resulting Numbers: [9]
9,94 unequal: No Solution
Exploring Operation: 96*87=8352, Resulting Numbers: [8352]
8352,94 unequal: No Solution
Moving to Node #0,4,1
Current State: 94:[96, 87], Operations: ['91-46=45', '42+45=87']
Exploring Operation: 96*87=8352, Resulting Numbers: [8352]
8352,94 unequal: No Solution
Exploring Operation: 96+87=183, Resulting Numbers: [183]
183,94 unequal: No Solution
Exploring Operation: 96-87=9, Resulting Numbers: [9]
9,94 unequal: No Solution
Moving to Node #0,4,3
Current State: 94:[45, 138], Operations: ['91-46=45', '96+42=138']
Exploring Operation: 45+138=183, Resulting Numbers: [183]
183,94 unequal: No Solution
Exploring Operation: 45*138=6210, Resulting Numbers: [6210]
6210,94 unequal: No Solution
Exploring Operation: 138-45=93, Resulting Numbers: [93]
93,94 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
96,
21,
57,
4
] | 33 | [
"96-21=75",
"57+75=132",
"132/4=33"
] | Current State: 33:[96, 21, 57, 4], Operations: []
Exploring Operation: 96-21=75, Resulting Numbers: [57, 4, 75]
Generated Node #2: [57, 4, 75] from Operation: 96-21=75
Current State: 33:[57, 4, 75], Operations: ['96-21=75']
Exploring Operation: 57+75=132, Resulting Numbers: [4, 132]
Generated Node #3: [4, 132] from Operation: 57+75=132
Current State: 33:[4, 132], Operations: ['96-21=75', '57+75=132']
Exploring Operation: 132/4=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[96, 21, 57, 4], Operations: []
Exploring Operation: 96/4=24, Resulting Numbers: [21, 57, 24]
Generated Node #0,0: 33:[21, 57, 24] Operation: 96/4=24
Exploring Operation: 57-21=36, Resulting Numbers: [96, 4, 36]
Generated Node #0,1: 33:[96, 4, 36] Operation: 57-21=36
Exploring Operation: 96-57=39, Resulting Numbers: [21, 4, 39]
Generated Node #0,2: 33:[21, 4, 39] Operation: 96-57=39
Exploring Operation: 96-21=75, Resulting Numbers: [57, 4, 75]
Generated Node #0,3: 33:[57, 4, 75] Operation: 96-21=75
Start Sub Search at level 1: Moving to Node #0,2
Current State: 33:[21, 4, 39], Operations: ['96-57=39']
Exploring Operation: 39-4=35, Resulting Numbers: [21, 35]
Generated Node #0,2,0: 33:[21, 35] Operation: 39-4=35
Exploring Operation: 39-21=18, Resulting Numbers: [4, 18]
Generated Node #0,2,1: 33:[4, 18] Operation: 39-21=18
Exploring Operation: 21+4=25, Resulting Numbers: [39, 25]
Generated Node #0,2,2: 33:[39, 25] Operation: 21+4=25
Exploring Operation: 21-4=17, Resulting Numbers: [39, 17]
Generated Node #0,2,3: 33:[39, 17] Operation: 21-4=17
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 33:[4, 18], Operations: ['96-57=39', '39-21=18']
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,33 unequal: No Solution
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,33 unequal: No Solution
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,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:[21, 35], Operations: ['96-57=39', '39-4=35']
Exploring Operation: 21*35=735, Resulting Numbers: [735]
735,33 unequal: No Solution
Exploring Operation: 35-21=14, Resulting Numbers: [14]
14,33 unequal: No Solution
Exploring Operation: 21+35=56, Resulting Numbers: [56]
56,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:[39, 17], Operations: ['96-57=39', '21-4=17']
Exploring Operation: 39-17=22, Resulting Numbers: [22]
22,33 unequal: No Solution
Exploring Operation: 39*17=663, Resulting Numbers: [663]
663,33 unequal: No Solution
Exploring Operation: 39+17=56, Resulting Numbers: [56]
56,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:[39, 25], Operations: ['96-57=39', '21+4=25']
Exploring Operation: 39*25=975, Resulting Numbers: [975]
975,33 unequal: No Solution
Exploring Operation: 39+25=64, Resulting Numbers: [64]
64,33 unequal: No Solution
Exploring Operation: 39-25=14, Resulting Numbers: [14]
14,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:[21, 57, 24], Operations: ['96/4=24']
Exploring Operation: 57-24=33, Resulting Numbers: [21, 33]
Generated Node #0,0,0: 33:[21, 33] Operation: 57-24=33
Exploring Operation: 57-21=36, Resulting Numbers: [24, 36]
Generated Node #0,0,1: 33:[24, 36] Operation: 57-21=36
Exploring Operation: 21+24=45, Resulting Numbers: [57, 45]
Generated Node #0,0,2: 33:[57, 45] Operation: 21+24=45
Exploring Operation: 24-21=3, Resulting Numbers: [57, 3]
Generated Node #0,0,3: 33:[57, 3] Operation: 24-21=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 33:[21, 33], Operations: ['96/4=24', '57-24=33']
Exploring Operation: 33-21=12, Resulting Numbers: [12]
12,33 unequal: No Solution
Exploring Operation: 21*33=693, Resulting Numbers: [693]
693,33 unequal: No Solution
Exploring Operation: 21+33=54, Resulting Numbers: [54]
54,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:[24, 36], Operations: ['96/4=24', '57-21=36']
Exploring Operation: 36-24=12, Resulting Numbers: [12]
12,33 unequal: No Solution
Exploring Operation: 24+36=60, Resulting Numbers: [60]
60,33 unequal: No Solution
Exploring Operation: 24*36=864, Resulting Numbers: [864]
864,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, 3], Operations: ['96/4=24', '24-21=3']
Exploring Operation: 57/3=19, Resulting Numbers: [19]
19,33 unequal: No Solution
Exploring Operation: 57*3=171, Resulting Numbers: [171]
171,33 unequal: No Solution
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,33 unequal: No Solution
Exploring Operation: 57+3=60, Resulting Numbers: [60]
60,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,2
Current State: 33:[57, 45], Operations: ['96/4=24', '21+24=45']
Exploring Operation: 57*45=2565, Resulting Numbers: [2565]
2565,33 unequal: No Solution
Exploring Operation: 57-45=12, Resulting Numbers: [12]
12,33 unequal: No Solution
Exploring Operation: 57+45=102, Resulting Numbers: [102]
102,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,1
Current State: 33:[96, 4, 36], Operations: ['57-21=36']
Exploring Operation: 96-36=60, Resulting Numbers: [4, 60]
Generated Node #0,1,0: 33:[4, 60] Operation: 96-36=60
Exploring Operation: 36-4=32, Resulting Numbers: [96, 32]
Generated Node #0,1,1: 33:[96, 32] Operation: 36-4=32
Exploring Operation: 96-4=92, Resulting Numbers: [36, 92]
Generated Node #0,1,2: 33:[36, 92] Operation: 96-4=92
Exploring Operation: 96/4=24, Resulting Numbers: [36, 24]
Generated Node #0,1,3: 33:[36, 24] Operation: 96/4=24
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 33:[36, 24], Operations: ['57-21=36', '96/4=24']
Exploring Operation: 36-24=12, Resulting Numbers: [12]
12,33 unequal: No Solution
Exploring Operation: 36+24=60, Resulting Numbers: [60]
60,33 unequal: No Solution
Exploring Operation: 36*24=864, Resulting Numbers: [864]
864,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:[4, 60], Operations: ['57-21=36', '96-36=60']
Exploring Operation: 4*60=240, Resulting Numbers: [240]
240,33 unequal: No Solution
Exploring Operation: 4+60=64, Resulting Numbers: [64]
64,33 unequal: No Solution
Exploring Operation: 60-4=56, Resulting Numbers: [56]
56,33 unequal: No Solution
Exploring Operation: 60/4=15, Resulting Numbers: [15]
15,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 33:[36, 92], Operations: ['57-21=36', '96-4=92']
Exploring Operation: 92-36=56, Resulting Numbers: [56]
56,33 unequal: No Solution
Exploring Operation: 36+92=128, Resulting Numbers: [128]
128,33 unequal: No Solution
Exploring Operation: 36*92=3312, Resulting Numbers: [3312]
3312,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:[96, 32], Operations: ['57-21=36', '36-4=32']
Exploring Operation: 96+32=128, Resulting Numbers: [128]
128,33 unequal: No Solution
Exploring Operation: 96/32=3, Resulting Numbers: [3]
3,33 unequal: No Solution
Exploring Operation: 96*32=3072, Resulting Numbers: [3072]
3072,33 unequal: No Solution
Exploring Operation: 96-32=64, Resulting Numbers: [64]
64,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:[57, 4, 75], Operations: ['96-21=75']
Exploring Operation: 57+4=61, Resulting Numbers: [75, 61]
Generated Node #0,3,0: 33:[75, 61] Operation: 57+4=61
Exploring Operation: 57-4=53, Resulting Numbers: [75, 53]
Generated Node #0,3,1: 33:[75, 53] Operation: 57-4=53
Exploring Operation: 75-57=18, Resulting Numbers: [4, 18]
Generated Node #0,3,2: 33:[4, 18] Operation: 75-57=18
Exploring Operation: 75-4=71, Resulting Numbers: [57, 71]
Generated Node #0,3,3: 33:[57, 71] Operation: 75-4=71
Moving to Node #0,3,2
Current State: 33:[4, 18], Operations: ['96-21=75', '75-57=18']
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,33 unequal: No Solution
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,33 unequal: No Solution
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,33 unequal: No Solution
Moving to Node #0,3,3
Current State: 33:[57, 71], Operations: ['96-21=75', '75-4=71']
Exploring Operation: 57*71=4047, Resulting Numbers: [4047]
4047,33 unequal: No Solution
Exploring Operation: 57+71=128, Resulting Numbers: [128]
128,33 unequal: No Solution
Exploring Operation: 71-57=14, Resulting Numbers: [14]
14,33 unequal: No Solution
Moving to Node #0,3,1
Current State: 33:[75, 53], Operations: ['96-21=75', '57-4=53']
Exploring Operation: 75*53=3975, Resulting Numbers: [3975]
3975,33 unequal: No Solution
Exploring Operation: 75+53=128, Resulting Numbers: [128]
128,33 unequal: No Solution
Exploring Operation: 75-53=22, Resulting Numbers: [22]
22,33 unequal: No Solution
Moving to Node #0,3,0
Current State: 33:[75, 61], Operations: ['96-21=75', '57+4=61']
Exploring Operation: 75*61=4575, Resulting Numbers: [4575]
4575,33 unequal: No Solution
Exploring Operation: 75-61=14, Resulting Numbers: [14]
14,33 unequal: No Solution
Exploring Operation: 75+61=136, Resulting Numbers: [136]
136,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 |
[
2,
71,
45,
73
] | 49 | [
"71-2=69",
"45+73=118",
"118-69=49"
] | Current State: 49:[2, 71, 45, 73], Operations: []
Exploring Operation: 71-2=69, Resulting Numbers: [45, 73, 69]
Generated Node #2: [45, 73, 69] from Operation: 71-2=69
Current State: 49:[45, 73, 69], Operations: ['71-2=69']
Exploring Operation: 45+73=118, Resulting Numbers: [69, 118]
Generated Node #3: [69, 118] from Operation: 45+73=118
Current State: 49:[69, 118], Operations: ['71-2=69', '45+73=118']
Exploring Operation: 118-69=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[2, 71, 45, 73], Operations: []
Exploring Operation: 73-71=2, Resulting Numbers: [2, 45, 2]
Generated Node #0,0: 49:[2, 45, 2] Operation: 73-71=2
Exploring Operation: 71-2=69, Resulting Numbers: [45, 73, 69]
Generated Node #0,1: 49:[45, 73, 69] Operation: 71-2=69
Moving to Node #0,0
Current State: 49:[2, 45, 2], Operations: ['73-71=2']
Exploring Operation: 2+2=4, Resulting Numbers: [45, 4]
Generated Node #0,0,0: 49:[45, 4] Operation: 2+2=4
Exploring Operation: 2+45=47, Resulting Numbers: [2, 47]
Generated Node #0,0,1: 49:[2, 47] Operation: 2+45=47
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 49:[45, 4], Operations: ['73-71=2', '2+2=4']
Exploring Operation: 45+4=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[2, 71, 45, 73], Operations: []
Exploring Operation: 73-71=2, Resulting Numbers: [2, 45, 2]
Generated Node #0,0: 49:[2, 45, 2] Operation: 73-71=2
Moving to Node #0,0
Current State: 49:[2, 45, 2], Operations: ['73-71=2']
Exploring Operation: 2+2=4, Resulting Numbers: [45, 4]
Generated Node #0,0,0: 49:[45, 4] Operation: 2+2=4
Moving to Node #0,0,0
Current State: 49:[45, 4], Operations: ['73-71=2', '2+2=4']
Exploring Operation: 45+4=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
17,
5,
2,
19
] | 39 | [
"17+5=22",
"19-2=17",
"22+17=39"
] | Current State: 39:[17, 5, 2, 19], Operations: []
Exploring Operation: 17+5=22, Resulting Numbers: [2, 19, 22]
Generated Node #2: [2, 19, 22] from Operation: 17+5=22
Current State: 39:[2, 19, 22], Operations: ['17+5=22']
Exploring Operation: 19-2=17, Resulting Numbers: [22, 17]
Generated Node #3: [22, 17] from Operation: 19-2=17
Current State: 39:[22, 17], Operations: ['17+5=22', '19-2=17']
Exploring Operation: 22+17=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[17, 5, 2, 19], Operations: []
Exploring Operation: 19-5=14, Resulting Numbers: [17, 2, 14]
Generated Node #0,0: 39:[17, 2, 14] Operation: 19-5=14
Exploring Operation: 19-17=2, Resulting Numbers: [5, 2, 2]
Generated Node #0,1: 39:[5, 2, 2] Operation: 19-17=2
Exploring Operation: 17+19=36, Resulting Numbers: [5, 2, 36]
Generated Node #0,2: 39:[5, 2, 36] Operation: 17+19=36
Moving to Node #0,1
Current State: 39:[5, 2, 2], Operations: ['19-17=2']
Exploring Operation: 5-2=3, Resulting Numbers: [2, 3]
Generated Node #0,1,0: 39:[2, 3] Operation: 5-2=3
Exploring Operation: 2+2=4, Resulting Numbers: [5, 4]
Generated Node #0,1,1: 39:[5, 4] Operation: 2+2=4
Exploring Operation: 5-2=3, Resulting Numbers: [2, 3]
Generated Node #0,1,2: 39:[2, 3] Operation: 5-2=3
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 39:[2, 3], Operations: ['19-17=2', '5-2=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 39:[2, 3], Operations: ['19-17=2', '5-2=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,39 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 39:[5, 4], Operations: ['19-17=2', '2+2=4']
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,39 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 39:[17, 2, 14], Operations: ['19-5=14']
Exploring Operation: 17-14=3, Resulting Numbers: [2, 3]
Generated Node #0,0,0: 39:[2, 3] Operation: 17-14=3
Exploring Operation: 14-2=12, Resulting Numbers: [17, 12]
Generated Node #0,0,1: 39:[17, 12] Operation: 14-2=12
Exploring Operation: 17-2=15, Resulting Numbers: [14, 15]
Generated Node #0,0,2: 39:[14, 15] Operation: 17-2=15
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 39:[2, 3], Operations: ['19-5=14', '17-14=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,39 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 39:[14, 15], Operations: ['19-5=14', '17-2=15']
Exploring Operation: 14+15=29, Resulting Numbers: [29]
29,39 unequal: No Solution
Exploring Operation: 15-14=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Exploring Operation: 14*15=210, Resulting Numbers: [210]
210,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 39:[17, 12], Operations: ['19-5=14', '14-2=12']
Exploring Operation: 17+12=29, Resulting Numbers: [29]
29,39 unequal: No Solution
Exploring Operation: 17-12=5, Resulting Numbers: [5]
5,39 unequal: No Solution
Exploring Operation: 17*12=204, Resulting Numbers: [204]
204,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 39:[5, 2, 36], Operations: ['17+19=36']
Exploring Operation: 5+36=41, Resulting Numbers: [2, 41]
Generated Node #0,2,0: 39:[2, 41] Operation: 5+36=41
Exploring Operation: 2+36=38, Resulting Numbers: [5, 38]
Generated Node #0,2,1: 39:[5, 38] Operation: 2+36=38
Exploring Operation: 5-2=3, Resulting Numbers: [36, 3]
Generated Node #0,2,2: 39:[36, 3] Operation: 5-2=3
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 39:[2, 41], Operations: ['17+19=36', '5+36=41']
Exploring Operation: 2+41=43, Resulting Numbers: [43]
43,39 unequal: No Solution
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[17, 5, 2, 19], Operations: []
Exploring Operation: 17+19=36, Resulting Numbers: [5, 2, 36]
Generated Node #0,2: 39:[5, 2, 36] Operation: 17+19=36
Moving to Node #0,2
Current State: 39:[5, 2, 36], Operations: ['17+19=36']
Exploring Operation: 5+36=41, Resulting Numbers: [2, 41]
Generated Node #0,2,0: 39:[2, 41] Operation: 5+36=41
Moving to Node #0,2,0
Current State: 39:[2, 41], Operations: ['17+19=36', '5+36=41']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_3 | sum_heuristic |
[
96,
8,
96,
57
] | 65 | [
"96+8=104",
"96-57=39",
"104-39=65"
] | Current State: 65:[96, 8, 96, 57], Operations: []
Exploring Operation: 96+8=104, Resulting Numbers: [57, 104]
Generated Node #2: [57, 104] from Operation: 96+8=104
Current State: 65:[57, 104], Operations: ['96+8=104']
Exploring Operation: 96-57=39, Resulting Numbers: [104, 39]
Generated Node #3: [104, 39] from Operation: 96-57=39
Current State: 65:[104, 39], Operations: ['96+8=104', '96-57=39']
Exploring Operation: 104-39=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[96, 8, 96, 57], Operations: []
Exploring Operation: 96/96=1, Resulting Numbers: [8, 57, 1]
Generated Node #0,0: 65:[8, 57, 1] Operation: 96/96=1
Exploring Operation: 96-96=0, Resulting Numbers: [8, 57, 0]
Generated Node #0,1: 65:[8, 57, 0] Operation: 96-96=0
Exploring Operation: 96/8=12, Resulting Numbers: [96, 57, 12]
Generated Node #0,2: 65:[96, 57, 12] Operation: 96/8=12
Exploring Operation: 96/8=12, Resulting Numbers: [96, 57, 12]
Generated Node #0,3: 65:[96, 57, 12] Operation: 96/8=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[8, 57, 1], Operations: ['96/96=1']
Exploring Operation: 8+57=65, Resulting Numbers: [1, 65]
Generated Node #0,0,0: 65:[1, 65] Operation: 8+57=65
Exploring Operation: 8-1=7, Resulting Numbers: [57, 7]
Generated Node #0,0,1: 65:[57, 7] Operation: 8-1=7
Exploring Operation: 8*1=8, Resulting Numbers: [57, 8]
Generated Node #0,0,2: 65:[57, 8] Operation: 8*1=8
Exploring Operation: 57+1=58, Resulting Numbers: [8, 58]
Generated Node #0,0,3: 65:[8, 58] Operation: 57+1=58
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 65:[1, 65], Operations: ['96/96=1', '8+57=65']
Exploring Operation: 1*65=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[96, 8, 96, 57], Operations: []
Exploring Operation: 96/96=1, Resulting Numbers: [8, 57, 1]
Generated Node #0,0: 65:[8, 57, 1] Operation: 96/96=1
Moving to Node #0,0
Current State: 65:[8, 57, 1], Operations: ['96/96=1']
Exploring Operation: 8+57=65, Resulting Numbers: [1, 65]
Generated Node #0,0,0: 65:[1, 65] Operation: 8+57=65
Moving to Node #0,0,0
Current State: 65:[1, 65], Operations: ['96/96=1', '8+57=65']
Exploring Operation: 1*65=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
6,
18,
20,
88
] | 65 | [
"18/6=3",
"88-20=68",
"68-3=65"
] | Current State: 65:[6, 18, 20, 88], Operations: []
Exploring Operation: 18/6=3, Resulting Numbers: [20, 88, 3]
Generated Node #2: [20, 88, 3] from Operation: 18/6=3
Current State: 65:[20, 88, 3], Operations: ['18/6=3']
Exploring Operation: 88-20=68, Resulting Numbers: [3, 68]
Generated Node #3: [3, 68] from Operation: 88-20=68
Current State: 65:[3, 68], Operations: ['18/6=3', '88-20=68']
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[6, 18, 20, 88], Operations: []
Exploring Operation: 88-20=68, Resulting Numbers: [6, 18, 68]
Generated Node #0,0: 65:[6, 18, 68] Operation: 88-20=68
Moving to Node #0,0
Current State: 65:[6, 18, 68], Operations: ['88-20=68']
Exploring Operation: 18-6=12, Resulting Numbers: [68, 12]
Generated Node #0,0,0: 65:[68, 12] Operation: 18-6=12
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 65:[68, 12], Operations: ['88-20=68', '18-6=12']
Exploring Operation: 68-12=56, Resulting Numbers: [56]
56,65 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 |
[
99,
70,
64,
94
] | 92 | [
"99-64=35",
"70/35=2",
"94-2=92"
] | Current State: 92:[99, 70, 64, 94], Operations: []
Exploring Operation: 99-64=35, Resulting Numbers: [70, 94, 35]
Generated Node #2: [70, 94, 35] from Operation: 99-64=35
Current State: 92:[70, 94, 35], Operations: ['99-64=35']
Exploring Operation: 70/35=2, Resulting Numbers: [94, 2]
Generated Node #3: [94, 2] from Operation: 70/35=2
Current State: 92:[94, 2], Operations: ['99-64=35', '70/35=2']
Exploring Operation: 94-2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[99, 70, 64, 94], Operations: []
Exploring Operation: 94-70=24, Resulting Numbers: [99, 64, 24]
Generated Node #0,0: 92:[99, 64, 24] Operation: 94-70=24
Exploring Operation: 99-70=29, Resulting Numbers: [64, 94, 29]
Generated Node #0,1: 92:[64, 94, 29] Operation: 99-70=29
Exploring Operation: 70-64=6, Resulting Numbers: [99, 94, 6]
Generated Node #0,2: 92:[99, 94, 6] Operation: 70-64=6
Moving to Node #0,2
Current State: 92:[99, 94, 6], Operations: ['70-64=6']
Exploring Operation: 99-6=93, Resulting Numbers: [94, 93]
Generated Node #0,2,0: 92:[94, 93] Operation: 99-6=93
Exploring Operation: 99-94=5, Resulting Numbers: [6, 5]
Generated Node #0,2,1: 92:[6, 5] Operation: 99-94=5
Exploring Operation: 94-6=88, Resulting Numbers: [99, 88]
Generated Node #0,2,2: 92:[99, 88] Operation: 94-6=88
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 92:[94, 93], Operations: ['70-64=6', '99-6=93']
Exploring Operation: 94+93=187, Resulting Numbers: [187]
187,92 unequal: No Solution
Exploring Operation: 94*93=8742, Resulting Numbers: [8742]
8742,92 unequal: No Solution
Exploring Operation: 94-93=1, Resulting Numbers: [1]
1,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 92:[6, 5], Operations: ['70-64=6', '99-94=5']
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,92 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 92:[99, 88], Operations: ['70-64=6', '94-6=88']
Exploring Operation: 99-88=11, Resulting Numbers: [11]
11,92 unequal: No Solution
Exploring Operation: 99*88=8712, Resulting Numbers: [8712]
8712,92 unequal: No Solution
Exploring Operation: 99+88=187, Resulting Numbers: [187]
187,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 92:[99, 64, 24], Operations: ['94-70=24']
Exploring Operation: 99-64=35, Resulting Numbers: [24, 35]
Generated Node #0,0,0: 92:[24, 35] Operation: 99-64=35
Exploring Operation: 64-24=40, Resulting Numbers: [99, 40]
Generated Node #0,0,1: 92:[99, 40] Operation: 64-24=40
Exploring Operation: 64+24=88, Resulting Numbers: [99, 88]
Generated Node #0,0,2: 92:[99, 88] Operation: 64+24=88
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 92:[99, 88], Operations: ['94-70=24', '64+24=88']
Exploring Operation: 99*88=8712, Resulting Numbers: [8712]
8712,92 unequal: No Solution
Exploring Operation: 99+88=187, Resulting Numbers: [187]
187,92 unequal: No Solution
Exploring Operation: 99-88=11, Resulting Numbers: [11]
11,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 92:[24, 35], Operations: ['94-70=24', '99-64=35']
Exploring Operation: 35-24=11, Resulting Numbers: [11]
11,92 unequal: No Solution
Exploring Operation: 24*35=840, Resulting Numbers: [840]
840,92 unequal: No Solution
Exploring Operation: 24+35=59, Resulting Numbers: [59]
59,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,1
Current State: 92:[99, 40], Operations: ['94-70=24', '64-24=40']
Exploring Operation: 99*40=3960, Resulting Numbers: [3960]
3960,92 unequal: No Solution
Exploring Operation: 99-40=59, Resulting Numbers: [59]
59,92 unequal: No Solution
Exploring Operation: 99+40=139, Resulting Numbers: [139]
139,92 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: 92:[64, 94, 29], Operations: ['99-70=29']
Exploring Operation: 64-29=35, Resulting Numbers: [94, 35]
Generated Node #0,1,0: 92:[94, 35] Operation: 64-29=35
Exploring Operation: 94-64=30, Resulting Numbers: [29, 30]
Generated Node #0,1,1: 92:[29, 30] Operation: 94-64=30
Exploring Operation: 64+29=93, Resulting Numbers: [94, 93]
Generated Node #0,1,2: 92:[94, 93] Operation: 64+29=93
Moving to Node #0,1,2
Current State: 92:[94, 93], Operations: ['99-70=29', '64+29=93']
Exploring Operation: 94*93=8742, Resulting Numbers: [8742]
8742,92 unequal: No Solution
Exploring Operation: 94+93=187, Resulting Numbers: [187]
187,92 unequal: No Solution
Exploring Operation: 94-93=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Moving to Node #0,1,0
Current State: 92:[94, 35], Operations: ['99-70=29', '64-29=35']
Exploring Operation: 94*35=3290, Resulting Numbers: [3290]
3290,92 unequal: No Solution
Exploring Operation: 94+35=129, Resulting Numbers: [129]
129,92 unequal: No Solution
Exploring Operation: 94-35=59, Resulting Numbers: [59]
59,92 unequal: No Solution
Moving to Node #0,1,1
Current State: 92:[29, 30], Operations: ['99-70=29', '94-64=30']
Exploring Operation: 30-29=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Exploring Operation: 29*30=870, Resulting Numbers: [870]
870,92 unequal: No Solution
Exploring Operation: 29+30=59, Resulting Numbers: [59]
59,92 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
89,
2,
67,
21
] | 90 | [
"89*2=178",
"67+21=88",
"178-88=90"
] | Current State: 90:[89, 2, 67, 21], Operations: []
Exploring Operation: 89*2=178, Resulting Numbers: [67, 21, 178]
Generated Node #2: [67, 21, 178] from Operation: 89*2=178
Current State: 90:[67, 21, 178], Operations: ['89*2=178']
Exploring Operation: 67+21=88, Resulting Numbers: [178, 88]
Generated Node #3: [178, 88] from Operation: 67+21=88
Current State: 90:[178, 88], Operations: ['89*2=178', '67+21=88']
Exploring Operation: 178-88=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[89, 2, 67, 21], Operations: []
Exploring Operation: 89-67=22, Resulting Numbers: [2, 21, 22]
Generated Node #0,0: 90:[2, 21, 22] Operation: 89-67=22
Exploring Operation: 67-21=46, Resulting Numbers: [89, 2, 46]
Generated Node #0,1: 90:[89, 2, 46] Operation: 67-21=46
Exploring Operation: 67+21=88, Resulting Numbers: [89, 2, 88]
Generated Node #0,2: 90:[89, 2, 88] Operation: 67+21=88
Start Sub Search at level 1: Moving to Node #0,1
Current State: 90:[89, 2, 46], Operations: ['67-21=46']
Exploring Operation: 89+2=91, Resulting Numbers: [46, 91]
Generated Node #0,1,0: 90:[46, 91] Operation: 89+2=91
Exploring Operation: 89-46=43, Resulting Numbers: [2, 43]
Generated Node #0,1,1: 90:[2, 43] Operation: 89-46=43
Exploring Operation: 46-2=44, Resulting Numbers: [89, 44]
Generated Node #0,1,2: 90:[89, 44] Operation: 46-2=44
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 90:[46, 91], Operations: ['67-21=46', '89+2=91']
Exploring Operation: 46+91=137, Resulting Numbers: [137]
137,90 unequal: No Solution
Exploring Operation: 46*91=4186, Resulting Numbers: [4186]
4186,90 unequal: No Solution
Exploring Operation: 91-46=45, Resulting Numbers: [45]
45,90 unequal: No Solution
No 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: 90:[2, 43], Operations: ['67-21=46', '89-46=43']
Exploring Operation: 2+43=45, Resulting Numbers: [45]
45,90 unequal: No Solution
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,90 unequal: No Solution
Exploring Operation: 2*43=86, Resulting Numbers: [86]
86,90 unequal: No Solution
No 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: 90:[89, 44], Operations: ['67-21=46', '46-2=44']
Exploring Operation: 89*44=3916, Resulting Numbers: [3916]
3916,90 unequal: No Solution
Exploring Operation: 89-44=45, Resulting Numbers: [45]
45,90 unequal: No Solution
Exploring Operation: 89+44=133, Resulting Numbers: [133]
133,90 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: 90:[89, 2, 88], Operations: ['67+21=88']
Exploring Operation: 2+88=90, Resulting Numbers: [89, 90]
Generated Node #0,2,0: 90:[89, 90] Operation: 2+88=90
Exploring Operation: 88/2=44, Resulting Numbers: [89, 44]
Generated Node #0,2,1: 90:[89, 44] Operation: 88/2=44
Exploring Operation: 89-88=1, Resulting Numbers: [2, 1]
Generated Node #0,2,2: 90:[2, 1] Operation: 89-88=1
Moving to Node #0,2,0
Current State: 90:[89, 90], Operations: ['67+21=88', '2+88=90']
Exploring Operation: 89*90=8010, Resulting Numbers: [8010]
8010,90 unequal: No Solution
Exploring Operation: 89+90=179, Resulting Numbers: [179]
179,90 unequal: No Solution
Exploring Operation: 90-89=1, Resulting Numbers: [1]
1,90 unequal: No Solution
Moving to Node #0,2,2
Current State: 90:[2, 1], Operations: ['67+21=88', '89-88=1']
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,90 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,90 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,90 unequal: No Solution
Moving to Node #0,2,1
Current State: 90:[89, 44], Operations: ['67+21=88', '88/2=44']
Exploring Operation: 89+44=133, Resulting Numbers: [133]
133,90 unequal: No Solution
Exploring Operation: 89-44=45, Resulting Numbers: [45]
45,90 unequal: No Solution
Exploring Operation: 89*44=3916, Resulting Numbers: [3916]
3916,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[2, 21, 22], Operations: ['89-67=22']
Exploring Operation: 21+22=43, Resulting Numbers: [2, 43]
Generated Node #0,0,0: 90:[2, 43] Operation: 21+22=43
Exploring Operation: 2*22=44, Resulting Numbers: [21, 44]
Generated Node #0,0,1: 90:[21, 44] Operation: 2*22=44
Exploring Operation: 22-21=1, Resulting Numbers: [2, 1]
Generated Node #0,0,2: 90:[2, 1] Operation: 22-21=1
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 90:[2, 1], Operations: ['89-67=22', '22-21=1']
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,90 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,90 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,90 unequal: No Solution
No 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: 90:[2, 43], Operations: ['89-67=22', '21+22=43']
Exploring Operation: 2*43=86, Resulting Numbers: [86]
86,90 unequal: No Solution
Exploring Operation: 2+43=45, Resulting Numbers: [45]
45,90 unequal: No Solution
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,90 unequal: No Solution
No 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: 90:[21, 44], Operations: ['89-67=22', '2*22=44']
Exploring Operation: 44-21=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Exploring Operation: 21+44=65, Resulting Numbers: [65]
65,90 unequal: No Solution
Exploring Operation: 21*44=924, Resulting Numbers: [924]
924,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
19,
83,
67,
75
] | 56 | [
"83-19=64",
"75-67=8",
"64-8=56"
] | Current State: 56:[19, 83, 67, 75], Operations: []
Exploring Operation: 83-19=64, Resulting Numbers: [67, 75, 64]
Generated Node #2: [67, 75, 64] from Operation: 83-19=64
Current State: 56:[67, 75, 64], Operations: ['83-19=64']
Exploring Operation: 75-67=8, Resulting Numbers: [64, 8]
Generated Node #3: [64, 8] from Operation: 75-67=8
Current State: 56:[64, 8], Operations: ['83-19=64', '75-67=8']
Exploring Operation: 64-8=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[19, 83, 67, 75], Operations: []
Exploring Operation: 83-75=8, Resulting Numbers: [19, 67, 8]
Generated Node #0,0: 56:[19, 67, 8] Operation: 83-75=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[19, 67, 8], Operations: ['83-75=8']
Exploring Operation: 67-19=48, Resulting Numbers: [8, 48]
Generated Node #0,0,0: 56:[8, 48] Operation: 67-19=48
Moving to Node #0,0,0
Current State: 56:[8, 48], Operations: ['83-75=8', '67-19=48']
Exploring Operation: 8+48=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[19, 83, 67, 75], Operations: []
Exploring Operation: 83-75=8, Resulting Numbers: [19, 67, 8]
Generated Node #0,0: 56:[19, 67, 8] Operation: 83-75=8
Moving to Node #0,0
Current State: 56:[19, 67, 8], Operations: ['83-75=8']
Exploring Operation: 67-19=48, Resulting Numbers: [8, 48]
Generated Node #0,0,0: 56:[8, 48] Operation: 67-19=48
Moving to Node #0,0,0
Current State: 56:[8, 48], Operations: ['83-75=8', '67-19=48']
Exploring Operation: 8+48=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
71,
6,
97,
71
] | 91 | [
"71+6=77",
"97+71=168",
"168-77=91"
] | Current State: 91:[71, 6, 97, 71], Operations: []
Exploring Operation: 71+6=77, Resulting Numbers: [97, 77]
Generated Node #2: [97, 77] from Operation: 71+6=77
Current State: 91:[97, 77], Operations: ['71+6=77']
Exploring Operation: 97+71=168, Resulting Numbers: [77, 168]
Generated Node #3: [77, 168] from Operation: 97+71=168
Current State: 91:[77, 168], Operations: ['71+6=77', '97+71=168']
Exploring Operation: 168-77=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[71, 6, 97, 71], Operations: []
Exploring Operation: 71/71=1, Resulting Numbers: [6, 97, 1]
Generated Node #0,0: 91:[6, 97, 1] Operation: 71/71=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[6, 97, 1], Operations: ['71/71=1']
Exploring Operation: 97-6=91, Resulting Numbers: [1, 91]
Generated Node #0,0,0: 91:[1, 91] Operation: 97-6=91
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 91:[1, 91], Operations: ['71/71=1', '97-6=91']
Exploring Operation: 1*91=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[71, 6, 97, 71], Operations: []
Exploring Operation: 71/71=1, Resulting Numbers: [6, 97, 1]
Generated Node #0,0: 91:[6, 97, 1] Operation: 71/71=1
Moving to Node #0,0
Current State: 91:[6, 97, 1], Operations: ['71/71=1']
Exploring Operation: 97-6=91, Resulting Numbers: [1, 91]
Generated Node #0,0,0: 91:[1, 91] Operation: 97-6=91
Moving to Node #0,0,0
Current State: 91:[1, 91], Operations: ['71/71=1', '97-6=91']
Exploring Operation: 1*91=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
55,
89,
56,
2
] | 77 | [
"55*2=110",
"89-56=33",
"110-33=77"
] | Current State: 77:[55, 89, 56, 2], Operations: []
Exploring Operation: 55*2=110, Resulting Numbers: [89, 56, 110]
Generated Node #2: [89, 56, 110] from Operation: 55*2=110
Current State: 77:[89, 56, 110], Operations: ['55*2=110']
Exploring Operation: 89-56=33, Resulting Numbers: [110, 33]
Generated Node #3: [110, 33] from Operation: 89-56=33
Current State: 77:[110, 33], Operations: ['55*2=110', '89-56=33']
Exploring Operation: 110-33=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[55, 89, 56, 2], Operations: []
Exploring Operation: 89-56=33, Resulting Numbers: [55, 2, 33]
Generated Node #0,0: 77:[55, 2, 33] Operation: 89-56=33
Exploring Operation: 56-55=1, Resulting Numbers: [89, 2, 1]
Generated Node #0,1: 77:[89, 2, 1] Operation: 56-55=1
Exploring Operation: 89-55=34, Resulting Numbers: [56, 2, 34]
Generated Node #0,2: 77:[56, 2, 34] Operation: 89-55=34
Moving to Node #0,1
Current State: 77:[89, 2, 1], Operations: ['56-55=1']
Exploring Operation: 89-2=87, Resulting Numbers: [1, 87]
Generated Node #0,1,0: 77:[1, 87] Operation: 89-2=87
Exploring Operation: 2+1=3, Resulting Numbers: [89, 3]
Generated Node #0,1,1: 77:[89, 3] Operation: 2+1=3
Exploring Operation: 89-1=88, Resulting Numbers: [2, 88]
Generated Node #0,1,2: 77:[2, 88] Operation: 89-1=88
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 77:[1, 87], Operations: ['56-55=1', '89-2=87']
Exploring Operation: 87-1=86, Resulting Numbers: [86]
86,77 unequal: No Solution
Exploring Operation: 1*87=87, Resulting Numbers: [87]
87,77 unequal: No Solution
Exploring Operation: 87/1=87, Resulting Numbers: [87]
87,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 77:[89, 3], Operations: ['56-55=1', '2+1=3']
Exploring Operation: 89-3=86, Resulting Numbers: [86]
86,77 unequal: No Solution
Exploring Operation: 89*3=267, Resulting Numbers: [267]
267,77 unequal: No Solution
Exploring Operation: 89+3=92, Resulting Numbers: [92]
92,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 77:[2, 88], Operations: ['56-55=1', '89-1=88']
Exploring Operation: 88/2=44, Resulting Numbers: [44]
44,77 unequal: No Solution
Exploring Operation: 2+88=90, Resulting Numbers: [90]
90,77 unequal: No Solution
Exploring Operation: 88-2=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,0
Current State: 77:[55, 2, 33], Operations: ['89-56=33']
Exploring Operation: 2*33=66, Resulting Numbers: [55, 66]
Generated Node #0,0,0: 77:[55, 66] Operation: 2*33=66
Exploring Operation: 55-33=22, Resulting Numbers: [2, 22]
Generated Node #0,0,1: 77:[2, 22] Operation: 55-33=22
Exploring Operation: 55+33=88, Resulting Numbers: [2, 88]
Generated Node #0,0,2: 77:[2, 88] Operation: 55+33=88
Moving to Node #0,2
Current State: 77:[56, 2, 34], Operations: ['89-55=34']
Exploring Operation: 56-34=22, Resulting Numbers: [2, 22]
Generated Node #0,2,0: 77:[2, 22] Operation: 56-34=22
Exploring Operation: 56+34=90, Resulting Numbers: [2, 90]
Generated Node #0,2,1: 77:[2, 90] Operation: 56+34=90
Exploring Operation: 34/2=17, Resulting Numbers: [56, 17]
Generated Node #0,2,2: 77:[56, 17] Operation: 34/2=17
Moving to Node #0,0,1
Current State: 77:[2, 22], Operations: ['89-56=33', '55-33=22']
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,77 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,77 unequal: No Solution
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,77 unequal: No Solution
Moving to Node #0,0,2
Current State: 77:[2, 88], Operations: ['89-56=33', '55+33=88']
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,77 unequal: No Solution
Exploring Operation: 88/2=44, Resulting Numbers: [44]
44,77 unequal: No Solution
Exploring Operation: 2+88=90, Resulting Numbers: [90]
90,77 unequal: No Solution
Moving to Node #0,2,0
Current State: 77:[2, 22], Operations: ['89-55=34', '56-34=22']
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,77 unequal: No Solution
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,77 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,77 unequal: No Solution
Moving to Node #0,2,1
Current State: 77:[2, 90], Operations: ['89-55=34', '56+34=90']
Exploring Operation: 2+90=92, Resulting Numbers: [92]
92,77 unequal: No Solution
Exploring Operation: 90-2=88, Resulting Numbers: [88]
88,77 unequal: No Solution
Exploring Operation: 90/2=45, Resulting Numbers: [45]
45,77 unequal: No Solution
Moving to Node #0,2,2
Current State: 77:[56, 17], Operations: ['89-55=34', '34/2=17']
Exploring Operation: 56-17=39, Resulting Numbers: [39]
39,77 unequal: No Solution
Exploring Operation: 56*17=952, Resulting Numbers: [952]
952,77 unequal: No Solution
Exploring Operation: 56+17=73, Resulting Numbers: [73]
73,77 unequal: No Solution
Moving to Node #0,0,0
Current State: 77:[55, 66], Operations: ['89-56=33', '2*33=66']
Exploring Operation: 55+66=121, Resulting Numbers: [121]
121,77 unequal: No Solution
Exploring Operation: 66-55=11, Resulting Numbers: [11]
11,77 unequal: No Solution
Exploring Operation: 55*66=3630, Resulting Numbers: [3630]
3630,77 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
61,
27,
61,
97
] | 52 | [
"61+27=88",
"97-61=36",
"88-36=52"
] | Current State: 52:[61, 27, 61, 97], Operations: []
Exploring Operation: 61+27=88, Resulting Numbers: [97, 88]
Generated Node #2: [97, 88] from Operation: 61+27=88
Current State: 52:[97, 88], Operations: ['61+27=88']
Exploring Operation: 97-61=36, Resulting Numbers: [88, 36]
Generated Node #3: [88, 36] from Operation: 97-61=36
Current State: 52:[88, 36], Operations: ['61+27=88', '97-61=36']
Exploring Operation: 88-36=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[61, 27, 61, 97], Operations: []
Exploring Operation: 97-27=70, Resulting Numbers: [61, 61, 70]
Generated Node #0,0: 52:[61, 61, 70] Operation: 97-27=70
Exploring Operation: 97-61=36, Resulting Numbers: [61, 27, 36]
Generated Node #0,1: 52:[61, 27, 36] Operation: 97-61=36
Exploring Operation: 97-61=36, Resulting Numbers: [27, 61, 36]
Generated Node #0,2: 52:[27, 61, 36] Operation: 97-61=36
Exploring Operation: 61/61=1, Resulting Numbers: [27, 97, 1]
Generated Node #0,3: 52:[27, 97, 1] Operation: 61/61=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 52:[61, 27, 36], Operations: ['97-61=36']
Exploring Operation: 36-27=9, Resulting Numbers: [61, 9]
Generated Node #0,1,0: 52:[61, 9] Operation: 36-27=9
Exploring Operation: 61-36=25, Resulting Numbers: [27, 25]
Generated Node #0,1,1: 52:[27, 25] Operation: 61-36=25
Exploring Operation: 61-27=34, Resulting Numbers: [36, 34]
Generated Node #0,1,2: 52:[36, 34] Operation: 61-27=34
Exploring Operation: 27+36=63, Resulting Numbers: [61, 63]
Generated Node #0,1,3: 52:[61, 63] Operation: 27+36=63
Moving to Node #0,1,1
Current State: 52:[27, 25], Operations: ['97-61=36', '61-36=25']
Exploring Operation: 27*25=675, Resulting Numbers: [675]
675,52 unequal: No Solution
Exploring Operation: 27-25=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 27+25=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[61, 27, 61, 97], Operations: []
Exploring Operation: 97-61=36, Resulting Numbers: [61, 27, 36]
Generated Node #0,1: 52:[61, 27, 36] Operation: 97-61=36
Moving to Node #0,1
Current State: 52:[61, 27, 36], Operations: ['97-61=36']
Exploring Operation: 61-36=25, Resulting Numbers: [27, 25]
Generated Node #0,1,1: 52:[27, 25] Operation: 61-36=25
Moving to Node #0,1,1
Current State: 52:[27, 25], Operations: ['97-61=36', '61-36=25']
Exploring Operation: 27+25=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
64,
97,
34,
76
] | 77 | [
"97-64=33",
"34+76=110",
"110-33=77"
] | Current State: 77:[64, 97, 34, 76], Operations: []
Exploring Operation: 97-64=33, Resulting Numbers: [34, 76, 33]
Generated Node #2: [34, 76, 33] from Operation: 97-64=33
Current State: 77:[34, 76, 33], Operations: ['97-64=33']
Exploring Operation: 34+76=110, Resulting Numbers: [33, 110]
Generated Node #3: [33, 110] from Operation: 34+76=110
Current State: 77:[33, 110], Operations: ['97-64=33', '34+76=110']
Exploring Operation: 110-33=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[64, 97, 34, 76], Operations: []
Exploring Operation: 64-34=30, Resulting Numbers: [97, 76, 30]
Generated Node #0,0: 77:[97, 76, 30] Operation: 64-34=30
Exploring Operation: 97-64=33, Resulting Numbers: [34, 76, 33]
Generated Node #0,1: 77:[34, 76, 33] Operation: 97-64=33
Exploring Operation: 76-64=12, Resulting Numbers: [97, 34, 12]
Generated Node #0,2: 77:[97, 34, 12] Operation: 76-64=12
Exploring Operation: 97-34=63, Resulting Numbers: [64, 76, 63]
Generated Node #0,3: 77:[64, 76, 63] Operation: 97-34=63
Exploring Operation: 64+34=98, Resulting Numbers: [97, 76, 98]
Generated Node #0,4: 77:[97, 76, 98] Operation: 64+34=98
Start Sub Search at level 1: Moving to Node #0,3
Current State: 77:[64, 76, 63], Operations: ['97-34=63']
Exploring Operation: 64-63=1, Resulting Numbers: [76, 1]
Generated Node #0,3,0: 77:[76, 1] Operation: 64-63=1
Exploring Operation: 76+63=139, Resulting Numbers: [64, 139]
Generated Node #0,3,1: 77:[64, 139] Operation: 76+63=139
Exploring Operation: 64+63=127, Resulting Numbers: [76, 127]
Generated Node #0,3,2: 77:[76, 127] Operation: 64+63=127
Exploring Operation: 76-63=13, Resulting Numbers: [64, 13]
Generated Node #0,3,3: 77:[64, 13] Operation: 76-63=13
Exploring Operation: 76-64=12, Resulting Numbers: [63, 12]
Generated Node #0,3,4: 77:[63, 12] Operation: 76-64=12
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 77:[76, 1], Operations: ['97-34=63', '64-63=1']
Exploring Operation: 76-1=75, Resulting Numbers: [75]
75,77 unequal: No Solution
Exploring Operation: 76+1=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[64, 97, 34, 76], Operations: []
Exploring Operation: 97-34=63, Resulting Numbers: [64, 76, 63]
Generated Node #0,3: 77:[64, 76, 63] Operation: 97-34=63
Moving to Node #0,3
Current State: 77:[64, 76, 63], Operations: ['97-34=63']
Exploring Operation: 64-63=1, Resulting Numbers: [76, 1]
Generated Node #0,3,0: 77:[76, 1] Operation: 64-63=1
Moving to Node #0,3,0
Current State: 77:[76, 1], Operations: ['97-34=63', '64-63=1']
Exploring Operation: 76+1=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.