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 |
|---|---|---|---|---|---|---|---|---|
[
22,
54,
8,
23
] | 52 | [
"22*54=1188",
"8+1188=1196",
"1196/23=52"
] | Current State: 52:[22, 54, 8, 23], Operations: []
Exploring Operation: 22*54=1188, Resulting Numbers: [8, 23, 1188]
Generated Node #2: [8, 23, 1188] from Operation: 22*54=1188
Current State: 52:[8, 23, 1188], Operations: ['22*54=1188']
Exploring Operation: 8+1188=1196, Resulting Numbers: [23, 1196]
Generated Node #3: [23, 1196] from Operation: 8+1188=1196
Current State: 52:[23, 1196], Operations: ['22*54=1188', '8+1188=1196']
Exploring Operation: 1196/23=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[22, 54, 8, 23], Operations: []
Exploring Operation: 23-8=15, Resulting Numbers: [22, 54, 15]
Generated Node #0,0: 52:[22, 54, 15] Operation: 23-8=15
Exploring Operation: 23-22=1, Resulting Numbers: [54, 8, 1]
Generated Node #0,1: 52:[54, 8, 1] Operation: 23-22=1
Exploring Operation: 22+8=30, Resulting Numbers: [54, 23, 30]
Generated Node #0,2: 52:[54, 23, 30] Operation: 22+8=30
Exploring Operation: 22-8=14, Resulting Numbers: [54, 23, 14]
Generated Node #0,3: 52:[54, 23, 14] Operation: 22-8=14
Moving to Node #0,3
Current State: 52:[54, 23, 14], Operations: ['22-8=14']
Exploring Operation: 23-14=9, Resulting Numbers: [54, 9]
Generated Node #0,3,0: 52:[54, 9] Operation: 23-14=9
Exploring Operation: 54-14=40, Resulting Numbers: [23, 40]
Generated Node #0,3,1: 52:[23, 40] Operation: 54-14=40
Exploring Operation: 54-23=31, Resulting Numbers: [14, 31]
Generated Node #0,3,2: 52:[14, 31] Operation: 54-23=31
Exploring Operation: 23+14=37, Resulting Numbers: [54, 37]
Generated Node #0,3,3: 52:[54, 37] Operation: 23+14=37
Moving to Node #0,1
Current State: 52:[54, 8, 1], Operations: ['23-22=1']
Exploring Operation: 54*1=54, Resulting Numbers: [8, 54]
Generated Node #0,1,0: 52:[8, 54] Operation: 54*1=54
Exploring Operation: 54/1=54, Resulting Numbers: [8, 54]
Generated Node #0,1,1: 52:[8, 54] Operation: 54/1=54
Exploring Operation: 8-1=7, Resulting Numbers: [54, 7]
Generated Node #0,1,2: 52:[54, 7] Operation: 8-1=7
Exploring Operation: 54-1=53, Resulting Numbers: [8, 53]
Generated Node #0,1,3: 52:[8, 53] Operation: 54-1=53
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 52:[54, 7], Operations: ['23-22=1', '8-1=7']
Exploring Operation: 54*7=378, Resulting Numbers: [378]
378,52 unequal: No Solution
Exploring Operation: 54-7=47, Resulting Numbers: [47]
47,52 unequal: No Solution
Exploring Operation: 54+7=61, Resulting Numbers: [61]
61,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 52:[8, 53], Operations: ['23-22=1', '54-1=53']
Exploring Operation: 8*53=424, Resulting Numbers: [424]
424,52 unequal: No Solution
Exploring Operation: 53-8=45, Resulting Numbers: [45]
45,52 unequal: No Solution
Exploring Operation: 8+53=61, Resulting Numbers: [61]
61,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 52:[8, 54], Operations: ['23-22=1', '54*1=54']
Exploring Operation: 8*54=432, Resulting Numbers: [432]
432,52 unequal: No Solution
Exploring Operation: 54-8=46, Resulting Numbers: [46]
46,52 unequal: No Solution
Exploring Operation: 8+54=62, Resulting Numbers: [62]
62,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 52:[8, 54], Operations: ['23-22=1', '54/1=54']
Exploring Operation: 8+54=62, Resulting Numbers: [62]
62,52 unequal: No Solution
Exploring Operation: 54-8=46, Resulting Numbers: [46]
46,52 unequal: No Solution
Exploring Operation: 8*54=432, Resulting Numbers: [432]
432,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 52:[22, 54, 15], Operations: ['23-8=15']
Exploring Operation: 54-22=32, Resulting Numbers: [15, 32]
Generated Node #0,0,0: 52:[15, 32] Operation: 54-22=32
Exploring Operation: 22-15=7, Resulting Numbers: [54, 7]
Generated Node #0,0,1: 52:[54, 7] Operation: 22-15=7
Exploring Operation: 54-15=39, Resulting Numbers: [22, 39]
Generated Node #0,0,2: 52:[22, 39] Operation: 54-15=39
Exploring Operation: 22+15=37, Resulting Numbers: [54, 37]
Generated Node #0,0,3: 52:[54, 37] Operation: 22+15=37
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 52:[54, 7], Operations: ['23-8=15', '22-15=7']
Exploring Operation: 54-7=47, Resulting Numbers: [47]
47,52 unequal: No Solution
Exploring Operation: 54+7=61, Resulting Numbers: [61]
61,52 unequal: No Solution
Exploring Operation: 54*7=378, Resulting Numbers: [378]
378,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[15, 32], Operations: ['23-8=15', '54-22=32']
Exploring Operation: 15+32=47, Resulting Numbers: [47]
47,52 unequal: No Solution
Exploring Operation: 15*32=480, Resulting Numbers: [480]
480,52 unequal: No Solution
Exploring Operation: 32-15=17, Resulting Numbers: [17]
17,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 52:[54, 37], Operations: ['23-8=15', '22+15=37']
Exploring Operation: 54-37=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Exploring Operation: 54+37=91, Resulting Numbers: [91]
91,52 unequal: No Solution
Exploring Operation: 54*37=1998, Resulting Numbers: [1998]
1998,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 52:[22, 39], Operations: ['23-8=15', '54-15=39']
Exploring Operation: 22*39=858, Resulting Numbers: [858]
858,52 unequal: No Solution
Exploring Operation: 39-22=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Exploring Operation: 22+39=61, Resulting Numbers: [61]
61,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 52:[54, 23, 30], Operations: ['22+8=30']
Exploring Operation: 54-23=31, Resulting Numbers: [30, 31]
Generated Node #0,2,0: 52:[30, 31] Operation: 54-23=31
Exploring Operation: 23+30=53, Resulting Numbers: [54, 53]
Generated Node #0,2,1: 52:[54, 53] Operation: 23+30=53
Exploring Operation: 54-30=24, Resulting Numbers: [23, 24]
Generated Node #0,2,2: 52:[23, 24] Operation: 54-30=24
Exploring Operation: 30-23=7, Resulting Numbers: [54, 7]
Generated Node #0,2,3: 52:[54, 7] Operation: 30-23=7
Moving to Node #0,2,1
Current State: 52:[54, 53], Operations: ['22+8=30', '23+30=53']
Exploring Operation: 54-53=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Exploring Operation: 54*53=2862, Resulting Numbers: [2862]
2862,52 unequal: No Solution
Exploring Operation: 54+53=107, Resulting Numbers: [107]
107,52 unequal: No Solution
Moving to Node #0,2,2
Current State: 52:[23, 24], Operations: ['22+8=30', '54-30=24']
Exploring Operation: 24-23=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Exploring Operation: 23*24=552, Resulting Numbers: [552]
552,52 unequal: No Solution
Exploring Operation: 23+24=47, Resulting Numbers: [47]
47,52 unequal: No Solution
Moving to Node #0,2,3
Current State: 52:[54, 7], Operations: ['22+8=30', '30-23=7']
Exploring Operation: 54*7=378, Resulting Numbers: [378]
378,52 unequal: No Solution
Exploring Operation: 54+7=61, Resulting Numbers: [61]
61,52 unequal: No Solution
Exploring Operation: 54-7=47, Resulting Numbers: [47]
47,52 unequal: No Solution
Moving to Node #0,3,0
Current State: 52:[54, 9], Operations: ['22-8=14', '23-14=9']
Exploring Operation: 54/9=6, Resulting Numbers: [6]
6,52 unequal: No Solution
Exploring Operation: 54+9=63, Resulting Numbers: [63]
63,52 unequal: No Solution
Exploring Operation: 54-9=45, Resulting Numbers: [45]
45,52 unequal: No Solution
Exploring Operation: 54*9=486, Resulting Numbers: [486]
486,52 unequal: No Solution
Moving to Node #0,3,2
Current State: 52:[14, 31], Operations: ['22-8=14', '54-23=31']
Exploring Operation: 14+31=45, Resulting Numbers: [45]
45,52 unequal: No Solution
Exploring Operation: 14*31=434, Resulting Numbers: [434]
434,52 unequal: No Solution
Exploring Operation: 31-14=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Moving to Node #0,2,0
Current State: 52:[30, 31], Operations: ['22+8=30', '54-23=31']
Exploring Operation: 31-30=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Exploring Operation: 30*31=930, Resulting Numbers: [930]
930,52 unequal: No Solution
Exploring Operation: 30+31=61, Resulting Numbers: [61]
61,52 unequal: No Solution
Moving to Node #0,3,3
Current State: 52:[54, 37], Operations: ['22-8=14', '23+14=37']
Exploring Operation: 54*37=1998, Resulting Numbers: [1998]
1998,52 unequal: No Solution
Exploring Operation: 54+37=91, Resulting Numbers: [91]
91,52 unequal: No Solution
Exploring Operation: 54-37=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Moving to Node #0,3,1
Current State: 52:[23, 40], Operations: ['22-8=14', '54-14=40']
Exploring Operation: 40-23=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Exploring Operation: 23*40=920, Resulting Numbers: [920]
920,52 unequal: No Solution
Exploring Operation: 23+40=63, Resulting Numbers: [63]
63,52 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
22,
28,
32,
18
] | 15 | [
"22-18=4",
"28+32=60",
"60/4=15"
] | Current State: 15:[22, 28, 32, 18], Operations: []
Exploring Operation: 22-18=4, Resulting Numbers: [28, 32, 4]
Generated Node #2: [28, 32, 4] from Operation: 22-18=4
Current State: 15:[28, 32, 4], Operations: ['22-18=4']
Exploring Operation: 28+32=60, Resulting Numbers: [4, 60]
Generated Node #3: [4, 60] from Operation: 28+32=60
Current State: 15:[4, 60], Operations: ['22-18=4', '28+32=60']
Exploring Operation: 60/4=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[22, 28, 32, 18], Operations: []
Exploring Operation: 32-28=4, Resulting Numbers: [22, 18, 4]
Generated Node #0,0: 15:[22, 18, 4] Operation: 32-28=4
Exploring Operation: 28-22=6, Resulting Numbers: [32, 18, 6]
Generated Node #0,1: 15:[32, 18, 6] Operation: 28-22=6
Exploring Operation: 32-22=10, Resulting Numbers: [28, 18, 10]
Generated Node #0,2: 15:[28, 18, 10] Operation: 32-22=10
Moving to Node #0,0
Current State: 15:[22, 18, 4], Operations: ['32-28=4']
Exploring Operation: 18-4=14, Resulting Numbers: [22, 14]
Generated Node #0,0,0: 15:[22, 14] Operation: 18-4=14
Exploring Operation: 22-18=4, Resulting Numbers: [4, 4]
Generated Node #0,0,1: 15:[4, 4] Operation: 22-18=4
Exploring Operation: 22-4=18, Resulting Numbers: [18, 18]
Generated Node #0,0,2: 15:[18, 18] Operation: 22-4=18
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 15:[4, 4], Operations: ['32-28=4', '22-18=4']
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,15 unequal: No Solution
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,15 unequal: No Solution
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,15 unequal: No Solution
No 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: 15:[18, 18], Operations: ['32-28=4', '22-4=18']
Exploring Operation: 18+18=36, Resulting Numbers: [36]
36,15 unequal: No Solution
Exploring Operation: 18-18=0, Resulting Numbers: [0]
0,15 unequal: No Solution
Exploring Operation: 18/18=1, Resulting Numbers: [1]
1,15 unequal: No Solution
No 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: 15:[22, 14], Operations: ['32-28=4', '18-4=14']
Exploring Operation: 22-14=8, Resulting Numbers: [8]
8,15 unequal: No Solution
Exploring Operation: 22+14=36, Resulting Numbers: [36]
36,15 unequal: No Solution
Exploring Operation: 22*14=308, Resulting Numbers: [308]
308,15 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: 15:[32, 18, 6], Operations: ['28-22=6']
Exploring Operation: 32-6=26, Resulting Numbers: [18, 26]
Generated Node #0,1,0: 15:[18, 26] Operation: 32-6=26
Exploring Operation: 32-18=14, Resulting Numbers: [6, 14]
Generated Node #0,1,1: 15:[6, 14] Operation: 32-18=14
Exploring Operation: 18/6=3, Resulting Numbers: [32, 3]
Generated Node #0,1,2: 15:[32, 3] Operation: 18/6=3
Moving to Node #0,2
Current State: 15:[28, 18, 10], Operations: ['32-22=10']
Exploring Operation: 28-18=10, Resulting Numbers: [10, 10]
Generated Node #0,2,0: 15:[10, 10] Operation: 28-18=10
Exploring Operation: 28-10=18, Resulting Numbers: [18, 18]
Generated Node #0,2,1: 15:[18, 18] Operation: 28-10=18
Exploring Operation: 18-10=8, Resulting Numbers: [28, 8]
Generated Node #0,2,2: 15:[28, 8] Operation: 18-10=8
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 15:[18, 18], Operations: ['32-22=10', '28-10=18']
Exploring Operation: 18/18=1, Resulting Numbers: [1]
1,15 unequal: No Solution
Exploring Operation: 18-18=0, Resulting Numbers: [0]
0,15 unequal: No Solution
Exploring Operation: 18+18=36, Resulting Numbers: [36]
36,15 unequal: No Solution
No 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: 15:[10, 10], Operations: ['32-22=10', '28-18=10']
Exploring Operation: 10+10=20, Resulting Numbers: [20]
20,15 unequal: No Solution
Exploring Operation: 10-10=0, Resulting Numbers: [0]
0,15 unequal: No Solution
Exploring Operation: 10/10=1, Resulting Numbers: [1]
1,15 unequal: No Solution
No 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: 15:[28, 8], Operations: ['32-22=10', '18-10=8']
Exploring Operation: 28*8=224, Resulting Numbers: [224]
224,15 unequal: No Solution
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,15 unequal: No Solution
Exploring Operation: 28+8=36, Resulting Numbers: [36]
36,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 15:[6, 14], Operations: ['28-22=6', '32-18=14']
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,15 unequal: No Solution
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,15 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,15 unequal: No Solution
Moving to Node #0,1,0
Current State: 15:[18, 26], Operations: ['28-22=6', '32-6=26']
Exploring Operation: 26-18=8, Resulting Numbers: [8]
8,15 unequal: No Solution
Exploring Operation: 18+26=44, Resulting Numbers: [44]
44,15 unequal: No Solution
Exploring Operation: 18*26=468, Resulting Numbers: [468]
468,15 unequal: No Solution
Moving to Node #0,1,2
Current State: 15:[32, 3], Operations: ['28-22=6', '18/6=3']
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,15 unequal: No Solution
Exploring Operation: 32*3=96, Resulting Numbers: [96]
96,15 unequal: No Solution
Exploring Operation: 32+3=35, Resulting Numbers: [35]
35,15 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
94,
30,
92,
3
] | 32 | [
"94+92=186",
"186/3=62",
"62-30=32"
] | Current State: 32:[94, 30, 92, 3], Operations: []
Exploring Operation: 94+92=186, Resulting Numbers: [30, 3, 186]
Generated Node #2: [30, 3, 186] from Operation: 94+92=186
Current State: 32:[30, 3, 186], Operations: ['94+92=186']
Exploring Operation: 186/3=62, Resulting Numbers: [30, 62]
Generated Node #3: [30, 62] from Operation: 186/3=62
Current State: 32:[30, 62], Operations: ['94+92=186', '186/3=62']
Exploring Operation: 62-30=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[94, 30, 92, 3], Operations: []
Exploring Operation: 94-92=2, Resulting Numbers: [30, 3, 2]
Generated Node #0,0: 32:[30, 3, 2] Operation: 94-92=2
Exploring Operation: 94-30=64, Resulting Numbers: [92, 3, 64]
Generated Node #0,1: 32:[92, 3, 64] Operation: 94-30=64
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[30, 3, 2], Operations: ['94-92=2']
Exploring Operation: 30+3=33, Resulting Numbers: [2, 33]
Generated Node #0,0,0: 32:[2, 33] Operation: 30+3=33
Exploring Operation: 30+2=32, Resulting Numbers: [3, 32]
Generated Node #0,0,1: 32:[3, 32] Operation: 30+2=32
Moving to Node #0,0,0
Current State: 32:[2, 33], Operations: ['94-92=2', '30+3=33']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,32 unequal: No Solution
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,32 unequal: No Solution
Moving to Node #0,0,1
Current State: 32:[3, 32], Operations: ['94-92=2', '30+2=32']
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,32 unequal: No Solution
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 32:[92, 3, 64], Operations: ['94-30=64']
Exploring Operation: 92-64=28, Resulting Numbers: [3, 28]
Generated Node #0,1,0: 32:[3, 28] Operation: 92-64=28
Exploring Operation: 92-3=89, Resulting Numbers: [64, 89]
Generated Node #0,1,1: 32:[64, 89] Operation: 92-3=89
Moving to Node #0,1,0
Current State: 32:[3, 28], Operations: ['94-30=64', '92-64=28']
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,32 unequal: No Solution
Exploring Operation: 3+28=31, Resulting Numbers: [31]
31,32 unequal: No Solution
Moving to Node #0,1,1
Current State: 32:[64, 89], Operations: ['94-30=64', '92-3=89']
Exploring Operation: 64+89=153, Resulting Numbers: [153]
153,32 unequal: No Solution
Exploring Operation: 89-64=25, Resulting Numbers: [25]
25,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
3,
17,
76,
87
] | 50 | [
"87-76=11",
"3*11=33",
"17+33=50"
] | Current State: 50:[3, 17, 76, 87], Operations: []
Exploring Operation: 87-76=11, Resulting Numbers: [3, 17, 11]
Generated Node #2: [3, 17, 11] from Operation: 87-76=11
Current State: 50:[3, 17, 11], Operations: ['87-76=11']
Exploring Operation: 3*11=33, Resulting Numbers: [17, 33]
Generated Node #3: [17, 33] from Operation: 3*11=33
Current State: 50:[17, 33], Operations: ['87-76=11', '3*11=33']
Exploring Operation: 17+33=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[3, 17, 76, 87], Operations: []
Exploring Operation: 87/3=29, Resulting Numbers: [17, 76, 29]
Generated Node #0,0: 50:[17, 76, 29] Operation: 87/3=29
Exploring Operation: 87-76=11, Resulting Numbers: [3, 17, 11]
Generated Node #0,1: 50:[3, 17, 11] Operation: 87-76=11
Start Sub Search at level 1: Moving to Node #0,1
Current State: 50:[3, 17, 11], Operations: ['87-76=11']
Exploring Operation: 3*17=51, Resulting Numbers: [11, 51]
Generated Node #0,1,0: 50:[11, 51] Operation: 3*17=51
Exploring Operation: 17-11=6, Resulting Numbers: [3, 6]
Generated Node #0,1,1: 50:[3, 6] Operation: 17-11=6
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 50:[11, 51], Operations: ['87-76=11', '3*17=51']
Exploring Operation: 11+51=62, Resulting Numbers: [62]
62,50 unequal: No Solution
Exploring Operation: 51-11=40, Resulting Numbers: [40]
40,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 50:[3, 6], Operations: ['87-76=11', '17-11=6']
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[17, 76, 29], Operations: ['87/3=29']
Exploring Operation: 76-17=59, Resulting Numbers: [29, 59]
Generated Node #0,0,0: 50:[29, 59] Operation: 76-17=59
Exploring Operation: 76-29=47, Resulting Numbers: [17, 47]
Generated Node #0,0,1: 50:[17, 47] Operation: 76-29=47
Moving to Node #0,0,1
Current State: 50:[17, 47], Operations: ['87/3=29', '76-29=47']
Exploring Operation: 47-17=30, Resulting Numbers: [30]
30,50 unequal: No Solution
Exploring Operation: 17+47=64, Resulting Numbers: [64]
64,50 unequal: No Solution
Moving to Node #0,0,0
Current State: 50:[29, 59], Operations: ['87/3=29', '76-17=59']
Exploring Operation: 59-29=30, Resulting Numbers: [30]
30,50 unequal: No Solution
Exploring Operation: 29+59=88, Resulting Numbers: [88]
88,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
87,
66,
60,
21
] | 39 | [
"66-60=6",
"21*6=126",
"126-87=39"
] | Current State: 39:[87, 66, 60, 21], Operations: []
Exploring Operation: 66-60=6, Resulting Numbers: [87, 21, 6]
Generated Node #2: [87, 21, 6] from Operation: 66-60=6
Current State: 39:[87, 21, 6], Operations: ['66-60=6']
Exploring Operation: 21*6=126, Resulting Numbers: [87, 126]
Generated Node #3: [87, 126] from Operation: 21*6=126
Current State: 39:[87, 126], Operations: ['66-60=6', '21*6=126']
Exploring Operation: 126-87=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[87, 66, 60, 21], Operations: []
Exploring Operation: 87-60=27, Resulting Numbers: [66, 21, 27]
Generated Node #0,0: 39:[66, 21, 27] Operation: 87-60=27
Exploring Operation: 66-21=45, Resulting Numbers: [87, 60, 45]
Generated Node #0,1: 39:[87, 60, 45] Operation: 66-21=45
Exploring Operation: 87-66=21, Resulting Numbers: [60, 21, 21]
Generated Node #0,2: 39:[60, 21, 21] Operation: 87-66=21
Exploring Operation: 87-21=66, Resulting Numbers: [66, 60, 66]
Generated Node #0,3: 39:[66, 60, 66] Operation: 87-21=66
Exploring Operation: 66-60=6, Resulting Numbers: [87, 21, 6]
Generated Node #0,4: 39:[87, 21, 6] Operation: 66-60=6
Moving to Node #0,2
Current State: 39:[60, 21, 21], Operations: ['87-66=21']
Exploring Operation: 21/21=1, Resulting Numbers: [60, 1]
Generated Node #0,2,0: 39:[60, 1] Operation: 21/21=1
Exploring Operation: 21-21=0, Resulting Numbers: [60, 0]
Generated Node #0,2,1: 39:[60, 0] Operation: 21-21=0
Exploring Operation: 60-21=39, Resulting Numbers: [21, 39]
Generated Node #0,2,2: 39:[21, 39] Operation: 60-21=39
Exploring Operation: 60-21=39, Resulting Numbers: [21, 39]
Generated Node #0,2,3: 39:[21, 39] Operation: 60-21=39
Exploring Operation: 21+21=42, Resulting Numbers: [60, 42]
Generated Node #0,2,4: 39:[60, 42] Operation: 21+21=42
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 39:[21, 39], Operations: ['87-66=21', '60-21=39']
Exploring Operation: 21+39=60, Resulting Numbers: [60]
60,39 unequal: No Solution
Exploring Operation: 21*39=819, Resulting Numbers: [819]
819,39 unequal: No Solution
Exploring Operation: 39-21=18, Resulting Numbers: [18]
18,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 39:[21, 39], Operations: ['87-66=21', '60-21=39']
Exploring Operation: 21*39=819, Resulting Numbers: [819]
819,39 unequal: No Solution
Exploring Operation: 39-21=18, Resulting Numbers: [18]
18,39 unequal: No Solution
Exploring Operation: 21+39=60, Resulting Numbers: [60]
60,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,2,0
Current State: 39:[60, 1], Operations: ['87-66=21', '21/21=1']
Exploring Operation: 60*1=60, Resulting Numbers: [60]
60,39 unequal: No Solution
Exploring Operation: 60/1=60, Resulting Numbers: [60]
60,39 unequal: No Solution
Exploring Operation: 60-1=59, Resulting Numbers: [59]
59,39 unequal: No Solution
Exploring Operation: 60+1=61, Resulting Numbers: [61]
61,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,2,1
Current State: 39:[60, 0], Operations: ['87-66=21', '21-21=0']
Exploring Operation: 60+0=60, Resulting Numbers: [60]
60,39 unequal: No Solution
Exploring Operation: 60-0=60, Resulting Numbers: [60]
60,39 unequal: No Solution
Exploring Operation: 60*0=0, Resulting Numbers: [0]
0,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,2,4
Current State: 39:[60, 42], Operations: ['87-66=21', '21+21=42']
Exploring Operation: 60+42=102, Resulting Numbers: [102]
102,39 unequal: No Solution
Exploring Operation: 60*42=2520, Resulting Numbers: [2520]
2520,39 unequal: No Solution
Exploring Operation: 60-42=18, Resulting Numbers: [18]
18,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:[66, 21, 27], Operations: ['87-60=27']
Exploring Operation: 66-27=39, Resulting Numbers: [21, 39]
Generated Node #0,0,0: 39:[21, 39] Operation: 66-27=39
Exploring Operation: 27-21=6, Resulting Numbers: [66, 6]
Generated Node #0,0,1: 39:[66, 6] Operation: 27-21=6
Exploring Operation: 66-21=45, Resulting Numbers: [27, 45]
Generated Node #0,0,2: 39:[27, 45] Operation: 66-21=45
Exploring Operation: 66+21=87, Resulting Numbers: [27, 87]
Generated Node #0,0,3: 39:[27, 87] Operation: 66+21=87
Exploring Operation: 21+27=48, Resulting Numbers: [66, 48]
Generated Node #0,0,4: 39:[66, 48] Operation: 21+27=48
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 39:[21, 39], Operations: ['87-60=27', '66-27=39']
Exploring Operation: 21*39=819, Resulting Numbers: [819]
819,39 unequal: No Solution
Exploring Operation: 21+39=60, Resulting Numbers: [60]
60,39 unequal: No Solution
Exploring Operation: 39-21=18, Resulting Numbers: [18]
18,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 39:[27, 45], Operations: ['87-60=27', '66-21=45']
Exploring Operation: 27*45=1215, Resulting Numbers: [1215]
1215,39 unequal: No Solution
Exploring Operation: 45-27=18, Resulting Numbers: [18]
18,39 unequal: No Solution
Exploring Operation: 27+45=72, Resulting Numbers: [72]
72,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:[66, 6], Operations: ['87-60=27', '27-21=6']
Exploring Operation: 66*6=396, Resulting Numbers: [396]
396,39 unequal: No Solution
Exploring Operation: 66-6=60, Resulting Numbers: [60]
60,39 unequal: No Solution
Exploring Operation: 66/6=11, Resulting Numbers: [11]
11,39 unequal: No Solution
Exploring Operation: 66+6=72, Resulting Numbers: [72]
72,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,4
Current State: 39:[66, 48], Operations: ['87-60=27', '21+27=48']
Exploring Operation: 66+48=114, Resulting Numbers: [114]
114,39 unequal: No Solution
Exploring Operation: 66*48=3168, Resulting Numbers: [3168]
3168,39 unequal: No Solution
Exploring Operation: 66-48=18, Resulting Numbers: [18]
18,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 39:[27, 87], Operations: ['87-60=27', '66+21=87']
Exploring Operation: 27+87=114, Resulting Numbers: [114]
114,39 unequal: No Solution
Exploring Operation: 27*87=2349, Resulting Numbers: [2349]
2349,39 unequal: No Solution
Exploring Operation: 87-27=60, Resulting Numbers: [60]
60,39 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: 39:[87, 21, 6], Operations: ['66-60=6']
Exploring Operation: 21+6=27, Resulting Numbers: [87, 27]
Generated Node #0,4,0: 39:[87, 27] Operation: 21+6=27
Exploring Operation: 87-21=66, Resulting Numbers: [6, 66]
Generated Node #0,4,1: 39:[6, 66] Operation: 87-21=66
Exploring Operation: 21-6=15, Resulting Numbers: [87, 15]
Generated Node #0,4,2: 39:[87, 15] Operation: 21-6=15
Exploring Operation: 87-6=81, Resulting Numbers: [21, 81]
Generated Node #0,4,3: 39:[21, 81] Operation: 87-6=81
Exploring Operation: 87+6=93, Resulting Numbers: [21, 93]
Generated Node #0,4,4: 39:[21, 93] Operation: 87+6=93
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 39:[6, 66], Operations: ['66-60=6', '87-21=66']
Exploring Operation: 6+66=72, Resulting Numbers: [72]
72,39 unequal: No Solution
Exploring Operation: 66/6=11, Resulting Numbers: [11]
11,39 unequal: No Solution
Exploring Operation: 6*66=396, Resulting Numbers: [396]
396,39 unequal: No Solution
Exploring Operation: 66-6=60, Resulting Numbers: [60]
60,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,4,2
Current State: 39:[87, 15], Operations: ['66-60=6', '21-6=15']
Exploring Operation: 87+15=102, Resulting Numbers: [102]
102,39 unequal: No Solution
Exploring Operation: 87-15=72, Resulting Numbers: [72]
72,39 unequal: No Solution
Exploring Operation: 87*15=1305, Resulting Numbers: [1305]
1305,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,4,3
Current State: 39:[21, 81], Operations: ['66-60=6', '87-6=81']
Exploring Operation: 21*81=1701, Resulting Numbers: [1701]
1701,39 unequal: No Solution
Exploring Operation: 81-21=60, Resulting Numbers: [60]
60,39 unequal: No Solution
Exploring Operation: 21+81=102, Resulting Numbers: [102]
102,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,4,0
Current State: 39:[87, 27], Operations: ['66-60=6', '21+6=27']
Exploring Operation: 87+27=114, Resulting Numbers: [114]
114,39 unequal: No Solution
Exploring Operation: 87-27=60, Resulting Numbers: [60]
60,39 unequal: No Solution
Exploring Operation: 87*27=2349, Resulting Numbers: [2349]
2349,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,4,4
Current State: 39:[21, 93], Operations: ['66-60=6', '87+6=93']
Exploring Operation: 93-21=72, Resulting Numbers: [72]
72,39 unequal: No Solution
Exploring Operation: 21*93=1953, Resulting Numbers: [1953]
1953,39 unequal: No Solution
Exploring Operation: 21+93=114, Resulting Numbers: [114]
114,39 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: 39:[87, 60, 45], Operations: ['66-21=45']
Exploring Operation: 87+45=132, Resulting Numbers: [60, 132]
Generated Node #0,1,0: 39:[60, 132] Operation: 87+45=132
Exploring Operation: 87-45=42, Resulting Numbers: [60, 42]
Generated Node #0,1,1: 39:[60, 42] Operation: 87-45=42
Exploring Operation: 87-60=27, Resulting Numbers: [45, 27]
Generated Node #0,1,2: 39:[45, 27] Operation: 87-60=27
Exploring Operation: 87+60=147, Resulting Numbers: [45, 147]
Generated Node #0,1,3: 39:[45, 147] Operation: 87+60=147
Exploring Operation: 60-45=15, Resulting Numbers: [87, 15]
Generated Node #0,1,4: 39:[87, 15] Operation: 60-45=15
Moving to Node #0,3
Current State: 39:[66, 60, 66], Operations: ['87-21=66']
Exploring Operation: 66-66=0, Resulting Numbers: [60, 0]
Generated Node #0,3,0: 39:[60, 0] Operation: 66-66=0
Exploring Operation: 66/66=1, Resulting Numbers: [60, 1]
Generated Node #0,3,1: 39:[60, 1] Operation: 66/66=1
Exploring Operation: 66-60=6, Resulting Numbers: [66, 6]
Generated Node #0,3,2: 39:[66, 6] Operation: 66-60=6
Exploring Operation: 66+60=126, Resulting Numbers: [66, 126]
Generated Node #0,3,3: 39:[66, 126] Operation: 66+60=126
Exploring Operation: 66-60=6, Resulting Numbers: [66, 6]
Generated Node #0,3,4: 39:[66, 6] Operation: 66-60=6
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 39:[60, 1], Operations: ['87-21=66', '66/66=1']
Exploring Operation: 60+1=61, Resulting Numbers: [61]
61,39 unequal: No Solution
Exploring Operation: 60/1=60, Resulting Numbers: [60]
60,39 unequal: No Solution
Exploring Operation: 60-1=59, Resulting Numbers: [59]
59,39 unequal: No Solution
Exploring Operation: 60*1=60, Resulting Numbers: [60]
60,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,3,0
Current State: 39:[60, 0], Operations: ['87-21=66', '66-66=0']
Exploring Operation: 60*0=0, Resulting Numbers: [0]
0,39 unequal: No Solution
Exploring Operation: 60+0=60, Resulting Numbers: [60]
60,39 unequal: No Solution
Exploring Operation: 60-0=60, Resulting Numbers: [60]
60,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,3,2
Current State: 39:[66, 6], Operations: ['87-21=66', '66-60=6']
Exploring Operation: 66-6=60, Resulting Numbers: [60]
60,39 unequal: No Solution
Exploring Operation: 66/6=11, Resulting Numbers: [11]
11,39 unequal: No Solution
Exploring Operation: 66*6=396, Resulting Numbers: [396]
396,39 unequal: No Solution
Exploring Operation: 66+6=72, Resulting Numbers: [72]
72,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,3,4
Current State: 39:[66, 6], Operations: ['87-21=66', '66-60=6']
Exploring Operation: 66/6=11, Resulting Numbers: [11]
11,39 unequal: No Solution
Exploring Operation: 66*6=396, Resulting Numbers: [396]
396,39 unequal: No Solution
Exploring Operation: 66-6=60, Resulting Numbers: [60]
60,39 unequal: No Solution
Exploring Operation: 66+6=72, Resulting Numbers: [72]
72,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,3,3
Current State: 39:[66, 126], Operations: ['87-21=66', '66+60=126']
Exploring Operation: 66+126=192, Resulting Numbers: [192]
192,39 unequal: No Solution
Exploring Operation: 126-66=60, Resulting Numbers: [60]
60,39 unequal: No Solution
Exploring Operation: 66*126=8316, Resulting Numbers: [8316]
8316,39 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: 39:[45, 27], Operations: ['66-21=45', '87-60=27']
Exploring Operation: 45-27=18, Resulting Numbers: [18]
18,39 unequal: No Solution
Exploring Operation: 45+27=72, Resulting Numbers: [72]
72,39 unequal: No Solution
Exploring Operation: 45*27=1215, Resulting Numbers: [1215]
1215,39 unequal: No Solution
Moving to Node #0,1,1
Current State: 39:[60, 42], Operations: ['66-21=45', '87-45=42']
Exploring Operation: 60*42=2520, Resulting Numbers: [2520]
2520,39 unequal: No Solution
Exploring Operation: 60-42=18, Resulting Numbers: [18]
18,39 unequal: No Solution
Exploring Operation: 60+42=102, Resulting Numbers: [102]
102,39 unequal: No Solution
Moving to Node #0,1,4
Current State: 39:[87, 15], Operations: ['66-21=45', '60-45=15']
Exploring Operation: 87*15=1305, Resulting Numbers: [1305]
1305,39 unequal: No Solution
Exploring Operation: 87+15=102, Resulting Numbers: [102]
102,39 unequal: No Solution
Exploring Operation: 87-15=72, Resulting Numbers: [72]
72,39 unequal: No Solution
Moving to Node #0,1,0
Current State: 39:[60, 132], Operations: ['66-21=45', '87+45=132']
Exploring Operation: 132-60=72, Resulting Numbers: [72]
72,39 unequal: No Solution
Exploring Operation: 60*132=7920, Resulting Numbers: [7920]
7920,39 unequal: No Solution
Exploring Operation: 60+132=192, Resulting Numbers: [192]
192,39 unequal: No Solution
Moving to Node #0,1,3
Current State: 39:[45, 147], Operations: ['66-21=45', '87+60=147']
Exploring Operation: 45+147=192, Resulting Numbers: [192]
192,39 unequal: No Solution
Exploring Operation: 45*147=6615, Resulting Numbers: [6615]
6615,39 unequal: No Solution
Exploring Operation: 147-45=102, Resulting Numbers: [102]
102,39 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
36,
20,
39,
11
] | 34 | [
"36-20=16",
"39+11=50",
"50-16=34"
] | Current State: 34:[36, 20, 39, 11], Operations: []
Exploring Operation: 36-20=16, Resulting Numbers: [39, 11, 16]
Generated Node #2: [39, 11, 16] from Operation: 36-20=16
Current State: 34:[39, 11, 16], Operations: ['36-20=16']
Exploring Operation: 39+11=50, Resulting Numbers: [16, 50]
Generated Node #3: [16, 50] from Operation: 39+11=50
Current State: 34:[16, 50], Operations: ['36-20=16', '39+11=50']
Exploring Operation: 50-16=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[36, 20, 39, 11], Operations: []
Exploring Operation: 39-36=3, Resulting Numbers: [20, 11, 3]
Generated Node #0,0: 34:[20, 11, 3] Operation: 39-36=3
Exploring Operation: 39-20=19, Resulting Numbers: [36, 11, 19]
Generated Node #0,1: 34:[36, 11, 19] Operation: 39-20=19
Exploring Operation: 20+11=31, Resulting Numbers: [36, 39, 31]
Generated Node #0,2: 34:[36, 39, 31] Operation: 20+11=31
Moving to Node #0,0
Current State: 34:[20, 11, 3], Operations: ['39-36=3']
Exploring Operation: 11*3=33, Resulting Numbers: [20, 33]
Generated Node #0,0,0: 34:[20, 33] Operation: 11*3=33
Exploring Operation: 20+11=31, Resulting Numbers: [3, 31]
Generated Node #0,0,1: 34:[3, 31] Operation: 20+11=31
Exploring Operation: 20-3=17, Resulting Numbers: [11, 17]
Generated Node #0,0,2: 34:[11, 17] Operation: 20-3=17
Moving to Node #0,1
Current State: 34:[36, 11, 19], Operations: ['39-20=19']
Exploring Operation: 19-11=8, Resulting Numbers: [36, 8]
Generated Node #0,1,0: 34:[36, 8] Operation: 19-11=8
Exploring Operation: 36-19=17, Resulting Numbers: [11, 17]
Generated Node #0,1,1: 34:[11, 17] Operation: 36-19=17
Exploring Operation: 11+19=30, Resulting Numbers: [36, 30]
Generated Node #0,1,2: 34:[36, 30] Operation: 11+19=30
Moving to Node #0,2
Current State: 34:[36, 39, 31], Operations: ['20+11=31']
Exploring Operation: 39-31=8, Resulting Numbers: [36, 8]
Generated Node #0,2,0: 34:[36, 8] Operation: 39-31=8
Exploring Operation: 36-31=5, Resulting Numbers: [39, 5]
Generated Node #0,2,1: 34:[39, 5] Operation: 36-31=5
Exploring Operation: 39-36=3, Resulting Numbers: [31, 3]
Generated Node #0,2,2: 34:[31, 3] Operation: 39-36=3
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 34:[31, 3], Operations: ['20+11=31', '39-36=3']
Exploring Operation: 31*3=93, Resulting Numbers: [93]
93,34 unequal: No Solution
Exploring Operation: 31+3=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[36, 20, 39, 11], Operations: []
Exploring Operation: 20+11=31, Resulting Numbers: [36, 39, 31]
Generated Node #0,2: 34:[36, 39, 31] Operation: 20+11=31
Moving to Node #0,2
Current State: 34:[36, 39, 31], Operations: ['20+11=31']
Exploring Operation: 39-36=3, Resulting Numbers: [31, 3]
Generated Node #0,2,2: 34:[31, 3] Operation: 39-36=3
Moving to Node #0,2,2
Current State: 34:[31, 3], Operations: ['20+11=31', '39-36=3']
Exploring Operation: 31+3=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | mult_heuristic |
[
62,
93,
64,
1
] | 94 | [
"93-62=31",
"64-1=63",
"31+63=94"
] | Current State: 94:[62, 93, 64, 1], Operations: []
Exploring Operation: 93-62=31, Resulting Numbers: [64, 1, 31]
Generated Node #2: [64, 1, 31] from Operation: 93-62=31
Current State: 94:[64, 1, 31], Operations: ['93-62=31']
Exploring Operation: 64-1=63, Resulting Numbers: [31, 63]
Generated Node #3: [31, 63] from Operation: 64-1=63
Current State: 94:[31, 63], Operations: ['93-62=31', '64-1=63']
Exploring Operation: 31+63=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[62, 93, 64, 1], Operations: []
Exploring Operation: 62-1=61, Resulting Numbers: [93, 64, 61]
Generated Node #0,0: 94:[93, 64, 61] Operation: 62-1=61
Exploring Operation: 93+1=94, Resulting Numbers: [62, 64, 94]
Generated Node #0,1: 94:[62, 64, 94] Operation: 93+1=94
Exploring Operation: 64-62=2, Resulting Numbers: [93, 1, 2]
Generated Node #0,2: 94:[93, 1, 2] Operation: 64-62=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 94:[93, 1, 2], Operations: ['64-62=2']
Exploring Operation: 93*1=93, Resulting Numbers: [2, 93]
Generated Node #0,2,0: 94:[2, 93] Operation: 93*1=93
Exploring Operation: 93+1=94, Resulting Numbers: [2, 94]
Generated Node #0,2,1: 94:[2, 94] Operation: 93+1=94
Exploring Operation: 93/1=93, Resulting Numbers: [2, 93]
Generated Node #0,2,2: 94:[2, 93] Operation: 93/1=93
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 94:[2, 94], Operations: ['64-62=2', '93+1=94']
Exploring Operation: 2+94=96, Resulting Numbers: [96]
96,94 unequal: No Solution
Exploring Operation: 94/2=47, Resulting Numbers: [47]
47,94 unequal: No Solution
Exploring Operation: 94-2=92, Resulting Numbers: [92]
92,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 94:[2, 93], Operations: ['64-62=2', '93*1=93']
Exploring Operation: 93-2=91, Resulting Numbers: [91]
91,94 unequal: No Solution
Exploring Operation: 2+93=95, Resulting Numbers: [95]
95,94 unequal: No Solution
Exploring Operation: 2*93=186, Resulting Numbers: [186]
186,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 94:[2, 93], Operations: ['64-62=2', '93/1=93']
Exploring Operation: 2+93=95, Resulting Numbers: [95]
95,94 unequal: No Solution
Exploring Operation: 2*93=186, Resulting Numbers: [186]
186,94 unequal: No Solution
Exploring Operation: 93-2=91, Resulting Numbers: [91]
91,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[93, 64, 61], Operations: ['62-1=61']
Exploring Operation: 93-64=29, Resulting Numbers: [61, 29]
Generated Node #0,0,0: 94:[61, 29] Operation: 93-64=29
Exploring Operation: 64-61=3, Resulting Numbers: [93, 3]
Generated Node #0,0,1: 94:[93, 3] Operation: 64-61=3
Exploring Operation: 93-61=32, Resulting Numbers: [64, 32]
Generated Node #0,0,2: 94:[64, 32] Operation: 93-61=32
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 94:[93, 3], Operations: ['62-1=61', '64-61=3']
Exploring Operation: 93/3=31, Resulting Numbers: [31]
31,94 unequal: No Solution
Exploring Operation: 93-3=90, Resulting Numbers: [90]
90,94 unequal: No Solution
Exploring Operation: 93+3=96, Resulting Numbers: [96]
96,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 94:[61, 29], Operations: ['62-1=61', '93-64=29']
Exploring Operation: 61+29=90, Resulting Numbers: [90]
90,94 unequal: No Solution
Exploring Operation: 61-29=32, Resulting Numbers: [32]
32,94 unequal: No Solution
Exploring Operation: 61*29=1769, Resulting Numbers: [1769]
1769,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 94:[64, 32], Operations: ['62-1=61', '93-61=32']
Exploring Operation: 64/32=2, Resulting Numbers: [2]
2,94 unequal: No Solution
Exploring Operation: 64+32=96, Resulting Numbers: [96]
96,94 unequal: No Solution
Exploring Operation: 64-32=32, Resulting Numbers: [32]
32,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[62, 64, 94], Operations: ['93+1=94']
Exploring Operation: 64-62=2, Resulting Numbers: [94, 2]
Generated Node #0,1,0: 94:[94, 2] Operation: 64-62=2
Exploring Operation: 94-62=32, Resulting Numbers: [64, 32]
Generated Node #0,1,1: 94:[64, 32] Operation: 94-62=32
Exploring Operation: 62+64=126, Resulting Numbers: [94, 126]
Generated Node #0,1,2: 94:[94, 126] Operation: 62+64=126
Moving to Node #0,1,0
Current State: 94:[94, 2], Operations: ['93+1=94', '64-62=2']
Exploring Operation: 94-2=92, Resulting Numbers: [92]
92,94 unequal: No Solution
Exploring Operation: 94/2=47, Resulting Numbers: [47]
47,94 unequal: No Solution
Exploring Operation: 94+2=96, Resulting Numbers: [96]
96,94 unequal: No Solution
Moving to Node #0,1,1
Current State: 94:[64, 32], Operations: ['93+1=94', '94-62=32']
Exploring Operation: 64+32=96, Resulting Numbers: [96]
96,94 unequal: No Solution
Exploring Operation: 64/32=2, Resulting Numbers: [2]
2,94 unequal: No Solution
Exploring Operation: 64-32=32, Resulting Numbers: [32]
32,94 unequal: No Solution
Moving to Node #0,1,2
Current State: 94:[94, 126], Operations: ['93+1=94', '62+64=126']
Exploring Operation: 126-94=32, Resulting Numbers: [32]
32,94 unequal: No Solution
Exploring Operation: 94*126=11844, Resulting Numbers: [11844]
11844,94 unequal: No Solution
Exploring Operation: 94+126=220, Resulting Numbers: [220]
220,94 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 |
[
36,
34,
96,
98
] | 19 | [
"98-96=2",
"34/2=17",
"36-17=19"
] | Current State: 19:[36, 34, 96, 98], Operations: []
Exploring Operation: 98-96=2, Resulting Numbers: [36, 34, 2]
Generated Node #2: [36, 34, 2] from Operation: 98-96=2
Current State: 19:[36, 34, 2], Operations: ['98-96=2']
Exploring Operation: 34/2=17, Resulting Numbers: [36, 17]
Generated Node #3: [36, 17] from Operation: 34/2=17
Current State: 19:[36, 17], Operations: ['98-96=2', '34/2=17']
Exploring Operation: 36-17=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[36, 34, 96, 98], Operations: []
Exploring Operation: 98-36=62, Resulting Numbers: [34, 96, 62]
Generated Node #0,0: 19:[34, 96, 62] Operation: 98-36=62
Exploring Operation: 96-34=62, Resulting Numbers: [36, 98, 62]
Generated Node #0,1: 19:[36, 98, 62] Operation: 96-34=62
Exploring Operation: 98-34=64, Resulting Numbers: [36, 96, 64]
Generated Node #0,2: 19:[36, 96, 64] Operation: 98-34=64
Exploring Operation: 98-96=2, Resulting Numbers: [36, 34, 2]
Generated Node #0,3: 19:[36, 34, 2] Operation: 98-96=2
Exploring Operation: 96-36=60, Resulting Numbers: [34, 98, 60]
Generated Node #0,4: 19:[34, 98, 60] Operation: 96-36=60
Moving to Node #0,3
Current State: 19:[36, 34, 2], Operations: ['98-96=2']
Exploring Operation: 36/2=18, Resulting Numbers: [34, 18]
Generated Node #0,3,0: 19:[34, 18] Operation: 36/2=18
Exploring Operation: 36-2=34, Resulting Numbers: [34, 34]
Generated Node #0,3,1: 19:[34, 34] Operation: 36-2=34
Exploring Operation: 36-34=2, Resulting Numbers: [2, 2]
Generated Node #0,3,2: 19:[2, 2] Operation: 36-34=2
Exploring Operation: 34/2=17, Resulting Numbers: [36, 17]
Generated Node #0,3,3: 19:[36, 17] Operation: 34/2=17
Exploring Operation: 34-2=32, Resulting Numbers: [36, 32]
Generated Node #0,3,4: 19:[36, 32] Operation: 34-2=32
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 19:[34, 18], Operations: ['98-96=2', '36/2=18']
Exploring Operation: 34+18=52, Resulting Numbers: [52]
52,19 unequal: No Solution
Exploring Operation: 34*18=612, Resulting Numbers: [612]
612,19 unequal: No Solution
Exploring Operation: 34-18=16, Resulting Numbers: [16]
16,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 19:[36, 17], Operations: ['98-96=2', '34/2=17']
Exploring Operation: 36+17=53, Resulting Numbers: [53]
53,19 unequal: No Solution
Exploring Operation: 36*17=612, Resulting Numbers: [612]
612,19 unequal: No Solution
Exploring Operation: 36-17=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[36, 34, 96, 98], Operations: []
Exploring Operation: 98-96=2, Resulting Numbers: [36, 34, 2]
Generated Node #0,3: 19:[36, 34, 2] Operation: 98-96=2
Moving to Node #0,3
Current State: 19:[36, 34, 2], Operations: ['98-96=2']
Exploring Operation: 34/2=17, Resulting Numbers: [36, 17]
Generated Node #0,3,3: 19:[36, 17] Operation: 34/2=17
Moving to Node #0,3,3
Current State: 19:[36, 17], Operations: ['98-96=2', '34/2=17']
Exploring Operation: 36-17=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | mult_heuristic |
[
87,
37,
63,
31
] | 92 | [
"87+37=124",
"63-31=32",
"124-32=92"
] | Current State: 92:[87, 37, 63, 31], Operations: []
Exploring Operation: 87+37=124, Resulting Numbers: [63, 31, 124]
Generated Node #2: [63, 31, 124] from Operation: 87+37=124
Current State: 92:[63, 31, 124], Operations: ['87+37=124']
Exploring Operation: 63-31=32, Resulting Numbers: [124, 32]
Generated Node #3: [124, 32] from Operation: 63-31=32
Current State: 92:[124, 32], Operations: ['87+37=124', '63-31=32']
Exploring Operation: 124-32=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[87, 37, 63, 31], Operations: []
Exploring Operation: 37+63=100, Resulting Numbers: [87, 31, 100]
Generated Node #0,0: 92:[87, 31, 100] Operation: 37+63=100
Exploring Operation: 63+31=94, Resulting Numbers: [87, 37, 94]
Generated Node #0,1: 92:[87, 37, 94] Operation: 63+31=94
Exploring Operation: 87-63=24, Resulting Numbers: [37, 31, 24]
Generated Node #0,2: 92:[37, 31, 24] Operation: 87-63=24
Exploring Operation: 63-37=26, Resulting Numbers: [87, 31, 26]
Generated Node #0,3: 92:[87, 31, 26] Operation: 63-37=26
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[87, 37, 94], Operations: ['63+31=94']
Exploring Operation: 94-87=7, Resulting Numbers: [37, 7]
Generated Node #0,1,0: 92:[37, 7] Operation: 94-87=7
Exploring Operation: 87-37=50, Resulting Numbers: [94, 50]
Generated Node #0,1,1: 92:[94, 50] Operation: 87-37=50
Exploring Operation: 87+37=124, Resulting Numbers: [94, 124]
Generated Node #0,1,2: 92:[94, 124] Operation: 87+37=124
Exploring Operation: 94-37=57, Resulting Numbers: [87, 57]
Generated Node #0,1,3: 92:[87, 57] Operation: 94-37=57
Moving to Node #0,1,1
Current State: 92:[94, 50], Operations: ['63+31=94', '87-37=50']
Exploring Operation: 94+50=144, Resulting Numbers: [144]
144,92 unequal: No Solution
Exploring Operation: 94-50=44, Resulting Numbers: [44]
44,92 unequal: No Solution
Exploring Operation: 94*50=4700, Resulting Numbers: [4700]
4700,92 unequal: No Solution
Moving to Node #0,1,0
Current State: 92:[37, 7], Operations: ['63+31=94', '94-87=7']
Exploring Operation: 37-7=30, Resulting Numbers: [30]
30,92 unequal: No Solution
Exploring Operation: 37+7=44, Resulting Numbers: [44]
44,92 unequal: No Solution
Exploring Operation: 37*7=259, Resulting Numbers: [259]
259,92 unequal: No Solution
Moving to Node #0,1,3
Current State: 92:[87, 57], Operations: ['63+31=94', '94-37=57']
Exploring Operation: 87-57=30, Resulting Numbers: [30]
30,92 unequal: No Solution
Exploring Operation: 87*57=4959, Resulting Numbers: [4959]
4959,92 unequal: No Solution
Exploring Operation: 87+57=144, Resulting Numbers: [144]
144,92 unequal: No Solution
Moving to Node #0,1,2
Current State: 92:[94, 124], Operations: ['63+31=94', '87+37=124']
Exploring Operation: 94*124=11656, Resulting Numbers: [11656]
11656,92 unequal: No Solution
Exploring Operation: 94+124=218, Resulting Numbers: [218]
218,92 unequal: No Solution
Exploring Operation: 124-94=30, Resulting Numbers: [30]
30,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 92:[87, 31, 26], Operations: ['63-37=26']
Exploring Operation: 87-31=56, Resulting Numbers: [26, 56]
Generated Node #0,3,0: 92:[26, 56] Operation: 87-31=56
Exploring Operation: 87-26=61, Resulting Numbers: [31, 61]
Generated Node #0,3,1: 92:[31, 61] Operation: 87-26=61
Exploring Operation: 31+26=57, Resulting Numbers: [87, 57]
Generated Node #0,3,2: 92:[87, 57] Operation: 31+26=57
Exploring Operation: 31-26=5, Resulting Numbers: [87, 5]
Generated Node #0,3,3: 92:[87, 5] Operation: 31-26=5
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 92:[87, 5], Operations: ['63-37=26', '31-26=5']
Exploring Operation: 87-5=82, Resulting Numbers: [82]
82,92 unequal: No Solution
Exploring Operation: 87+5=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[87, 37, 63, 31], Operations: []
Exploring Operation: 63-37=26, Resulting Numbers: [87, 31, 26]
Generated Node #0,3: 92:[87, 31, 26] Operation: 63-37=26
Moving to Node #0,3
Current State: 92:[87, 31, 26], Operations: ['63-37=26']
Exploring Operation: 31-26=5, Resulting Numbers: [87, 5]
Generated Node #0,3,3: 92:[87, 5] Operation: 31-26=5
Moving to Node #0,3,3
Current State: 92:[87, 5], Operations: ['63-37=26', '31-26=5']
Exploring Operation: 87+5=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.973958 | hs_4 | mult_heuristic |
[
83,
87,
81,
88
] | 86 | [
"83-81=2",
"87*2=174",
"174-88=86"
] | Current State: 86:[83, 87, 81, 88], Operations: []
Exploring Operation: 83-81=2, Resulting Numbers: [87, 88, 2]
Generated Node #2: [87, 88, 2] from Operation: 83-81=2
Current State: 86:[87, 88, 2], Operations: ['83-81=2']
Exploring Operation: 87*2=174, Resulting Numbers: [88, 174]
Generated Node #3: [88, 174] from Operation: 87*2=174
Current State: 86:[88, 174], Operations: ['83-81=2', '87*2=174']
Exploring Operation: 174-88=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[83, 87, 81, 88], Operations: []
Exploring Operation: 88-83=5, Resulting Numbers: [87, 81, 5]
Generated Node #0,0: 86:[87, 81, 5] Operation: 88-83=5
Exploring Operation: 83-81=2, Resulting Numbers: [87, 88, 2]
Generated Node #0,1: 86:[87, 88, 2] Operation: 83-81=2
Exploring Operation: 87-83=4, Resulting Numbers: [81, 88, 4]
Generated Node #0,2: 86:[81, 88, 4] Operation: 87-83=4
Moving to Node #0,1
Current State: 86:[87, 88, 2], Operations: ['83-81=2']
Exploring Operation: 88-2=86, Resulting Numbers: [87, 86]
Generated Node #0,1,0: 86:[87, 86] Operation: 88-2=86
Exploring Operation: 88-87=1, Resulting Numbers: [2, 1]
Generated Node #0,1,1: 86:[2, 1] Operation: 88-87=1
Exploring Operation: 88/2=44, Resulting Numbers: [87, 44]
Generated Node #0,1,2: 86:[87, 44] Operation: 88/2=44
Moving to Node #0,0
Current State: 86:[87, 81, 5], Operations: ['88-83=5']
Exploring Operation: 81+5=86, Resulting Numbers: [87, 86]
Generated Node #0,0,0: 86:[87, 86] Operation: 81+5=86
Exploring Operation: 87-81=6, Resulting Numbers: [5, 6]
Generated Node #0,0,1: 86:[5, 6] Operation: 87-81=6
Exploring Operation: 87-5=82, Resulting Numbers: [81, 82]
Generated Node #0,0,2: 86:[81, 82] Operation: 87-5=82
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[87, 86], Operations: ['88-83=5', '81+5=86']
Exploring Operation: 87*86=7482, Resulting Numbers: [7482]
7482,86 unequal: No Solution
Exploring Operation: 87-86=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Exploring Operation: 87+86=173, Resulting Numbers: [173]
173,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 86:[5, 6], Operations: ['88-83=5', '87-81=6']
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,86 unequal: No Solution
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,86 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 86:[81, 82], Operations: ['88-83=5', '87-5=82']
Exploring Operation: 82-81=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Exploring Operation: 81+82=163, Resulting Numbers: [163]
163,86 unequal: No Solution
Exploring Operation: 81*82=6642, Resulting Numbers: [6642]
6642,86 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: 86:[81, 88, 4], Operations: ['87-83=4']
Exploring Operation: 88-81=7, Resulting Numbers: [4, 7]
Generated Node #0,2,0: 86:[4, 7] Operation: 88-81=7
Exploring Operation: 81+4=85, Resulting Numbers: [88, 85]
Generated Node #0,2,1: 86:[88, 85] Operation: 81+4=85
Exploring Operation: 88-4=84, Resulting Numbers: [81, 84]
Generated Node #0,2,2: 86:[81, 84] Operation: 88-4=84
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 86:[88, 85], Operations: ['87-83=4', '81+4=85']
Exploring Operation: 88*85=7480, Resulting Numbers: [7480]
7480,86 unequal: No Solution
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 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 86:[4, 7], Operations: ['87-83=4', '88-81=7']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,86 unequal: No Solution
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,86 unequal: No Solution
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 86:[81, 84], Operations: ['87-83=4', '88-4=84']
Exploring Operation: 81*84=6804, Resulting Numbers: [6804]
6804,86 unequal: No Solution
Exploring Operation: 81+84=165, Resulting Numbers: [165]
165,86 unequal: No Solution
Exploring Operation: 84-81=3, Resulting Numbers: [3]
3,86 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: 86:[87, 86], Operations: ['83-81=2', '88-2=86']
Exploring Operation: 87-86=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Exploring Operation: 87+86=173, Resulting Numbers: [173]
173,86 unequal: No Solution
Exploring Operation: 87*86=7482, Resulting Numbers: [7482]
7482,86 unequal: No Solution
Moving to Node #0,1,1
Current State: 86:[2, 1], Operations: ['83-81=2', '88-87=1']
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,86 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,86 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,86 unequal: No Solution
Moving to Node #0,1,2
Current State: 86:[87, 44], Operations: ['83-81=2', '88/2=44']
Exploring Operation: 87*44=3828, Resulting Numbers: [3828]
3828,86 unequal: No Solution
Exploring Operation: 87+44=131, Resulting Numbers: [131]
131,86 unequal: No Solution
Exploring Operation: 87-44=43, Resulting Numbers: [43]
43,86 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
98,
4,
56,
91
] | 56 | [
"56-4=52",
"98*52=5096",
"5096/91=56"
] | Current State: 56:[98, 4, 56, 91], Operations: []
Exploring Operation: 56-4=52, Resulting Numbers: [98, 91, 52]
Generated Node #2: [98, 91, 52] from Operation: 56-4=52
Current State: 56:[98, 91, 52], Operations: ['56-4=52']
Exploring Operation: 98*52=5096, Resulting Numbers: [91, 5096]
Generated Node #3: [91, 5096] from Operation: 98*52=5096
Current State: 56:[91, 5096], Operations: ['56-4=52', '98*52=5096']
Exploring Operation: 5096/91=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[98, 4, 56, 91], Operations: []
Exploring Operation: 91-56=35, Resulting Numbers: [98, 4, 35]
Generated Node #0,0: 56:[98, 4, 35] Operation: 91-56=35
Exploring Operation: 98-56=42, Resulting Numbers: [4, 91, 42]
Generated Node #0,1: 56:[4, 91, 42] Operation: 98-56=42
Exploring Operation: 98-91=7, Resulting Numbers: [4, 56, 7]
Generated Node #0,2: 56:[4, 56, 7] Operation: 98-91=7
Start Sub Search at level 1: Moving to Node #0,2
Current State: 56:[4, 56, 7], Operations: ['98-91=7']
Exploring Operation: 4*7=28, Resulting Numbers: [56, 28]
Generated Node #0,2,0: 56:[56, 28] Operation: 4*7=28
Exploring Operation: 56/7=8, Resulting Numbers: [4, 8]
Generated Node #0,2,1: 56:[4, 8] Operation: 56/7=8
Exploring Operation: 56/4=14, Resulting Numbers: [7, 14]
Generated Node #0,2,2: 56:[7, 14] Operation: 56/4=14
Moving to Node #0,2,0
Current State: 56:[56, 28], Operations: ['98-91=7', '4*7=28']
Exploring Operation: 56/28=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 56+28=84, Resulting Numbers: [84]
84,56 unequal: No Solution
Exploring Operation: 56-28=28, Resulting Numbers: [28]
28,56 unequal: No Solution
Moving to Node #0,2,1
Current State: 56:[4, 8], Operations: ['98-91=7', '56/7=8']
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,56 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,56 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Moving to Node #0,2,2
Current State: 56:[7, 14], Operations: ['98-91=7', '56/4=14']
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,56 unequal: No Solution
Exploring Operation: 7+14=21, Resulting Numbers: [21]
21,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[98, 4, 35], Operations: ['91-56=35']
Exploring Operation: 98-35=63, Resulting Numbers: [4, 63]
Generated Node #0,0,0: 56:[4, 63] Operation: 98-35=63
Exploring Operation: 98-4=94, Resulting Numbers: [35, 94]
Generated Node #0,0,1: 56:[35, 94] Operation: 98-4=94
Exploring Operation: 35-4=31, Resulting Numbers: [98, 31]
Generated Node #0,0,2: 56:[98, 31] Operation: 35-4=31
Moving to Node #0,0,0
Current State: 56:[4, 63], Operations: ['91-56=35', '98-35=63']
Exploring Operation: 4+63=67, Resulting Numbers: [67]
67,56 unequal: No Solution
Exploring Operation: 4*63=252, Resulting Numbers: [252]
252,56 unequal: No Solution
Exploring Operation: 63-4=59, Resulting Numbers: [59]
59,56 unequal: No Solution
Moving to Node #0,0,1
Current State: 56:[35, 94], Operations: ['91-56=35', '98-4=94']
Exploring Operation: 35*94=3290, Resulting Numbers: [3290]
3290,56 unequal: No Solution
Exploring Operation: 35+94=129, Resulting Numbers: [129]
129,56 unequal: No Solution
Exploring Operation: 94-35=59, Resulting Numbers: [59]
59,56 unequal: No Solution
Moving to Node #0,0,2
Current State: 56:[98, 31], Operations: ['91-56=35', '35-4=31']
Exploring Operation: 98-31=67, Resulting Numbers: [67]
67,56 unequal: No Solution
Exploring Operation: 98*31=3038, Resulting Numbers: [3038]
3038,56 unequal: No Solution
Exploring Operation: 98+31=129, Resulting Numbers: [129]
129,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[4, 91, 42], Operations: ['98-56=42']
Exploring Operation: 91-4=87, Resulting Numbers: [42, 87]
Generated Node #0,1,0: 56:[42, 87] Operation: 91-4=87
Exploring Operation: 4+42=46, Resulting Numbers: [91, 46]
Generated Node #0,1,1: 56:[91, 46] Operation: 4+42=46
Exploring Operation: 91-42=49, Resulting Numbers: [4, 49]
Generated Node #0,1,2: 56:[4, 49] Operation: 91-42=49
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 56:[4, 49], Operations: ['98-56=42', '91-42=49']
Exploring Operation: 4*49=196, Resulting Numbers: [196]
196,56 unequal: No Solution
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,56 unequal: No Solution
Exploring Operation: 4+49=53, Resulting Numbers: [53]
53,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 56:[42, 87], Operations: ['98-56=42', '91-4=87']
Exploring Operation: 42+87=129, Resulting Numbers: [129]
129,56 unequal: No Solution
Exploring Operation: 87-42=45, Resulting Numbers: [45]
45,56 unequal: No Solution
Exploring Operation: 42*87=3654, Resulting Numbers: [3654]
3654,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 56:[91, 46], Operations: ['98-56=42', '4+42=46']
Exploring Operation: 91-46=45, Resulting Numbers: [45]
45,56 unequal: No Solution
Exploring Operation: 91+46=137, Resulting Numbers: [137]
137,56 unequal: No Solution
Exploring Operation: 91*46=4186, Resulting Numbers: [4186]
4186,56 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 |
[
30,
84,
44,
20
] | 18 | [
"30*44=1320",
"1320/20=66",
"84-66=18"
] | Current State: 18:[30, 84, 44, 20], Operations: []
Exploring Operation: 30*44=1320, Resulting Numbers: [84, 20, 1320]
Generated Node #2: [84, 20, 1320] from Operation: 30*44=1320
Current State: 18:[84, 20, 1320], Operations: ['30*44=1320']
Exploring Operation: 1320/20=66, Resulting Numbers: [84, 66]
Generated Node #3: [84, 66] from Operation: 1320/20=66
Current State: 18:[84, 66], Operations: ['30*44=1320', '1320/20=66']
Exploring Operation: 84-66=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[30, 84, 44, 20], Operations: []
Exploring Operation: 84-44=40, Resulting Numbers: [30, 20, 40]
Generated Node #0,0: 18:[30, 20, 40] Operation: 84-44=40
Moving to Node #0,0
Current State: 18:[30, 20, 40], Operations: ['84-44=40']
Exploring Operation: 40-30=10, Resulting Numbers: [20, 10]
Generated Node #0,0,0: 18:[20, 10] Operation: 40-30=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 18:[20, 10], Operations: ['84-44=40', '40-30=10']
Exploring Operation: 20/10=2, Resulting Numbers: [2]
2,18 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 |
[
77,
12,
11,
22
] | 91 | [
"77+12=89",
"22/11=2",
"89+2=91"
] | Current State: 91:[77, 12, 11, 22], Operations: []
Exploring Operation: 77+12=89, Resulting Numbers: [11, 22, 89]
Generated Node #2: [11, 22, 89] from Operation: 77+12=89
Current State: 91:[11, 22, 89], Operations: ['77+12=89']
Exploring Operation: 22/11=2, Resulting Numbers: [89, 2]
Generated Node #3: [89, 2] from Operation: 22/11=2
Current State: 91:[89, 2], Operations: ['77+12=89', '22/11=2']
Exploring Operation: 89+2=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[77, 12, 11, 22], Operations: []
Exploring Operation: 77+22=99, Resulting Numbers: [12, 11, 99]
Generated Node #0,0: 91:[12, 11, 99] Operation: 77+22=99
Exploring Operation: 77/11=7, Resulting Numbers: [12, 22, 7]
Generated Node #0,1: 91:[12, 22, 7] Operation: 77/11=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 91:[12, 22, 7], Operations: ['77/11=7']
Exploring Operation: 22-7=15, Resulting Numbers: [12, 15]
Generated Node #0,1,0: 91:[12, 15] Operation: 22-7=15
Exploring Operation: 22-12=10, Resulting Numbers: [7, 10]
Generated Node #0,1,1: 91:[7, 10] Operation: 22-12=10
Moving to Node #0,1,0
Current State: 91:[12, 15], Operations: ['77/11=7', '22-7=15']
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,91 unequal: No Solution
Exploring Operation: 12+15=27, Resulting Numbers: [27]
27,91 unequal: No Solution
Moving to Node #0,1,1
Current State: 91:[7, 10], Operations: ['77/11=7', '22-12=10']
Exploring Operation: 7+10=17, Resulting Numbers: [17]
17,91 unequal: No Solution
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,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,0
Current State: 91:[12, 11, 99], Operations: ['77+22=99']
Exploring Operation: 99-11=88, Resulting Numbers: [12, 88]
Generated Node #0,0,0: 91:[12, 88] Operation: 99-11=88
Exploring Operation: 99/11=9, Resulting Numbers: [12, 9]
Generated Node #0,0,1: 91:[12, 9] Operation: 99/11=9
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 91:[12, 9], Operations: ['77+22=99', '99/11=9']
Exploring Operation: 12+9=21, Resulting Numbers: [21]
21,91 unequal: No Solution
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 91:[12, 88], Operations: ['77+22=99', '99-11=88']
Exploring Operation: 12+88=100, Resulting Numbers: [100]
100,91 unequal: No Solution
Exploring Operation: 88-12=76, Resulting Numbers: [76]
76,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
96,
46,
17,
14
] | 20 | [
"46-14=32",
"96/32=3",
"17+3=20"
] | Current State: 20:[96, 46, 17, 14], Operations: []
Exploring Operation: 46-14=32, Resulting Numbers: [96, 17, 32]
Generated Node #2: [96, 17, 32] from Operation: 46-14=32
Current State: 20:[96, 17, 32], Operations: ['46-14=32']
Exploring Operation: 96/32=3, Resulting Numbers: [17, 3]
Generated Node #3: [17, 3] from Operation: 96/32=3
Current State: 20:[17, 3], Operations: ['46-14=32', '96/32=3']
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[96, 46, 17, 14], Operations: []
Exploring Operation: 96-17=79, Resulting Numbers: [46, 14, 79]
Generated Node #0,0: 20:[46, 14, 79] Operation: 96-17=79
Exploring Operation: 96-46=50, Resulting Numbers: [17, 14, 50]
Generated Node #0,1: 20:[17, 14, 50] Operation: 96-46=50
Exploring Operation: 46-17=29, Resulting Numbers: [96, 14, 29]
Generated Node #0,2: 20:[96, 14, 29] Operation: 46-17=29
Moving to Node #0,1
Current State: 20:[17, 14, 50], Operations: ['96-46=50']
Exploring Operation: 17-14=3, Resulting Numbers: [50, 3]
Generated Node #0,1,0: 20:[50, 3] Operation: 17-14=3
Exploring Operation: 50-14=36, Resulting Numbers: [17, 36]
Generated Node #0,1,1: 20:[17, 36] Operation: 50-14=36
Exploring Operation: 50-17=33, Resulting Numbers: [14, 33]
Generated Node #0,1,2: 20:[14, 33] Operation: 50-17=33
Moving to Node #0,0
Current State: 20:[46, 14, 79], Operations: ['96-17=79']
Exploring Operation: 79-14=65, Resulting Numbers: [46, 65]
Generated Node #0,0,0: 20:[46, 65] Operation: 79-14=65
Exploring Operation: 79-46=33, Resulting Numbers: [14, 33]
Generated Node #0,0,1: 20:[14, 33] Operation: 79-46=33
Exploring Operation: 46-14=32, Resulting Numbers: [79, 32]
Generated Node #0,0,2: 20:[79, 32] Operation: 46-14=32
Moving to Node #0,2
Current State: 20:[96, 14, 29], Operations: ['46-17=29']
Exploring Operation: 29-14=15, Resulting Numbers: [96, 15]
Generated Node #0,2,0: 20:[96, 15] Operation: 29-14=15
Exploring Operation: 96-14=82, Resulting Numbers: [29, 82]
Generated Node #0,2,1: 20:[29, 82] Operation: 96-14=82
Exploring Operation: 96-29=67, Resulting Numbers: [14, 67]
Generated Node #0,2,2: 20:[14, 67] Operation: 96-29=67
Moving to Node #0,1,2
Current State: 20:[14, 33], Operations: ['96-46=50', '50-17=33']
Exploring Operation: 33-14=19, Resulting Numbers: [19]
19,20 unequal: No Solution
Exploring Operation: 14+33=47, Resulting Numbers: [47]
47,20 unequal: No Solution
Exploring Operation: 14*33=462, Resulting Numbers: [462]
462,20 unequal: No Solution
Moving to Node #0,0,1
Current State: 20:[14, 33], Operations: ['96-17=79', '79-46=33']
Exploring Operation: 14+33=47, Resulting Numbers: [47]
47,20 unequal: No Solution
Exploring Operation: 14*33=462, Resulting Numbers: [462]
462,20 unequal: No Solution
Exploring Operation: 33-14=19, Resulting Numbers: [19]
19,20 unequal: No Solution
Moving to Node #0,1,1
Current State: 20:[17, 36], Operations: ['96-46=50', '50-14=36']
Exploring Operation: 17*36=612, Resulting Numbers: [612]
612,20 unequal: No Solution
Exploring Operation: 36-17=19, Resulting Numbers: [19]
19,20 unequal: No Solution
Exploring Operation: 17+36=53, Resulting Numbers: [53]
53,20 unequal: No Solution
Moving to Node #0,1,0
Current State: 20:[50, 3], Operations: ['96-46=50', '17-14=3']
Exploring Operation: 50+3=53, Resulting Numbers: [53]
53,20 unequal: No Solution
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,20 unequal: No Solution
Exploring Operation: 50*3=150, Resulting Numbers: [150]
150,20 unequal: No Solution
Moving to Node #0,2,2
Current State: 20:[14, 67], Operations: ['46-17=29', '96-29=67']
Exploring Operation: 67-14=53, Resulting Numbers: [53]
53,20 unequal: No Solution
Exploring Operation: 14+67=81, Resulting Numbers: [81]
81,20 unequal: No Solution
Exploring Operation: 14*67=938, Resulting Numbers: [938]
938,20 unequal: No Solution
Moving to Node #0,0,2
Current State: 20:[79, 32], Operations: ['96-17=79', '46-14=32']
Exploring Operation: 79+32=111, Resulting Numbers: [111]
111,20 unequal: No Solution
Exploring Operation: 79-32=47, Resulting Numbers: [47]
47,20 unequal: No Solution
Exploring Operation: 79*32=2528, Resulting Numbers: [2528]
2528,20 unequal: No Solution
Moving to Node #0,0,0
Current State: 20:[46, 65], Operations: ['96-17=79', '79-14=65']
Exploring Operation: 65-46=19, Resulting Numbers: [19]
19,20 unequal: No Solution
Exploring Operation: 46+65=111, Resulting Numbers: [111]
111,20 unequal: No Solution
Exploring Operation: 46*65=2990, Resulting Numbers: [2990]
2990,20 unequal: No Solution
Moving to Node #0,2,1
Current State: 20:[29, 82], Operations: ['46-17=29', '96-14=82']
Exploring Operation: 29*82=2378, Resulting Numbers: [2378]
2378,20 unequal: No Solution
Exploring Operation: 29+82=111, Resulting Numbers: [111]
111,20 unequal: No Solution
Exploring Operation: 82-29=53, Resulting Numbers: [53]
53,20 unequal: No Solution
Moving to Node #0,2,0
Current State: 20:[96, 15], Operations: ['46-17=29', '29-14=15']
Exploring Operation: 96*15=1440, Resulting Numbers: [1440]
1440,20 unequal: No Solution
Exploring Operation: 96+15=111, Resulting Numbers: [111]
111,20 unequal: No Solution
Exploring Operation: 96-15=81, Resulting Numbers: [81]
81,20 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
72,
9,
16,
15
] | 13 | [
"72/9=8",
"16/8=2",
"15-2=13"
] | Current State: 13:[72, 9, 16, 15], Operations: []
Exploring Operation: 72/9=8, Resulting Numbers: [16, 15, 8]
Generated Node #2: [16, 15, 8] from Operation: 72/9=8
Current State: 13:[16, 15, 8], Operations: ['72/9=8']
Exploring Operation: 16/8=2, Resulting Numbers: [15, 2]
Generated Node #3: [15, 2] from Operation: 16/8=2
Current State: 13:[15, 2], Operations: ['72/9=8', '16/8=2']
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[72, 9, 16, 15], Operations: []
Exploring Operation: 72/9=8, Resulting Numbers: [16, 15, 8]
Generated Node #0,0: 13:[16, 15, 8] Operation: 72/9=8
Moving to Node #0,0
Current State: 13:[16, 15, 8], Operations: ['72/9=8']
Exploring Operation: 16-8=8, Resulting Numbers: [15, 8]
Generated Node #0,0,0: 13:[15, 8] Operation: 16-8=8
Moving to Node #0,0,0
Current State: 13:[15, 8], Operations: ['72/9=8', '16-8=8']
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,13 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
14,
31,
91,
6
] | 68 | [
"31-14=17",
"91-6=85",
"85-17=68"
] | Current State: 68:[14, 31, 91, 6], Operations: []
Exploring Operation: 31-14=17, Resulting Numbers: [91, 6, 17]
Generated Node #2: [91, 6, 17] from Operation: 31-14=17
Current State: 68:[91, 6, 17], Operations: ['31-14=17']
Exploring Operation: 91-6=85, Resulting Numbers: [17, 85]
Generated Node #3: [17, 85] from Operation: 91-6=85
Current State: 68:[17, 85], Operations: ['31-14=17', '91-6=85']
Exploring Operation: 85-17=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[14, 31, 91, 6], Operations: []
Exploring Operation: 91-31=60, Resulting Numbers: [14, 6, 60]
Generated Node #0,0: 68:[14, 6, 60] Operation: 91-31=60
Moving to Node #0,0
Current State: 68:[14, 6, 60], Operations: ['91-31=60']
Exploring Operation: 6+60=66, Resulting Numbers: [14, 66]
Generated Node #0,0,0: 68:[14, 66] Operation: 6+60=66
Moving to Node #0,0,0
Current State: 68:[14, 66], Operations: ['91-31=60', '6+60=66']
Exploring Operation: 14+66=80, Resulting Numbers: [80]
80,68 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
10,
33,
71,
50
] | 22 | [
"10+33=43",
"71-50=21",
"43-21=22"
] | Current State: 22:[10, 33, 71, 50], Operations: []
Exploring Operation: 10+33=43, Resulting Numbers: [71, 50, 43]
Generated Node #2: [71, 50, 43] from Operation: 10+33=43
Current State: 22:[71, 50, 43], Operations: ['10+33=43']
Exploring Operation: 71-50=21, Resulting Numbers: [43, 21]
Generated Node #3: [43, 21] from Operation: 71-50=21
Current State: 22:[43, 21], Operations: ['10+33=43', '71-50=21']
Exploring Operation: 43-21=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[10, 33, 71, 50], Operations: []
Exploring Operation: 71-33=38, Resulting Numbers: [10, 50, 38]
Generated Node #0,0: 22:[10, 50, 38] Operation: 71-33=38
Exploring Operation: 71-50=21, Resulting Numbers: [10, 33, 21]
Generated Node #0,1: 22:[10, 33, 21] Operation: 71-50=21
Moving to Node #0,1
Current State: 22:[10, 33, 21], Operations: ['71-50=21']
Exploring Operation: 33-21=12, Resulting Numbers: [10, 12]
Generated Node #0,1,0: 22:[10, 12] Operation: 33-21=12
Exploring Operation: 33-10=23, Resulting Numbers: [21, 23]
Generated Node #0,1,1: 22:[21, 23] Operation: 33-10=23
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 22:[10, 12], Operations: ['71-50=21', '33-21=12']
Exploring Operation: 12-10=2, Resulting Numbers: [2]
2,22 unequal: No Solution
Exploring Operation: 10+12=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[10, 33, 71, 50], Operations: []
Exploring Operation: 71-50=21, Resulting Numbers: [10, 33, 21]
Generated Node #0,1: 22:[10, 33, 21] Operation: 71-50=21
Moving to Node #0,1
Current State: 22:[10, 33, 21], Operations: ['71-50=21']
Exploring Operation: 33-21=12, Resulting Numbers: [10, 12]
Generated Node #0,1,0: 22:[10, 12] Operation: 33-21=12
Moving to Node #0,1,0
Current State: 22:[10, 12], Operations: ['71-50=21', '33-21=12']
Exploring Operation: 10+12=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
65,
72,
20,
80
] | 78 | [
"65*72=4680",
"80-20=60",
"4680/60=78"
] | Current State: 78:[65, 72, 20, 80], Operations: []
Exploring Operation: 65*72=4680, Resulting Numbers: [20, 80, 4680]
Generated Node #2: [20, 80, 4680] from Operation: 65*72=4680
Current State: 78:[20, 80, 4680], Operations: ['65*72=4680']
Exploring Operation: 80-20=60, Resulting Numbers: [4680, 60]
Generated Node #3: [4680, 60] from Operation: 80-20=60
Current State: 78:[4680, 60], Operations: ['65*72=4680', '80-20=60']
Exploring Operation: 4680/60=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[65, 72, 20, 80], Operations: []
Exploring Operation: 72-65=7, Resulting Numbers: [20, 80, 7]
Generated Node #0,0: 78:[20, 80, 7] Operation: 72-65=7
Exploring Operation: 65-20=45, Resulting Numbers: [72, 80, 45]
Generated Node #0,1: 78:[72, 80, 45] Operation: 65-20=45
Moving to Node #0,0
Current State: 78:[20, 80, 7], Operations: ['72-65=7']
Exploring Operation: 20-7=13, Resulting Numbers: [80, 13]
Generated Node #0,0,0: 78:[80, 13] Operation: 20-7=13
Exploring Operation: 80/20=4, Resulting Numbers: [7, 4]
Generated Node #0,0,1: 78:[7, 4] Operation: 80/20=4
Moving to Node #0,1
Current State: 78:[72, 80, 45], Operations: ['65-20=45']
Exploring Operation: 80-72=8, Resulting Numbers: [45, 8]
Generated Node #0,1,0: 78:[45, 8] Operation: 80-72=8
Exploring Operation: 72-45=27, Resulting Numbers: [80, 27]
Generated Node #0,1,1: 78:[80, 27] Operation: 72-45=27
Moving to Node #0,0,0
Current State: 78:[80, 13], Operations: ['72-65=7', '20-7=13']
Exploring Operation: 80-13=67, Resulting Numbers: [67]
67,78 unequal: No Solution
Exploring Operation: 80+13=93, Resulting Numbers: [93]
93,78 unequal: No Solution
Moving to Node #0,0,1
Current State: 78:[7, 4], Operations: ['72-65=7', '80/20=4']
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,78 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,78 unequal: No Solution
Moving to Node #0,1,1
Current State: 78:[80, 27], Operations: ['65-20=45', '72-45=27']
Exploring Operation: 80-27=53, Resulting Numbers: [53]
53,78 unequal: No Solution
Exploring Operation: 80+27=107, Resulting Numbers: [107]
107,78 unequal: No Solution
Moving to Node #0,1,0
Current State: 78:[45, 8], Operations: ['65-20=45', '80-72=8']
Exploring Operation: 45+8=53, Resulting Numbers: [53]
53,78 unequal: No Solution
Exploring Operation: 45-8=37, Resulting Numbers: [37]
37,78 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
19,
54,
87,
81
] | 95 | [
"19+54=73",
"87+81=168",
"168-73=95"
] | Current State: 95:[19, 54, 87, 81], Operations: []
Exploring Operation: 19+54=73, Resulting Numbers: [87, 81, 73]
Generated Node #2: [87, 81, 73] from Operation: 19+54=73
Current State: 95:[87, 81, 73], Operations: ['19+54=73']
Exploring Operation: 87+81=168, Resulting Numbers: [73, 168]
Generated Node #3: [73, 168] from Operation: 87+81=168
Current State: 95:[73, 168], Operations: ['19+54=73', '87+81=168']
Exploring Operation: 168-73=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[19, 54, 87, 81], Operations: []
Exploring Operation: 87-54=33, Resulting Numbers: [19, 81, 33]
Generated Node #0,0: 95:[19, 81, 33] Operation: 87-54=33
Exploring Operation: 81-54=27, Resulting Numbers: [19, 87, 27]
Generated Node #0,1: 95:[19, 87, 27] Operation: 81-54=27
Exploring Operation: 87-81=6, Resulting Numbers: [19, 54, 6]
Generated Node #0,2: 95:[19, 54, 6] Operation: 87-81=6
Exploring Operation: 54-19=35, Resulting Numbers: [87, 81, 35]
Generated Node #0,3: 95:[87, 81, 35] Operation: 54-19=35
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[19, 87, 27], Operations: ['81-54=27']
Exploring Operation: 87-19=68, Resulting Numbers: [27, 68]
Generated Node #0,1,0: 95:[27, 68] Operation: 87-19=68
Exploring Operation: 87+27=114, Resulting Numbers: [19, 114]
Generated Node #0,1,1: 95:[19, 114] Operation: 87+27=114
Exploring Operation: 19+87=106, Resulting Numbers: [27, 106]
Generated Node #0,1,2: 95:[27, 106] Operation: 19+87=106
Exploring Operation: 27-19=8, Resulting Numbers: [87, 8]
Generated Node #0,1,3: 95:[87, 8] Operation: 27-19=8
Moving to Node #0,1,3
Current State: 95:[87, 8], Operations: ['81-54=27', '27-19=8']
Exploring Operation: 87-8=79, Resulting Numbers: [79]
79,95 unequal: No Solution
Exploring Operation: 87+8=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[19, 54, 87, 81], Operations: []
Exploring Operation: 81-54=27, Resulting Numbers: [19, 87, 27]
Generated Node #0,1: 95:[19, 87, 27] Operation: 81-54=27
Moving to Node #0,1
Current State: 95:[19, 87, 27], Operations: ['81-54=27']
Exploring Operation: 27-19=8, Resulting Numbers: [87, 8]
Generated Node #0,1,3: 95:[87, 8] Operation: 27-19=8
Moving to Node #0,1,3
Current State: 95:[87, 8], Operations: ['81-54=27', '27-19=8']
Exploring Operation: 87+8=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
5,
2,
92,
89
] | 13 | [
"5*2=10",
"92-89=3",
"10+3=13"
] | Current State: 13:[5, 2, 92, 89], Operations: []
Exploring Operation: 5*2=10, Resulting Numbers: [92, 89, 10]
Generated Node #2: [92, 89, 10] from Operation: 5*2=10
Current State: 13:[92, 89, 10], Operations: ['5*2=10']
Exploring Operation: 92-89=3, Resulting Numbers: [10, 3]
Generated Node #3: [10, 3] from Operation: 92-89=3
Current State: 13:[10, 3], Operations: ['5*2=10', '92-89=3']
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[5, 2, 92, 89], Operations: []
Exploring Operation: 92-89=3, Resulting Numbers: [5, 2, 3]
Generated Node #0,0: 13:[5, 2, 3] Operation: 92-89=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[5, 2, 3], Operations: ['92-89=3']
Exploring Operation: 5*2=10, Resulting Numbers: [3, 10]
Generated Node #0,0,0: 13:[3, 10] Operation: 5*2=10
Moving to Node #0,0,0
Current State: 13:[3, 10], Operations: ['92-89=3', '5*2=10']
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[5, 2, 92, 89], Operations: []
Exploring Operation: 92-89=3, Resulting Numbers: [5, 2, 3]
Generated Node #0,0: 13:[5, 2, 3] Operation: 92-89=3
Moving to Node #0,0
Current State: 13:[5, 2, 3], Operations: ['92-89=3']
Exploring Operation: 5*2=10, Resulting Numbers: [3, 10]
Generated Node #0,0,0: 13:[3, 10] Operation: 5*2=10
Moving to Node #0,0,0
Current State: 13:[3, 10], Operations: ['92-89=3', '5*2=10']
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
32,
9,
3,
3
] | 97 | [
"32*9=288",
"3+288=291",
"291/3=97"
] | Current State: 97:[32, 9, 3, 3], Operations: []
Exploring Operation: 32*9=288, Resulting Numbers: [3, 3, 288]
Generated Node #2: [3, 3, 288] from Operation: 32*9=288
Current State: 97:[3, 3, 288], Operations: ['32*9=288']
Exploring Operation: 3+288=291, Resulting Numbers: [291]
291,97 equal: Goal Reached
Exploring Operation: 291/3=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[32, 9, 3, 3], Operations: []
Exploring Operation: 32*3=96, Resulting Numbers: [9, 3, 96]
Generated Node #0,0: 97:[9, 3, 96] Operation: 32*3=96
Exploring Operation: 32*3=96, Resulting Numbers: [9, 3, 96]
Generated Node #0,1: 97:[9, 3, 96] Operation: 32*3=96
Moving to Node #0,0
Current State: 97:[9, 3, 96], Operations: ['32*3=96']
Exploring Operation: 9*3=27, Resulting Numbers: [96, 27]
Generated Node #0,0,0: 97:[96, 27] Operation: 9*3=27
Exploring Operation: 9+3=12, Resulting Numbers: [96, 12]
Generated Node #0,0,1: 97:[96, 12] Operation: 9+3=12
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[96, 27], Operations: ['32*3=96', '9*3=27']
Exploring Operation: 96-27=69, Resulting Numbers: [69]
69,97 unequal: No Solution
Exploring Operation: 96+27=123, Resulting Numbers: [123]
123,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 97:[96, 12], Operations: ['32*3=96', '9+3=12']
Exploring Operation: 96-12=84, Resulting Numbers: [84]
84,97 unequal: No Solution
Exploring Operation: 96+12=108, Resulting Numbers: [108]
108,97 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: 97:[9, 3, 96], Operations: ['32*3=96']
Exploring Operation: 9+3=12, Resulting Numbers: [96, 12]
Generated Node #0,1,0: 97:[96, 12] Operation: 9+3=12
Exploring Operation: 9*3=27, Resulting Numbers: [96, 27]
Generated Node #0,1,1: 97:[96, 27] Operation: 9*3=27
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 97:[96, 27], Operations: ['32*3=96', '9*3=27']
Exploring Operation: 96-27=69, Resulting Numbers: [69]
69,97 unequal: No Solution
Exploring Operation: 96+27=123, Resulting Numbers: [123]
123,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 97:[96, 12], Operations: ['32*3=96', '9+3=12']
Exploring Operation: 96-12=84, Resulting Numbers: [84]
84,97 unequal: No Solution
Exploring Operation: 96+12=108, Resulting Numbers: [108]
108,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
60,
36,
21,
1
] | 44 | [
"60-36=24",
"21-1=20",
"24+20=44"
] | Current State: 44:[60, 36, 21, 1], Operations: []
Exploring Operation: 60-36=24, Resulting Numbers: [21, 1, 24]
Generated Node #2: [21, 1, 24] from Operation: 60-36=24
Current State: 44:[21, 1, 24], Operations: ['60-36=24']
Exploring Operation: 21-1=20, Resulting Numbers: [24, 20]
Generated Node #3: [24, 20] from Operation: 21-1=20
Current State: 44:[24, 20], Operations: ['60-36=24', '21-1=20']
Exploring Operation: 24+20=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[60, 36, 21, 1], Operations: []
Exploring Operation: 60-36=24, Resulting Numbers: [21, 1, 24]
Generated Node #0,0: 44:[21, 1, 24] Operation: 60-36=24
Moving to Node #0,0
Current State: 44:[21, 1, 24], Operations: ['60-36=24']
Exploring Operation: 21+1=22, Resulting Numbers: [24, 22]
Generated Node #0,0,0: 44:[24, 22] Operation: 21+1=22
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 44:[24, 22], Operations: ['60-36=24', '21+1=22']
Exploring Operation: 24-22=2, Resulting Numbers: [2]
2,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
44,
70,
48,
5
] | 56 | [
"48-44=4",
"70/5=14",
"4*14=56"
] | Current State: 56:[44, 70, 48, 5], Operations: []
Exploring Operation: 48-44=4, Resulting Numbers: [70, 5, 4]
Generated Node #2: [70, 5, 4] from Operation: 48-44=4
Current State: 56:[70, 5, 4], Operations: ['48-44=4']
Exploring Operation: 70/5=14, Resulting Numbers: [4, 14]
Generated Node #3: [4, 14] from Operation: 70/5=14
Current State: 56:[4, 14], Operations: ['48-44=4', '70/5=14']
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[44, 70, 48, 5], Operations: []
Exploring Operation: 48-44=4, Resulting Numbers: [70, 5, 4]
Generated Node #0,0: 56:[70, 5, 4] Operation: 48-44=4
Exploring Operation: 70-44=26, Resulting Numbers: [48, 5, 26]
Generated Node #0,1: 56:[48, 5, 26] Operation: 70-44=26
Exploring Operation: 70-48=22, Resulting Numbers: [44, 5, 22]
Generated Node #0,2: 56:[44, 5, 22] Operation: 70-48=22
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[48, 5, 26], Operations: ['70-44=26']
Exploring Operation: 48-26=22, Resulting Numbers: [5, 22]
Generated Node #0,1,0: 56:[5, 22] Operation: 48-26=22
Exploring Operation: 48+5=53, Resulting Numbers: [26, 53]
Generated Node #0,1,1: 56:[26, 53] Operation: 48+5=53
Exploring Operation: 5+26=31, Resulting Numbers: [48, 31]
Generated Node #0,1,2: 56:[48, 31] Operation: 5+26=31
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 56:[26, 53], Operations: ['70-44=26', '48+5=53']
Exploring Operation: 26*53=1378, Resulting Numbers: [1378]
1378,56 unequal: No Solution
Exploring Operation: 26+53=79, Resulting Numbers: [79]
79,56 unequal: No Solution
Exploring Operation: 53-26=27, Resulting Numbers: [27]
27,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 56:[5, 22], Operations: ['70-44=26', '48-26=22']
Exploring Operation: 5*22=110, Resulting Numbers: [110]
110,56 unequal: No Solution
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,56 unequal: No Solution
Exploring Operation: 5+22=27, Resulting Numbers: [27]
27,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 56:[48, 31], Operations: ['70-44=26', '5+26=31']
Exploring Operation: 48+31=79, Resulting Numbers: [79]
79,56 unequal: No Solution
Exploring Operation: 48*31=1488, Resulting Numbers: [1488]
1488,56 unequal: No Solution
Exploring Operation: 48-31=17, Resulting Numbers: [17]
17,56 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: 56:[70, 5, 4], Operations: ['48-44=4']
Exploring Operation: 70/5=14, Resulting Numbers: [4, 14]
Generated Node #0,0,0: 56:[4, 14] Operation: 70/5=14
Exploring Operation: 70-4=66, Resulting Numbers: [5, 66]
Generated Node #0,0,1: 56:[5, 66] Operation: 70-4=66
Exploring Operation: 70-5=65, Resulting Numbers: [4, 65]
Generated Node #0,0,2: 56:[4, 65] Operation: 70-5=65
Moving to Node #0,0,0
Current State: 56:[4, 14], Operations: ['48-44=4', '70/5=14']
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[44, 70, 48, 5], Operations: []
Exploring Operation: 48-44=4, Resulting Numbers: [70, 5, 4]
Generated Node #0,0: 56:[70, 5, 4] Operation: 48-44=4
Moving to Node #0,0
Current State: 56:[70, 5, 4], Operations: ['48-44=4']
Exploring Operation: 70/5=14, Resulting Numbers: [4, 14]
Generated Node #0,0,0: 56:[4, 14] Operation: 70/5=14
Moving to Node #0,0,0
Current State: 56:[4, 14], Operations: ['48-44=4', '70/5=14']
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_3 | sum_heuristic |
[
15,
2,
83,
44
] | 78 | [
"83-15=68",
"68/2=34",
"44+34=78"
] | Current State: 78:[15, 2, 83, 44], Operations: []
Exploring Operation: 83-15=68, Resulting Numbers: [2, 44, 68]
Generated Node #2: [2, 44, 68] from Operation: 83-15=68
Current State: 78:[2, 44, 68], Operations: ['83-15=68']
Exploring Operation: 68/2=34, Resulting Numbers: [44, 34]
Generated Node #3: [44, 34] from Operation: 68/2=34
Current State: 78:[44, 34], Operations: ['83-15=68', '68/2=34']
Exploring Operation: 44+34=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[15, 2, 83, 44], Operations: []
Exploring Operation: 83-44=39, Resulting Numbers: [15, 2, 39]
Generated Node #0,0: 78:[15, 2, 39] Operation: 83-44=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[15, 2, 39], Operations: ['83-44=39']
Exploring Operation: 15-2=13, Resulting Numbers: [39, 13]
Generated Node #0,0,0: 78:[39, 13] Operation: 15-2=13
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 78:[39, 13], Operations: ['83-44=39', '15-2=13']
Exploring Operation: 39-13=26, Resulting Numbers: [26]
26,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
5,
21,
25,
54
] | 15 | [
"25/5=5",
"21+54=75",
"75/5=15"
] | Current State: 15:[5, 21, 25, 54], Operations: []
Exploring Operation: 25/5=5, Resulting Numbers: [21, 54, 5]
Generated Node #2: [21, 54, 5] from Operation: 25/5=5
Current State: 15:[21, 54, 5], Operations: ['25/5=5']
Exploring Operation: 21+54=75, Resulting Numbers: [5, 75]
Generated Node #3: [5, 75] from Operation: 21+54=75
Current State: 15:[5, 75], Operations: ['25/5=5', '21+54=75']
Exploring Operation: 75/5=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[5, 21, 25, 54], Operations: []
Exploring Operation: 54-25=29, Resulting Numbers: [5, 21, 29]
Generated Node #0,0: 15:[5, 21, 29] Operation: 54-25=29
Moving to Node #0,0
Current State: 15:[5, 21, 29], Operations: ['54-25=29']
Exploring Operation: 29-21=8, Resulting Numbers: [5, 8]
Generated Node #0,0,0: 15:[5, 8] Operation: 29-21=8
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 15:[5, 8], Operations: ['54-25=29', '29-21=8']
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,15 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 |
[
92,
4,
66,
45
] | 23 | [
"92-4=88",
"66+45=111",
"111-88=23"
] | Current State: 23:[92, 4, 66, 45], Operations: []
Exploring Operation: 92-4=88, Resulting Numbers: [66, 45, 88]
Generated Node #2: [66, 45, 88] from Operation: 92-4=88
Current State: 23:[66, 45, 88], Operations: ['92-4=88']
Exploring Operation: 66+45=111, Resulting Numbers: [88, 111]
Generated Node #3: [88, 111] from Operation: 66+45=111
Current State: 23:[88, 111], Operations: ['92-4=88', '66+45=111']
Exploring Operation: 111-88=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[92, 4, 66, 45], Operations: []
Exploring Operation: 92-45=47, Resulting Numbers: [4, 66, 47]
Generated Node #0,0: 23:[4, 66, 47] Operation: 92-45=47
Exploring Operation: 92/4=23, Resulting Numbers: [66, 45, 23]
Generated Node #0,1: 23:[66, 45, 23] Operation: 92/4=23
Exploring Operation: 92-66=26, Resulting Numbers: [4, 45, 26]
Generated Node #0,2: 23:[4, 45, 26] Operation: 92-66=26
Moving to Node #0,2
Current State: 23:[4, 45, 26], Operations: ['92-66=26']
Exploring Operation: 45-4=41, Resulting Numbers: [26, 41]
Generated Node #0,2,0: 23:[26, 41] Operation: 45-4=41
Exploring Operation: 26-4=22, Resulting Numbers: [45, 22]
Generated Node #0,2,1: 23:[45, 22] Operation: 26-4=22
Exploring Operation: 45-26=19, Resulting Numbers: [4, 19]
Generated Node #0,2,2: 23:[4, 19] Operation: 45-26=19
Moving to Node #0,1
Current State: 23:[66, 45, 23], Operations: ['92/4=23']
Exploring Operation: 45-23=22, Resulting Numbers: [66, 22]
Generated Node #0,1,0: 23:[66, 22] Operation: 45-23=22
Exploring Operation: 66-23=43, Resulting Numbers: [45, 43]
Generated Node #0,1,1: 23:[45, 43] Operation: 66-23=43
Exploring Operation: 66-45=21, Resulting Numbers: [23, 21]
Generated Node #0,1,2: 23:[23, 21] Operation: 66-45=21
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 23:[23, 21], Operations: ['92/4=23', '66-45=21']
Exploring Operation: 23*21=483, Resulting Numbers: [483]
483,23 unequal: No Solution
Exploring Operation: 23+21=44, Resulting Numbers: [44]
44,23 unequal: No Solution
Exploring Operation: 23-21=2, Resulting Numbers: [2]
2,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 23:[45, 43], Operations: ['92/4=23', '66-23=43']
Exploring Operation: 45+43=88, Resulting Numbers: [88]
88,23 unequal: No Solution
Exploring Operation: 45-43=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 45*43=1935, Resulting Numbers: [1935]
1935,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 23:[66, 22], Operations: ['92/4=23', '45-23=22']
Exploring Operation: 66-22=44, Resulting Numbers: [44]
44,23 unequal: No Solution
Exploring Operation: 66+22=88, Resulting Numbers: [88]
88,23 unequal: No Solution
Exploring Operation: 66/22=3, Resulting Numbers: [3]
3,23 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: 23:[4, 66, 47], Operations: ['92-45=47']
Exploring Operation: 66-47=19, Resulting Numbers: [4, 19]
Generated Node #0,0,0: 23:[4, 19] Operation: 66-47=19
Exploring Operation: 66-4=62, Resulting Numbers: [47, 62]
Generated Node #0,0,1: 23:[47, 62] Operation: 66-4=62
Exploring Operation: 47-4=43, Resulting Numbers: [66, 43]
Generated Node #0,0,2: 23:[66, 43] Operation: 47-4=43
Moving to Node #0,2,0
Current State: 23:[26, 41], Operations: ['92-66=26', '45-4=41']
Exploring Operation: 41-26=15, Resulting Numbers: [15]
15,23 unequal: No Solution
Exploring Operation: 26*41=1066, Resulting Numbers: [1066]
1066,23 unequal: No Solution
Exploring Operation: 26+41=67, Resulting Numbers: [67]
67,23 unequal: No Solution
Moving to Node #0,2,2
Current State: 23:[4, 19], Operations: ['92-66=26', '45-26=19']
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,23 unequal: No Solution
Exploring Operation: 4+19=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[92, 4, 66, 45], Operations: []
Exploring Operation: 92-66=26, Resulting Numbers: [4, 45, 26]
Generated Node #0,2: 23:[4, 45, 26] Operation: 92-66=26
Moving to Node #0,2
Current State: 23:[4, 45, 26], Operations: ['92-66=26']
Exploring Operation: 45-26=19, Resulting Numbers: [4, 19]
Generated Node #0,2,2: 23:[4, 19] Operation: 45-26=19
Moving to Node #0,2,2
Current State: 23:[4, 19], Operations: ['92-66=26', '45-26=19']
Exploring Operation: 4+19=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 0.973958 | hs_3 | mult_heuristic |
[
39,
86,
16,
20
] | 70 | [
"20-16=4",
"39*4=156",
"156-86=70"
] | Current State: 70:[39, 86, 16, 20], Operations: []
Exploring Operation: 20-16=4, Resulting Numbers: [39, 86, 4]
Generated Node #2: [39, 86, 4] from Operation: 20-16=4
Current State: 70:[39, 86, 4], Operations: ['20-16=4']
Exploring Operation: 39*4=156, Resulting Numbers: [86, 156]
Generated Node #3: [86, 156] from Operation: 39*4=156
Current State: 70:[86, 156], Operations: ['20-16=4', '39*4=156']
Exploring Operation: 156-86=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[39, 86, 16, 20], Operations: []
Exploring Operation: 86-16=70, Resulting Numbers: [39, 20, 70]
Generated Node #0,0: 70:[39, 20, 70] Operation: 86-16=70
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[39, 20, 70], Operations: ['86-16=70']
Exploring Operation: 39-20=19, Resulting Numbers: [70, 19]
Generated Node #0,0,0: 70:[70, 19] Operation: 39-20=19
Moving to Node #0,0,0
Current State: 70:[70, 19], Operations: ['86-16=70', '39-20=19']
Exploring Operation: 70-19=51, Resulting Numbers: [51]
51,70 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 |
[
50,
28,
4,
25
] | 82 | [
"50+25=75",
"28/4=7",
"75+7=82"
] | Current State: 82:[50, 28, 4, 25], Operations: []
Exploring Operation: 50+25=75, Resulting Numbers: [28, 4, 75]
Generated Node #2: [28, 4, 75] from Operation: 50+25=75
Current State: 82:[28, 4, 75], Operations: ['50+25=75']
Exploring Operation: 28/4=7, Resulting Numbers: [75, 7]
Generated Node #3: [75, 7] from Operation: 28/4=7
Current State: 82:[75, 7], Operations: ['50+25=75', '28/4=7']
Exploring Operation: 75+7=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[50, 28, 4, 25], Operations: []
Exploring Operation: 50/25=2, Resulting Numbers: [28, 4, 2]
Generated Node #0,0: 82:[28, 4, 2] Operation: 50/25=2
Exploring Operation: 50+28=78, Resulting Numbers: [4, 25, 78]
Generated Node #0,1: 82:[4, 25, 78] Operation: 50+28=78
Exploring Operation: 28-25=3, Resulting Numbers: [50, 4, 3]
Generated Node #0,2: 82:[50, 4, 3] Operation: 28-25=3
Exploring Operation: 50+25=75, Resulting Numbers: [28, 4, 75]
Generated Node #0,3: 82:[28, 4, 75] Operation: 50+25=75
Start Sub Search at level 1: Moving to Node #0,2
Current State: 82:[50, 4, 3], Operations: ['28-25=3']
Exploring Operation: 50-3=47, Resulting Numbers: [4, 47]
Generated Node #0,2,0: 82:[4, 47] Operation: 50-3=47
Exploring Operation: 50-4=46, Resulting Numbers: [3, 46]
Generated Node #0,2,1: 82:[3, 46] Operation: 50-4=46
Exploring Operation: 4-3=1, Resulting Numbers: [50, 1]
Generated Node #0,2,2: 82:[50, 1] Operation: 4-3=1
Exploring Operation: 50+4=54, Resulting Numbers: [3, 54]
Generated Node #0,2,3: 82:[3, 54] Operation: 50+4=54
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 82:[3, 46], Operations: ['28-25=3', '50-4=46']
Exploring Operation: 3*46=138, Resulting Numbers: [138]
138,82 unequal: No Solution
Exploring Operation: 46-3=43, Resulting Numbers: [43]
43,82 unequal: No Solution
Exploring Operation: 3+46=49, Resulting Numbers: [49]
49,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 82:[4, 47], Operations: ['28-25=3', '50-3=47']
Exploring Operation: 4*47=188, Resulting Numbers: [188]
188,82 unequal: No Solution
Exploring Operation: 4+47=51, Resulting Numbers: [51]
51,82 unequal: No Solution
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 82:[50, 1], Operations: ['28-25=3', '4-3=1']
Exploring Operation: 50+1=51, Resulting Numbers: [51]
51,82 unequal: No Solution
Exploring Operation: 50-1=49, Resulting Numbers: [49]
49,82 unequal: No Solution
Exploring Operation: 50*1=50, Resulting Numbers: [50]
50,82 unequal: No Solution
Exploring Operation: 50/1=50, Resulting Numbers: [50]
50,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 82:[3, 54], Operations: ['28-25=3', '50+4=54']
Exploring Operation: 3*54=162, Resulting Numbers: [162]
162,82 unequal: No Solution
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,82 unequal: No Solution
Exploring Operation: 3+54=57, Resulting Numbers: [57]
57,82 unequal: No Solution
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[28, 4, 2], Operations: ['50/25=2']
Exploring Operation: 4-2=2, Resulting Numbers: [28, 2]
Generated Node #0,0,0: 82:[28, 2] Operation: 4-2=2
Exploring Operation: 28+4=32, Resulting Numbers: [2, 32]
Generated Node #0,0,1: 82:[2, 32] Operation: 28+4=32
Exploring Operation: 28/4=7, Resulting Numbers: [2, 7]
Generated Node #0,0,2: 82:[2, 7] Operation: 28/4=7
Exploring Operation: 28+2=30, Resulting Numbers: [4, 30]
Generated Node #0,0,3: 82:[4, 30] Operation: 28+2=30
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 82:[2, 7], Operations: ['50/25=2', '28/4=7']
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,82 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,82 unequal: No Solution
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,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:[2, 32], Operations: ['50/25=2', '28+4=32']
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,82 unequal: No Solution
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,82 unequal: No Solution
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,82 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,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:[28, 2], Operations: ['50/25=2', '4-2=2']
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,82 unequal: No Solution
Exploring Operation: 28+2=30, Resulting Numbers: [30]
30,82 unequal: No Solution
Exploring Operation: 28*2=56, Resulting Numbers: [56]
56,82 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,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:[4, 30], Operations: ['50/25=2', '28+2=30']
Exploring Operation: 4*30=120, Resulting Numbers: [120]
120,82 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,82 unequal: No Solution
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,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:[4, 25, 78], Operations: ['50+28=78']
Exploring Operation: 4+78=82, Resulting Numbers: [25, 82]
Generated Node #0,1,0: 82:[25, 82] Operation: 4+78=82
Exploring Operation: 4*25=100, Resulting Numbers: [78, 100]
Generated Node #0,1,1: 82:[78, 100] Operation: 4*25=100
Exploring Operation: 4+25=29, Resulting Numbers: [78, 29]
Generated Node #0,1,2: 82:[78, 29] Operation: 4+25=29
Exploring Operation: 78-25=53, Resulting Numbers: [4, 53]
Generated Node #0,1,3: 82:[4, 53] Operation: 78-25=53
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 82:[4, 53], Operations: ['50+28=78', '78-25=53']
Exploring Operation: 4*53=212, Resulting Numbers: [212]
212,82 unequal: No Solution
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,82 unequal: No Solution
Exploring Operation: 4+53=57, Resulting Numbers: [57]
57,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:[25, 82], Operations: ['50+28=78', '4+78=82']
Exploring Operation: 82-25=57, Resulting Numbers: [57]
57,82 unequal: No Solution
Exploring Operation: 25+82=107, Resulting Numbers: [107]
107,82 unequal: No Solution
Exploring Operation: 25*82=2050, Resulting Numbers: [2050]
2050,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 82:[78, 29], Operations: ['50+28=78', '4+25=29']
Exploring Operation: 78-29=49, Resulting Numbers: [49]
49,82 unequal: No Solution
Exploring Operation: 78*29=2262, Resulting Numbers: [2262]
2262,82 unequal: No Solution
Exploring Operation: 78+29=107, Resulting Numbers: [107]
107,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:[78, 100], Operations: ['50+28=78', '4*25=100']
Exploring Operation: 78*100=7800, Resulting Numbers: [7800]
7800,82 unequal: No Solution
Exploring Operation: 100-78=22, Resulting Numbers: [22]
22,82 unequal: No Solution
Exploring Operation: 78+100=178, Resulting Numbers: [178]
178,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,3
Current State: 82:[28, 4, 75], Operations: ['50+25=75']
Exploring Operation: 4+75=79, Resulting Numbers: [28, 79]
Generated Node #0,3,0: 82:[28, 79] Operation: 4+75=79
Exploring Operation: 28/4=7, Resulting Numbers: [75, 7]
Generated Node #0,3,1: 82:[75, 7] Operation: 28/4=7
Exploring Operation: 75-28=47, Resulting Numbers: [4, 47]
Generated Node #0,3,2: 82:[4, 47] Operation: 75-28=47
Exploring Operation: 28+4=32, Resulting Numbers: [75, 32]
Generated Node #0,3,3: 82:[75, 32] Operation: 28+4=32
Moving to Node #0,3,2
Current State: 82:[4, 47], Operations: ['50+25=75', '75-28=47']
Exploring Operation: 4*47=188, Resulting Numbers: [188]
188,82 unequal: No Solution
Exploring Operation: 4+47=51, Resulting Numbers: [51]
51,82 unequal: No Solution
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,82 unequal: No Solution
Moving to Node #0,3,1
Current State: 82:[75, 7], Operations: ['50+25=75', '28/4=7']
Exploring Operation: 75-7=68, Resulting Numbers: [68]
68,82 unequal: No Solution
Exploring Operation: 75*7=525, Resulting Numbers: [525]
525,82 unequal: No Solution
Exploring Operation: 75+7=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[50, 28, 4, 25], Operations: []
Exploring Operation: 50+25=75, Resulting Numbers: [28, 4, 75]
Generated Node #0,3: 82:[28, 4, 75] Operation: 50+25=75
Moving to Node #0,3
Current State: 82:[28, 4, 75], Operations: ['50+25=75']
Exploring Operation: 28/4=7, Resulting Numbers: [75, 7]
Generated Node #0,3,1: 82:[75, 7] Operation: 28/4=7
Moving to Node #0,3,1
Current State: 82:[75, 7], Operations: ['50+25=75', '28/4=7']
Exploring Operation: 75+7=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.939236 | hs_4 | mult_heuristic |
[
26,
10,
57,
3
] | 38 | [
"26-10=16",
"57-3=54",
"54-16=38"
] | Current State: 38:[26, 10, 57, 3], Operations: []
Exploring Operation: 26-10=16, Resulting Numbers: [57, 3, 16]
Generated Node #2: [57, 3, 16] from Operation: 26-10=16
Current State: 38:[57, 3, 16], Operations: ['26-10=16']
Exploring Operation: 57-3=54, Resulting Numbers: [16, 54]
Generated Node #3: [16, 54] from Operation: 57-3=54
Current State: 38:[16, 54], Operations: ['26-10=16', '57-3=54']
Exploring Operation: 54-16=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[26, 10, 57, 3], Operations: []
Exploring Operation: 26+10=36, Resulting Numbers: [57, 3, 36]
Generated Node #0,0: 38:[57, 3, 36] Operation: 26+10=36
Exploring Operation: 57/3=19, Resulting Numbers: [26, 10, 19]
Generated Node #0,1: 38:[26, 10, 19] Operation: 57/3=19
Exploring Operation: 57-10=47, Resulting Numbers: [26, 3, 47]
Generated Node #0,2: 38:[26, 3, 47] Operation: 57-10=47
Exploring Operation: 57-26=31, Resulting Numbers: [10, 3, 31]
Generated Node #0,3: 38:[10, 3, 31] Operation: 57-26=31
Start Sub Search at level 1: Moving to Node #0,1
Current State: 38:[26, 10, 19], Operations: ['57/3=19']
Exploring Operation: 26-19=7, Resulting Numbers: [10, 7]
Generated Node #0,1,0: 38:[10, 7] Operation: 26-19=7
Exploring Operation: 26-10=16, Resulting Numbers: [19, 16]
Generated Node #0,1,1: 38:[19, 16] Operation: 26-10=16
Exploring Operation: 19-10=9, Resulting Numbers: [26, 9]
Generated Node #0,1,2: 38:[26, 9] Operation: 19-10=9
Exploring Operation: 26+10=36, Resulting Numbers: [19, 36]
Generated Node #0,1,3: 38:[19, 36] Operation: 26+10=36
Moving to Node #0,1,3
Current State: 38:[19, 36], Operations: ['57/3=19', '26+10=36']
Exploring Operation: 19+36=55, Resulting Numbers: [55]
55,38 unequal: No Solution
Exploring Operation: 36-19=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Exploring Operation: 19*36=684, Resulting Numbers: [684]
684,38 unequal: No Solution
Moving to Node #0,1,1
Current State: 38:[19, 16], Operations: ['57/3=19', '26-10=16']
Exploring Operation: 19-16=3, Resulting Numbers: [3]
3,38 unequal: No Solution
Exploring Operation: 19*16=304, Resulting Numbers: [304]
304,38 unequal: No Solution
Exploring Operation: 19+16=35, Resulting Numbers: [35]
35,38 unequal: No Solution
Moving to Node #0,1,0
Current State: 38:[10, 7], Operations: ['57/3=19', '26-19=7']
Exploring Operation: 10+7=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Exploring Operation: 10*7=70, Resulting Numbers: [70]
70,38 unequal: No Solution
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,38 unequal: No Solution
Moving to Node #0,1,2
Current State: 38:[26, 9], Operations: ['57/3=19', '19-10=9']
Exploring Operation: 26-9=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Exploring Operation: 26+9=35, Resulting Numbers: [35]
35,38 unequal: No Solution
Exploring Operation: 26*9=234, Resulting Numbers: [234]
234,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 38:[10, 3, 31], Operations: ['57-26=31']
Exploring Operation: 31-10=21, Resulting Numbers: [3, 21]
Generated Node #0,3,0: 38:[3, 21] Operation: 31-10=21
Exploring Operation: 10+31=41, Resulting Numbers: [3, 41]
Generated Node #0,3,1: 38:[3, 41] Operation: 10+31=41
Exploring Operation: 3+31=34, Resulting Numbers: [10, 34]
Generated Node #0,3,2: 38:[10, 34] Operation: 3+31=34
Exploring Operation: 10-3=7, Resulting Numbers: [31, 7]
Generated Node #0,3,3: 38:[31, 7] Operation: 10-3=7
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 38:[3, 21], Operations: ['57-26=31', '31-10=21']
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,38 unequal: No Solution
Exploring Operation: 3*21=63, Resulting Numbers: [63]
63,38 unequal: No Solution
Exploring Operation: 3+21=24, Resulting Numbers: [24]
24,38 unequal: No Solution
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 38:[3, 41], Operations: ['57-26=31', '10+31=41']
Exploring Operation: 3*41=123, Resulting Numbers: [123]
123,38 unequal: No Solution
Exploring Operation: 3+41=44, Resulting Numbers: [44]
44,38 unequal: No Solution
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[26, 10, 57, 3], Operations: []
Exploring Operation: 57-26=31, Resulting Numbers: [10, 3, 31]
Generated Node #0,3: 38:[10, 3, 31] Operation: 57-26=31
Moving to Node #0,3
Current State: 38:[10, 3, 31], Operations: ['57-26=31']
Exploring Operation: 10+31=41, Resulting Numbers: [3, 41]
Generated Node #0,3,1: 38:[3, 41] Operation: 10+31=41
Moving to Node #0,3,1
Current State: 38:[3, 41], Operations: ['57-26=31', '10+31=41']
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.969618 | hs_4 | sum_heuristic |
[
56,
62,
2,
43
] | 94 | [
"62-43=19",
"2*19=38",
"56+38=94"
] | Current State: 94:[56, 62, 2, 43], Operations: []
Exploring Operation: 62-43=19, Resulting Numbers: [56, 2, 19]
Generated Node #2: [56, 2, 19] from Operation: 62-43=19
Current State: 94:[56, 2, 19], Operations: ['62-43=19']
Exploring Operation: 2*19=38, Resulting Numbers: [56, 38]
Generated Node #3: [56, 38] from Operation: 2*19=38
Current State: 94:[56, 38], Operations: ['62-43=19', '2*19=38']
Exploring Operation: 56+38=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[56, 62, 2, 43], Operations: []
Exploring Operation: 62-56=6, Resulting Numbers: [2, 43, 6]
Generated Node #0,0: 94:[2, 43, 6] Operation: 62-56=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[2, 43, 6], Operations: ['62-56=6']
Exploring Operation: 43+6=49, Resulting Numbers: [2, 49]
Generated Node #0,0,0: 94:[2, 49] Operation: 43+6=49
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 94:[2, 49], Operations: ['62-56=6', '43+6=49']
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
93,
11,
65,
38
] | 95 | [
"11+65=76",
"76/38=2",
"93+2=95"
] | Current State: 95:[93, 11, 65, 38], Operations: []
Exploring Operation: 11+65=76, Resulting Numbers: [93, 38, 76]
Generated Node #2: [93, 38, 76] from Operation: 11+65=76
Current State: 95:[93, 38, 76], Operations: ['11+65=76']
Exploring Operation: 76/38=2, Resulting Numbers: [93, 2]
Generated Node #3: [93, 2] from Operation: 76/38=2
Current State: 95:[93, 2], Operations: ['11+65=76', '76/38=2']
Exploring Operation: 93+2=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[93, 11, 65, 38], Operations: []
Exploring Operation: 65+38=103, Resulting Numbers: [93, 11, 103]
Generated Node #0,0: 95:[93, 11, 103] Operation: 65+38=103
Moving to Node #0,0
Current State: 95:[93, 11, 103], Operations: ['65+38=103']
Exploring Operation: 103-11=92, Resulting Numbers: [93, 92]
Generated Node #0,0,0: 95:[93, 92] Operation: 103-11=92
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 95:[93, 92], Operations: ['65+38=103', '103-11=92']
Exploring Operation: 93-92=1, Resulting Numbers: [1]
1,95 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 |
[
98,
36,
73,
48
] | 87 | [
"98-36=62",
"73-48=25",
"62+25=87"
] | Current State: 87:[98, 36, 73, 48], Operations: []
Exploring Operation: 98-36=62, Resulting Numbers: [73, 48, 62]
Generated Node #2: [73, 48, 62] from Operation: 98-36=62
Current State: 87:[73, 48, 62], Operations: ['98-36=62']
Exploring Operation: 73-48=25, Resulting Numbers: [62, 25]
Generated Node #3: [62, 25] from Operation: 73-48=25
Current State: 87:[62, 25], Operations: ['98-36=62', '73-48=25']
Exploring Operation: 62+25=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[98, 36, 73, 48], Operations: []
Exploring Operation: 73-48=25, Resulting Numbers: [98, 36, 25]
Generated Node #0,0: 87:[98, 36, 25] Operation: 73-48=25
Exploring Operation: 36+48=84, Resulting Numbers: [98, 73, 84]
Generated Node #0,1: 87:[98, 73, 84] Operation: 36+48=84
Exploring Operation: 48-36=12, Resulting Numbers: [98, 73, 12]
Generated Node #0,2: 87:[98, 73, 12] Operation: 48-36=12
Exploring Operation: 73-36=37, Resulting Numbers: [98, 48, 37]
Generated Node #0,3: 87:[98, 48, 37] Operation: 73-36=37
Exploring Operation: 98-73=25, Resulting Numbers: [36, 48, 25]
Generated Node #0,4: 87:[36, 48, 25] Operation: 98-73=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[98, 36, 25], Operations: ['73-48=25']
Exploring Operation: 36+25=61, Resulting Numbers: [98, 61]
Generated Node #0,0,0: 87:[98, 61] Operation: 36+25=61
Exploring Operation: 98-36=62, Resulting Numbers: [25, 62]
Generated Node #0,0,1: 87:[25, 62] Operation: 98-36=62
Exploring Operation: 98-25=73, Resulting Numbers: [36, 73]
Generated Node #0,0,2: 87:[36, 73] Operation: 98-25=73
Exploring Operation: 36-25=11, Resulting Numbers: [98, 11]
Generated Node #0,0,3: 87:[98, 11] Operation: 36-25=11
Exploring Operation: 98+25=123, Resulting Numbers: [36, 123]
Generated Node #0,0,4: 87:[36, 123] Operation: 98+25=123
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 87:[98, 11], Operations: ['73-48=25', '36-25=11']
Exploring Operation: 98-11=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[98, 36, 73, 48], Operations: []
Exploring Operation: 73-48=25, Resulting Numbers: [98, 36, 25]
Generated Node #0,0: 87:[98, 36, 25] Operation: 73-48=25
Moving to Node #0,0
Current State: 87:[98, 36, 25], Operations: ['73-48=25']
Exploring Operation: 36-25=11, Resulting Numbers: [98, 11]
Generated Node #0,0,3: 87:[98, 11] Operation: 36-25=11
Moving to Node #0,0,3
Current State: 87:[98, 11], Operations: ['73-48=25', '36-25=11']
Exploring Operation: 98-11=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
24,
97,
37,
36
] | 90 | [
"97-37=60",
"36*60=2160",
"2160/24=90"
] | Current State: 90:[24, 97, 37, 36], Operations: []
Exploring Operation: 97-37=60, Resulting Numbers: [24, 36, 60]
Generated Node #2: [24, 36, 60] from Operation: 97-37=60
Current State: 90:[24, 36, 60], Operations: ['97-37=60']
Exploring Operation: 36*60=2160, Resulting Numbers: [24, 2160]
Generated Node #3: [24, 2160] from Operation: 36*60=2160
Current State: 90:[24, 2160], Operations: ['97-37=60', '36*60=2160']
Exploring Operation: 2160/24=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[24, 97, 37, 36], Operations: []
Exploring Operation: 37-24=13, Resulting Numbers: [97, 36, 13]
Generated Node #0,0: 90:[97, 36, 13] Operation: 37-24=13
Exploring Operation: 37-36=1, Resulting Numbers: [24, 97, 1]
Generated Node #0,1: 90:[24, 97, 1] Operation: 37-36=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 90:[24, 97, 1], Operations: ['37-36=1']
Exploring Operation: 24+1=25, Resulting Numbers: [97, 25]
Generated Node #0,1,0: 90:[97, 25] Operation: 24+1=25
Exploring Operation: 24-1=23, Resulting Numbers: [97, 23]
Generated Node #0,1,1: 90:[97, 23] Operation: 24-1=23
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 90:[97, 25], Operations: ['37-36=1', '24+1=25']
Exploring Operation: 97-25=72, Resulting Numbers: [72]
72,90 unequal: No Solution
Exploring Operation: 97+25=122, Resulting Numbers: [122]
122,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:[97, 23], Operations: ['37-36=1', '24-1=23']
Exploring Operation: 97+23=120, Resulting Numbers: [120]
120,90 unequal: No Solution
Exploring Operation: 97-23=74, Resulting Numbers: [74]
74,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,0
Current State: 90:[97, 36, 13], Operations: ['37-24=13']
Exploring Operation: 36+13=49, Resulting Numbers: [97, 49]
Generated Node #0,0,0: 90:[97, 49] Operation: 36+13=49
Exploring Operation: 97-13=84, Resulting Numbers: [36, 84]
Generated Node #0,0,1: 90:[36, 84] Operation: 97-13=84
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 90:[97, 49], Operations: ['37-24=13', '36+13=49']
Exploring Operation: 97+49=146, Resulting Numbers: [146]
146,90 unequal: No Solution
Exploring Operation: 97-49=48, Resulting Numbers: [48]
48,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:[36, 84], Operations: ['37-24=13', '97-13=84']
Exploring Operation: 36+84=120, Resulting Numbers: [120]
120,90 unequal: No Solution
Exploring Operation: 84-36=48, Resulting Numbers: [48]
48,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_2 | sum_heuristic |
[
64,
59,
55,
43
] | 93 | [
"64-59=5",
"55+43=98",
"98-5=93"
] | Current State: 93:[64, 59, 55, 43], Operations: []
Exploring Operation: 64-59=5, Resulting Numbers: [55, 43, 5]
Generated Node #2: [55, 43, 5] from Operation: 64-59=5
Current State: 93:[55, 43, 5], Operations: ['64-59=5']
Exploring Operation: 55+43=98, Resulting Numbers: [5, 98]
Generated Node #3: [5, 98] from Operation: 55+43=98
Current State: 93:[5, 98], Operations: ['64-59=5', '55+43=98']
Exploring Operation: 98-5=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[64, 59, 55, 43], Operations: []
Exploring Operation: 59+55=114, Resulting Numbers: [64, 43, 114]
Generated Node #0,0: 93:[64, 43, 114] Operation: 59+55=114
Exploring Operation: 59-55=4, Resulting Numbers: [64, 43, 4]
Generated Node #0,1: 93:[64, 43, 4] Operation: 59-55=4
Exploring Operation: 64-43=21, Resulting Numbers: [59, 55, 21]
Generated Node #0,2: 93:[59, 55, 21] Operation: 64-43=21
Exploring Operation: 64-55=9, Resulting Numbers: [59, 43, 9]
Generated Node #0,3: 93:[59, 43, 9] Operation: 64-55=9
Exploring Operation: 64-59=5, Resulting Numbers: [55, 43, 5]
Generated Node #0,4: 93:[55, 43, 5] Operation: 64-59=5
Moving to Node #0,4
Current State: 93:[55, 43, 5], Operations: ['64-59=5']
Exploring Operation: 43-5=38, Resulting Numbers: [55, 38]
Generated Node #0,4,0: 93:[55, 38] Operation: 43-5=38
Exploring Operation: 55-43=12, Resulting Numbers: [5, 12]
Generated Node #0,4,1: 93:[5, 12] Operation: 55-43=12
Exploring Operation: 55+43=98, Resulting Numbers: [5, 98]
Generated Node #0,4,2: 93:[5, 98] Operation: 55+43=98
Exploring Operation: 55/5=11, Resulting Numbers: [43, 11]
Generated Node #0,4,3: 93:[43, 11] Operation: 55/5=11
Exploring Operation: 55-5=50, Resulting Numbers: [43, 50]
Generated Node #0,4,4: 93:[43, 50] Operation: 55-5=50
Moving to Node #0,1
Current State: 93:[64, 43, 4], Operations: ['59-55=4']
Exploring Operation: 64/4=16, Resulting Numbers: [43, 16]
Generated Node #0,1,0: 93:[43, 16] Operation: 64/4=16
Exploring Operation: 64-43=21, Resulting Numbers: [4, 21]
Generated Node #0,1,1: 93:[4, 21] Operation: 64-43=21
Exploring Operation: 64+43=107, Resulting Numbers: [4, 107]
Generated Node #0,1,2: 93:[4, 107] Operation: 64+43=107
Exploring Operation: 43-4=39, Resulting Numbers: [64, 39]
Generated Node #0,1,3: 93:[64, 39] Operation: 43-4=39
Exploring Operation: 64+4=68, Resulting Numbers: [43, 68]
Generated Node #0,1,4: 93:[43, 68] Operation: 64+4=68
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 93:[4, 21], Operations: ['59-55=4', '64-43=21']
Exploring Operation: 4*21=84, Resulting Numbers: [84]
84,93 unequal: No Solution
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,93 unequal: No Solution
Exploring Operation: 4+21=25, Resulting Numbers: [25]
25,93 unequal: No Solution
No 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: 93:[4, 107], Operations: ['59-55=4', '64+43=107']
Exploring Operation: 107-4=103, Resulting Numbers: [103]
103,93 unequal: No Solution
Exploring Operation: 4+107=111, Resulting Numbers: [111]
111,93 unequal: No Solution
Exploring Operation: 4*107=428, Resulting Numbers: [428]
428,93 unequal: No Solution
No 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: 93:[43, 16], Operations: ['59-55=4', '64/4=16']
Exploring Operation: 43*16=688, Resulting Numbers: [688]
688,93 unequal: No Solution
Exploring Operation: 43-16=27, Resulting Numbers: [27]
27,93 unequal: No Solution
Exploring Operation: 43+16=59, Resulting Numbers: [59]
59,93 unequal: No Solution
No 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: 93:[64, 39], Operations: ['59-55=4', '43-4=39']
Exploring Operation: 64-39=25, Resulting Numbers: [25]
25,93 unequal: No Solution
Exploring Operation: 64*39=2496, Resulting Numbers: [2496]
2496,93 unequal: No Solution
Exploring Operation: 64+39=103, Resulting Numbers: [103]
103,93 unequal: No Solution
No 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: 93:[43, 68], Operations: ['59-55=4', '64+4=68']
Exploring Operation: 68-43=25, Resulting Numbers: [25]
25,93 unequal: No Solution
Exploring Operation: 43*68=2924, Resulting Numbers: [2924]
2924,93 unequal: No Solution
Exploring Operation: 43+68=111, Resulting Numbers: [111]
111,93 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: 93:[59, 43, 9], Operations: ['64-55=9']
Exploring Operation: 43-9=34, Resulting Numbers: [59, 34]
Generated Node #0,3,0: 93:[59, 34] Operation: 43-9=34
Exploring Operation: 59-43=16, Resulting Numbers: [9, 16]
Generated Node #0,3,1: 93:[9, 16] Operation: 59-43=16
Exploring Operation: 59+43=102, Resulting Numbers: [9, 102]
Generated Node #0,3,2: 93:[9, 102] Operation: 59+43=102
Exploring Operation: 59-9=50, Resulting Numbers: [43, 50]
Generated Node #0,3,3: 93:[43, 50] Operation: 59-9=50
Exploring Operation: 59+9=68, Resulting Numbers: [43, 68]
Generated Node #0,3,4: 93:[43, 68] Operation: 59+9=68
Moving to Node #0,0
Current State: 93:[64, 43, 114], Operations: ['59+55=114']
Exploring Operation: 64+43=107, Resulting Numbers: [114, 107]
Generated Node #0,0,0: 93:[114, 107] Operation: 64+43=107
Exploring Operation: 114-64=50, Resulting Numbers: [43, 50]
Generated Node #0,0,1: 93:[43, 50] Operation: 114-64=50
Exploring Operation: 43+114=157, Resulting Numbers: [64, 157]
Generated Node #0,0,2: 93:[64, 157] Operation: 43+114=157
Exploring Operation: 114-43=71, Resulting Numbers: [64, 71]
Generated Node #0,0,3: 93:[64, 71] Operation: 114-43=71
Exploring Operation: 64-43=21, Resulting Numbers: [114, 21]
Generated Node #0,0,4: 93:[114, 21] Operation: 64-43=21
Moving to Node #0,2
Current State: 93:[59, 55, 21], Operations: ['64-43=21']
Exploring Operation: 59+21=80, Resulting Numbers: [55, 80]
Generated Node #0,2,0: 93:[55, 80] Operation: 59+21=80
Exploring Operation: 59+55=114, Resulting Numbers: [21, 114]
Generated Node #0,2,1: 93:[21, 114] Operation: 59+55=114
Exploring Operation: 59-55=4, Resulting Numbers: [21, 4]
Generated Node #0,2,2: 93:[21, 4] Operation: 59-55=4
Exploring Operation: 55-21=34, Resulting Numbers: [59, 34]
Generated Node #0,2,3: 93:[59, 34] Operation: 55-21=34
Exploring Operation: 59-21=38, Resulting Numbers: [55, 38]
Generated Node #0,2,4: 93:[55, 38] Operation: 59-21=38
Moving to Node #0,4,2
Current State: 93:[5, 98], Operations: ['64-59=5', '55+43=98']
Exploring Operation: 5*98=490, Resulting Numbers: [490]
490,93 unequal: No Solution
Exploring Operation: 5+98=103, Resulting Numbers: [103]
103,93 unequal: No Solution
Exploring Operation: 98-5=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[64, 59, 55, 43], Operations: []
Exploring Operation: 64-59=5, Resulting Numbers: [55, 43, 5]
Generated Node #0,4: 93:[55, 43, 5] Operation: 64-59=5
Moving to Node #0,4
Current State: 93:[55, 43, 5], Operations: ['64-59=5']
Exploring Operation: 55+43=98, Resulting Numbers: [5, 98]
Generated Node #0,4,2: 93:[5, 98] Operation: 55+43=98
Moving to Node #0,4,2
Current State: 93:[5, 98], Operations: ['64-59=5', '55+43=98']
Exploring Operation: 98-5=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 0.954861 | hs_5 | mult_heuristic |
[
78,
51,
47,
16
] | 14 | [
"51-47=4",
"16*4=64",
"78-64=14"
] | Current State: 14:[78, 51, 47, 16], Operations: []
Exploring Operation: 51-47=4, Resulting Numbers: [78, 16, 4]
Generated Node #2: [78, 16, 4] from Operation: 51-47=4
Current State: 14:[78, 16, 4], Operations: ['51-47=4']
Exploring Operation: 16*4=64, Resulting Numbers: [78, 64]
Generated Node #3: [78, 64] from Operation: 16*4=64
Current State: 14:[78, 64], Operations: ['51-47=4', '16*4=64']
Exploring Operation: 78-64=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[78, 51, 47, 16], Operations: []
Exploring Operation: 78-16=62, Resulting Numbers: [51, 47, 62]
Generated Node #0,0: 14:[51, 47, 62] Operation: 78-16=62
Exploring Operation: 78-47=31, Resulting Numbers: [51, 16, 31]
Generated Node #0,1: 14:[51, 16, 31] Operation: 78-47=31
Exploring Operation: 51-47=4, Resulting Numbers: [78, 16, 4]
Generated Node #0,2: 14:[78, 16, 4] Operation: 51-47=4
Exploring Operation: 78-51=27, Resulting Numbers: [47, 16, 27]
Generated Node #0,3: 14:[47, 16, 27] Operation: 78-51=27
Start Sub Search at level 1: Moving to Node #0,3
Current State: 14:[47, 16, 27], Operations: ['78-51=27']
Exploring Operation: 47-27=20, Resulting Numbers: [16, 20]
Generated Node #0,3,0: 14:[16, 20] Operation: 47-27=20
Exploring Operation: 27-16=11, Resulting Numbers: [47, 11]
Generated Node #0,3,1: 14:[47, 11] Operation: 27-16=11
Exploring Operation: 47-16=31, Resulting Numbers: [27, 31]
Generated Node #0,3,2: 14:[27, 31] Operation: 47-16=31
Exploring Operation: 47+16=63, Resulting Numbers: [27, 63]
Generated Node #0,3,3: 14:[27, 63] Operation: 47+16=63
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 14:[16, 20], Operations: ['78-51=27', '47-27=20']
Exploring Operation: 20-16=4, Resulting Numbers: [4]
4,14 unequal: No Solution
Exploring Operation: 16*20=320, Resulting Numbers: [320]
320,14 unequal: No Solution
Exploring Operation: 16+20=36, Resulting Numbers: [36]
36,14 unequal: No Solution
No 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: 14:[27, 31], Operations: ['78-51=27', '47-16=31']
Exploring Operation: 31-27=4, Resulting Numbers: [4]
4,14 unequal: No Solution
Exploring Operation: 27+31=58, Resulting Numbers: [58]
58,14 unequal: No Solution
Exploring Operation: 27*31=837, Resulting Numbers: [837]
837,14 unequal: No Solution
No 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: 14:[47, 11], Operations: ['78-51=27', '27-16=11']
Exploring Operation: 47+11=58, Resulting Numbers: [58]
58,14 unequal: No Solution
Exploring Operation: 47-11=36, Resulting Numbers: [36]
36,14 unequal: No Solution
Exploring Operation: 47*11=517, Resulting Numbers: [517]
517,14 unequal: No Solution
No 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: 14:[27, 63], Operations: ['78-51=27', '47+16=63']
Exploring Operation: 27*63=1701, Resulting Numbers: [1701]
1701,14 unequal: No Solution
Exploring Operation: 27+63=90, Resulting Numbers: [90]
90,14 unequal: No Solution
Exploring Operation: 63-27=36, Resulting Numbers: [36]
36,14 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: 14:[51, 16, 31], Operations: ['78-47=31']
Exploring Operation: 51-16=35, Resulting Numbers: [31, 35]
Generated Node #0,1,0: 14:[31, 35] Operation: 51-16=35
Exploring Operation: 51+16=67, Resulting Numbers: [31, 67]
Generated Node #0,1,1: 14:[31, 67] Operation: 51+16=67
Exploring Operation: 31-16=15, Resulting Numbers: [51, 15]
Generated Node #0,1,2: 14:[51, 15] Operation: 31-16=15
Exploring Operation: 51-31=20, Resulting Numbers: [16, 20]
Generated Node #0,1,3: 14:[16, 20] Operation: 51-31=20
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 14:[16, 20], Operations: ['78-47=31', '51-31=20']
Exploring Operation: 16*20=320, Resulting Numbers: [320]
320,14 unequal: No Solution
Exploring Operation: 16+20=36, Resulting Numbers: [36]
36,14 unequal: No Solution
Exploring Operation: 20-16=4, Resulting Numbers: [4]
4,14 unequal: No Solution
No 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: 14:[31, 35], Operations: ['78-47=31', '51-16=35']
Exploring Operation: 35-31=4, Resulting Numbers: [4]
4,14 unequal: No Solution
Exploring Operation: 31+35=66, Resulting Numbers: [66]
66,14 unequal: No Solution
Exploring Operation: 31*35=1085, Resulting Numbers: [1085]
1085,14 unequal: No Solution
No 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: 14:[51, 15], Operations: ['78-47=31', '31-16=15']
Exploring Operation: 51+15=66, Resulting Numbers: [66]
66,14 unequal: No Solution
Exploring Operation: 51*15=765, Resulting Numbers: [765]
765,14 unequal: No Solution
Exploring Operation: 51-15=36, Resulting Numbers: [36]
36,14 unequal: No Solution
No 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: 14:[31, 67], Operations: ['78-47=31', '51+16=67']
Exploring Operation: 67-31=36, Resulting Numbers: [36]
36,14 unequal: No Solution
Exploring Operation: 31*67=2077, Resulting Numbers: [2077]
2077,14 unequal: No Solution
Exploring Operation: 31+67=98, Resulting Numbers: [98]
98,14 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: 14:[78, 16, 4], Operations: ['51-47=4']
Exploring Operation: 16-4=12, Resulting Numbers: [78, 12]
Generated Node #0,2,0: 14:[78, 12] Operation: 16-4=12
Exploring Operation: 78-4=74, Resulting Numbers: [16, 74]
Generated Node #0,2,1: 14:[16, 74] Operation: 78-4=74
Exploring Operation: 16/4=4, Resulting Numbers: [78, 4]
Generated Node #0,2,2: 14:[78, 4] Operation: 16/4=4
Exploring Operation: 78-16=62, Resulting Numbers: [4, 62]
Generated Node #0,2,3: 14:[4, 62] Operation: 78-16=62
Moving to Node #0,2,3
Current State: 14:[4, 62], Operations: ['51-47=4', '78-16=62']
Exploring Operation: 4+62=66, Resulting Numbers: [66]
66,14 unequal: No Solution
Exploring Operation: 4*62=248, Resulting Numbers: [248]
248,14 unequal: No Solution
Exploring Operation: 62-4=58, Resulting Numbers: [58]
58,14 unequal: No Solution
Moving to Node #0,2,1
Current State: 14:[16, 74], Operations: ['51-47=4', '78-4=74']
Exploring Operation: 16*74=1184, Resulting Numbers: [1184]
1184,14 unequal: No Solution
Exploring Operation: 74-16=58, Resulting Numbers: [58]
58,14 unequal: No Solution
Exploring Operation: 16+74=90, Resulting Numbers: [90]
90,14 unequal: No Solution
Moving to Node #0,2,2
Current State: 14:[78, 4], Operations: ['51-47=4', '16/4=4']
Exploring Operation: 78+4=82, Resulting Numbers: [82]
82,14 unequal: No Solution
Exploring Operation: 78*4=312, Resulting Numbers: [312]
312,14 unequal: No Solution
Exploring Operation: 78-4=74, Resulting Numbers: [74]
74,14 unequal: No Solution
Moving to Node #0,2,0
Current State: 14:[78, 12], Operations: ['51-47=4', '16-4=12']
Exploring Operation: 78-12=66, Resulting Numbers: [66]
66,14 unequal: No Solution
Exploring Operation: 78+12=90, Resulting Numbers: [90]
90,14 unequal: No Solution
Exploring Operation: 78*12=936, Resulting Numbers: [936]
936,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[51, 47, 62], Operations: ['78-16=62']
Exploring Operation: 51+47=98, Resulting Numbers: [62, 98]
Generated Node #0,0,0: 14:[62, 98] Operation: 51+47=98
Exploring Operation: 51-47=4, Resulting Numbers: [62, 4]
Generated Node #0,0,1: 14:[62, 4] Operation: 51-47=4
Exploring Operation: 62-47=15, Resulting Numbers: [51, 15]
Generated Node #0,0,2: 14:[51, 15] Operation: 62-47=15
Exploring Operation: 62-51=11, Resulting Numbers: [47, 11]
Generated Node #0,0,3: 14:[47, 11] Operation: 62-51=11
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 14:[47, 11], Operations: ['78-16=62', '62-51=11']
Exploring Operation: 47+11=58, Resulting Numbers: [58]
58,14 unequal: No Solution
Exploring Operation: 47*11=517, Resulting Numbers: [517]
517,14 unequal: No Solution
Exploring Operation: 47-11=36, Resulting Numbers: [36]
36,14 unequal: No Solution
No 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: 14:[51, 15], Operations: ['78-16=62', '62-47=15']
Exploring Operation: 51*15=765, Resulting Numbers: [765]
765,14 unequal: No Solution
Exploring Operation: 51-15=36, Resulting Numbers: [36]
36,14 unequal: No Solution
Exploring Operation: 51+15=66, Resulting Numbers: [66]
66,14 unequal: No Solution
No 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: 14:[62, 4], Operations: ['78-16=62', '51-47=4']
Exploring Operation: 62-4=58, Resulting Numbers: [58]
58,14 unequal: No Solution
Exploring Operation: 62+4=66, Resulting Numbers: [66]
66,14 unequal: No Solution
Exploring Operation: 62*4=248, Resulting Numbers: [248]
248,14 unequal: No Solution
No 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: 14:[62, 98], Operations: ['78-16=62', '51+47=98']
Exploring Operation: 62+98=160, Resulting Numbers: [160]
160,14 unequal: No Solution
Exploring Operation: 98-62=36, Resulting Numbers: [36]
36,14 unequal: No Solution
Exploring Operation: 62*98=6076, Resulting Numbers: [6076]
6076,14 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 |
[
67,
48,
76,
96
] | 95 | [
"67+48=115",
"96-76=20",
"115-20=95"
] | Current State: 95:[67, 48, 76, 96], Operations: []
Exploring Operation: 67+48=115, Resulting Numbers: [76, 96, 115]
Generated Node #2: [76, 96, 115] from Operation: 67+48=115
Current State: 95:[76, 96, 115], Operations: ['67+48=115']
Exploring Operation: 96-76=20, Resulting Numbers: [115, 20]
Generated Node #3: [115, 20] from Operation: 96-76=20
Current State: 95:[115, 20], Operations: ['67+48=115', '96-76=20']
Exploring Operation: 115-20=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[67, 48, 76, 96], Operations: []
Exploring Operation: 67-48=19, Resulting Numbers: [76, 96, 19]
Generated Node #0,0: 95:[76, 96, 19] Operation: 67-48=19
Exploring Operation: 76-67=9, Resulting Numbers: [48, 96, 9]
Generated Node #0,1: 95:[48, 96, 9] Operation: 76-67=9
Exploring Operation: 76-48=28, Resulting Numbers: [67, 96, 28]
Generated Node #0,2: 95:[67, 96, 28] Operation: 76-48=28
Exploring Operation: 67+48=115, Resulting Numbers: [76, 96, 115]
Generated Node #0,3: 95:[76, 96, 115] Operation: 67+48=115
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[76, 96, 19], Operations: ['67-48=19']
Exploring Operation: 76+19=95, Resulting Numbers: [96, 95]
Generated Node #0,0,0: 95:[96, 95] Operation: 76+19=95
Exploring Operation: 96-76=20, Resulting Numbers: [19, 20]
Generated Node #0,0,1: 95:[19, 20] Operation: 96-76=20
Exploring Operation: 76/19=4, Resulting Numbers: [96, 4]
Generated Node #0,0,2: 95:[96, 4] Operation: 76/19=4
Exploring Operation: 96-19=77, Resulting Numbers: [76, 77]
Generated Node #0,0,3: 95:[76, 77] Operation: 96-19=77
Moving to Node #0,0,0
Current State: 95:[96, 95], Operations: ['67-48=19', '76+19=95']
Exploring Operation: 96+95=191, Resulting Numbers: [191]
191,95 unequal: No Solution
Exploring Operation: 96-95=1, Resulting Numbers: [1]
1,95 unequal: No Solution
Exploring Operation: 96*95=9120, Resulting Numbers: [9120]
9120,95 unequal: No Solution
Moving to Node #0,0,1
Current State: 95:[19, 20], Operations: ['67-48=19', '96-76=20']
Exploring Operation: 19+20=39, Resulting Numbers: [39]
39,95 unequal: No Solution
Exploring Operation: 20-19=1, Resulting Numbers: [1]
1,95 unequal: No Solution
Exploring Operation: 19*20=380, Resulting Numbers: [380]
380,95 unequal: No Solution
Moving to Node #0,0,2
Current State: 95:[96, 4], Operations: ['67-48=19', '76/19=4']
Exploring Operation: 96/4=24, Resulting Numbers: [24]
24,95 unequal: No Solution
Exploring Operation: 96+4=100, Resulting Numbers: [100]
100,95 unequal: No Solution
Exploring Operation: 96*4=384, Resulting Numbers: [384]
384,95 unequal: No Solution
Exploring Operation: 96-4=92, Resulting Numbers: [92]
92,95 unequal: No Solution
Moving to Node #0,0,3
Current State: 95:[76, 77], Operations: ['67-48=19', '96-19=77']
Exploring Operation: 76*77=5852, Resulting Numbers: [5852]
5852,95 unequal: No Solution
Exploring Operation: 76+77=153, Resulting Numbers: [153]
153,95 unequal: No Solution
Exploring Operation: 77-76=1, Resulting Numbers: [1]
1,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[48, 96, 9], Operations: ['76-67=9']
Exploring Operation: 48-9=39, Resulting Numbers: [96, 39]
Generated Node #0,1,0: 95:[96, 39] Operation: 48-9=39
Exploring Operation: 96-9=87, Resulting Numbers: [48, 87]
Generated Node #0,1,1: 95:[48, 87] Operation: 96-9=87
Exploring Operation: 96-48=48, Resulting Numbers: [9, 48]
Generated Node #0,1,2: 95:[9, 48] Operation: 96-48=48
Exploring Operation: 96/48=2, Resulting Numbers: [9, 2]
Generated Node #0,1,3: 95:[9, 2] Operation: 96/48=2
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 95:[9, 2], Operations: ['76-67=9', '96/48=2']
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,95 unequal: No Solution
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,95 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 95:[96, 39], Operations: ['76-67=9', '48-9=39']
Exploring Operation: 96*39=3744, Resulting Numbers: [3744]
3744,95 unequal: No Solution
Exploring Operation: 96-39=57, Resulting Numbers: [57]
57,95 unequal: No Solution
Exploring Operation: 96+39=135, Resulting Numbers: [135]
135,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 95:[9, 48], Operations: ['76-67=9', '96-48=48']
Exploring Operation: 9*48=432, Resulting Numbers: [432]
432,95 unequal: No Solution
Exploring Operation: 48-9=39, Resulting Numbers: [39]
39,95 unequal: No Solution
Exploring Operation: 9+48=57, Resulting Numbers: [57]
57,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 95:[48, 87], Operations: ['76-67=9', '96-9=87']
Exploring Operation: 48+87=135, Resulting Numbers: [135]
135,95 unequal: No Solution
Exploring Operation: 87-48=39, Resulting Numbers: [39]
39,95 unequal: No Solution
Exploring Operation: 48*87=4176, Resulting Numbers: [4176]
4176,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 95:[67, 96, 28], Operations: ['76-48=28']
Exploring Operation: 67-28=39, Resulting Numbers: [96, 39]
Generated Node #0,2,0: 95:[96, 39] Operation: 67-28=39
Exploring Operation: 96-67=29, Resulting Numbers: [28, 29]
Generated Node #0,2,1: 95:[28, 29] Operation: 96-67=29
Exploring Operation: 96-28=68, Resulting Numbers: [67, 68]
Generated Node #0,2,2: 95:[67, 68] Operation: 96-28=68
Exploring Operation: 67+28=95, Resulting Numbers: [96, 95]
Generated Node #0,2,3: 95:[96, 95] Operation: 67+28=95
Moving to Node #0,2,3
Current State: 95:[96, 95], Operations: ['76-48=28', '67+28=95']
Exploring Operation: 96-95=1, Resulting Numbers: [1]
1,95 unequal: No Solution
Exploring Operation: 96+95=191, Resulting Numbers: [191]
191,95 unequal: No Solution
Exploring Operation: 96*95=9120, Resulting Numbers: [9120]
9120,95 unequal: No Solution
Moving to Node #0,2,1
Current State: 95:[28, 29], Operations: ['76-48=28', '96-67=29']
Exploring Operation: 28+29=57, Resulting Numbers: [57]
57,95 unequal: No Solution
Exploring Operation: 29-28=1, Resulting Numbers: [1]
1,95 unequal: No Solution
Exploring Operation: 28*29=812, Resulting Numbers: [812]
812,95 unequal: No Solution
Moving to Node #0,2,0
Current State: 95:[96, 39], Operations: ['76-48=28', '67-28=39']
Exploring Operation: 96+39=135, Resulting Numbers: [135]
135,95 unequal: No Solution
Exploring Operation: 96*39=3744, Resulting Numbers: [3744]
3744,95 unequal: No Solution
Exploring Operation: 96-39=57, Resulting Numbers: [57]
57,95 unequal: No Solution
Moving to Node #0,2,2
Current State: 95:[67, 68], Operations: ['76-48=28', '96-28=68']
Exploring Operation: 68-67=1, Resulting Numbers: [1]
1,95 unequal: No Solution
Exploring Operation: 67*68=4556, Resulting Numbers: [4556]
4556,95 unequal: No Solution
Exploring Operation: 67+68=135, Resulting Numbers: [135]
135,95 unequal: No Solution
No 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: 95:[76, 96, 115], Operations: ['67+48=115']
Exploring Operation: 76+96=172, Resulting Numbers: [115, 172]
Generated Node #0,3,0: 95:[115, 172] Operation: 76+96=172
Exploring Operation: 96-76=20, Resulting Numbers: [115, 20]
Generated Node #0,3,1: 95:[115, 20] Operation: 96-76=20
Exploring Operation: 115-76=39, Resulting Numbers: [96, 39]
Generated Node #0,3,2: 95:[96, 39] Operation: 115-76=39
Exploring Operation: 115-96=19, Resulting Numbers: [76, 19]
Generated Node #0,3,3: 95:[76, 19] Operation: 115-96=19
Moving to Node #0,3,3
Current State: 95:[76, 19], Operations: ['67+48=115', '115-96=19']
Exploring Operation: 76-19=57, Resulting Numbers: [57]
57,95 unequal: No Solution
Exploring Operation: 76+19=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[67, 48, 76, 96], Operations: []
Exploring Operation: 67+48=115, Resulting Numbers: [76, 96, 115]
Generated Node #0,3: 95:[76, 96, 115] Operation: 67+48=115
Moving to Node #0,3
Current State: 95:[76, 96, 115], Operations: ['67+48=115']
Exploring Operation: 115-96=19, Resulting Numbers: [76, 19]
Generated Node #0,3,3: 95:[76, 19] Operation: 115-96=19
Moving to Node #0,3,3
Current State: 95:[76, 19], Operations: ['67+48=115', '115-96=19']
Exploring Operation: 76+19=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.945313 | hs_4 | mult_heuristic |
[
73,
99,
88,
2
] | 82 | [
"73+99=172",
"88+2=90",
"172-90=82"
] | Current State: 82:[73, 99, 88, 2], Operations: []
Exploring Operation: 73+99=172, Resulting Numbers: [88, 2, 172]
Generated Node #2: [88, 2, 172] from Operation: 73+99=172
Current State: 82:[88, 2, 172], Operations: ['73+99=172']
Exploring Operation: 88+2=90, Resulting Numbers: [172, 90]
Generated Node #3: [172, 90] from Operation: 88+2=90
Current State: 82:[172, 90], Operations: ['73+99=172', '88+2=90']
Exploring Operation: 172-90=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[73, 99, 88, 2], Operations: []
Exploring Operation: 99-73=26, Resulting Numbers: [88, 2, 26]
Generated Node #0,0: 82:[88, 2, 26] Operation: 99-73=26
Exploring Operation: 88/2=44, Resulting Numbers: [73, 99, 44]
Generated Node #0,1: 82:[73, 99, 44] Operation: 88/2=44
Exploring Operation: 73+2=75, Resulting Numbers: [99, 88, 75]
Generated Node #0,2: 82:[99, 88, 75] Operation: 73+2=75
Exploring Operation: 88-73=15, Resulting Numbers: [99, 2, 15]
Generated Node #0,3: 82:[99, 2, 15] Operation: 88-73=15
Exploring Operation: 99-88=11, Resulting Numbers: [73, 2, 11]
Generated Node #0,4: 82:[73, 2, 11] Operation: 99-88=11
Moving to Node #0,4
Current State: 82:[73, 2, 11], Operations: ['99-88=11']
Exploring Operation: 73+11=84, Resulting Numbers: [2, 84]
Generated Node #0,4,0: 82:[2, 84] Operation: 73+11=84
Exploring Operation: 11-2=9, Resulting Numbers: [73, 9]
Generated Node #0,4,1: 82:[73, 9] Operation: 11-2=9
Exploring Operation: 73+2=75, Resulting Numbers: [11, 75]
Generated Node #0,4,2: 82:[11, 75] Operation: 73+2=75
Exploring Operation: 73-11=62, Resulting Numbers: [2, 62]
Generated Node #0,4,3: 82:[2, 62] Operation: 73-11=62
Exploring Operation: 73-2=71, Resulting Numbers: [11, 71]
Generated Node #0,4,4: 82:[11, 71] Operation: 73-2=71
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 82:[2, 84], Operations: ['99-88=11', '73+11=84']
Exploring Operation: 2*84=168, Resulting Numbers: [168]
168,82 unequal: No Solution
Exploring Operation: 2+84=86, Resulting Numbers: [86]
86,82 unequal: No Solution
Exploring Operation: 84-2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[73, 99, 88, 2], Operations: []
Exploring Operation: 99-88=11, Resulting Numbers: [73, 2, 11]
Generated Node #0,4: 82:[73, 2, 11] Operation: 99-88=11
Moving to Node #0,4
Current State: 82:[73, 2, 11], Operations: ['99-88=11']
Exploring Operation: 73+11=84, Resulting Numbers: [2, 84]
Generated Node #0,4,0: 82:[2, 84] Operation: 73+11=84
Moving to Node #0,4,0
Current State: 82:[2, 84], Operations: ['99-88=11', '73+11=84']
Exploring Operation: 84-2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
15,
27,
9,
4
] | 33 | [
"15+9=24",
"24/4=6",
"27+6=33"
] | Current State: 33:[15, 27, 9, 4], Operations: []
Exploring Operation: 15+9=24, Resulting Numbers: [27, 4, 24]
Generated Node #2: [27, 4, 24] from Operation: 15+9=24
Current State: 33:[27, 4, 24], Operations: ['15+9=24']
Exploring Operation: 24/4=6, Resulting Numbers: [27, 6]
Generated Node #3: [27, 6] from Operation: 24/4=6
Current State: 33:[27, 6], Operations: ['15+9=24', '24/4=6']
Exploring Operation: 27+6=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[15, 27, 9, 4], Operations: []
Exploring Operation: 27-15=12, Resulting Numbers: [9, 4, 12]
Generated Node #0,0: 33:[9, 4, 12] Operation: 27-15=12
Exploring Operation: 27/9=3, Resulting Numbers: [15, 4, 3]
Generated Node #0,1: 33:[15, 4, 3] Operation: 27/9=3
Moving to Node #0,0
Current State: 33:[9, 4, 12], Operations: ['27-15=12']
Exploring Operation: 12-9=3, Resulting Numbers: [4, 3]
Generated Node #0,0,0: 33:[4, 3] Operation: 12-9=3
Exploring Operation: 12/4=3, Resulting Numbers: [9, 3]
Generated Node #0,0,1: 33:[9, 3] Operation: 12/4=3
Moving to Node #0,1
Current State: 33:[15, 4, 3], Operations: ['27/9=3']
Exploring Operation: 15-3=12, Resulting Numbers: [4, 12]
Generated Node #0,1,0: 33:[4, 12] Operation: 15-3=12
Exploring Operation: 15-4=11, Resulting Numbers: [3, 11]
Generated Node #0,1,1: 33:[3, 11] Operation: 15-4=11
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 33:[3, 11], Operations: ['27/9=3', '15-4=11']
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,33 unequal: No Solution
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[15, 27, 9, 4], Operations: []
Exploring Operation: 27/9=3, Resulting Numbers: [15, 4, 3]
Generated Node #0,1: 33:[15, 4, 3] Operation: 27/9=3
Moving to Node #0,1
Current State: 33:[15, 4, 3], Operations: ['27/9=3']
Exploring Operation: 15-4=11, Resulting Numbers: [3, 11]
Generated Node #0,1,1: 33:[3, 11] Operation: 15-4=11
Moving to Node #0,1,1
Current State: 33:[3, 11], Operations: ['27/9=3', '15-4=11']
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
79,
54,
22,
58
] | 97 | [
"79+54=133",
"58-22=36",
"133-36=97"
] | Current State: 97:[79, 54, 22, 58], Operations: []
Exploring Operation: 79+54=133, Resulting Numbers: [22, 58, 133]
Generated Node #2: [22, 58, 133] from Operation: 79+54=133
Current State: 97:[22, 58, 133], Operations: ['79+54=133']
Exploring Operation: 58-22=36, Resulting Numbers: [133, 36]
Generated Node #3: [133, 36] from Operation: 58-22=36
Current State: 97:[133, 36], Operations: ['79+54=133', '58-22=36']
Exploring Operation: 133-36=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[79, 54, 22, 58], Operations: []
Exploring Operation: 54+22=76, Resulting Numbers: [79, 58, 76]
Generated Node #0,0: 97:[79, 58, 76] Operation: 54+22=76
Moving to Node #0,0
Current State: 97:[79, 58, 76], Operations: ['54+22=76']
Exploring Operation: 58+76=134, Resulting Numbers: [79, 134]
Generated Node #0,0,0: 97:[79, 134] Operation: 58+76=134
Moving to Node #0,0,0
Current State: 97:[79, 134], Operations: ['54+22=76', '58+76=134']
Exploring Operation: 134-79=55, Resulting Numbers: [55]
55,97 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
77,
17,
49,
53
] | 42 | [
"77-17=60",
"49+53=102",
"102-60=42"
] | Current State: 42:[77, 17, 49, 53], Operations: []
Exploring Operation: 77-17=60, Resulting Numbers: [49, 53, 60]
Generated Node #2: [49, 53, 60] from Operation: 77-17=60
Current State: 42:[49, 53, 60], Operations: ['77-17=60']
Exploring Operation: 49+53=102, Resulting Numbers: [60, 102]
Generated Node #3: [60, 102] from Operation: 49+53=102
Current State: 42:[60, 102], Operations: ['77-17=60', '49+53=102']
Exploring Operation: 102-60=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[77, 17, 49, 53], Operations: []
Exploring Operation: 77-53=24, Resulting Numbers: [17, 49, 24]
Generated Node #0,0: 42:[17, 49, 24] Operation: 77-53=24
Moving to Node #0,0
Current State: 42:[17, 49, 24], Operations: ['77-53=24']
Exploring Operation: 24-17=7, Resulting Numbers: [49, 7]
Generated Node #0,0,0: 42:[49, 7] Operation: 24-17=7
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 42:[49, 7], Operations: ['77-53=24', '24-17=7']
Exploring Operation: 49-7=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[77, 17, 49, 53], Operations: []
Exploring Operation: 77-53=24, Resulting Numbers: [17, 49, 24]
Generated Node #0,0: 42:[17, 49, 24] Operation: 77-53=24
Moving to Node #0,0
Current State: 42:[17, 49, 24], Operations: ['77-53=24']
Exploring Operation: 24-17=7, Resulting Numbers: [49, 7]
Generated Node #0,0,0: 42:[49, 7] Operation: 24-17=7
Moving to Node #0,0,0
Current State: 42:[49, 7], Operations: ['77-53=24', '24-17=7']
Exploring Operation: 49-7=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
81,
62,
27,
77
] | 69 | [
"81-62=19",
"77-27=50",
"19+50=69"
] | Current State: 69:[81, 62, 27, 77], Operations: []
Exploring Operation: 81-62=19, Resulting Numbers: [27, 77, 19]
Generated Node #2: [27, 77, 19] from Operation: 81-62=19
Current State: 69:[27, 77, 19], Operations: ['81-62=19']
Exploring Operation: 77-27=50, Resulting Numbers: [19, 50]
Generated Node #3: [19, 50] from Operation: 77-27=50
Current State: 69:[19, 50], Operations: ['81-62=19', '77-27=50']
Exploring Operation: 19+50=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[81, 62, 27, 77], Operations: []
Exploring Operation: 81/27=3, Resulting Numbers: [62, 77, 3]
Generated Node #0,0: 69:[62, 77, 3] Operation: 81/27=3
Exploring Operation: 81-27=54, Resulting Numbers: [62, 77, 54]
Generated Node #0,1: 69:[62, 77, 54] Operation: 81-27=54
Exploring Operation: 81-77=4, Resulting Numbers: [62, 27, 4]
Generated Node #0,2: 69:[62, 27, 4] Operation: 81-77=4
Exploring Operation: 77-62=15, Resulting Numbers: [81, 27, 15]
Generated Node #0,3: 69:[81, 27, 15] Operation: 77-62=15
Exploring Operation: 81-62=19, Resulting Numbers: [27, 77, 19]
Generated Node #0,4: 69:[27, 77, 19] Operation: 81-62=19
Start Sub Search at level 1: Moving to Node #0,2
Current State: 69:[62, 27, 4], Operations: ['81-77=4']
Exploring Operation: 27-4=23, Resulting Numbers: [62, 23]
Generated Node #0,2,0: 69:[62, 23] Operation: 27-4=23
Exploring Operation: 62-4=58, Resulting Numbers: [27, 58]
Generated Node #0,2,1: 69:[27, 58] Operation: 62-4=58
Exploring Operation: 62+4=66, Resulting Numbers: [27, 66]
Generated Node #0,2,2: 69:[27, 66] Operation: 62+4=66
Exploring Operation: 27+4=31, Resulting Numbers: [62, 31]
Generated Node #0,2,3: 69:[62, 31] Operation: 27+4=31
Exploring Operation: 62-27=35, Resulting Numbers: [4, 35]
Generated Node #0,2,4: 69:[4, 35] Operation: 62-27=35
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 69:[62, 23], Operations: ['81-77=4', '27-4=23']
Exploring Operation: 62+23=85, Resulting Numbers: [85]
85,69 unequal: No Solution
Exploring Operation: 62-23=39, Resulting Numbers: [39]
39,69 unequal: No Solution
Exploring Operation: 62*23=1426, Resulting Numbers: [1426]
1426,69 unequal: No Solution
No 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: 69:[27, 66], Operations: ['81-77=4', '62+4=66']
Exploring Operation: 27*66=1782, Resulting Numbers: [1782]
1782,69 unequal: No Solution
Exploring Operation: 27+66=93, Resulting Numbers: [93]
93,69 unequal: No Solution
Exploring Operation: 66-27=39, Resulting Numbers: [39]
39,69 unequal: No Solution
No 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: 69:[4, 35], Operations: ['81-77=4', '62-27=35']
Exploring Operation: 4*35=140, Resulting Numbers: [140]
140,69 unequal: No Solution
Exploring Operation: 4+35=39, Resulting Numbers: [39]
39,69 unequal: No Solution
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,69 unequal: No Solution
No 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: 69:[27, 58], Operations: ['81-77=4', '62-4=58']
Exploring Operation: 27+58=85, Resulting Numbers: [85]
85,69 unequal: No Solution
Exploring Operation: 27*58=1566, Resulting Numbers: [1566]
1566,69 unequal: No Solution
Exploring Operation: 58-27=31, Resulting Numbers: [31]
31,69 unequal: No Solution
No 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: 69:[62, 31], Operations: ['81-77=4', '27+4=31']
Exploring Operation: 62/31=2, Resulting Numbers: [2]
2,69 unequal: No Solution
Exploring Operation: 62*31=1922, Resulting Numbers: [1922]
1922,69 unequal: No Solution
Exploring Operation: 62+31=93, Resulting Numbers: [93]
93,69 unequal: No Solution
Exploring Operation: 62-31=31, Resulting Numbers: [31]
31,69 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: 69:[62, 77, 3], Operations: ['81/27=3']
Exploring Operation: 77-3=74, Resulting Numbers: [62, 74]
Generated Node #0,0,0: 69:[62, 74] Operation: 77-3=74
Exploring Operation: 77+3=80, Resulting Numbers: [62, 80]
Generated Node #0,0,1: 69:[62, 80] Operation: 77+3=80
Exploring Operation: 62+3=65, Resulting Numbers: [77, 65]
Generated Node #0,0,2: 69:[77, 65] Operation: 62+3=65
Exploring Operation: 62-3=59, Resulting Numbers: [77, 59]
Generated Node #0,0,3: 69:[77, 59] Operation: 62-3=59
Exploring Operation: 77-62=15, Resulting Numbers: [3, 15]
Generated Node #0,0,4: 69:[3, 15] Operation: 77-62=15
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 69:[3, 15], Operations: ['81/27=3', '77-62=15']
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,69 unequal: No Solution
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,69 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,69 unequal: No Solution
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,69 unequal: No Solution
No 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: 69:[62, 74], Operations: ['81/27=3', '77-3=74']
Exploring Operation: 62+74=136, Resulting Numbers: [136]
136,69 unequal: No Solution
Exploring Operation: 74-62=12, Resulting Numbers: [12]
12,69 unequal: No Solution
Exploring Operation: 62*74=4588, Resulting Numbers: [4588]
4588,69 unequal: No Solution
No 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: 69:[77, 65], Operations: ['81/27=3', '62+3=65']
Exploring Operation: 77*65=5005, Resulting Numbers: [5005]
5005,69 unequal: No Solution
Exploring Operation: 77-65=12, Resulting Numbers: [12]
12,69 unequal: No Solution
Exploring Operation: 77+65=142, Resulting Numbers: [142]
142,69 unequal: No Solution
No 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: 69:[62, 80], Operations: ['81/27=3', '77+3=80']
Exploring Operation: 62*80=4960, Resulting Numbers: [4960]
4960,69 unequal: No Solution
Exploring Operation: 62+80=142, Resulting Numbers: [142]
142,69 unequal: No Solution
Exploring Operation: 80-62=18, Resulting Numbers: [18]
18,69 unequal: No Solution
No 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: 69:[77, 59], Operations: ['81/27=3', '62-3=59']
Exploring Operation: 77*59=4543, Resulting Numbers: [4543]
4543,69 unequal: No Solution
Exploring Operation: 77+59=136, Resulting Numbers: [136]
136,69 unequal: No Solution
Exploring Operation: 77-59=18, Resulting Numbers: [18]
18,69 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: 69:[27, 77, 19], Operations: ['81-62=19']
Exploring Operation: 77-19=58, Resulting Numbers: [27, 58]
Generated Node #0,4,0: 69:[27, 58] Operation: 77-19=58
Exploring Operation: 77-27=50, Resulting Numbers: [19, 50]
Generated Node #0,4,1: 69:[19, 50] Operation: 77-27=50
Exploring Operation: 27-19=8, Resulting Numbers: [77, 8]
Generated Node #0,4,2: 69:[77, 8] Operation: 27-19=8
Exploring Operation: 27+19=46, Resulting Numbers: [77, 46]
Generated Node #0,4,3: 69:[77, 46] Operation: 27+19=46
Exploring Operation: 77+19=96, Resulting Numbers: [27, 96]
Generated Node #0,4,4: 69:[27, 96] Operation: 77+19=96
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 69:[77, 8], Operations: ['81-62=19', '27-19=8']
Exploring Operation: 77-8=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[81, 62, 27, 77], Operations: []
Exploring Operation: 81-62=19, Resulting Numbers: [27, 77, 19]
Generated Node #0,4: 69:[27, 77, 19] Operation: 81-62=19
Moving to Node #0,4
Current State: 69:[27, 77, 19], Operations: ['81-62=19']
Exploring Operation: 27-19=8, Resulting Numbers: [77, 8]
Generated Node #0,4,2: 69:[77, 8] Operation: 27-19=8
Moving to Node #0,4,2
Current State: 69:[77, 8], Operations: ['81-62=19', '27-19=8']
Exploring Operation: 77-8=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.950521 | hs_5 | mult_heuristic |
[
56,
46,
25,
10
] | 24 | [
"56-46=10",
"10/10=1",
"25-1=24"
] | Current State: 24:[56, 46, 25, 10], Operations: []
Exploring Operation: 56-46=10, Resulting Numbers: [25, 10, 10]
Generated Node #2: [25, 10, 10] from Operation: 56-46=10
Current State: 24:[25, 10, 10], Operations: ['56-46=10']
Exploring Operation: 10/10=1, Resulting Numbers: [25, 1]
Generated Node #3: [25, 1] from Operation: 10/10=1
Current State: 24:[25, 1], Operations: ['56-46=10', '10/10=1']
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[56, 46, 25, 10], Operations: []
Exploring Operation: 56-46=10, Resulting Numbers: [25, 10, 10]
Generated Node #0,0: 24:[25, 10, 10] Operation: 56-46=10
Exploring Operation: 56-25=31, Resulting Numbers: [46, 10, 31]
Generated Node #0,1: 24:[46, 10, 31] Operation: 56-25=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[25, 10, 10], Operations: ['56-46=10']
Exploring Operation: 10/10=1, Resulting Numbers: [25, 1]
Generated Node #0,0,0: 24:[25, 1] Operation: 10/10=1
Exploring Operation: 10-10=0, Resulting Numbers: [25, 0]
Generated Node #0,0,1: 24:[25, 0] Operation: 10-10=0
Moving to Node #0,0,0
Current State: 24:[25, 1], Operations: ['56-46=10', '10/10=1']
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,24 unequal: No Solution
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[56, 46, 25, 10], Operations: []
Exploring Operation: 56-46=10, Resulting Numbers: [25, 10, 10]
Generated Node #0,0: 24:[25, 10, 10] Operation: 56-46=10
Moving to Node #0,0
Current State: 24:[25, 10, 10], Operations: ['56-46=10']
Exploring Operation: 10/10=1, Resulting Numbers: [25, 1]
Generated Node #0,0,0: 24:[25, 1] Operation: 10/10=1
Moving to Node #0,0,0
Current State: 24:[25, 1], Operations: ['56-46=10', '10/10=1']
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
18,
28,
72,
20
] | 70 | [
"28-18=10",
"20/10=2",
"72-2=70"
] | Current State: 70:[18, 28, 72, 20], Operations: []
Exploring Operation: 28-18=10, Resulting Numbers: [72, 20, 10]
Generated Node #2: [72, 20, 10] from Operation: 28-18=10
Current State: 70:[72, 20, 10], Operations: ['28-18=10']
Exploring Operation: 20/10=2, Resulting Numbers: [72, 2]
Generated Node #3: [72, 2] from Operation: 20/10=2
Current State: 70:[72, 2], Operations: ['28-18=10', '20/10=2']
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[18, 28, 72, 20], Operations: []
Exploring Operation: 28-20=8, Resulting Numbers: [18, 72, 8]
Generated Node #0,0: 70:[18, 72, 8] Operation: 28-20=8
Exploring Operation: 20-18=2, Resulting Numbers: [28, 72, 2]
Generated Node #0,1: 70:[28, 72, 2] Operation: 20-18=2
Exploring Operation: 28-18=10, Resulting Numbers: [72, 20, 10]
Generated Node #0,2: 70:[72, 20, 10] Operation: 28-18=10
Exploring Operation: 72/18=4, Resulting Numbers: [28, 20, 4]
Generated Node #0,3: 70:[28, 20, 4] Operation: 72/18=4
Exploring Operation: 18+20=38, Resulting Numbers: [28, 72, 38]
Generated Node #0,4: 70:[28, 72, 38] Operation: 18+20=38
Moving to Node #0,0
Current State: 70:[18, 72, 8], Operations: ['28-20=8']
Exploring Operation: 18-8=10, Resulting Numbers: [72, 10]
Generated Node #0,0,0: 70:[72, 10] Operation: 18-8=10
Exploring Operation: 72/18=4, Resulting Numbers: [8, 4]
Generated Node #0,0,1: 70:[8, 4] Operation: 72/18=4
Exploring Operation: 72/8=9, Resulting Numbers: [18, 9]
Generated Node #0,0,2: 70:[18, 9] Operation: 72/8=9
Exploring Operation: 72-8=64, Resulting Numbers: [18, 64]
Generated Node #0,0,3: 70:[18, 64] Operation: 72-8=64
Exploring Operation: 18+8=26, Resulting Numbers: [72, 26]
Generated Node #0,0,4: 70:[72, 26] Operation: 18+8=26
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 70:[72, 10], Operations: ['28-20=8', '18-8=10']
Exploring Operation: 72+10=82, Resulting Numbers: [82]
82,70 unequal: No Solution
Exploring Operation: 72-10=62, Resulting Numbers: [62]
62,70 unequal: No Solution
Exploring Operation: 72*10=720, Resulting Numbers: [720]
720,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 70:[8, 4], Operations: ['28-20=8', '72/18=4']
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Exploring Operation: 8+4=12, Resulting Numbers: [12]
12,70 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,70 unequal: No Solution
Exploring Operation: 8*4=32, Resulting Numbers: [32]
32,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 70:[18, 9], Operations: ['28-20=8', '72/8=9']
Exploring Operation: 18+9=27, Resulting Numbers: [27]
27,70 unequal: No Solution
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,70 unequal: No Solution
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Exploring Operation: 18*9=162, Resulting Numbers: [162]
162,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 70:[18, 64], Operations: ['28-20=8', '72-8=64']
Exploring Operation: 18*64=1152, Resulting Numbers: [1152]
1152,70 unequal: No Solution
Exploring Operation: 64-18=46, Resulting Numbers: [46]
46,70 unequal: No Solution
Exploring Operation: 18+64=82, Resulting Numbers: [82]
82,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 70:[72, 26], Operations: ['28-20=8', '18+8=26']
Exploring Operation: 72+26=98, Resulting Numbers: [98]
98,70 unequal: No Solution
Exploring Operation: 72*26=1872, Resulting Numbers: [1872]
1872,70 unequal: No Solution
Exploring Operation: 72-26=46, Resulting Numbers: [46]
46,70 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: 70:[72, 20, 10], Operations: ['28-18=10']
Exploring Operation: 20/10=2, Resulting Numbers: [72, 2]
Generated Node #0,2,0: 70:[72, 2] Operation: 20/10=2
Exploring Operation: 20-10=10, Resulting Numbers: [72, 10]
Generated Node #0,2,1: 70:[72, 10] Operation: 20-10=10
Exploring Operation: 72-10=62, Resulting Numbers: [20, 62]
Generated Node #0,2,2: 70:[20, 62] Operation: 72-10=62
Exploring Operation: 20+10=30, Resulting Numbers: [72, 30]
Generated Node #0,2,3: 70:[72, 30] Operation: 20+10=30
Exploring Operation: 72-20=52, Resulting Numbers: [10, 52]
Generated Node #0,2,4: 70:[10, 52] Operation: 72-20=52
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 70:[72, 2], Operations: ['28-18=10', '20/10=2']
Exploring Operation: 72*2=144, Resulting Numbers: [144]
144,70 unequal: No Solution
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[18, 28, 72, 20], Operations: []
Exploring Operation: 28-18=10, Resulting Numbers: [72, 20, 10]
Generated Node #0,2: 70:[72, 20, 10] Operation: 28-18=10
Moving to Node #0,2
Current State: 70:[72, 20, 10], Operations: ['28-18=10']
Exploring Operation: 20/10=2, Resulting Numbers: [72, 2]
Generated Node #0,2,0: 70:[72, 2] Operation: 20/10=2
Moving to Node #0,2,0
Current State: 70:[72, 2], Operations: ['28-18=10', '20/10=2']
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_5 | sum_heuristic |
[
38,
21,
22,
31
] | 68 | [
"38+21=59",
"31-22=9",
"59+9=68"
] | Current State: 68:[38, 21, 22, 31], Operations: []
Exploring Operation: 38+21=59, Resulting Numbers: [22, 31, 59]
Generated Node #2: [22, 31, 59] from Operation: 38+21=59
Current State: 68:[22, 31, 59], Operations: ['38+21=59']
Exploring Operation: 31-22=9, Resulting Numbers: [59, 9]
Generated Node #3: [59, 9] from Operation: 31-22=9
Current State: 68:[59, 9], Operations: ['38+21=59', '31-22=9']
Exploring Operation: 59+9=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[38, 21, 22, 31], Operations: []
Exploring Operation: 22-21=1, Resulting Numbers: [38, 31, 1]
Generated Node #0,0: 68:[38, 31, 1] Operation: 22-21=1
Exploring Operation: 38-21=17, Resulting Numbers: [22, 31, 17]
Generated Node #0,1: 68:[22, 31, 17] Operation: 38-21=17
Exploring Operation: 38-22=16, Resulting Numbers: [21, 31, 16]
Generated Node #0,2: 68:[21, 31, 16] Operation: 38-22=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[38, 31, 1], Operations: ['22-21=1']
Exploring Operation: 38-31=7, Resulting Numbers: [1, 7]
Generated Node #0,0,0: 68:[1, 7] Operation: 38-31=7
Exploring Operation: 38+31=69, Resulting Numbers: [1, 69]
Generated Node #0,0,1: 68:[1, 69] Operation: 38+31=69
Exploring Operation: 38-1=37, Resulting Numbers: [31, 37]
Generated Node #0,0,2: 68:[31, 37] Operation: 38-1=37
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 68:[1, 69], Operations: ['22-21=1', '38+31=69']
Exploring Operation: 69/1=69, Resulting Numbers: [69]
69,68 unequal: No Solution
Exploring Operation: 69-1=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[38, 21, 22, 31], Operations: []
Exploring Operation: 22-21=1, Resulting Numbers: [38, 31, 1]
Generated Node #0,0: 68:[38, 31, 1] Operation: 22-21=1
Moving to Node #0,0
Current State: 68:[38, 31, 1], Operations: ['22-21=1']
Exploring Operation: 38+31=69, Resulting Numbers: [1, 69]
Generated Node #0,0,1: 68:[1, 69] Operation: 38+31=69
Moving to Node #0,0,1
Current State: 68:[1, 69], Operations: ['22-21=1', '38+31=69']
Exploring Operation: 69-1=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
93,
34,
87,
8
] | 68 | [
"93-87=6",
"8-6=2",
"34*2=68"
] | Current State: 68:[93, 34, 87, 8], Operations: []
Exploring Operation: 93-87=6, Resulting Numbers: [34, 8, 6]
Generated Node #2: [34, 8, 6] from Operation: 93-87=6
Current State: 68:[34, 8, 6], Operations: ['93-87=6']
Exploring Operation: 8-6=2, Resulting Numbers: [34, 2]
Generated Node #3: [34, 2] from Operation: 8-6=2
Current State: 68:[34, 2], Operations: ['93-87=6', '8-6=2']
Exploring Operation: 34*2=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[93, 34, 87, 8], Operations: []
Exploring Operation: 93-8=85, Resulting Numbers: [34, 87, 85]
Generated Node #0,0: 68:[34, 87, 85] Operation: 93-8=85
Exploring Operation: 93-34=59, Resulting Numbers: [87, 8, 59]
Generated Node #0,1: 68:[87, 8, 59] Operation: 93-34=59
Exploring Operation: 93-87=6, Resulting Numbers: [34, 8, 6]
Generated Node #0,2: 68:[34, 8, 6] Operation: 93-87=6
Exploring Operation: 87-8=79, Resulting Numbers: [93, 34, 79]
Generated Node #0,3: 68:[93, 34, 79] Operation: 87-8=79
Moving to Node #0,2
Current State: 68:[34, 8, 6], Operations: ['93-87=6']
Exploring Operation: 8-6=2, Resulting Numbers: [34, 2]
Generated Node #0,2,0: 68:[34, 2] Operation: 8-6=2
Exploring Operation: 34+8=42, Resulting Numbers: [6, 42]
Generated Node #0,2,1: 68:[6, 42] Operation: 34+8=42
Exploring Operation: 8+6=14, Resulting Numbers: [34, 14]
Generated Node #0,2,2: 68:[34, 14] Operation: 8+6=14
Exploring Operation: 34-8=26, Resulting Numbers: [6, 26]
Generated Node #0,2,3: 68:[6, 26] Operation: 34-8=26
Moving to Node #0,1
Current State: 68:[87, 8, 59], Operations: ['93-34=59']
Exploring Operation: 87+8=95, Resulting Numbers: [59, 95]
Generated Node #0,1,0: 68:[59, 95] Operation: 87+8=95
Exploring Operation: 87-8=79, Resulting Numbers: [59, 79]
Generated Node #0,1,1: 68:[59, 79] Operation: 87-8=79
Exploring Operation: 87-59=28, Resulting Numbers: [8, 28]
Generated Node #0,1,2: 68:[8, 28] Operation: 87-59=28
Exploring Operation: 8+59=67, Resulting Numbers: [87, 67]
Generated Node #0,1,3: 68:[87, 67] Operation: 8+59=67
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 68:[8, 28], Operations: ['93-34=59', '87-59=28']
Exploring Operation: 8+28=36, Resulting Numbers: [36]
36,68 unequal: No Solution
Exploring Operation: 8*28=224, Resulting Numbers: [224]
224,68 unequal: No Solution
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,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:[59, 79], Operations: ['93-34=59', '87-8=79']
Exploring Operation: 59+79=138, Resulting Numbers: [138]
138,68 unequal: No Solution
Exploring Operation: 79-59=20, Resulting Numbers: [20]
20,68 unequal: No Solution
Exploring Operation: 59*79=4661, Resulting Numbers: [4661]
4661,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:[87, 67], Operations: ['93-34=59', '8+59=67']
Exploring Operation: 87-67=20, Resulting Numbers: [20]
20,68 unequal: No Solution
Exploring Operation: 87*67=5829, Resulting Numbers: [5829]
5829,68 unequal: No Solution
Exploring Operation: 87+67=154, Resulting Numbers: [154]
154,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:[59, 95], Operations: ['93-34=59', '87+8=95']
Exploring Operation: 59+95=154, Resulting Numbers: [154]
154,68 unequal: No Solution
Exploring Operation: 59*95=5605, Resulting Numbers: [5605]
5605,68 unequal: No Solution
Exploring Operation: 95-59=36, Resulting Numbers: [36]
36,68 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: 68:[93, 34, 79], Operations: ['87-8=79']
Exploring Operation: 93+34=127, Resulting Numbers: [79, 127]
Generated Node #0,3,0: 68:[79, 127] Operation: 93+34=127
Exploring Operation: 93-34=59, Resulting Numbers: [79, 59]
Generated Node #0,3,1: 68:[79, 59] Operation: 93-34=59
Exploring Operation: 93-79=14, Resulting Numbers: [34, 14]
Generated Node #0,3,2: 68:[34, 14] Operation: 93-79=14
Exploring Operation: 79-34=45, Resulting Numbers: [93, 45]
Generated Node #0,3,3: 68:[93, 45] Operation: 79-34=45
Moving to Node #0,0
Current State: 68:[34, 87, 85], Operations: ['93-8=85']
Exploring Operation: 87-85=2, Resulting Numbers: [34, 2]
Generated Node #0,0,0: 68:[34, 2] Operation: 87-85=2
Exploring Operation: 34+87=121, Resulting Numbers: [85, 121]
Generated Node #0,0,1: 68:[85, 121] Operation: 34+87=121
Exploring Operation: 85-34=51, Resulting Numbers: [87, 51]
Generated Node #0,0,2: 68:[87, 51] Operation: 85-34=51
Exploring Operation: 87-34=53, Resulting Numbers: [85, 53]
Generated Node #0,0,3: 68:[85, 53] Operation: 87-34=53
Moving to Node #0,2,0
Current State: 68:[34, 2], Operations: ['93-87=6', '8-6=2']
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,68 unequal: No Solution
Exploring Operation: 34*2=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[93, 34, 87, 8], Operations: []
Exploring Operation: 93-87=6, Resulting Numbers: [34, 8, 6]
Generated Node #0,2: 68:[34, 8, 6] Operation: 93-87=6
Moving to Node #0,2
Current State: 68:[34, 8, 6], Operations: ['93-87=6']
Exploring Operation: 8-6=2, Resulting Numbers: [34, 2]
Generated Node #0,2,0: 68:[34, 2] Operation: 8-6=2
Moving to Node #0,2,0
Current State: 68:[34, 2], Operations: ['93-87=6', '8-6=2']
Exploring Operation: 34*2=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 0.967014 | hs_4 | sum_heuristic |
[
1,
70,
96,
35
] | 94 | [
"1*70=70",
"70/35=2",
"96-2=94"
] | Current State: 94:[1, 70, 96, 35], Operations: []
Exploring Operation: 1*70=70, Resulting Numbers: [96, 35, 70]
Generated Node #2: [96, 35, 70] from Operation: 1*70=70
Current State: 94:[96, 35, 70], Operations: ['1*70=70']
Exploring Operation: 70/35=2, Resulting Numbers: [96, 2]
Generated Node #3: [96, 2] from Operation: 70/35=2
Current State: 94:[96, 2], Operations: ['1*70=70', '70/35=2']
Exploring Operation: 96-2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[1, 70, 96, 35], Operations: []
Exploring Operation: 70+35=105, Resulting Numbers: [1, 96, 105]
Generated Node #0,0: 94:[1, 96, 105] Operation: 70+35=105
Exploring Operation: 70/35=2, Resulting Numbers: [1, 96, 2]
Generated Node #0,1: 94:[1, 96, 2] Operation: 70/35=2
Moving to Node #0,1
Current State: 94:[1, 96, 2], Operations: ['70/35=2']
Exploring Operation: 96-1=95, Resulting Numbers: [2, 95]
Generated Node #0,1,0: 94:[2, 95] Operation: 96-1=95
Exploring Operation: 96-2=94, Resulting Numbers: [1, 94]
Generated Node #0,1,1: 94:[1, 94] Operation: 96-2=94
Moving to Node #0,0
Current State: 94:[1, 96, 105], Operations: ['70+35=105']
Exploring Operation: 96-1=95, Resulting Numbers: [105, 95]
Generated Node #0,0,0: 94:[105, 95] Operation: 96-1=95
Exploring Operation: 105-96=9, Resulting Numbers: [1, 9]
Generated Node #0,0,1: 94:[1, 9] Operation: 105-96=9
Moving to Node #0,1,0
Current State: 94:[2, 95], Operations: ['70/35=2', '96-1=95']
Exploring Operation: 2+95=97, Resulting Numbers: [97]
97,94 unequal: No Solution
Exploring Operation: 95-2=93, Resulting Numbers: [93]
93,94 unequal: No Solution
Moving to Node #0,1,1
Current State: 94:[1, 94], Operations: ['70/35=2', '96-2=94']
Exploring Operation: 1*94=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[1, 70, 96, 35], Operations: []
Exploring Operation: 70/35=2, Resulting Numbers: [1, 96, 2]
Generated Node #0,1: 94:[1, 96, 2] Operation: 70/35=2
Moving to Node #0,1
Current State: 94:[1, 96, 2], Operations: ['70/35=2']
Exploring Operation: 96-2=94, Resulting Numbers: [1, 94]
Generated Node #0,1,1: 94:[1, 94] Operation: 96-2=94
Moving to Node #0,1,1
Current State: 94:[1, 94], Operations: ['70/35=2', '96-2=94']
Exploring Operation: 1*94=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 0.988715 | hs_2 | mult_heuristic |
[
10,
51,
31,
88
] | 90 | [
"51-31=20",
"20/10=2",
"88+2=90"
] | Current State: 90:[10, 51, 31, 88], Operations: []
Exploring Operation: 51-31=20, Resulting Numbers: [10, 88, 20]
Generated Node #2: [10, 88, 20] from Operation: 51-31=20
Current State: 90:[10, 88, 20], Operations: ['51-31=20']
Exploring Operation: 20/10=2, Resulting Numbers: [88, 2]
Generated Node #3: [88, 2] from Operation: 20/10=2
Current State: 90:[88, 2], Operations: ['51-31=20', '20/10=2']
Exploring Operation: 88+2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[10, 51, 31, 88], Operations: []
Exploring Operation: 51-10=41, Resulting Numbers: [31, 88, 41]
Generated Node #0,0: 90:[31, 88, 41] Operation: 51-10=41
Exploring Operation: 51-31=20, Resulting Numbers: [10, 88, 20]
Generated Node #0,1: 90:[10, 88, 20] Operation: 51-31=20
Exploring Operation: 51+31=82, Resulting Numbers: [10, 88, 82]
Generated Node #0,2: 90:[10, 88, 82] Operation: 51+31=82
Exploring Operation: 88-51=37, Resulting Numbers: [10, 31, 37]
Generated Node #0,3: 90:[10, 31, 37] Operation: 88-51=37
Moving to Node #0,1
Current State: 90:[10, 88, 20], Operations: ['51-31=20']
Exploring Operation: 20-10=10, Resulting Numbers: [88, 10]
Generated Node #0,1,0: 90:[88, 10] Operation: 20-10=10
Exploring Operation: 20/10=2, Resulting Numbers: [88, 2]
Generated Node #0,1,1: 90:[88, 2] Operation: 20/10=2
Exploring Operation: 10+88=98, Resulting Numbers: [20, 98]
Generated Node #0,1,2: 90:[20, 98] Operation: 10+88=98
Exploring Operation: 10+20=30, Resulting Numbers: [88, 30]
Generated Node #0,1,3: 90:[88, 30] Operation: 10+20=30
Moving to Node #0,0
Current State: 90:[31, 88, 41], Operations: ['51-10=41']
Exploring Operation: 88-41=47, Resulting Numbers: [31, 47]
Generated Node #0,0,0: 90:[31, 47] Operation: 88-41=47
Exploring Operation: 88-31=57, Resulting Numbers: [41, 57]
Generated Node #0,0,1: 90:[41, 57] Operation: 88-31=57
Exploring Operation: 31+41=72, Resulting Numbers: [88, 72]
Generated Node #0,0,2: 90:[88, 72] Operation: 31+41=72
Exploring Operation: 41-31=10, Resulting Numbers: [88, 10]
Generated Node #0,0,3: 90:[88, 10] Operation: 41-31=10
Moving to Node #0,3
Current State: 90:[10, 31, 37], Operations: ['88-51=37']
Exploring Operation: 37-31=6, Resulting Numbers: [10, 6]
Generated Node #0,3,0: 90:[10, 6] Operation: 37-31=6
Exploring Operation: 31-10=21, Resulting Numbers: [37, 21]
Generated Node #0,3,1: 90:[37, 21] Operation: 31-10=21
Exploring Operation: 37-10=27, Resulting Numbers: [31, 27]
Generated Node #0,3,2: 90:[31, 27] Operation: 37-10=27
Exploring Operation: 10+37=47, Resulting Numbers: [31, 47]
Generated Node #0,3,3: 90:[31, 47] Operation: 10+37=47
Moving to Node #0,2
Current State: 90:[10, 88, 82], Operations: ['51+31=82']
Exploring Operation: 10+88=98, Resulting Numbers: [82, 98]
Generated Node #0,2,0: 90:[82, 98] Operation: 10+88=98
Exploring Operation: 10+82=92, Resulting Numbers: [88, 92]
Generated Node #0,2,1: 90:[88, 92] Operation: 10+82=92
Exploring Operation: 88-82=6, Resulting Numbers: [10, 6]
Generated Node #0,2,2: 90:[10, 6] Operation: 88-82=6
Exploring Operation: 88-10=78, Resulting Numbers: [82, 78]
Generated Node #0,2,3: 90:[82, 78] Operation: 88-10=78
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 90:[10, 6], Operations: ['51+31=82', '88-82=6']
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,90 unequal: No Solution
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,90 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 90:[88, 92], Operations: ['51+31=82', '10+82=92']
Exploring Operation: 92-88=4, Resulting Numbers: [4]
4,90 unequal: No Solution
Exploring Operation: 88+92=180, Resulting Numbers: [180]
180,90 unequal: No Solution
Exploring Operation: 88*92=8096, Resulting Numbers: [8096]
8096,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 90:[82, 98], Operations: ['51+31=82', '10+88=98']
Exploring Operation: 82*98=8036, Resulting Numbers: [8036]
8036,90 unequal: No Solution
Exploring Operation: 98-82=16, Resulting Numbers: [16]
16,90 unequal: No Solution
Exploring Operation: 82+98=180, Resulting Numbers: [180]
180,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 90:[82, 78], Operations: ['51+31=82', '88-10=78']
Exploring Operation: 82*78=6396, Resulting Numbers: [6396]
6396,90 unequal: No Solution
Exploring Operation: 82+78=160, Resulting Numbers: [160]
160,90 unequal: No Solution
Exploring Operation: 82-78=4, Resulting Numbers: [4]
4,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,0
Current State: 90:[10, 6], Operations: ['88-51=37', '37-31=6']
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,90 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,90 unequal: No Solution
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,90 unequal: No Solution
Moving to Node #0,1,3
Current State: 90:[88, 30], Operations: ['51-31=20', '10+20=30']
Exploring Operation: 88+30=118, Resulting Numbers: [118]
118,90 unequal: No Solution
Exploring Operation: 88*30=2640, Resulting Numbers: [2640]
2640,90 unequal: No Solution
Exploring Operation: 88-30=58, Resulting Numbers: [58]
58,90 unequal: No Solution
Moving to Node #0,1,0
Current State: 90:[88, 10], Operations: ['51-31=20', '20-10=10']
Exploring Operation: 88*10=880, Resulting Numbers: [880]
880,90 unequal: No Solution
Exploring Operation: 88-10=78, Resulting Numbers: [78]
78,90 unequal: No Solution
Exploring Operation: 88+10=98, Resulting Numbers: [98]
98,90 unequal: No Solution
Moving to Node #0,0,3
Current State: 90:[88, 10], Operations: ['51-10=41', '41-31=10']
Exploring Operation: 88+10=98, Resulting Numbers: [98]
98,90 unequal: No Solution
Exploring Operation: 88*10=880, Resulting Numbers: [880]
880,90 unequal: No Solution
Exploring Operation: 88-10=78, Resulting Numbers: [78]
78,90 unequal: No Solution
Moving to Node #0,1,1
Current State: 90:[88, 2], Operations: ['51-31=20', '20/10=2']
Exploring Operation: 88/2=44, Resulting Numbers: [44]
44,90 unequal: No Solution
Exploring Operation: 88+2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[10, 51, 31, 88], Operations: []
Exploring Operation: 51-31=20, Resulting Numbers: [10, 88, 20]
Generated Node #0,1: 90:[10, 88, 20] Operation: 51-31=20
Moving to Node #0,1
Current State: 90:[10, 88, 20], Operations: ['51-31=20']
Exploring Operation: 20/10=2, Resulting Numbers: [88, 2]
Generated Node #0,1,1: 90:[88, 2] Operation: 20/10=2
Moving to Node #0,1,1
Current State: 90:[88, 2], Operations: ['51-31=20', '20/10=2']
Exploring Operation: 88+2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 0.956597 | hs_4 | sum_heuristic |
[
5,
84,
69,
10
] | 30 | [
"5+84=89",
"69-10=59",
"89-59=30"
] | Current State: 30:[5, 84, 69, 10], Operations: []
Exploring Operation: 5+84=89, Resulting Numbers: [69, 10, 89]
Generated Node #2: [69, 10, 89] from Operation: 5+84=89
Current State: 30:[69, 10, 89], Operations: ['5+84=89']
Exploring Operation: 69-10=59, Resulting Numbers: [89, 59]
Generated Node #3: [89, 59] from Operation: 69-10=59
Current State: 30:[89, 59], Operations: ['5+84=89', '69-10=59']
Exploring Operation: 89-59=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[5, 84, 69, 10], Operations: []
Exploring Operation: 84-10=74, Resulting Numbers: [5, 69, 74]
Generated Node #0,0: 30:[5, 69, 74] Operation: 84-10=74
Exploring Operation: 84-69=15, Resulting Numbers: [5, 10, 15]
Generated Node #0,1: 30:[5, 10, 15] Operation: 84-69=15
Moving to Node #0,1
Current State: 30:[5, 10, 15], Operations: ['84-69=15']
Exploring Operation: 10-5=5, Resulting Numbers: [15, 5]
Generated Node #0,1,0: 30:[15, 5] Operation: 10-5=5
Exploring Operation: 5+10=15, Resulting Numbers: [15, 15]
Generated Node #0,1,1: 30:[15, 15] Operation: 5+10=15
Moving to Node #0,0
Current State: 30:[5, 69, 74], Operations: ['84-10=74']
Exploring Operation: 69-5=64, Resulting Numbers: [74, 64]
Generated Node #0,0,0: 30:[74, 64] Operation: 69-5=64
Exploring Operation: 74-69=5, Resulting Numbers: [5, 5]
Generated Node #0,0,1: 30:[5, 5] Operation: 74-69=5
Moving to Node #0,1,0
Current State: 30:[15, 5], Operations: ['84-69=15', '10-5=5']
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,30 unequal: No Solution
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,30 unequal: No Solution
Moving to Node #0,0,1
Current State: 30:[5, 5], Operations: ['84-10=74', '74-69=5']
Exploring Operation: 5+5=10, Resulting Numbers: [10]
10,30 unequal: No Solution
Exploring Operation: 5/5=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Moving to Node #0,1,1
Current State: 30:[15, 15], Operations: ['84-69=15', '5+10=15']
Exploring Operation: 15/15=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 15+15=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[5, 84, 69, 10], Operations: []
Exploring Operation: 84-69=15, Resulting Numbers: [5, 10, 15]
Generated Node #0,1: 30:[5, 10, 15] Operation: 84-69=15
Moving to Node #0,1
Current State: 30:[5, 10, 15], Operations: ['84-69=15']
Exploring Operation: 5+10=15, Resulting Numbers: [15, 15]
Generated Node #0,1,1: 30:[15, 15] Operation: 5+10=15
Moving to Node #0,1,1
Current State: 30:[15, 15], Operations: ['84-69=15', '5+10=15']
Exploring Operation: 15+15=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 0.986111 | hs_2 | sum_heuristic |
[
79,
79,
33,
77
] | 23 | [
"79-33=46",
"79-77=2",
"46/2=23"
] | Current State: 23:[79, 79, 33, 77], Operations: []
Exploring Operation: 79-33=46, Resulting Numbers: [77, 46]
Generated Node #2: [77, 46] from Operation: 79-33=46
Current State: 23:[77, 46], Operations: ['79-33=46']
Exploring Operation: 79-77=2, Resulting Numbers: [46, 2]
Generated Node #3: [46, 2] from Operation: 79-77=2
Current State: 23:[46, 2], Operations: ['79-33=46', '79-77=2']
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[79, 79, 33, 77], Operations: []
Exploring Operation: 79/79=1, Resulting Numbers: [33, 77, 1]
Generated Node #0,0: 23:[33, 77, 1] Operation: 79/79=1
Exploring Operation: 79-79=0, Resulting Numbers: [33, 77, 0]
Generated Node #0,1: 23:[33, 77, 0] Operation: 79-79=0
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[33, 77, 1], Operations: ['79/79=1']
Exploring Operation: 33-1=32, Resulting Numbers: [77, 32]
Generated Node #0,0,0: 23:[77, 32] Operation: 33-1=32
Exploring Operation: 77-33=44, Resulting Numbers: [1, 44]
Generated Node #0,0,1: 23:[1, 44] Operation: 77-33=44
Moving to Node #0,0,1
Current State: 23:[1, 44], Operations: ['79/79=1', '77-33=44']
Exploring Operation: 44-1=43, Resulting Numbers: [43]
43,23 unequal: No Solution
Exploring Operation: 1*44=44, Resulting Numbers: [44]
44,23 unequal: No Solution
Moving to Node #0,0,0
Current State: 23:[77, 32], Operations: ['79/79=1', '33-1=32']
Exploring Operation: 77-32=45, Resulting Numbers: [45]
45,23 unequal: No Solution
Exploring Operation: 77+32=109, Resulting Numbers: [109]
109,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[33, 77, 0], Operations: ['79-79=0']
Exploring Operation: 77-33=44, Resulting Numbers: [0, 44]
Generated Node #0,1,0: 23:[0, 44] Operation: 77-33=44
Exploring Operation: 77*0=0, Resulting Numbers: [33, 0]
Generated Node #0,1,1: 23:[33, 0] Operation: 77*0=0
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 23:[33, 0], Operations: ['79-79=0', '77*0=0']
Exploring Operation: 33+0=33, Resulting Numbers: [33]
33,23 unequal: No Solution
Exploring Operation: 33-0=33, Resulting Numbers: [33]
33,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 23:[0, 44], Operations: ['79-79=0', '77-33=44']
Exploring Operation: 44-0=44, Resulting Numbers: [44]
44,23 unequal: No Solution
Exploring Operation: 0+44=44, Resulting Numbers: [44]
44,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
57,
16,
37,
11
] | 19 | [
"57*16=912",
"37+11=48",
"912/48=19"
] | Current State: 19:[57, 16, 37, 11], Operations: []
Exploring Operation: 57*16=912, Resulting Numbers: [37, 11, 912]
Generated Node #2: [37, 11, 912] from Operation: 57*16=912
Current State: 19:[37, 11, 912], Operations: ['57*16=912']
Exploring Operation: 37+11=48, Resulting Numbers: [912, 48]
Generated Node #3: [912, 48] from Operation: 37+11=48
Current State: 19:[912, 48], Operations: ['57*16=912', '37+11=48']
Exploring Operation: 912/48=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[57, 16, 37, 11], Operations: []
Exploring Operation: 57-37=20, Resulting Numbers: [16, 11, 20]
Generated Node #0,0: 19:[16, 11, 20] Operation: 57-37=20
Moving to Node #0,0
Current State: 19:[16, 11, 20], Operations: ['57-37=20']
Exploring Operation: 16+11=27, Resulting Numbers: [20, 27]
Generated Node #0,0,0: 19:[20, 27] Operation: 16+11=27
Moving to Node #0,0,0
Current State: 19:[20, 27], Operations: ['57-37=20', '16+11=27']
Exploring Operation: 27-20=7, Resulting Numbers: [7]
7,19 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
54,
71,
43,
17
] | 99 | [
"54+71=125",
"43-17=26",
"125-26=99"
] | Current State: 99:[54, 71, 43, 17], Operations: []
Exploring Operation: 54+71=125, Resulting Numbers: [43, 17, 125]
Generated Node #2: [43, 17, 125] from Operation: 54+71=125
Current State: 99:[43, 17, 125], Operations: ['54+71=125']
Exploring Operation: 43-17=26, Resulting Numbers: [125, 26]
Generated Node #3: [125, 26] from Operation: 43-17=26
Current State: 99:[125, 26], Operations: ['54+71=125', '43-17=26']
Exploring Operation: 125-26=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[54, 71, 43, 17], Operations: []
Exploring Operation: 54+43=97, Resulting Numbers: [71, 17, 97]
Generated Node #0,0: 99:[71, 17, 97] Operation: 54+43=97
Exploring Operation: 54-43=11, Resulting Numbers: [71, 17, 11]
Generated Node #0,1: 99:[71, 17, 11] Operation: 54-43=11
Exploring Operation: 71-54=17, Resulting Numbers: [43, 17, 17]
Generated Node #0,2: 99:[43, 17, 17] Operation: 71-54=17
Exploring Operation: 54+71=125, Resulting Numbers: [43, 17, 125]
Generated Node #0,3: 99:[43, 17, 125] Operation: 54+71=125
Exploring Operation: 71-43=28, Resulting Numbers: [54, 17, 28]
Generated Node #0,4: 99:[54, 17, 28] Operation: 71-43=28
Start Sub Search at level 1: Moving to Node #0,2
Current State: 99:[43, 17, 17], Operations: ['71-54=17']
Exploring Operation: 43-17=26, Resulting Numbers: [17, 26]
Generated Node #0,2,0: 99:[17, 26] Operation: 43-17=26
Exploring Operation: 17-17=0, Resulting Numbers: [43, 0]
Generated Node #0,2,1: 99:[43, 0] Operation: 17-17=0
Exploring Operation: 43-17=26, Resulting Numbers: [17, 26]
Generated Node #0,2,2: 99:[17, 26] Operation: 43-17=26
Exploring Operation: 17/17=1, Resulting Numbers: [43, 1]
Generated Node #0,2,3: 99:[43, 1] Operation: 17/17=1
Exploring Operation: 17+17=34, Resulting Numbers: [43, 34]
Generated Node #0,2,4: 99:[43, 34] Operation: 17+17=34
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 99:[43, 34], Operations: ['71-54=17', '17+17=34']
Exploring Operation: 43*34=1462, Resulting Numbers: [1462]
1462,99 unequal: No Solution
Exploring Operation: 43-34=9, Resulting Numbers: [9]
9,99 unequal: No Solution
Exploring Operation: 43+34=77, Resulting Numbers: [77]
77,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 99:[43, 1], Operations: ['71-54=17', '17/17=1']
Exploring Operation: 43*1=43, Resulting Numbers: [43]
43,99 unequal: No Solution
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,99 unequal: No Solution
Exploring Operation: 43+1=44, Resulting Numbers: [44]
44,99 unequal: No Solution
Exploring Operation: 43/1=43, Resulting Numbers: [43]
43,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 99:[17, 26], Operations: ['71-54=17', '43-17=26']
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,99 unequal: No Solution
Exploring Operation: 17*26=442, Resulting Numbers: [442]
442,99 unequal: No Solution
Exploring Operation: 17+26=43, Resulting Numbers: [43]
43,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 99:[43, 0], Operations: ['71-54=17', '17-17=0']
Exploring Operation: 43+0=43, Resulting Numbers: [43]
43,99 unequal: No Solution
Exploring Operation: 43*0=0, Resulting Numbers: [0]
0,99 unequal: No Solution
Exploring Operation: 43-0=43, Resulting Numbers: [43]
43,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 99:[17, 26], Operations: ['71-54=17', '43-17=26']
Exploring Operation: 17*26=442, Resulting Numbers: [442]
442,99 unequal: No Solution
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,99 unequal: No Solution
Exploring Operation: 17+26=43, Resulting Numbers: [43]
43,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,4
Current State: 99:[54, 17, 28], Operations: ['71-43=28']
Exploring Operation: 54-17=37, Resulting Numbers: [28, 37]
Generated Node #0,4,0: 99:[28, 37] Operation: 54-17=37
Exploring Operation: 54-28=26, Resulting Numbers: [17, 26]
Generated Node #0,4,1: 99:[17, 26] Operation: 54-28=26
Exploring Operation: 54+28=82, Resulting Numbers: [17, 82]
Generated Node #0,4,2: 99:[17, 82] Operation: 54+28=82
Exploring Operation: 28-17=11, Resulting Numbers: [54, 11]
Generated Node #0,4,3: 99:[54, 11] Operation: 28-17=11
Exploring Operation: 54+17=71, Resulting Numbers: [28, 71]
Generated Node #0,4,4: 99:[28, 71] Operation: 54+17=71
Moving to Node #0,4,0
Current State: 99:[28, 37], Operations: ['71-43=28', '54-17=37']
Exploring Operation: 28*37=1036, Resulting Numbers: [1036]
1036,99 unequal: No Solution
Exploring Operation: 37-28=9, Resulting Numbers: [9]
9,99 unequal: No Solution
Exploring Operation: 28+37=65, Resulting Numbers: [65]
65,99 unequal: No Solution
Moving to Node #0,4,1
Current State: 99:[17, 26], Operations: ['71-43=28', '54-28=26']
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,99 unequal: No Solution
Exploring Operation: 17+26=43, Resulting Numbers: [43]
43,99 unequal: No Solution
Exploring Operation: 17*26=442, Resulting Numbers: [442]
442,99 unequal: No Solution
Moving to Node #0,4,3
Current State: 99:[54, 11], Operations: ['71-43=28', '28-17=11']
Exploring Operation: 54-11=43, Resulting Numbers: [43]
43,99 unequal: No Solution
Exploring Operation: 54*11=594, Resulting Numbers: [594]
594,99 unequal: No Solution
Exploring Operation: 54+11=65, Resulting Numbers: [65]
65,99 unequal: No Solution
Moving to Node #0,4,2
Current State: 99:[17, 82], Operations: ['71-43=28', '54+28=82']
Exploring Operation: 82-17=65, Resulting Numbers: [65]
65,99 unequal: No Solution
Exploring Operation: 17+82=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[54, 71, 43, 17], Operations: []
Exploring Operation: 71-43=28, Resulting Numbers: [54, 17, 28]
Generated Node #0,4: 99:[54, 17, 28] Operation: 71-43=28
Moving to Node #0,4
Current State: 99:[54, 17, 28], Operations: ['71-43=28']
Exploring Operation: 54+28=82, Resulting Numbers: [17, 82]
Generated Node #0,4,2: 99:[17, 82] Operation: 54+28=82
Moving to Node #0,4,2
Current State: 99:[17, 82], Operations: ['71-43=28', '54+28=82']
Exploring Operation: 17+82=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.960069 | hs_5 | sum_heuristic |
[
12,
1,
64,
3
] | 60 | [
"12*1=12",
"12/3=4",
"64-4=60"
] | Current State: 60:[12, 1, 64, 3], Operations: []
Exploring Operation: 12*1=12, Resulting Numbers: [64, 3, 12]
Generated Node #2: [64, 3, 12] from Operation: 12*1=12
Current State: 60:[64, 3, 12], Operations: ['12*1=12']
Exploring Operation: 12/3=4, Resulting Numbers: [64, 4]
Generated Node #3: [64, 4] from Operation: 12/3=4
Current State: 60:[64, 4], Operations: ['12*1=12', '12/3=4']
Exploring Operation: 64-4=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[12, 1, 64, 3], Operations: []
Exploring Operation: 12*1=12, Resulting Numbers: [64, 3, 12]
Generated Node #0,0: 60:[64, 3, 12] Operation: 12*1=12
Exploring Operation: 64-3=61, Resulting Numbers: [12, 1, 61]
Generated Node #0,1: 60:[12, 1, 61] Operation: 64-3=61
Exploring Operation: 64-1=63, Resulting Numbers: [12, 3, 63]
Generated Node #0,2: 60:[12, 3, 63] Operation: 64-1=63
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[12, 1, 61], Operations: ['64-3=61']
Exploring Operation: 12/1=12, Resulting Numbers: [61, 12]
Generated Node #0,1,0: 60:[61, 12] Operation: 12/1=12
Exploring Operation: 12*1=12, Resulting Numbers: [61, 12]
Generated Node #0,1,1: 60:[61, 12] Operation: 12*1=12
Exploring Operation: 61-1=60, Resulting Numbers: [12, 60]
Generated Node #0,1,2: 60:[12, 60] Operation: 61-1=60
Moving to Node #0,1,2
Current State: 60:[12, 60], Operations: ['64-3=61', '61-1=60']
Exploring Operation: 12+60=72, Resulting Numbers: [72]
72,60 unequal: No Solution
Exploring Operation: 60-12=48, Resulting Numbers: [48]
48,60 unequal: No Solution
Exploring Operation: 60/12=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Moving to Node #0,1,0
Current State: 60:[61, 12], Operations: ['64-3=61', '12/1=12']
Exploring Operation: 61-12=49, Resulting Numbers: [49]
49,60 unequal: No Solution
Exploring Operation: 61*12=732, Resulting Numbers: [732]
732,60 unequal: No Solution
Exploring Operation: 61+12=73, Resulting Numbers: [73]
73,60 unequal: No Solution
Moving to Node #0,1,1
Current State: 60:[61, 12], Operations: ['64-3=61', '12*1=12']
Exploring Operation: 61+12=73, Resulting Numbers: [73]
73,60 unequal: No Solution
Exploring Operation: 61-12=49, Resulting Numbers: [49]
49,60 unequal: No Solution
Exploring Operation: 61*12=732, Resulting Numbers: [732]
732,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
Current State: 60:[12, 3, 63], Operations: ['64-1=63']
Exploring Operation: 12+3=15, Resulting Numbers: [63, 15]
Generated Node #0,2,0: 60:[63, 15] Operation: 12+3=15
Exploring Operation: 63-3=60, Resulting Numbers: [12, 60]
Generated Node #0,2,1: 60:[12, 60] Operation: 63-3=60
Exploring Operation: 63/3=21, Resulting Numbers: [12, 21]
Generated Node #0,2,2: 60:[12, 21] Operation: 63/3=21
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 60:[12, 60], Operations: ['64-1=63', '63-3=60']
Exploring Operation: 60/12=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 60-12=48, Resulting Numbers: [48]
48,60 unequal: No Solution
Exploring Operation: 12+60=72, Resulting Numbers: [72]
72,60 unequal: No Solution
No 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: 60:[12, 21], Operations: ['64-1=63', '63/3=21']
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,60 unequal: No Solution
Exploring Operation: 12+21=33, Resulting Numbers: [33]
33,60 unequal: No Solution
Exploring Operation: 12*21=252, Resulting Numbers: [252]
252,60 unequal: No Solution
No 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: 60:[63, 15], Operations: ['64-1=63', '12+3=15']
Exploring Operation: 63+15=78, Resulting Numbers: [78]
78,60 unequal: No Solution
Exploring Operation: 63*15=945, Resulting Numbers: [945]
945,60 unequal: No Solution
Exploring Operation: 63-15=48, Resulting Numbers: [48]
48,60 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: 60:[64, 3, 12], Operations: ['12*1=12']
Exploring Operation: 64-3=61, Resulting Numbers: [12, 61]
Generated Node #0,0,0: 60:[12, 61] Operation: 64-3=61
Exploring Operation: 3+12=15, Resulting Numbers: [64, 15]
Generated Node #0,0,1: 60:[64, 15] Operation: 3+12=15
Exploring Operation: 12/3=4, Resulting Numbers: [64, 4]
Generated Node #0,0,2: 60:[64, 4] Operation: 12/3=4
Moving to Node #0,0,0
Current State: 60:[12, 61], Operations: ['12*1=12', '64-3=61']
Exploring Operation: 12*61=732, Resulting Numbers: [732]
732,60 unequal: No Solution
Exploring Operation: 61-12=49, Resulting Numbers: [49]
49,60 unequal: No Solution
Exploring Operation: 12+61=73, Resulting Numbers: [73]
73,60 unequal: No Solution
Moving to Node #0,0,1
Current State: 60:[64, 15], Operations: ['12*1=12', '3+12=15']
Exploring Operation: 64-15=49, Resulting Numbers: [49]
49,60 unequal: No Solution
Exploring Operation: 64*15=960, Resulting Numbers: [960]
960,60 unequal: No Solution
Exploring Operation: 64+15=79, Resulting Numbers: [79]
79,60 unequal: No Solution
Moving to Node #0,0,2
Current State: 60:[64, 4], Operations: ['12*1=12', '12/3=4']
Exploring Operation: 64-4=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[12, 1, 64, 3], Operations: []
Exploring Operation: 12*1=12, Resulting Numbers: [64, 3, 12]
Generated Node #0,0: 60:[64, 3, 12] Operation: 12*1=12
Moving to Node #0,0
Current State: 60:[64, 3, 12], Operations: ['12*1=12']
Exploring Operation: 12/3=4, Resulting Numbers: [64, 4]
Generated Node #0,0,2: 60:[64, 4] Operation: 12/3=4
Moving to Node #0,0,2
Current State: 60:[64, 4], Operations: ['12*1=12', '12/3=4']
Exploring Operation: 64-4=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.96441 | hs_3 | sum_heuristic |
[
44,
54,
64,
58
] | 27 | [
"44+64=108",
"58-54=4",
"108/4=27"
] | Current State: 27:[44, 54, 64, 58], Operations: []
Exploring Operation: 44+64=108, Resulting Numbers: [54, 58, 108]
Generated Node #2: [54, 58, 108] from Operation: 44+64=108
Current State: 27:[54, 58, 108], Operations: ['44+64=108']
Exploring Operation: 58-54=4, Resulting Numbers: [108, 4]
Generated Node #3: [108, 4] from Operation: 58-54=4
Current State: 27:[108, 4], Operations: ['44+64=108', '58-54=4']
Exploring Operation: 108/4=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[44, 54, 64, 58], Operations: []
Exploring Operation: 64-58=6, Resulting Numbers: [44, 54, 6]
Generated Node #0,0: 27:[44, 54, 6] Operation: 64-58=6
Moving to Node #0,0
Current State: 27:[44, 54, 6], Operations: ['64-58=6']
Exploring Operation: 54-44=10, Resulting Numbers: [6, 10]
Generated Node #0,0,0: 27:[6, 10] Operation: 54-44=10
Moving to Node #0,0,0
Current State: 27:[6, 10], Operations: ['64-58=6', '54-44=10']
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,27 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
98,
85,
29,
64
] | 48 | [
"98-85=13",
"64-29=35",
"13+35=48"
] | Current State: 48:[98, 85, 29, 64], Operations: []
Exploring Operation: 98-85=13, Resulting Numbers: [29, 64, 13]
Generated Node #2: [29, 64, 13] from Operation: 98-85=13
Current State: 48:[29, 64, 13], Operations: ['98-85=13']
Exploring Operation: 64-29=35, Resulting Numbers: [13, 35]
Generated Node #3: [13, 35] from Operation: 64-29=35
Current State: 48:[13, 35], Operations: ['98-85=13', '64-29=35']
Exploring Operation: 13+35=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[98, 85, 29, 64], Operations: []
Exploring Operation: 98-29=69, Resulting Numbers: [85, 64, 69]
Generated Node #0,0: 48:[85, 64, 69] Operation: 98-29=69
Exploring Operation: 98-85=13, Resulting Numbers: [29, 64, 13]
Generated Node #0,1: 48:[29, 64, 13] Operation: 98-85=13
Exploring Operation: 98-64=34, Resulting Numbers: [85, 29, 34]
Generated Node #0,2: 48:[85, 29, 34] Operation: 98-64=34
Exploring Operation: 85-64=21, Resulting Numbers: [98, 29, 21]
Generated Node #0,3: 48:[98, 29, 21] Operation: 85-64=21
Start Sub Search at level 1: Moving to Node #0,1
Current State: 48:[29, 64, 13], Operations: ['98-85=13']
Exploring Operation: 29+13=42, Resulting Numbers: [64, 42]
Generated Node #0,1,0: 48:[64, 42] Operation: 29+13=42
Exploring Operation: 29-13=16, Resulting Numbers: [64, 16]
Generated Node #0,1,1: 48:[64, 16] Operation: 29-13=16
Exploring Operation: 64-29=35, Resulting Numbers: [13, 35]
Generated Node #0,1,2: 48:[13, 35] Operation: 64-29=35
Exploring Operation: 64-13=51, Resulting Numbers: [29, 51]
Generated Node #0,1,3: 48:[29, 51] Operation: 64-13=51
Moving to Node #0,1,3
Current State: 48:[29, 51], Operations: ['98-85=13', '64-13=51']
Exploring Operation: 51-29=22, Resulting Numbers: [22]
22,48 unequal: No Solution
Exploring Operation: 29*51=1479, Resulting Numbers: [1479]
1479,48 unequal: No Solution
Exploring Operation: 29+51=80, Resulting Numbers: [80]
80,48 unequal: No Solution
Moving to Node #0,1,2
Current State: 48:[13, 35], Operations: ['98-85=13', '64-29=35']
Exploring Operation: 13+35=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[98, 85, 29, 64], Operations: []
Exploring Operation: 98-85=13, Resulting Numbers: [29, 64, 13]
Generated Node #0,1: 48:[29, 64, 13] Operation: 98-85=13
Moving to Node #0,1
Current State: 48:[29, 64, 13], Operations: ['98-85=13']
Exploring Operation: 64-29=35, Resulting Numbers: [13, 35]
Generated Node #0,1,2: 48:[13, 35] Operation: 64-29=35
Moving to Node #0,1,2
Current State: 48:[13, 35], Operations: ['98-85=13', '64-29=35']
Exploring Operation: 13+35=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
72,
10,
57,
2
] | 83 | [
"72/2=36",
"57-10=47",
"36+47=83"
] | Current State: 83:[72, 10, 57, 2], Operations: []
Exploring Operation: 72/2=36, Resulting Numbers: [10, 57, 36]
Generated Node #2: [10, 57, 36] from Operation: 72/2=36
Current State: 83:[10, 57, 36], Operations: ['72/2=36']
Exploring Operation: 57-10=47, Resulting Numbers: [36, 47]
Generated Node #3: [36, 47] from Operation: 57-10=47
Current State: 83:[36, 47], Operations: ['72/2=36', '57-10=47']
Exploring Operation: 36+47=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[72, 10, 57, 2], Operations: []
Exploring Operation: 10*2=20, Resulting Numbers: [72, 57, 20]
Generated Node #0,0: 83:[72, 57, 20] Operation: 10*2=20
Exploring Operation: 72+10=82, Resulting Numbers: [57, 2, 82]
Generated Node #0,1: 83:[57, 2, 82] Operation: 72+10=82
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[72, 57, 20], Operations: ['10*2=20']
Exploring Operation: 57+20=77, Resulting Numbers: [72, 77]
Generated Node #0,0,0: 83:[72, 77] Operation: 57+20=77
Exploring Operation: 72+20=92, Resulting Numbers: [57, 92]
Generated Node #0,0,1: 83:[57, 92] Operation: 72+20=92
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 83:[72, 77], Operations: ['10*2=20', '57+20=77']
Exploring Operation: 77-72=5, Resulting Numbers: [5]
5,83 unequal: No Solution
Exploring Operation: 72+77=149, Resulting Numbers: [149]
149,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 83:[57, 92], Operations: ['10*2=20', '72+20=92']
Exploring Operation: 92-57=35, Resulting Numbers: [35]
35,83 unequal: No Solution
Exploring Operation: 57+92=149, Resulting Numbers: [149]
149,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[57, 2, 82], Operations: ['72+10=82']
Exploring Operation: 2+82=84, Resulting Numbers: [57, 84]
Generated Node #0,1,0: 83:[57, 84] Operation: 2+82=84
Exploring Operation: 57+2=59, Resulting Numbers: [82, 59]
Generated Node #0,1,1: 83:[82, 59] Operation: 57+2=59
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 83:[82, 59], Operations: ['72+10=82', '57+2=59']
Exploring Operation: 82-59=23, Resulting Numbers: [23]
23,83 unequal: No Solution
Exploring Operation: 82+59=141, Resulting Numbers: [141]
141,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 83:[57, 84], Operations: ['72+10=82', '2+82=84']
Exploring Operation: 57+84=141, Resulting Numbers: [141]
141,83 unequal: No Solution
Exploring Operation: 84-57=27, Resulting Numbers: [27]
27,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
77,
78,
75,
91
] | 65 | [
"77-75=2",
"78*2=156",
"156-91=65"
] | Current State: 65:[77, 78, 75, 91], Operations: []
Exploring Operation: 77-75=2, Resulting Numbers: [78, 91, 2]
Generated Node #2: [78, 91, 2] from Operation: 77-75=2
Current State: 65:[78, 91, 2], Operations: ['77-75=2']
Exploring Operation: 78*2=156, Resulting Numbers: [91, 156]
Generated Node #3: [91, 156] from Operation: 78*2=156
Current State: 65:[91, 156], Operations: ['77-75=2', '78*2=156']
Exploring Operation: 156-91=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[77, 78, 75, 91], Operations: []
Exploring Operation: 91-78=13, Resulting Numbers: [77, 75, 13]
Generated Node #0,0: 65:[77, 75, 13] Operation: 91-78=13
Exploring Operation: 78-75=3, Resulting Numbers: [77, 91, 3]
Generated Node #0,1: 65:[77, 91, 3] Operation: 78-75=3
Exploring Operation: 91-77=14, Resulting Numbers: [78, 75, 14]
Generated Node #0,2: 65:[78, 75, 14] Operation: 91-77=14
Exploring Operation: 91-75=16, Resulting Numbers: [77, 78, 16]
Generated Node #0,3: 65:[77, 78, 16] Operation: 91-75=16
Exploring Operation: 78-77=1, Resulting Numbers: [75, 91, 1]
Generated Node #0,4: 65:[75, 91, 1] Operation: 78-77=1
Moving to Node #0,0
Current State: 65:[77, 75, 13], Operations: ['91-78=13']
Exploring Operation: 75+13=88, Resulting Numbers: [77, 88]
Generated Node #0,0,0: 65:[77, 88] Operation: 75+13=88
Exploring Operation: 77-13=64, Resulting Numbers: [75, 64]
Generated Node #0,0,1: 65:[75, 64] Operation: 77-13=64
Exploring Operation: 77-75=2, Resulting Numbers: [13, 2]
Generated Node #0,0,2: 65:[13, 2] Operation: 77-75=2
Exploring Operation: 77+13=90, Resulting Numbers: [75, 90]
Generated Node #0,0,3: 65:[75, 90] Operation: 77+13=90
Exploring Operation: 75-13=62, Resulting Numbers: [77, 62]
Generated Node #0,0,4: 65:[77, 62] Operation: 75-13=62
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 65:[13, 2], Operations: ['91-78=13', '77-75=2']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,65 unequal: No Solution
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,65 unequal: No Solution
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 65:[75, 64], Operations: ['91-78=13', '77-13=64']
Exploring Operation: 75+64=139, Resulting Numbers: [139]
139,65 unequal: No Solution
Exploring Operation: 75*64=4800, Resulting Numbers: [4800]
4800,65 unequal: No Solution
Exploring Operation: 75-64=11, Resulting Numbers: [11]
11,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 65:[77, 62], Operations: ['91-78=13', '75-13=62']
Exploring Operation: 77*62=4774, Resulting Numbers: [4774]
4774,65 unequal: No Solution
Exploring Operation: 77-62=15, Resulting Numbers: [15]
15,65 unequal: No Solution
Exploring Operation: 77+62=139, Resulting Numbers: [139]
139,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 65:[77, 88], Operations: ['91-78=13', '75+13=88']
Exploring Operation: 77*88=6776, Resulting Numbers: [6776]
6776,65 unequal: No Solution
Exploring Operation: 88-77=11, Resulting Numbers: [11]
11,65 unequal: No Solution
Exploring Operation: 77+88=165, Resulting Numbers: [165]
165,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 65:[75, 90], Operations: ['91-78=13', '77+13=90']
Exploring Operation: 75*90=6750, Resulting Numbers: [6750]
6750,65 unequal: No Solution
Exploring Operation: 75+90=165, Resulting Numbers: [165]
165,65 unequal: No Solution
Exploring Operation: 90-75=15, Resulting Numbers: [15]
15,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 65:[78, 75, 14], Operations: ['91-77=14']
Exploring Operation: 78-75=3, Resulting Numbers: [14, 3]
Generated Node #0,2,0: 65:[14, 3] Operation: 78-75=3
Exploring Operation: 75-14=61, Resulting Numbers: [78, 61]
Generated Node #0,2,1: 65:[78, 61] Operation: 75-14=61
Exploring Operation: 75+14=89, Resulting Numbers: [78, 89]
Generated Node #0,2,2: 65:[78, 89] Operation: 75+14=89
Exploring Operation: 78+14=92, Resulting Numbers: [75, 92]
Generated Node #0,2,3: 65:[75, 92] Operation: 78+14=92
Exploring Operation: 78-14=64, Resulting Numbers: [75, 64]
Generated Node #0,2,4: 65:[75, 64] Operation: 78-14=64
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 65:[14, 3], Operations: ['91-77=14', '78-75=3']
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,65 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,65 unequal: No Solution
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 65:[75, 64], Operations: ['91-77=14', '78-14=64']
Exploring Operation: 75*64=4800, Resulting Numbers: [4800]
4800,65 unequal: No Solution
Exploring Operation: 75-64=11, Resulting Numbers: [11]
11,65 unequal: No Solution
Exploring Operation: 75+64=139, Resulting Numbers: [139]
139,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 65:[78, 61], Operations: ['91-77=14', '75-14=61']
Exploring Operation: 78-61=17, Resulting Numbers: [17]
17,65 unequal: No Solution
Exploring Operation: 78+61=139, Resulting Numbers: [139]
139,65 unequal: No Solution
Exploring Operation: 78*61=4758, Resulting Numbers: [4758]
4758,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 65:[78, 89], Operations: ['91-77=14', '75+14=89']
Exploring Operation: 89-78=11, Resulting Numbers: [11]
11,65 unequal: No Solution
Exploring Operation: 78+89=167, Resulting Numbers: [167]
167,65 unequal: No Solution
Exploring Operation: 78*89=6942, Resulting Numbers: [6942]
6942,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 65:[75, 92], Operations: ['91-77=14', '78+14=92']
Exploring Operation: 92-75=17, Resulting Numbers: [17]
17,65 unequal: No Solution
Exploring Operation: 75*92=6900, Resulting Numbers: [6900]
6900,65 unequal: No Solution
Exploring Operation: 75+92=167, Resulting Numbers: [167]
167,65 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: 65:[77, 78, 16], Operations: ['91-75=16']
Exploring Operation: 78-77=1, Resulting Numbers: [16, 1]
Generated Node #0,3,0: 65:[16, 1] Operation: 78-77=1
Exploring Operation: 77+16=93, Resulting Numbers: [78, 93]
Generated Node #0,3,1: 65:[78, 93] Operation: 77+16=93
Exploring Operation: 77-16=61, Resulting Numbers: [78, 61]
Generated Node #0,3,2: 65:[78, 61] Operation: 77-16=61
Exploring Operation: 78-16=62, Resulting Numbers: [77, 62]
Generated Node #0,3,3: 65:[77, 62] Operation: 78-16=62
Exploring Operation: 78+16=94, Resulting Numbers: [77, 94]
Generated Node #0,3,4: 65:[77, 94] Operation: 78+16=94
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 65:[16, 1], Operations: ['91-75=16', '78-77=1']
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,65 unequal: No Solution
Exploring Operation: 16+1=17, Resulting Numbers: [17]
17,65 unequal: No Solution
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,65 unequal: No Solution
Exploring Operation: 16*1=16, Resulting Numbers: [16]
16,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 65:[77, 62], Operations: ['91-75=16', '78-16=62']
Exploring Operation: 77-62=15, Resulting Numbers: [15]
15,65 unequal: No Solution
Exploring Operation: 77*62=4774, Resulting Numbers: [4774]
4774,65 unequal: No Solution
Exploring Operation: 77+62=139, Resulting Numbers: [139]
139,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 65:[78, 61], Operations: ['91-75=16', '77-16=61']
Exploring Operation: 78+61=139, Resulting Numbers: [139]
139,65 unequal: No Solution
Exploring Operation: 78*61=4758, Resulting Numbers: [4758]
4758,65 unequal: No Solution
Exploring Operation: 78-61=17, Resulting Numbers: [17]
17,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 65:[78, 93], Operations: ['91-75=16', '77+16=93']
Exploring Operation: 93-78=15, Resulting Numbers: [15]
15,65 unequal: No Solution
Exploring Operation: 78+93=171, Resulting Numbers: [171]
171,65 unequal: No Solution
Exploring Operation: 78*93=7254, Resulting Numbers: [7254]
7254,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 65:[77, 94], Operations: ['91-75=16', '78+16=94']
Exploring Operation: 94-77=17, Resulting Numbers: [17]
17,65 unequal: No Solution
Exploring Operation: 77*94=7238, Resulting Numbers: [7238]
7238,65 unequal: No Solution
Exploring Operation: 77+94=171, Resulting Numbers: [171]
171,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 65:[77, 91, 3], Operations: ['78-75=3']
Exploring Operation: 77-3=74, Resulting Numbers: [91, 74]
Generated Node #0,1,0: 65:[91, 74] Operation: 77-3=74
Exploring Operation: 77+3=80, Resulting Numbers: [91, 80]
Generated Node #0,1,1: 65:[91, 80] Operation: 77+3=80
Exploring Operation: 91-3=88, Resulting Numbers: [77, 88]
Generated Node #0,1,2: 65:[77, 88] Operation: 91-3=88
Exploring Operation: 91+3=94, Resulting Numbers: [77, 94]
Generated Node #0,1,3: 65:[77, 94] Operation: 91+3=94
Exploring Operation: 91-77=14, Resulting Numbers: [3, 14]
Generated Node #0,1,4: 65:[3, 14] Operation: 91-77=14
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 65:[3, 14], Operations: ['78-75=3', '91-77=14']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,65 unequal: No Solution
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,65 unequal: No Solution
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 65:[91, 74], Operations: ['78-75=3', '77-3=74']
Exploring Operation: 91*74=6734, Resulting Numbers: [6734]
6734,65 unequal: No Solution
Exploring Operation: 91+74=165, Resulting Numbers: [165]
165,65 unequal: No Solution
Exploring Operation: 91-74=17, Resulting Numbers: [17]
17,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 65:[77, 88], Operations: ['78-75=3', '91-3=88']
Exploring Operation: 88-77=11, Resulting Numbers: [11]
11,65 unequal: No Solution
Exploring Operation: 77+88=165, Resulting Numbers: [165]
165,65 unequal: No Solution
Exploring Operation: 77*88=6776, Resulting Numbers: [6776]
6776,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 65:[91, 80], Operations: ['78-75=3', '77+3=80']
Exploring Operation: 91-80=11, Resulting Numbers: [11]
11,65 unequal: No Solution
Exploring Operation: 91+80=171, Resulting Numbers: [171]
171,65 unequal: No Solution
Exploring Operation: 91*80=7280, Resulting Numbers: [7280]
7280,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 65:[77, 94], Operations: ['78-75=3', '91+3=94']
Exploring Operation: 77+94=171, Resulting Numbers: [171]
171,65 unequal: No Solution
Exploring Operation: 77*94=7238, Resulting Numbers: [7238]
7238,65 unequal: No Solution
Exploring Operation: 94-77=17, Resulting Numbers: [17]
17,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 65:[75, 91, 1], Operations: ['78-77=1']
Exploring Operation: 91-75=16, Resulting Numbers: [1, 16]
Generated Node #0,4,0: 65:[1, 16] Operation: 91-75=16
Exploring Operation: 75/1=75, Resulting Numbers: [91, 75]
Generated Node #0,4,1: 65:[91, 75] Operation: 75/1=75
Exploring Operation: 75-1=74, Resulting Numbers: [91, 74]
Generated Node #0,4,2: 65:[91, 74] Operation: 75-1=74
Exploring Operation: 91-1=90, Resulting Numbers: [75, 90]
Generated Node #0,4,3: 65:[75, 90] Operation: 91-1=90
Exploring Operation: 75*1=75, Resulting Numbers: [91, 75]
Generated Node #0,4,4: 65:[91, 75] Operation: 75*1=75
Moving to Node #0,4,0
Current State: 65:[1, 16], Operations: ['78-77=1', '91-75=16']
Exploring Operation: 1+16=17, Resulting Numbers: [17]
17,65 unequal: No Solution
Exploring Operation: 1*16=16, Resulting Numbers: [16]
16,65 unequal: No Solution
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,65 unequal: No Solution
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,65 unequal: No Solution
Moving to Node #0,4,3
Current State: 65:[75, 90], Operations: ['78-77=1', '91-1=90']
Exploring Operation: 75*90=6750, Resulting Numbers: [6750]
6750,65 unequal: No Solution
Exploring Operation: 75+90=165, Resulting Numbers: [165]
165,65 unequal: No Solution
Exploring Operation: 90-75=15, Resulting Numbers: [15]
15,65 unequal: No Solution
Moving to Node #0,4,2
Current State: 65:[91, 74], Operations: ['78-77=1', '75-1=74']
Exploring Operation: 91+74=165, Resulting Numbers: [165]
165,65 unequal: No Solution
Exploring Operation: 91*74=6734, Resulting Numbers: [6734]
6734,65 unequal: No Solution
Exploring Operation: 91-74=17, Resulting Numbers: [17]
17,65 unequal: No Solution
Moving to Node #0,4,1
Current State: 65:[91, 75], Operations: ['78-77=1', '75/1=75']
Exploring Operation: 91+75=166, Resulting Numbers: [166]
166,65 unequal: No Solution
Exploring Operation: 91*75=6825, Resulting Numbers: [6825]
6825,65 unequal: No Solution
Exploring Operation: 91-75=16, Resulting Numbers: [16]
16,65 unequal: No Solution
Moving to Node #0,4,4
Current State: 65:[91, 75], Operations: ['78-77=1', '75*1=75']
Exploring Operation: 91+75=166, Resulting Numbers: [166]
166,65 unequal: No Solution
Exploring Operation: 91*75=6825, Resulting Numbers: [6825]
6825,65 unequal: No Solution
Exploring Operation: 91-75=16, Resulting Numbers: [16]
16,65 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
25,
39,
7,
30
] | 68 | [
"39-25=14",
"7*14=98",
"98-30=68"
] | Current State: 68:[25, 39, 7, 30], Operations: []
Exploring Operation: 39-25=14, Resulting Numbers: [7, 30, 14]
Generated Node #2: [7, 30, 14] from Operation: 39-25=14
Current State: 68:[7, 30, 14], Operations: ['39-25=14']
Exploring Operation: 7*14=98, Resulting Numbers: [30, 98]
Generated Node #3: [30, 98] from Operation: 7*14=98
Current State: 68:[30, 98], Operations: ['39-25=14', '7*14=98']
Exploring Operation: 98-30=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[25, 39, 7, 30], Operations: []
Exploring Operation: 39-25=14, Resulting Numbers: [7, 30, 14]
Generated Node #0,0: 68:[7, 30, 14] Operation: 39-25=14
Exploring Operation: 30-25=5, Resulting Numbers: [39, 7, 5]
Generated Node #0,1: 68:[39, 7, 5] Operation: 30-25=5
Exploring Operation: 25-7=18, Resulting Numbers: [39, 30, 18]
Generated Node #0,2: 68:[39, 30, 18] Operation: 25-7=18
Start Sub Search at level 1: Moving to Node #0,1
Current State: 68:[39, 7, 5], Operations: ['30-25=5']
Exploring Operation: 39-7=32, Resulting Numbers: [5, 32]
Generated Node #0,1,0: 68:[5, 32] Operation: 39-7=32
Exploring Operation: 7-5=2, Resulting Numbers: [39, 2]
Generated Node #0,1,1: 68:[39, 2] Operation: 7-5=2
Exploring Operation: 39-5=34, Resulting Numbers: [7, 34]
Generated Node #0,1,2: 68:[7, 34] Operation: 39-5=34
Moving to Node #0,1,0
Current State: 68:[5, 32], Operations: ['30-25=5', '39-7=32']
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,68 unequal: No Solution
Exploring Operation: 5*32=160, Resulting Numbers: [160]
160,68 unequal: No Solution
Exploring Operation: 5+32=37, Resulting Numbers: [37]
37,68 unequal: No Solution
Moving to Node #0,1,2
Current State: 68:[7, 34], Operations: ['30-25=5', '39-5=34']
Exploring Operation: 7+34=41, Resulting Numbers: [41]
41,68 unequal: No Solution
Exploring Operation: 7*34=238, Resulting Numbers: [238]
238,68 unequal: No Solution
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,68 unequal: No Solution
Moving to Node #0,1,1
Current State: 68:[39, 2], Operations: ['30-25=5', '7-5=2']
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,68 unequal: No Solution
Exploring Operation: 39+2=41, Resulting Numbers: [41]
41,68 unequal: No Solution
Exploring Operation: 39*2=78, Resulting Numbers: [78]
78,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
Current State: 68:[7, 30, 14], Operations: ['39-25=14']
Exploring Operation: 30-14=16, Resulting Numbers: [7, 16]
Generated Node #0,0,0: 68:[7, 16] Operation: 30-14=16
Exploring Operation: 14/7=2, Resulting Numbers: [30, 2]
Generated Node #0,0,1: 68:[30, 2] Operation: 14/7=2
Exploring Operation: 7+30=37, Resulting Numbers: [14, 37]
Generated Node #0,0,2: 68:[14, 37] Operation: 7+30=37
Moving to Node #0,0,0
Current State: 68:[7, 16], Operations: ['39-25=14', '30-14=16']
Exploring Operation: 7+16=23, Resulting Numbers: [23]
23,68 unequal: No Solution
Exploring Operation: 7*16=112, Resulting Numbers: [112]
112,68 unequal: No Solution
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,68 unequal: No Solution
Moving to Node #0,0,1
Current State: 68:[30, 2], Operations: ['39-25=14', '14/7=2']
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,68 unequal: No Solution
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,68 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,68 unequal: No Solution
Moving to Node #0,0,2
Current State: 68:[14, 37], Operations: ['39-25=14', '7+30=37']
Exploring Operation: 37-14=23, Resulting Numbers: [23]
23,68 unequal: No Solution
Exploring Operation: 14+37=51, Resulting Numbers: [51]
51,68 unequal: No Solution
Exploring Operation: 14*37=518, Resulting Numbers: [518]
518,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,2
Current State: 68:[39, 30, 18], Operations: ['25-7=18']
Exploring Operation: 39-18=21, Resulting Numbers: [30, 21]
Generated Node #0,2,0: 68:[30, 21] Operation: 39-18=21
Exploring Operation: 39+30=69, Resulting Numbers: [18, 69]
Generated Node #0,2,1: 68:[18, 69] Operation: 39+30=69
Exploring Operation: 39-30=9, Resulting Numbers: [18, 9]
Generated Node #0,2,2: 68:[18, 9] Operation: 39-30=9
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 68:[18, 69], Operations: ['25-7=18', '39+30=69']
Exploring Operation: 69-18=51, Resulting Numbers: [51]
51,68 unequal: No Solution
Exploring Operation: 18*69=1242, Resulting Numbers: [1242]
1242,68 unequal: No Solution
Exploring Operation: 18+69=87, Resulting Numbers: [87]
87,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 68:[18, 9], Operations: ['25-7=18', '39-30=9']
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,68 unequal: No Solution
Exploring Operation: 18+9=27, Resulting Numbers: [27]
27,68 unequal: No Solution
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 68:[30, 21], Operations: ['25-7=18', '39-18=21']
Exploring Operation: 30*21=630, Resulting Numbers: [630]
630,68 unequal: No Solution
Exploring Operation: 30-21=9, Resulting Numbers: [9]
9,68 unequal: No Solution
Exploring Operation: 30+21=51, Resulting Numbers: [51]
51,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
15,
80,
93,
42
] | 70 | [
"80-15=65",
"93+42=135",
"135-65=70"
] | Current State: 70:[15, 80, 93, 42], Operations: []
Exploring Operation: 80-15=65, Resulting Numbers: [93, 42, 65]
Generated Node #2: [93, 42, 65] from Operation: 80-15=65
Current State: 70:[93, 42, 65], Operations: ['80-15=65']
Exploring Operation: 93+42=135, Resulting Numbers: [65, 135]
Generated Node #3: [65, 135] from Operation: 93+42=135
Current State: 70:[65, 135], Operations: ['80-15=65', '93+42=135']
Exploring Operation: 135-65=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[15, 80, 93, 42], Operations: []
Exploring Operation: 93-80=13, Resulting Numbers: [15, 42, 13]
Generated Node #0,0: 70:[15, 42, 13] Operation: 93-80=13
Exploring Operation: 93-15=78, Resulting Numbers: [80, 42, 78]
Generated Node #0,1: 70:[80, 42, 78] Operation: 93-15=78
Moving to Node #0,0
Current State: 70:[15, 42, 13], Operations: ['93-80=13']
Exploring Operation: 42-13=29, Resulting Numbers: [15, 29]
Generated Node #0,0,0: 70:[15, 29] Operation: 42-13=29
Exploring Operation: 15-13=2, Resulting Numbers: [42, 2]
Generated Node #0,0,1: 70:[42, 2] Operation: 15-13=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 70:[15, 29], Operations: ['93-80=13', '42-13=29']
Exploring Operation: 29-15=14, Resulting Numbers: [14]
14,70 unequal: No Solution
Exploring Operation: 15+29=44, Resulting Numbers: [44]
44,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 70:[42, 2], Operations: ['93-80=13', '15-13=2']
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,70 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 70:[80, 42, 78], Operations: ['93-15=78']
Exploring Operation: 80-42=38, Resulting Numbers: [78, 38]
Generated Node #0,1,0: 70:[78, 38] Operation: 80-42=38
Exploring Operation: 80-78=2, Resulting Numbers: [42, 2]
Generated Node #0,1,1: 70:[42, 2] Operation: 80-78=2
Moving to Node #0,1,1
Current State: 70:[42, 2], Operations: ['93-15=78', '80-78=2']
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,70 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,70 unequal: No Solution
Moving to Node #0,1,0
Current State: 70:[78, 38], Operations: ['93-15=78', '80-42=38']
Exploring Operation: 78+38=116, Resulting Numbers: [116]
116,70 unequal: No Solution
Exploring Operation: 78-38=40, Resulting Numbers: [40]
40,70 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
1,
62,
21,
44
] | 47 | [
"1+62=63",
"63/21=3",
"44+3=47"
] | Current State: 47:[1, 62, 21, 44], Operations: []
Exploring Operation: 1+62=63, Resulting Numbers: [21, 44, 63]
Generated Node #2: [21, 44, 63] from Operation: 1+62=63
Current State: 47:[21, 44, 63], Operations: ['1+62=63']
Exploring Operation: 63/21=3, Resulting Numbers: [44, 3]
Generated Node #3: [44, 3] from Operation: 63/21=3
Current State: 47:[44, 3], Operations: ['1+62=63', '63/21=3']
Exploring Operation: 44+3=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[1, 62, 21, 44], Operations: []
Exploring Operation: 62-1=61, Resulting Numbers: [21, 44, 61]
Generated Node #0,0: 47:[21, 44, 61] Operation: 62-1=61
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[21, 44, 61], Operations: ['62-1=61']
Exploring Operation: 61-21=40, Resulting Numbers: [44, 40]
Generated Node #0,0,0: 47:[44, 40] Operation: 61-21=40
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[44, 40], Operations: ['62-1=61', '61-21=40']
Exploring Operation: 44+40=84, Resulting Numbers: [84]
84,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
38,
23,
50,
90
] | 46 | [
"38+50=88",
"90-88=2",
"23*2=46"
] | Current State: 46:[38, 23, 50, 90], Operations: []
Exploring Operation: 38+50=88, Resulting Numbers: [23, 90, 88]
Generated Node #2: [23, 90, 88] from Operation: 38+50=88
Current State: 46:[23, 90, 88], Operations: ['38+50=88']
Exploring Operation: 90-88=2, Resulting Numbers: [23, 2]
Generated Node #3: [23, 2] from Operation: 90-88=2
Current State: 46:[23, 2], Operations: ['38+50=88', '90-88=2']
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[38, 23, 50, 90], Operations: []
Exploring Operation: 90-50=40, Resulting Numbers: [38, 23, 40]
Generated Node #0,0: 46:[38, 23, 40] Operation: 90-50=40
Exploring Operation: 90-38=52, Resulting Numbers: [23, 50, 52]
Generated Node #0,1: 46:[23, 50, 52] Operation: 90-38=52
Exploring Operation: 90-23=67, Resulting Numbers: [38, 50, 67]
Generated Node #0,2: 46:[38, 50, 67] Operation: 90-23=67
Exploring Operation: 50-38=12, Resulting Numbers: [23, 90, 12]
Generated Node #0,3: 46:[23, 90, 12] Operation: 50-38=12
Moving to Node #0,1
Current State: 46:[23, 50, 52], Operations: ['90-38=52']
Exploring Operation: 52-50=2, Resulting Numbers: [23, 2]
Generated Node #0,1,0: 46:[23, 2] Operation: 52-50=2
Exploring Operation: 52-23=29, Resulting Numbers: [50, 29]
Generated Node #0,1,1: 46:[50, 29] Operation: 52-23=29
Exploring Operation: 50-23=27, Resulting Numbers: [52, 27]
Generated Node #0,1,2: 46:[52, 27] Operation: 50-23=27
Exploring Operation: 23+50=73, Resulting Numbers: [52, 73]
Generated Node #0,1,3: 46:[52, 73] Operation: 23+50=73
Moving to Node #0,0
Current State: 46:[38, 23, 40], Operations: ['90-50=40']
Exploring Operation: 40-38=2, Resulting Numbers: [23, 2]
Generated Node #0,0,0: 46:[23, 2] Operation: 40-38=2
Exploring Operation: 40-23=17, Resulting Numbers: [38, 17]
Generated Node #0,0,1: 46:[38, 17] Operation: 40-23=17
Exploring Operation: 38-23=15, Resulting Numbers: [40, 15]
Generated Node #0,0,2: 46:[40, 15] Operation: 38-23=15
Exploring Operation: 38+23=61, Resulting Numbers: [40, 61]
Generated Node #0,0,3: 46:[40, 61] Operation: 38+23=61
Moving to Node #0,2
Current State: 46:[38, 50, 67], Operations: ['90-23=67']
Exploring Operation: 50-38=12, Resulting Numbers: [67, 12]
Generated Node #0,2,0: 46:[67, 12] Operation: 50-38=12
Exploring Operation: 67-38=29, Resulting Numbers: [50, 29]
Generated Node #0,2,1: 46:[50, 29] Operation: 67-38=29
Exploring Operation: 67-50=17, Resulting Numbers: [38, 17]
Generated Node #0,2,2: 46:[38, 17] Operation: 67-50=17
Exploring Operation: 38+50=88, Resulting Numbers: [67, 88]
Generated Node #0,2,3: 46:[67, 88] Operation: 38+50=88
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 46:[50, 29], Operations: ['90-23=67', '67-38=29']
Exploring Operation: 50-29=21, Resulting Numbers: [21]
21,46 unequal: No Solution
Exploring Operation: 50+29=79, Resulting Numbers: [79]
79,46 unequal: No Solution
Exploring Operation: 50*29=1450, Resulting Numbers: [1450]
1450,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 46:[38, 17], Operations: ['90-23=67', '67-50=17']
Exploring Operation: 38+17=55, Resulting Numbers: [55]
55,46 unequal: No Solution
Exploring Operation: 38-17=21, Resulting Numbers: [21]
21,46 unequal: No Solution
Exploring Operation: 38*17=646, Resulting Numbers: [646]
646,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 46:[67, 12], Operations: ['90-23=67', '50-38=12']
Exploring Operation: 67+12=79, Resulting Numbers: [79]
79,46 unequal: No Solution
Exploring Operation: 67-12=55, Resulting Numbers: [55]
55,46 unequal: No Solution
Exploring Operation: 67*12=804, Resulting Numbers: [804]
804,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 46:[67, 88], Operations: ['90-23=67', '38+50=88']
Exploring Operation: 67*88=5896, Resulting Numbers: [5896]
5896,46 unequal: No Solution
Exploring Operation: 88-67=21, Resulting Numbers: [21]
21,46 unequal: No Solution
Exploring Operation: 67+88=155, Resulting Numbers: [155]
155,46 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: 46:[23, 90, 12], Operations: ['50-38=12']
Exploring Operation: 90-12=78, Resulting Numbers: [23, 78]
Generated Node #0,3,0: 46:[23, 78] Operation: 90-12=78
Exploring Operation: 23-12=11, Resulting Numbers: [90, 11]
Generated Node #0,3,1: 46:[90, 11] Operation: 23-12=11
Exploring Operation: 90-23=67, Resulting Numbers: [12, 67]
Generated Node #0,3,2: 46:[12, 67] Operation: 90-23=67
Exploring Operation: 23+12=35, Resulting Numbers: [90, 35]
Generated Node #0,3,3: 46:[90, 35] Operation: 23+12=35
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 46:[12, 67], Operations: ['50-38=12', '90-23=67']
Exploring Operation: 12+67=79, Resulting Numbers: [79]
79,46 unequal: No Solution
Exploring Operation: 12*67=804, Resulting Numbers: [804]
804,46 unequal: No Solution
Exploring Operation: 67-12=55, Resulting Numbers: [55]
55,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 46:[23, 78], Operations: ['50-38=12', '90-12=78']
Exploring Operation: 23*78=1794, Resulting Numbers: [1794]
1794,46 unequal: No Solution
Exploring Operation: 23+78=101, Resulting Numbers: [101]
101,46 unequal: No Solution
Exploring Operation: 78-23=55, Resulting Numbers: [55]
55,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 46:[90, 11], Operations: ['50-38=12', '23-12=11']
Exploring Operation: 90*11=990, Resulting Numbers: [990]
990,46 unequal: No Solution
Exploring Operation: 90-11=79, Resulting Numbers: [79]
79,46 unequal: No Solution
Exploring Operation: 90+11=101, Resulting Numbers: [101]
101,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 46:[90, 35], Operations: ['50-38=12', '23+12=35']
Exploring Operation: 90*35=3150, Resulting Numbers: [3150]
3150,46 unequal: No Solution
Exploring Operation: 90-35=55, Resulting Numbers: [55]
55,46 unequal: No Solution
Exploring Operation: 90+35=125, Resulting Numbers: [125]
125,46 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: 46:[23, 2], Operations: ['90-38=52', '52-50=2']
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[38, 23, 50, 90], Operations: []
Exploring Operation: 90-38=52, Resulting Numbers: [23, 50, 52]
Generated Node #0,1: 46:[23, 50, 52] Operation: 90-38=52
Moving to Node #0,1
Current State: 46:[23, 50, 52], Operations: ['90-38=52']
Exploring Operation: 52-50=2, Resulting Numbers: [23, 2]
Generated Node #0,1,0: 46:[23, 2] Operation: 52-50=2
Moving to Node #0,1,0
Current State: 46:[23, 2], Operations: ['90-38=52', '52-50=2']
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 0.957465 | hs_4 | sum_heuristic |
[
57,
3,
75,
78
] | 99 | [
"57-3=54",
"75+78=153",
"153-54=99"
] | Current State: 99:[57, 3, 75, 78], Operations: []
Exploring Operation: 57-3=54, Resulting Numbers: [75, 78, 54]
Generated Node #2: [75, 78, 54] from Operation: 57-3=54
Current State: 99:[75, 78, 54], Operations: ['57-3=54']
Exploring Operation: 75+78=153, Resulting Numbers: [54, 153]
Generated Node #3: [54, 153] from Operation: 75+78=153
Current State: 99:[54, 153], Operations: ['57-3=54', '75+78=153']
Exploring Operation: 153-54=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[57, 3, 75, 78], Operations: []
Exploring Operation: 75-57=18, Resulting Numbers: [3, 78, 18]
Generated Node #0,0: 99:[3, 78, 18] Operation: 75-57=18
Exploring Operation: 57/3=19, Resulting Numbers: [75, 78, 19]
Generated Node #0,1: 99:[75, 78, 19] Operation: 57/3=19
Exploring Operation: 78-75=3, Resulting Numbers: [57, 3, 3]
Generated Node #0,2: 99:[57, 3, 3] Operation: 78-75=3
Exploring Operation: 78-57=21, Resulting Numbers: [3, 75, 21]
Generated Node #0,3: 99:[3, 75, 21] Operation: 78-57=21
Start Sub Search at level 1: Moving to Node #0,2
Current State: 99:[57, 3, 3], Operations: ['78-75=3']
Exploring Operation: 57-3=54, Resulting Numbers: [3, 54]
Generated Node #0,2,0: 99:[3, 54] Operation: 57-3=54
Exploring Operation: 57-3=54, Resulting Numbers: [3, 54]
Generated Node #0,2,1: 99:[3, 54] Operation: 57-3=54
Exploring Operation: 57/3=19, Resulting Numbers: [3, 19]
Generated Node #0,2,2: 99:[3, 19] Operation: 57/3=19
Exploring Operation: 57/3=19, Resulting Numbers: [3, 19]
Generated Node #0,2,3: 99:[3, 19] Operation: 57/3=19
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 99:[3, 19], Operations: ['78-75=3', '57/3=19']
Exploring Operation: 3+19=22, Resulting Numbers: [22]
22,99 unequal: No Solution
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,99 unequal: No Solution
Exploring Operation: 3*19=57, Resulting Numbers: [57]
57,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 99:[3, 19], Operations: ['78-75=3', '57/3=19']
Exploring Operation: 3+19=22, Resulting Numbers: [22]
22,99 unequal: No Solution
Exploring Operation: 3*19=57, Resulting Numbers: [57]
57,99 unequal: No Solution
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 99:[3, 54], Operations: ['78-75=3', '57-3=54']
Exploring Operation: 3+54=57, Resulting Numbers: [57]
57,99 unequal: No Solution
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,99 unequal: No Solution
Exploring Operation: 3*54=162, Resulting Numbers: [162]
162,99 unequal: No Solution
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 99:[3, 54], Operations: ['78-75=3', '57-3=54']
Exploring Operation: 3+54=57, Resulting Numbers: [57]
57,99 unequal: No Solution
Exploring Operation: 3*54=162, Resulting Numbers: [162]
162,99 unequal: No Solution
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,99 unequal: No Solution
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[3, 78, 18], Operations: ['75-57=18']
Exploring Operation: 78/3=26, Resulting Numbers: [18, 26]
Generated Node #0,0,0: 99:[18, 26] Operation: 78/3=26
Exploring Operation: 18/3=6, Resulting Numbers: [78, 6]
Generated Node #0,0,1: 99:[78, 6] Operation: 18/3=6
Exploring Operation: 78+18=96, Resulting Numbers: [3, 96]
Generated Node #0,0,2: 99:[3, 96] Operation: 78+18=96
Exploring Operation: 3+78=81, Resulting Numbers: [18, 81]
Generated Node #0,0,3: 99:[18, 81] Operation: 3+78=81
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 99:[3, 96], Operations: ['75-57=18', '78+18=96']
Exploring Operation: 3*96=288, Resulting Numbers: [288]
288,99 unequal: No Solution
Exploring Operation: 96-3=93, Resulting Numbers: [93]
93,99 unequal: No Solution
Exploring Operation: 96/3=32, Resulting Numbers: [32]
32,99 unequal: No Solution
Exploring Operation: 3+96=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[57, 3, 75, 78], Operations: []
Exploring Operation: 75-57=18, Resulting Numbers: [3, 78, 18]
Generated Node #0,0: 99:[3, 78, 18] Operation: 75-57=18
Moving to Node #0,0
Current State: 99:[3, 78, 18], Operations: ['75-57=18']
Exploring Operation: 78+18=96, Resulting Numbers: [3, 96]
Generated Node #0,0,2: 99:[3, 96] Operation: 78+18=96
Moving to Node #0,0,2
Current State: 99:[3, 96], Operations: ['75-57=18', '78+18=96']
Exploring Operation: 3+96=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.970486 | hs_4 | sum_heuristic |
[
74,
35,
92,
59
] | 72 | [
"74-35=39",
"92-59=33",
"39+33=72"
] | Current State: 72:[74, 35, 92, 59], Operations: []
Exploring Operation: 74-35=39, Resulting Numbers: [92, 59, 39]
Generated Node #2: [92, 59, 39] from Operation: 74-35=39
Current State: 72:[92, 59, 39], Operations: ['74-35=39']
Exploring Operation: 92-59=33, Resulting Numbers: [39, 33]
Generated Node #3: [39, 33] from Operation: 92-59=33
Current State: 72:[39, 33], Operations: ['74-35=39', '92-59=33']
Exploring Operation: 39+33=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[74, 35, 92, 59], Operations: []
Exploring Operation: 92-74=18, Resulting Numbers: [35, 59, 18]
Generated Node #0,0: 72:[35, 59, 18] Operation: 92-74=18
Exploring Operation: 92-59=33, Resulting Numbers: [74, 35, 33]
Generated Node #0,1: 72:[74, 35, 33] Operation: 92-59=33
Exploring Operation: 74-59=15, Resulting Numbers: [35, 92, 15]
Generated Node #0,2: 72:[35, 92, 15] Operation: 74-59=15
Exploring Operation: 92-35=57, Resulting Numbers: [74, 59, 57]
Generated Node #0,3: 72:[74, 59, 57] Operation: 92-35=57
Exploring Operation: 59-35=24, Resulting Numbers: [74, 92, 24]
Generated Node #0,4: 72:[74, 92, 24] Operation: 59-35=24
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[74, 35, 33], Operations: ['92-59=33']
Exploring Operation: 74-33=41, Resulting Numbers: [35, 41]
Generated Node #0,1,0: 72:[35, 41] Operation: 74-33=41
Exploring Operation: 35+33=68, Resulting Numbers: [74, 68]
Generated Node #0,1,1: 72:[74, 68] Operation: 35+33=68
Exploring Operation: 74+33=107, Resulting Numbers: [35, 107]
Generated Node #0,1,2: 72:[35, 107] Operation: 74+33=107
Exploring Operation: 74-35=39, Resulting Numbers: [33, 39]
Generated Node #0,1,3: 72:[33, 39] Operation: 74-35=39
Exploring Operation: 35-33=2, Resulting Numbers: [74, 2]
Generated Node #0,1,4: 72:[74, 2] Operation: 35-33=2
Moving to Node #0,1,4
Current State: 72:[74, 2], Operations: ['92-59=33', '35-33=2']
Exploring Operation: 74+2=76, Resulting Numbers: [76]
76,72 unequal: No Solution
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[74, 35, 92, 59], Operations: []
Exploring Operation: 92-59=33, Resulting Numbers: [74, 35, 33]
Generated Node #0,1: 72:[74, 35, 33] Operation: 92-59=33
Moving to Node #0,1
Current State: 72:[74, 35, 33], Operations: ['92-59=33']
Exploring Operation: 35-33=2, Resulting Numbers: [74, 2]
Generated Node #0,1,4: 72:[74, 2] Operation: 35-33=2
Moving to Node #0,1,4
Current State: 72:[74, 2], Operations: ['92-59=33', '35-33=2']
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
8,
52,
82,
22
] | 64 | [
"82-52=30",
"30-22=8",
"8*8=64"
] | Current State: 64:[8, 52, 82, 22], Operations: []
Exploring Operation: 82-52=30, Resulting Numbers: [8, 22, 30]
Generated Node #2: [8, 22, 30] from Operation: 82-52=30
Current State: 64:[8, 22, 30], Operations: ['82-52=30']
Exploring Operation: 30-22=8, Resulting Numbers: [8, 8]
Generated Node #3: [8, 8] from Operation: 30-22=8
Current State: 64:[8, 8], Operations: ['82-52=30', '30-22=8']
Exploring Operation: 8*8=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[8, 52, 82, 22], Operations: []
Exploring Operation: 82-52=30, Resulting Numbers: [8, 22, 30]
Generated Node #0,0: 64:[8, 22, 30] Operation: 82-52=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[8, 22, 30], Operations: ['82-52=30']
Exploring Operation: 30-22=8, Resulting Numbers: [8, 8]
Generated Node #0,0,0: 64:[8, 8] Operation: 30-22=8
Moving to Node #0,0,0
Current State: 64:[8, 8], Operations: ['82-52=30', '30-22=8']
Exploring Operation: 8+8=16, Resulting Numbers: [16]
16,64 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 |
[
73,
71,
2,
6
] | 36 | [
"73+71=144",
"6-2=4",
"144/4=36"
] | Current State: 36:[73, 71, 2, 6], Operations: []
Exploring Operation: 73+71=144, Resulting Numbers: [2, 6, 144]
Generated Node #2: [2, 6, 144] from Operation: 73+71=144
Current State: 36:[2, 6, 144], Operations: ['73+71=144']
Exploring Operation: 6-2=4, Resulting Numbers: [144, 4]
Generated Node #3: [144, 4] from Operation: 6-2=4
Current State: 36:[144, 4], Operations: ['73+71=144', '6-2=4']
Exploring Operation: 144/4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[73, 71, 2, 6], Operations: []
Exploring Operation: 71-6=65, Resulting Numbers: [73, 2, 65]
Generated Node #0,0: 36:[73, 2, 65] Operation: 71-6=65
Exploring Operation: 73-6=67, Resulting Numbers: [71, 2, 67]
Generated Node #0,1: 36:[71, 2, 67] Operation: 73-6=67
Exploring Operation: 73-71=2, Resulting Numbers: [2, 6, 2]
Generated Node #0,2: 36:[2, 6, 2] Operation: 73-71=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 36:[2, 6, 2], Operations: ['73-71=2']
Exploring Operation: 2*6=12, Resulting Numbers: [2, 12]
Generated Node #0,2,0: 36:[2, 12] Operation: 2*6=12
Exploring Operation: 6-2=4, Resulting Numbers: [2, 4]
Generated Node #0,2,1: 36:[2, 4] Operation: 6-2=4
Exploring Operation: 6/2=3, Resulting Numbers: [2, 3]
Generated Node #0,2,2: 36:[2, 3] Operation: 6/2=3
Moving to Node #0,2,0
Current State: 36:[2, 12], Operations: ['73-71=2', '2*6=12']
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,36 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Moving to Node #0,2,1
Current State: 36:[2, 4], Operations: ['73-71=2', '6-2=4']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,36 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,36 unequal: No Solution
Moving to Node #0,2,2
Current State: 36:[2, 3], Operations: ['73-71=2', '6/2=3']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,36 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[73, 2, 65], Operations: ['71-6=65']
Exploring Operation: 73-2=71, Resulting Numbers: [65, 71]
Generated Node #0,0,0: 36:[65, 71] Operation: 73-2=71
Exploring Operation: 65-2=63, Resulting Numbers: [73, 63]
Generated Node #0,0,1: 36:[73, 63] Operation: 65-2=63
Exploring Operation: 73-65=8, Resulting Numbers: [2, 8]
Generated Node #0,0,2: 36:[2, 8] Operation: 73-65=8
Moving to Node #0,0,2
Current State: 36:[2, 8], Operations: ['71-6=65', '73-65=8']
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,36 unequal: No Solution
Moving to Node #0,0,0
Current State: 36:[65, 71], Operations: ['71-6=65', '73-2=71']
Exploring Operation: 71-65=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 65+71=136, Resulting Numbers: [136]
136,36 unequal: No Solution
Exploring Operation: 65*71=4615, Resulting Numbers: [4615]
4615,36 unequal: No Solution
Moving to Node #0,0,1
Current State: 36:[73, 63], Operations: ['71-6=65', '65-2=63']
Exploring Operation: 73*63=4599, Resulting Numbers: [4599]
4599,36 unequal: No Solution
Exploring Operation: 73-63=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Exploring Operation: 73+63=136, Resulting Numbers: [136]
136,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 36:[71, 2, 67], Operations: ['73-6=67']
Exploring Operation: 71-2=69, Resulting Numbers: [67, 69]
Generated Node #0,1,0: 36:[67, 69] Operation: 71-2=69
Exploring Operation: 71-67=4, Resulting Numbers: [2, 4]
Generated Node #0,1,1: 36:[2, 4] Operation: 71-67=4
Exploring Operation: 67-2=65, Resulting Numbers: [71, 65]
Generated Node #0,1,2: 36:[71, 65] Operation: 67-2=65
Moving to Node #0,1,1
Current State: 36:[2, 4], Operations: ['73-6=67', '71-67=4']
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,36 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,36 unequal: No Solution
Moving to Node #0,1,0
Current State: 36:[67, 69], Operations: ['73-6=67', '71-2=69']
Exploring Operation: 69-67=2, Resulting Numbers: [2]
2,36 unequal: No Solution
Exploring Operation: 67*69=4623, Resulting Numbers: [4623]
4623,36 unequal: No Solution
Exploring Operation: 67+69=136, Resulting Numbers: [136]
136,36 unequal: No Solution
Moving to Node #0,1,2
Current State: 36:[71, 65], Operations: ['73-6=67', '67-2=65']
Exploring Operation: 71-65=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 71*65=4615, Resulting Numbers: [4615]
4615,36 unequal: No Solution
Exploring Operation: 71+65=136, Resulting Numbers: [136]
136,36 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 |
[
70,
60,
12,
36
] | 35 | [
"70*12=840",
"60-36=24",
"840/24=35"
] | Current State: 35:[70, 60, 12, 36], Operations: []
Exploring Operation: 70*12=840, Resulting Numbers: [60, 36, 840]
Generated Node #2: [60, 36, 840] from Operation: 70*12=840
Current State: 35:[60, 36, 840], Operations: ['70*12=840']
Exploring Operation: 60-36=24, Resulting Numbers: [840, 24]
Generated Node #3: [840, 24] from Operation: 60-36=24
Current State: 35:[840, 24], Operations: ['70*12=840', '60-36=24']
Exploring Operation: 840/24=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[70, 60, 12, 36], Operations: []
Exploring Operation: 60/12=5, Resulting Numbers: [70, 36, 5]
Generated Node #0,0: 35:[70, 36, 5] Operation: 60/12=5
Exploring Operation: 70-60=10, Resulting Numbers: [12, 36, 10]
Generated Node #0,1: 35:[12, 36, 10] Operation: 70-60=10
Exploring Operation: 70-36=34, Resulting Numbers: [60, 12, 34]
Generated Node #0,2: 35:[60, 12, 34] Operation: 70-36=34
Moving to Node #0,1
Current State: 35:[12, 36, 10], Operations: ['70-60=10']
Exploring Operation: 12-10=2, Resulting Numbers: [36, 2]
Generated Node #0,1,0: 35:[36, 2] Operation: 12-10=2
Exploring Operation: 36-12=24, Resulting Numbers: [10, 24]
Generated Node #0,1,1: 35:[10, 24] Operation: 36-12=24
Exploring Operation: 36/12=3, Resulting Numbers: [10, 3]
Generated Node #0,1,2: 35:[10, 3] Operation: 36/12=3
Moving to Node #0,2
Current State: 35:[60, 12, 34], Operations: ['70-36=34']
Exploring Operation: 60-12=48, Resulting Numbers: [34, 48]
Generated Node #0,2,0: 35:[34, 48] Operation: 60-12=48
Exploring Operation: 60-34=26, Resulting Numbers: [12, 26]
Generated Node #0,2,1: 35:[12, 26] Operation: 60-34=26
Exploring Operation: 60/12=5, Resulting Numbers: [34, 5]
Generated Node #0,2,2: 35:[34, 5] Operation: 60/12=5
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 35:[34, 5], Operations: ['70-36=34', '60/12=5']
Exploring Operation: 34*5=170, Resulting Numbers: [170]
170,35 unequal: No Solution
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,35 unequal: No Solution
Exploring Operation: 34+5=39, Resulting Numbers: [39]
39,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 35:[34, 48], Operations: ['70-36=34', '60-12=48']
Exploring Operation: 48-34=14, Resulting Numbers: [14]
14,35 unequal: No Solution
Exploring Operation: 34*48=1632, Resulting Numbers: [1632]
1632,35 unequal: No Solution
Exploring Operation: 34+48=82, Resulting Numbers: [82]
82,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 35:[12, 26], Operations: ['70-36=34', '60-34=26']
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,35 unequal: No Solution
Exploring Operation: 12+26=38, Resulting Numbers: [38]
38,35 unequal: No Solution
Exploring Operation: 12*26=312, Resulting Numbers: [312]
312,35 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: 35:[70, 36, 5], Operations: ['60/12=5']
Exploring Operation: 70-36=34, Resulting Numbers: [5, 34]
Generated Node #0,0,0: 35:[5, 34] Operation: 70-36=34
Exploring Operation: 70-5=65, Resulting Numbers: [36, 65]
Generated Node #0,0,1: 35:[36, 65] Operation: 70-5=65
Exploring Operation: 70/5=14, Resulting Numbers: [36, 14]
Generated Node #0,0,2: 35:[36, 14] Operation: 70/5=14
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 35:[5, 34], Operations: ['60/12=5', '70-36=34']
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,35 unequal: No Solution
Exploring Operation: 5+34=39, Resulting Numbers: [39]
39,35 unequal: No Solution
Exploring Operation: 5*34=170, Resulting Numbers: [170]
170,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 35:[36, 14], Operations: ['60/12=5', '70/5=14']
Exploring Operation: 36*14=504, Resulting Numbers: [504]
504,35 unequal: No Solution
Exploring Operation: 36-14=22, Resulting Numbers: [22]
22,35 unequal: No Solution
Exploring Operation: 36+14=50, Resulting Numbers: [50]
50,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 35:[36, 65], Operations: ['60/12=5', '70-5=65']
Exploring Operation: 65-36=29, Resulting Numbers: [29]
29,35 unequal: No Solution
Exploring Operation: 36+65=101, Resulting Numbers: [101]
101,35 unequal: No Solution
Exploring Operation: 36*65=2340, Resulting Numbers: [2340]
2340,35 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: 35:[36, 2], Operations: ['70-60=10', '12-10=2']
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,35 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,35 unequal: No Solution
Moving to Node #0,1,2
Current State: 35:[10, 3], Operations: ['70-60=10', '36/12=3']
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,35 unequal: No Solution
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,35 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,35 unequal: No Solution
Moving to Node #0,1,1
Current State: 35:[10, 24], Operations: ['70-60=10', '36-12=24']
Exploring Operation: 10+24=34, Resulting Numbers: [34]
34,35 unequal: No Solution
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,35 unequal: No Solution
Exploring Operation: 10*24=240, Resulting Numbers: [240]
240,35 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
70,
34,
52,
71
] | 19 | [
"70+34=104",
"52+71=123",
"123-104=19"
] | Current State: 19:[70, 34, 52, 71], Operations: []
Exploring Operation: 70+34=104, Resulting Numbers: [52, 71, 104]
Generated Node #2: [52, 71, 104] from Operation: 70+34=104
Current State: 19:[52, 71, 104], Operations: ['70+34=104']
Exploring Operation: 52+71=123, Resulting Numbers: [104, 123]
Generated Node #3: [104, 123] from Operation: 52+71=123
Current State: 19:[104, 123], Operations: ['70+34=104', '52+71=123']
Exploring Operation: 123-104=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[70, 34, 52, 71], Operations: []
Exploring Operation: 70-52=18, Resulting Numbers: [34, 71, 18]
Generated Node #0,0: 19:[34, 71, 18] Operation: 70-52=18
Exploring Operation: 71-70=1, Resulting Numbers: [34, 52, 1]
Generated Node #0,1: 19:[34, 52, 1] Operation: 71-70=1
Exploring Operation: 71-52=19, Resulting Numbers: [70, 34, 19]
Generated Node #0,2: 19:[70, 34, 19] Operation: 71-52=19
Moving to Node #0,1
Current State: 19:[34, 52, 1], Operations: ['71-70=1']
Exploring Operation: 34-1=33, Resulting Numbers: [52, 33]
Generated Node #0,1,0: 19:[52, 33] Operation: 34-1=33
Exploring Operation: 52-34=18, Resulting Numbers: [1, 18]
Generated Node #0,1,1: 19:[1, 18] Operation: 52-34=18
Exploring Operation: 52-1=51, Resulting Numbers: [34, 51]
Generated Node #0,1,2: 19:[34, 51] Operation: 52-1=51
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 19:[1, 18], Operations: ['71-70=1', '52-34=18']
Exploring Operation: 1+18=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[70, 34, 52, 71], Operations: []
Exploring Operation: 71-70=1, Resulting Numbers: [34, 52, 1]
Generated Node #0,1: 19:[34, 52, 1] Operation: 71-70=1
Moving to Node #0,1
Current State: 19:[34, 52, 1], Operations: ['71-70=1']
Exploring Operation: 52-34=18, Resulting Numbers: [1, 18]
Generated Node #0,1,1: 19:[1, 18] Operation: 52-34=18
Moving to Node #0,1,1
Current State: 19:[1, 18], Operations: ['71-70=1', '52-34=18']
Exploring Operation: 1+18=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
57,
12,
9,
19
] | 45 | [
"57*12=684",
"684/19=36",
"9+36=45"
] | Current State: 45:[57, 12, 9, 19], Operations: []
Exploring Operation: 57*12=684, Resulting Numbers: [9, 19, 684]
Generated Node #2: [9, 19, 684] from Operation: 57*12=684
Current State: 45:[9, 19, 684], Operations: ['57*12=684']
Exploring Operation: 684/19=36, Resulting Numbers: [9, 36]
Generated Node #3: [9, 36] from Operation: 684/19=36
Current State: 45:[9, 36], Operations: ['57*12=684', '684/19=36']
Exploring Operation: 9+36=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[57, 12, 9, 19], Operations: []
Exploring Operation: 57-9=48, Resulting Numbers: [12, 19, 48]
Generated Node #0,0: 45:[12, 19, 48] Operation: 57-9=48
Exploring Operation: 57/19=3, Resulting Numbers: [12, 9, 3]
Generated Node #0,1: 45:[12, 9, 3] Operation: 57/19=3
Exploring Operation: 57-12=45, Resulting Numbers: [9, 19, 45]
Generated Node #0,2: 45:[9, 19, 45] Operation: 57-12=45
Moving to Node #0,1
Current State: 45:[12, 9, 3], Operations: ['57/19=3']
Exploring Operation: 12-3=9, Resulting Numbers: [9, 9]
Generated Node #0,1,0: 45:[9, 9] Operation: 12-3=9
Exploring Operation: 12-9=3, Resulting Numbers: [3, 3]
Generated Node #0,1,1: 45:[3, 3] Operation: 12-9=3
Exploring Operation: 12+3=15, Resulting Numbers: [9, 15]
Generated Node #0,1,2: 45:[9, 15] Operation: 12+3=15
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 45:[9, 9], Operations: ['57/19=3', '12-3=9']
Exploring Operation: 9/9=1, Resulting Numbers: [1]
1,45 unequal: No Solution
Exploring Operation: 9-9=0, Resulting Numbers: [0]
0,45 unequal: No Solution
Exploring Operation: 9+9=18, Resulting Numbers: [18]
18,45 unequal: No Solution
No 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: 45:[3, 3], Operations: ['57/19=3', '12-9=3']
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,45 unequal: No Solution
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,45 unequal: No Solution
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,45 unequal: No Solution
No 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: 45:[9, 15], Operations: ['57/19=3', '12+3=15']
Exploring Operation: 9*15=135, Resulting Numbers: [135]
135,45 unequal: No Solution
Exploring Operation: 9+15=24, Resulting Numbers: [24]
24,45 unequal: No Solution
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,45 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: 45:[9, 19, 45], Operations: ['57-12=45']
Exploring Operation: 19-9=10, Resulting Numbers: [45, 10]
Generated Node #0,2,0: 45:[45, 10] Operation: 19-9=10
Exploring Operation: 45/9=5, Resulting Numbers: [19, 5]
Generated Node #0,2,1: 45:[19, 5] Operation: 45/9=5
Exploring Operation: 45-19=26, Resulting Numbers: [9, 26]
Generated Node #0,2,2: 45:[9, 26] Operation: 45-19=26
Moving to Node #0,0
Current State: 45:[12, 19, 48], Operations: ['57-9=48']
Exploring Operation: 48/12=4, Resulting Numbers: [19, 4]
Generated Node #0,0,0: 45:[19, 4] Operation: 48/12=4
Exploring Operation: 19-12=7, Resulting Numbers: [48, 7]
Generated Node #0,0,1: 45:[48, 7] Operation: 19-12=7
Exploring Operation: 48-12=36, Resulting Numbers: [19, 36]
Generated Node #0,0,2: 45:[19, 36] Operation: 48-12=36
Moving to Node #0,2,0
Current State: 45:[45, 10], Operations: ['57-12=45', '19-9=10']
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,45 unequal: No Solution
Exploring Operation: 45*10=450, Resulting Numbers: [450]
450,45 unequal: No Solution
Exploring Operation: 45+10=55, Resulting Numbers: [55]
55,45 unequal: No Solution
Moving to Node #0,2,1
Current State: 45:[19, 5], Operations: ['57-12=45', '45/9=5']
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,45 unequal: No Solution
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,45 unequal: No Solution
Exploring Operation: 19+5=24, Resulting Numbers: [24]
24,45 unequal: No Solution
Moving to Node #0,0,1
Current State: 45:[48, 7], Operations: ['57-9=48', '19-12=7']
Exploring Operation: 48+7=55, Resulting Numbers: [55]
55,45 unequal: No Solution
Exploring Operation: 48-7=41, Resulting Numbers: [41]
41,45 unequal: No Solution
Exploring Operation: 48*7=336, Resulting Numbers: [336]
336,45 unequal: No Solution
Moving to Node #0,0,0
Current State: 45:[19, 4], Operations: ['57-9=48', '48/12=4']
Exploring Operation: 19+4=23, Resulting Numbers: [23]
23,45 unequal: No Solution
Exploring Operation: 19*4=76, Resulting Numbers: [76]
76,45 unequal: No Solution
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,45 unequal: No Solution
Moving to Node #0,2,2
Current State: 45:[9, 26], Operations: ['57-12=45', '45-19=26']
Exploring Operation: 26-9=17, Resulting Numbers: [17]
17,45 unequal: No Solution
Exploring Operation: 9+26=35, Resulting Numbers: [35]
35,45 unequal: No Solution
Exploring Operation: 9*26=234, Resulting Numbers: [234]
234,45 unequal: No Solution
Moving to Node #0,0,2
Current State: 45:[19, 36], Operations: ['57-9=48', '48-12=36']
Exploring Operation: 36-19=17, Resulting Numbers: [17]
17,45 unequal: No Solution
Exploring Operation: 19+36=55, Resulting Numbers: [55]
55,45 unequal: No Solution
Exploring Operation: 19*36=684, Resulting Numbers: [684]
684,45 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
55,
1,
3,
63
] | 47 | [
"3-1=2",
"55*2=110",
"110-63=47"
] | Current State: 47:[55, 1, 3, 63], Operations: []
Exploring Operation: 3-1=2, Resulting Numbers: [55, 63, 2]
Generated Node #2: [55, 63, 2] from Operation: 3-1=2
Current State: 47:[55, 63, 2], Operations: ['3-1=2']
Exploring Operation: 55*2=110, Resulting Numbers: [63, 110]
Generated Node #3: [63, 110] from Operation: 55*2=110
Current State: 47:[63, 110], Operations: ['3-1=2', '55*2=110']
Exploring Operation: 110-63=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[55, 1, 3, 63], Operations: []
Exploring Operation: 55-3=52, Resulting Numbers: [1, 63, 52]
Generated Node #0,0: 47:[1, 63, 52] Operation: 55-3=52
Exploring Operation: 55-1=54, Resulting Numbers: [3, 63, 54]
Generated Node #0,1: 47:[3, 63, 54] Operation: 55-1=54
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[1, 63, 52], Operations: ['55-3=52']
Exploring Operation: 63-1=62, Resulting Numbers: [52, 62]
Generated Node #0,0,0: 47:[52, 62] Operation: 63-1=62
Exploring Operation: 52-1=51, Resulting Numbers: [63, 51]
Generated Node #0,0,1: 47:[63, 51] Operation: 52-1=51
Moving to Node #0,0,0
Current State: 47:[52, 62], Operations: ['55-3=52', '63-1=62']
Exploring Operation: 62-52=10, Resulting Numbers: [10]
10,47 unequal: No Solution
Exploring Operation: 52+62=114, Resulting Numbers: [114]
114,47 unequal: No Solution
Moving to Node #0,0,1
Current State: 47:[63, 51], Operations: ['55-3=52', '52-1=51']
Exploring Operation: 63-51=12, Resulting Numbers: [12]
12,47 unequal: No Solution
Exploring Operation: 63+51=114, Resulting Numbers: [114]
114,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
Current State: 47:[3, 63, 54], Operations: ['55-1=54']
Exploring Operation: 63-3=60, Resulting Numbers: [54, 60]
Generated Node #0,1,0: 47:[54, 60] Operation: 63-3=60
Exploring Operation: 54-3=51, Resulting Numbers: [63, 51]
Generated Node #0,1,1: 47:[63, 51] Operation: 54-3=51
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 47:[54, 60], Operations: ['55-1=54', '63-3=60']
Exploring Operation: 54+60=114, Resulting Numbers: [114]
114,47 unequal: No Solution
Exploring Operation: 60-54=6, Resulting Numbers: [6]
6,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:[63, 51], Operations: ['55-1=54', '54-3=51']
Exploring Operation: 63+51=114, Resulting Numbers: [114]
114,47 unequal: No Solution
Exploring Operation: 63-51=12, Resulting Numbers: [12]
12,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
59,
10,
74,
74
] | 48 | [
"59-10=49",
"74/74=1",
"49-1=48"
] | Current State: 48:[59, 10, 74, 74], Operations: []
Exploring Operation: 59-10=49, Resulting Numbers: [74, 74, 49]
Generated Node #2: [74, 74, 49] from Operation: 59-10=49
Current State: 48:[74, 74, 49], Operations: ['59-10=49']
Exploring Operation: 74/74=1, Resulting Numbers: [49, 1]
Generated Node #3: [49, 1] from Operation: 74/74=1
Current State: 48:[49, 1], Operations: ['59-10=49', '74/74=1']
Exploring Operation: 49-1=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[59, 10, 74, 74], Operations: []
Exploring Operation: 74-74=0, Resulting Numbers: [59, 10, 0]
Generated Node #0,0: 48:[59, 10, 0] Operation: 74-74=0
Exploring Operation: 74-59=15, Resulting Numbers: [10, 74, 15]
Generated Node #0,1: 48:[10, 74, 15] Operation: 74-59=15
Exploring Operation: 74/74=1, Resulting Numbers: [59, 10, 1]
Generated Node #0,2: 48:[59, 10, 1] Operation: 74/74=1
Start Sub Search at level 1: Moving to Node #0,2
Current State: 48:[59, 10, 1], Operations: ['74/74=1']
Exploring Operation: 10+1=11, Resulting Numbers: [59, 11]
Generated Node #0,2,0: 48:[59, 11] Operation: 10+1=11
Exploring Operation: 59-10=49, Resulting Numbers: [1, 49]
Generated Node #0,2,1: 48:[1, 49] Operation: 59-10=49
Exploring Operation: 59-1=58, Resulting Numbers: [10, 58]
Generated Node #0,2,2: 48:[10, 58] Operation: 59-1=58
Moving to Node #0,2,1
Current State: 48:[1, 49], Operations: ['74/74=1', '59-10=49']
Exploring Operation: 49-1=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[59, 10, 74, 74], Operations: []
Exploring Operation: 74/74=1, Resulting Numbers: [59, 10, 1]
Generated Node #0,2: 48:[59, 10, 1] Operation: 74/74=1
Moving to Node #0,2
Current State: 48:[59, 10, 1], Operations: ['74/74=1']
Exploring Operation: 59-10=49, Resulting Numbers: [1, 49]
Generated Node #0,2,1: 48:[1, 49] Operation: 59-10=49
Moving to Node #0,2,1
Current State: 48:[1, 49], Operations: ['74/74=1', '59-10=49']
Exploring Operation: 49-1=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
26,
38,
33,
64
] | 14 | [
"26*33=858",
"38+858=896",
"896/64=14"
] | Current State: 14:[26, 38, 33, 64], Operations: []
Exploring Operation: 26*33=858, Resulting Numbers: [38, 64, 858]
Generated Node #2: [38, 64, 858] from Operation: 26*33=858
Current State: 14:[38, 64, 858], Operations: ['26*33=858']
Exploring Operation: 38+858=896, Resulting Numbers: [64, 896]
Generated Node #3: [64, 896] from Operation: 38+858=896
Current State: 14:[64, 896], Operations: ['26*33=858', '38+858=896']
Exploring Operation: 896/64=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[26, 38, 33, 64], Operations: []
Exploring Operation: 64-33=31, Resulting Numbers: [26, 38, 31]
Generated Node #0,0: 14:[26, 38, 31] Operation: 64-33=31
Exploring Operation: 64-38=26, Resulting Numbers: [26, 33, 26]
Generated Node #0,1: 14:[26, 33, 26] Operation: 64-38=26
Start Sub Search at level 1: Moving to Node #0,1
Current State: 14:[26, 33, 26], Operations: ['64-38=26']
Exploring Operation: 33-26=7, Resulting Numbers: [26, 7]
Generated Node #0,1,0: 14:[26, 7] Operation: 33-26=7
Exploring Operation: 33-26=7, Resulting Numbers: [26, 7]
Generated Node #0,1,1: 14:[26, 7] Operation: 33-26=7
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 14:[26, 7], Operations: ['64-38=26', '33-26=7']
Exploring Operation: 26+7=33, Resulting Numbers: [33]
33,14 unequal: No Solution
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,14 unequal: No Solution
No 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: 14:[26, 7], Operations: ['64-38=26', '33-26=7']
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,14 unequal: No Solution
Exploring Operation: 26+7=33, Resulting Numbers: [33]
33,14 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: 14:[26, 38, 31], Operations: ['64-33=31']
Exploring Operation: 38-26=12, Resulting Numbers: [31, 12]
Generated Node #0,0,0: 14:[31, 12] Operation: 38-26=12
Exploring Operation: 38-31=7, Resulting Numbers: [26, 7]
Generated Node #0,0,1: 14:[26, 7] Operation: 38-31=7
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 14:[26, 7], Operations: ['64-33=31', '38-31=7']
Exploring Operation: 26+7=33, Resulting Numbers: [33]
33,14 unequal: No Solution
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,14 unequal: No Solution
No 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: 14:[31, 12], Operations: ['64-33=31', '38-26=12']
Exploring Operation: 31-12=19, Resulting Numbers: [19]
19,14 unequal: No Solution
Exploring Operation: 31+12=43, Resulting Numbers: [43]
43,14 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 |
[
31,
20,
84,
13
] | 82 | [
"31-20=11",
"84-13=71",
"11+71=82"
] | Current State: 82:[31, 20, 84, 13], Operations: []
Exploring Operation: 31-20=11, Resulting Numbers: [84, 13, 11]
Generated Node #2: [84, 13, 11] from Operation: 31-20=11
Current State: 82:[84, 13, 11], Operations: ['31-20=11']
Exploring Operation: 84-13=71, Resulting Numbers: [11, 71]
Generated Node #3: [11, 71] from Operation: 84-13=71
Current State: 82:[11, 71], Operations: ['31-20=11', '84-13=71']
Exploring Operation: 11+71=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[31, 20, 84, 13], Operations: []
Exploring Operation: 20-13=7, Resulting Numbers: [31, 84, 7]
Generated Node #0,0: 82:[31, 84, 7] Operation: 20-13=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[31, 84, 7], Operations: ['20-13=7']
Exploring Operation: 31+7=38, Resulting Numbers: [84, 38]
Generated Node #0,0,0: 82:[84, 38] Operation: 31+7=38
Moving to Node #0,0,0
Current State: 82:[84, 38], Operations: ['20-13=7', '31+7=38']
Exploring Operation: 84-38=46, Resulting Numbers: [46]
46,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
20,
87,
23,
27
] | 20 | [
"23-20=3",
"87-27=60",
"60/3=20"
] | Current State: 20:[20, 87, 23, 27], Operations: []
Exploring Operation: 23-20=3, Resulting Numbers: [87, 27, 3]
Generated Node #2: [87, 27, 3] from Operation: 23-20=3
Current State: 20:[87, 27, 3], Operations: ['23-20=3']
Exploring Operation: 87-27=60, Resulting Numbers: [3, 60]
Generated Node #3: [3, 60] from Operation: 87-27=60
Current State: 20:[3, 60], Operations: ['23-20=3', '87-27=60']
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[20, 87, 23, 27], Operations: []
Exploring Operation: 87-23=64, Resulting Numbers: [20, 27, 64]
Generated Node #0,0: 20:[20, 27, 64] Operation: 87-23=64
Exploring Operation: 87-20=67, Resulting Numbers: [23, 27, 67]
Generated Node #0,1: 20:[23, 27, 67] Operation: 87-20=67
Exploring Operation: 27-23=4, Resulting Numbers: [20, 87, 4]
Generated Node #0,2: 20:[20, 87, 4] Operation: 27-23=4
Exploring Operation: 87-27=60, Resulting Numbers: [20, 23, 60]
Generated Node #0,3: 20:[20, 23, 60] Operation: 87-27=60
Moving to Node #0,3
Current State: 20:[20, 23, 60], Operations: ['87-27=60']
Exploring Operation: 60-20=40, Resulting Numbers: [23, 40]
Generated Node #0,3,0: 20:[23, 40] Operation: 60-20=40
Exploring Operation: 60-23=37, Resulting Numbers: [20, 37]
Generated Node #0,3,1: 20:[20, 37] Operation: 60-23=37
Exploring Operation: 60/20=3, Resulting Numbers: [23, 3]
Generated Node #0,3,2: 20:[23, 3] Operation: 60/20=3
Exploring Operation: 23-20=3, Resulting Numbers: [60, 3]
Generated Node #0,3,3: 20:[60, 3] Operation: 23-20=3
Moving to Node #0,0
Current State: 20:[20, 27, 64], Operations: ['87-23=64']
Exploring Operation: 27-20=7, Resulting Numbers: [64, 7]
Generated Node #0,0,0: 20:[64, 7] Operation: 27-20=7
Exploring Operation: 20+27=47, Resulting Numbers: [64, 47]
Generated Node #0,0,1: 20:[64, 47] Operation: 20+27=47
Exploring Operation: 64-20=44, Resulting Numbers: [27, 44]
Generated Node #0,0,2: 20:[27, 44] Operation: 64-20=44
Exploring Operation: 64-27=37, Resulting Numbers: [20, 37]
Generated Node #0,0,3: 20:[20, 37] Operation: 64-27=37
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 20:[20, 37], Operations: ['87-23=64', '64-27=37']
Exploring Operation: 20*37=740, Resulting Numbers: [740]
740,20 unequal: No Solution
Exploring Operation: 37-20=17, Resulting Numbers: [17]
17,20 unequal: No Solution
Exploring Operation: 20+37=57, Resulting Numbers: [57]
57,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,0,2
Current State: 20:[27, 44], Operations: ['87-23=64', '64-20=44']
Exploring Operation: 27+44=71, Resulting Numbers: [71]
71,20 unequal: No Solution
Exploring Operation: 44-27=17, Resulting Numbers: [17]
17,20 unequal: No Solution
Exploring Operation: 27*44=1188, Resulting Numbers: [1188]
1188,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,0,0
Current State: 20:[64, 7], Operations: ['87-23=64', '27-20=7']
Exploring Operation: 64-7=57, Resulting Numbers: [57]
57,20 unequal: No Solution
Exploring Operation: 64+7=71, Resulting Numbers: [71]
71,20 unequal: No Solution
Exploring Operation: 64*7=448, Resulting Numbers: [448]
448,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,0,1
Current State: 20:[64, 47], Operations: ['87-23=64', '20+27=47']
Exploring Operation: 64-47=17, Resulting Numbers: [17]
17,20 unequal: No Solution
Exploring Operation: 64+47=111, Resulting Numbers: [111]
111,20 unequal: No Solution
Exploring Operation: 64*47=3008, Resulting Numbers: [3008]
3008,20 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: 20:[23, 27, 67], Operations: ['87-20=67']
Exploring Operation: 27-23=4, Resulting Numbers: [67, 4]
Generated Node #0,1,0: 20:[67, 4] Operation: 27-23=4
Exploring Operation: 67-23=44, Resulting Numbers: [27, 44]
Generated Node #0,1,1: 20:[27, 44] Operation: 67-23=44
Exploring Operation: 67-27=40, Resulting Numbers: [23, 40]
Generated Node #0,1,2: 20:[23, 40] Operation: 67-27=40
Exploring Operation: 23+27=50, Resulting Numbers: [67, 50]
Generated Node #0,1,3: 20:[67, 50] Operation: 23+27=50
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 20:[23, 40], Operations: ['87-20=67', '67-27=40']
Exploring Operation: 23*40=920, Resulting Numbers: [920]
920,20 unequal: No Solution
Exploring Operation: 23+40=63, Resulting Numbers: [63]
63,20 unequal: No Solution
Exploring Operation: 40-23=17, Resulting Numbers: [17]
17,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 20:[27, 44], Operations: ['87-20=67', '67-23=44']
Exploring Operation: 44-27=17, Resulting Numbers: [17]
17,20 unequal: No Solution
Exploring Operation: 27*44=1188, Resulting Numbers: [1188]
1188,20 unequal: No Solution
Exploring Operation: 27+44=71, Resulting Numbers: [71]
71,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 20:[67, 4], Operations: ['87-20=67', '27-23=4']
Exploring Operation: 67+4=71, Resulting Numbers: [71]
71,20 unequal: No Solution
Exploring Operation: 67*4=268, Resulting Numbers: [268]
268,20 unequal: No Solution
Exploring Operation: 67-4=63, Resulting Numbers: [63]
63,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 20:[67, 50], Operations: ['87-20=67', '23+27=50']
Exploring Operation: 67-50=17, Resulting Numbers: [17]
17,20 unequal: No Solution
Exploring Operation: 67+50=117, Resulting Numbers: [117]
117,20 unequal: No Solution
Exploring Operation: 67*50=3350, Resulting Numbers: [3350]
3350,20 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: 20:[20, 87, 4], Operations: ['27-23=4']
Exploring Operation: 20+4=24, Resulting Numbers: [87, 24]
Generated Node #0,2,0: 20:[87, 24] Operation: 20+4=24
Exploring Operation: 87-4=83, Resulting Numbers: [20, 83]
Generated Node #0,2,1: 20:[20, 83] Operation: 87-4=83
Exploring Operation: 87-20=67, Resulting Numbers: [4, 67]
Generated Node #0,2,2: 20:[4, 67] Operation: 87-20=67
Exploring Operation: 20/4=5, Resulting Numbers: [87, 5]
Generated Node #0,2,3: 20:[87, 5] Operation: 20/4=5
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 20:[4, 67], Operations: ['27-23=4', '87-20=67']
Exploring Operation: 4*67=268, Resulting Numbers: [268]
268,20 unequal: No Solution
Exploring Operation: 67-4=63, Resulting Numbers: [63]
63,20 unequal: No Solution
Exploring Operation: 4+67=71, Resulting Numbers: [71]
71,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,1
Current State: 20:[20, 83], Operations: ['27-23=4', '87-4=83']
Exploring Operation: 20*83=1660, Resulting Numbers: [1660]
1660,20 unequal: No Solution
Exploring Operation: 20+83=103, Resulting Numbers: [103]
103,20 unequal: No Solution
Exploring Operation: 83-20=63, Resulting Numbers: [63]
63,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,3
Current State: 20:[87, 5], Operations: ['27-23=4', '20/4=5']
Exploring Operation: 87+5=92, Resulting Numbers: [92]
92,20 unequal: No Solution
Exploring Operation: 87-5=82, Resulting Numbers: [82]
82,20 unequal: No Solution
Exploring Operation: 87*5=435, Resulting Numbers: [435]
435,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:[87, 24], Operations: ['27-23=4', '20+4=24']
Exploring Operation: 87*24=2088, Resulting Numbers: [2088]
2088,20 unequal: No Solution
Exploring Operation: 87-24=63, Resulting Numbers: [63]
63,20 unequal: No Solution
Exploring Operation: 87+24=111, Resulting Numbers: [111]
111,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,2
Current State: 20:[23, 3], Operations: ['87-27=60', '60/20=3']
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[20, 87, 23, 27], Operations: []
Exploring Operation: 87-27=60, Resulting Numbers: [20, 23, 60]
Generated Node #0,3: 20:[20, 23, 60] Operation: 87-27=60
Moving to Node #0,3
Current State: 20:[20, 23, 60], Operations: ['87-27=60']
Exploring Operation: 60/20=3, Resulting Numbers: [23, 3]
Generated Node #0,3,2: 20:[23, 3] Operation: 60/20=3
Moving to Node #0,3,2
Current State: 20:[23, 3], Operations: ['87-27=60', '60/20=3']
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 0.947049 | hs_4 | sum_heuristic |
[
56,
51,
45,
30
] | 50 | [
"56*45=2520",
"30+2520=2550",
"2550/51=50"
] | Current State: 50:[56, 51, 45, 30], Operations: []
Exploring Operation: 56*45=2520, Resulting Numbers: [51, 30, 2520]
Generated Node #2: [51, 30, 2520] from Operation: 56*45=2520
Current State: 50:[51, 30, 2520], Operations: ['56*45=2520']
Exploring Operation: 30+2520=2550, Resulting Numbers: [51, 2550]
Generated Node #3: [51, 2550] from Operation: 30+2520=2550
Current State: 50:[51, 2550], Operations: ['56*45=2520', '30+2520=2550']
Exploring Operation: 2550/51=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[56, 51, 45, 30], Operations: []
Exploring Operation: 56-45=11, Resulting Numbers: [51, 30, 11]
Generated Node #0,0: 50:[51, 30, 11] Operation: 56-45=11
Moving to Node #0,0
Current State: 50:[51, 30, 11], Operations: ['56-45=11']
Exploring Operation: 51-30=21, Resulting Numbers: [11, 21]
Generated Node #0,0,0: 50:[11, 21] Operation: 51-30=21
Moving to Node #0,0,0
Current State: 50:[11, 21], Operations: ['56-45=11', '51-30=21']
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,50 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
19,
11,
46,
9
] | 63 | [
"19-11=8",
"46+9=55",
"8+55=63"
] | Current State: 63:[19, 11, 46, 9], Operations: []
Exploring Operation: 19-11=8, Resulting Numbers: [46, 9, 8]
Generated Node #2: [46, 9, 8] from Operation: 19-11=8
Current State: 63:[46, 9, 8], Operations: ['19-11=8']
Exploring Operation: 46+9=55, Resulting Numbers: [8, 55]
Generated Node #3: [8, 55] from Operation: 46+9=55
Current State: 63:[8, 55], Operations: ['19-11=8', '46+9=55']
Exploring Operation: 8+55=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[19, 11, 46, 9], Operations: []
Exploring Operation: 19+46=65, Resulting Numbers: [11, 9, 65]
Generated Node #0,0: 63:[11, 9, 65] Operation: 19+46=65
Moving to Node #0,0
Current State: 63:[11, 9, 65], Operations: ['19+46=65']
Exploring Operation: 11+9=20, Resulting Numbers: [65, 20]
Generated Node #0,0,0: 63:[65, 20] Operation: 11+9=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 63:[65, 20], Operations: ['19+46=65', '11+9=20']
Exploring Operation: 65-20=45, Resulting Numbers: [45]
45,63 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 |
[
10,
68,
73,
79
] | 64 | [
"68-10=58",
"79-73=6",
"58+6=64"
] | Current State: 64:[10, 68, 73, 79], Operations: []
Exploring Operation: 68-10=58, Resulting Numbers: [73, 79, 58]
Generated Node #2: [73, 79, 58] from Operation: 68-10=58
Current State: 64:[73, 79, 58], Operations: ['68-10=58']
Exploring Operation: 79-73=6, Resulting Numbers: [58, 6]
Generated Node #3: [58, 6] from Operation: 79-73=6
Current State: 64:[58, 6], Operations: ['68-10=58', '79-73=6']
Exploring Operation: 58+6=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[10, 68, 73, 79], Operations: []
Exploring Operation: 79-68=11, Resulting Numbers: [10, 73, 11]
Generated Node #0,0: 64:[10, 73, 11] Operation: 79-68=11
Exploring Operation: 79-73=6, Resulting Numbers: [10, 68, 6]
Generated Node #0,1: 64:[10, 68, 6] Operation: 79-73=6
Moving to Node #0,1
Current State: 64:[10, 68, 6], Operations: ['79-73=6']
Exploring Operation: 10+6=16, Resulting Numbers: [68, 16]
Generated Node #0,1,0: 64:[68, 16] Operation: 10+6=16
Exploring Operation: 10-6=4, Resulting Numbers: [68, 4]
Generated Node #0,1,1: 64:[68, 4] Operation: 10-6=4
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 64:[68, 16], Operations: ['79-73=6', '10+6=16']
Exploring Operation: 68+16=84, Resulting Numbers: [84]
84,64 unequal: No Solution
Exploring Operation: 68-16=52, Resulting Numbers: [52]
52,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 64:[68, 4], Operations: ['79-73=6', '10-6=4']
Exploring Operation: 68/4=17, Resulting Numbers: [17]
17,64 unequal: No Solution
Exploring Operation: 68-4=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[10, 68, 73, 79], Operations: []
Exploring Operation: 79-73=6, Resulting Numbers: [10, 68, 6]
Generated Node #0,1: 64:[10, 68, 6] Operation: 79-73=6
Moving to Node #0,1
Current State: 64:[10, 68, 6], Operations: ['79-73=6']
Exploring Operation: 10-6=4, Resulting Numbers: [68, 4]
Generated Node #0,1,1: 64:[68, 4] Operation: 10-6=4
Moving to Node #0,1,1
Current State: 64:[68, 4], Operations: ['79-73=6', '10-6=4']
Exploring Operation: 68-4=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
95,
86,
61,
28
] | 24 | [
"95-86=9",
"61-28=33",
"33-9=24"
] | Current State: 24:[95, 86, 61, 28], Operations: []
Exploring Operation: 95-86=9, Resulting Numbers: [61, 28, 9]
Generated Node #2: [61, 28, 9] from Operation: 95-86=9
Current State: 24:[61, 28, 9], Operations: ['95-86=9']
Exploring Operation: 61-28=33, Resulting Numbers: [9, 33]
Generated Node #3: [9, 33] from Operation: 61-28=33
Current State: 24:[9, 33], Operations: ['95-86=9', '61-28=33']
Exploring Operation: 33-9=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[95, 86, 61, 28], Operations: []
Exploring Operation: 86-61=25, Resulting Numbers: [95, 28, 25]
Generated Node #0,0: 24:[95, 28, 25] Operation: 86-61=25
Exploring Operation: 95-28=67, Resulting Numbers: [86, 61, 67]
Generated Node #0,1: 24:[86, 61, 67] Operation: 95-28=67
Exploring Operation: 95-61=34, Resulting Numbers: [86, 28, 34]
Generated Node #0,2: 24:[86, 28, 34] Operation: 95-61=34
Exploring Operation: 95-86=9, Resulting Numbers: [61, 28, 9]
Generated Node #0,3: 24:[61, 28, 9] Operation: 95-86=9
Start Sub Search at level 1: Moving to Node #0,3
Current State: 24:[61, 28, 9], Operations: ['95-86=9']
Exploring Operation: 61+9=70, Resulting Numbers: [28, 70]
Generated Node #0,3,0: 24:[28, 70] Operation: 61+9=70
Exploring Operation: 61-28=33, Resulting Numbers: [9, 33]
Generated Node #0,3,1: 24:[9, 33] Operation: 61-28=33
Exploring Operation: 28-9=19, Resulting Numbers: [61, 19]
Generated Node #0,3,2: 24:[61, 19] Operation: 28-9=19
Exploring Operation: 61-9=52, Resulting Numbers: [28, 52]
Generated Node #0,3,3: 24:[28, 52] Operation: 61-9=52
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 24:[9, 33], Operations: ['95-86=9', '61-28=33']
Exploring Operation: 33-9=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[95, 86, 61, 28], Operations: []
Exploring Operation: 95-86=9, Resulting Numbers: [61, 28, 9]
Generated Node #0,3: 24:[61, 28, 9] Operation: 95-86=9
Moving to Node #0,3
Current State: 24:[61, 28, 9], Operations: ['95-86=9']
Exploring Operation: 61-28=33, Resulting Numbers: [9, 33]
Generated Node #0,3,1: 24:[9, 33] Operation: 61-28=33
Moving to Node #0,3,1
Current State: 24:[9, 33], Operations: ['95-86=9', '61-28=33']
Exploring Operation: 33-9=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
12,
91,
40,
64
] | 25 | [
"91-12=79",
"40+64=104",
"104-79=25"
] | Current State: 25:[12, 91, 40, 64], Operations: []
Exploring Operation: 91-12=79, Resulting Numbers: [40, 64, 79]
Generated Node #2: [40, 64, 79] from Operation: 91-12=79
Current State: 25:[40, 64, 79], Operations: ['91-12=79']
Exploring Operation: 40+64=104, Resulting Numbers: [79, 104]
Generated Node #3: [79, 104] from Operation: 40+64=104
Current State: 25:[79, 104], Operations: ['91-12=79', '40+64=104']
Exploring Operation: 104-79=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[12, 91, 40, 64], Operations: []
Exploring Operation: 91-40=51, Resulting Numbers: [12, 64, 51]
Generated Node #0,0: 25:[12, 64, 51] Operation: 91-40=51
Exploring Operation: 64-40=24, Resulting Numbers: [12, 91, 24]
Generated Node #0,1: 25:[12, 91, 24] Operation: 64-40=24
Exploring Operation: 91-64=27, Resulting Numbers: [12, 40, 27]
Generated Node #0,2: 25:[12, 40, 27] Operation: 91-64=27
Start Sub Search at level 1: Moving to Node #0,2
Current State: 25:[12, 40, 27], Operations: ['91-64=27']
Exploring Operation: 27-12=15, Resulting Numbers: [40, 15]
Generated Node #0,2,0: 25:[40, 15] Operation: 27-12=15
Exploring Operation: 40-12=28, Resulting Numbers: [27, 28]
Generated Node #0,2,1: 25:[27, 28] Operation: 40-12=28
Exploring Operation: 40-27=13, Resulting Numbers: [12, 13]
Generated Node #0,2,2: 25:[12, 13] Operation: 40-27=13
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 25:[27, 28], Operations: ['91-64=27', '40-12=28']
Exploring Operation: 27+28=55, Resulting Numbers: [55]
55,25 unequal: No Solution
Exploring Operation: 27*28=756, Resulting Numbers: [756]
756,25 unequal: No Solution
Exploring Operation: 28-27=1, Resulting Numbers: [1]
1,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 25:[12, 13], Operations: ['91-64=27', '40-27=13']
Exploring Operation: 12*13=156, Resulting Numbers: [156]
156,25 unequal: No Solution
Exploring Operation: 12+13=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[12, 91, 40, 64], Operations: []
Exploring Operation: 91-64=27, Resulting Numbers: [12, 40, 27]
Generated Node #0,2: 25:[12, 40, 27] Operation: 91-64=27
Moving to Node #0,2
Current State: 25:[12, 40, 27], Operations: ['91-64=27']
Exploring Operation: 40-27=13, Resulting Numbers: [12, 13]
Generated Node #0,2,2: 25:[12, 13] Operation: 40-27=13
Moving to Node #0,2,2
Current State: 25:[12, 13], Operations: ['91-64=27', '40-27=13']
Exploring Operation: 12+13=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_3 | sum_heuristic |
[
99,
20,
13,
34
] | 37 | [
"20+13=33",
"99/33=3",
"34+3=37"
] | Current State: 37:[99, 20, 13, 34], Operations: []
Exploring Operation: 20+13=33, Resulting Numbers: [99, 34, 33]
Generated Node #2: [99, 34, 33] from Operation: 20+13=33
Current State: 37:[99, 34, 33], Operations: ['20+13=33']
Exploring Operation: 99/33=3, Resulting Numbers: [34, 3]
Generated Node #3: [34, 3] from Operation: 99/33=3
Current State: 37:[34, 3], Operations: ['20+13=33', '99/33=3']
Exploring Operation: 34+3=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[99, 20, 13, 34], Operations: []
Exploring Operation: 99-20=79, Resulting Numbers: [13, 34, 79]
Generated Node #0,0: 37:[13, 34, 79] Operation: 99-20=79
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[13, 34, 79], Operations: ['99-20=79']
Exploring Operation: 79-13=66, Resulting Numbers: [34, 66]
Generated Node #0,0,0: 37:[34, 66] Operation: 79-13=66
Moving to Node #0,0,0
Current State: 37:[34, 66], Operations: ['99-20=79', '79-13=66']
Exploring Operation: 66-34=32, Resulting Numbers: [32]
32,37 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 |
[
27,
24,
14,
66
] | 77 | [
"27-24=3",
"14+66=80",
"80-3=77"
] | Current State: 77:[27, 24, 14, 66], Operations: []
Exploring Operation: 27-24=3, Resulting Numbers: [14, 66, 3]
Generated Node #2: [14, 66, 3] from Operation: 27-24=3
Current State: 77:[14, 66, 3], Operations: ['27-24=3']
Exploring Operation: 14+66=80, Resulting Numbers: [3, 80]
Generated Node #3: [3, 80] from Operation: 14+66=80
Current State: 77:[3, 80], Operations: ['27-24=3', '14+66=80']
Exploring Operation: 80-3=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[27, 24, 14, 66], Operations: []
Exploring Operation: 27-24=3, Resulting Numbers: [14, 66, 3]
Generated Node #0,0: 77:[14, 66, 3] Operation: 27-24=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[14, 66, 3], Operations: ['27-24=3']
Exploring Operation: 14+66=80, Resulting Numbers: [3, 80]
Generated Node #0,0,0: 77:[3, 80] Operation: 14+66=80
Moving to Node #0,0,0
Current State: 77:[3, 80], Operations: ['27-24=3', '14+66=80']
Exploring Operation: 80-3=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[27, 24, 14, 66], Operations: []
Exploring Operation: 27-24=3, Resulting Numbers: [14, 66, 3]
Generated Node #0,0: 77:[14, 66, 3] Operation: 27-24=3
Moving to Node #0,0
Current State: 77:[14, 66, 3], Operations: ['27-24=3']
Exploring Operation: 14+66=80, Resulting Numbers: [3, 80]
Generated Node #0,0,0: 77:[3, 80] Operation: 14+66=80
Moving to Node #0,0,0
Current State: 77:[3, 80], Operations: ['27-24=3', '14+66=80']
Exploring Operation: 80-3=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
54,
88,
5,
2
] | 85 | [
"88-54=34",
"5*34=170",
"170/2=85"
] | Current State: 85:[54, 88, 5, 2], Operations: []
Exploring Operation: 88-54=34, Resulting Numbers: [5, 2, 34]
Generated Node #2: [5, 2, 34] from Operation: 88-54=34
Current State: 85:[5, 2, 34], Operations: ['88-54=34']
Exploring Operation: 5*34=170, Resulting Numbers: [2, 170]
Generated Node #3: [2, 170] from Operation: 5*34=170
Current State: 85:[2, 170], Operations: ['88-54=34', '5*34=170']
Exploring Operation: 170/2=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[54, 88, 5, 2], Operations: []
Exploring Operation: 54/2=27, Resulting Numbers: [88, 5, 27]
Generated Node #0,0: 85:[88, 5, 27] Operation: 54/2=27
Moving to Node #0,0
Current State: 85:[88, 5, 27], Operations: ['54/2=27']
Exploring Operation: 27-5=22, Resulting Numbers: [88, 22]
Generated Node #0,0,0: 85:[88, 22] Operation: 27-5=22
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 85:[88, 22], Operations: ['54/2=27', '27-5=22']
Exploring Operation: 88/22=4, Resulting Numbers: [4]
4,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
96,
62,
6,
2
] | 15 | [
"96/6=16",
"62/2=31",
"31-16=15"
] | Current State: 15:[96, 62, 6, 2], Operations: []
Exploring Operation: 96/6=16, Resulting Numbers: [62, 2, 16]
Generated Node #2: [62, 2, 16] from Operation: 96/6=16
Current State: 15:[62, 2, 16], Operations: ['96/6=16']
Exploring Operation: 62/2=31, Resulting Numbers: [16, 31]
Generated Node #3: [16, 31] from Operation: 62/2=31
Current State: 15:[16, 31], Operations: ['96/6=16', '62/2=31']
Exploring Operation: 31-16=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[96, 62, 6, 2], Operations: []
Exploring Operation: 96/2=48, Resulting Numbers: [62, 6, 48]
Generated Node #0,0: 15:[62, 6, 48] Operation: 96/2=48
Exploring Operation: 96-62=34, Resulting Numbers: [6, 2, 34]
Generated Node #0,1: 15:[6, 2, 34] Operation: 96-62=34
Exploring Operation: 96/6=16, Resulting Numbers: [62, 2, 16]
Generated Node #0,2: 15:[62, 2, 16] Operation: 96/6=16
Moving to Node #0,1
Current State: 15:[6, 2, 34], Operations: ['96-62=34']
Exploring Operation: 34/2=17, Resulting Numbers: [6, 17]
Generated Node #0,1,0: 15:[6, 17] Operation: 34/2=17
Exploring Operation: 34-6=28, Resulting Numbers: [2, 28]
Generated Node #0,1,1: 15:[2, 28] Operation: 34-6=28
Exploring Operation: 34-2=32, Resulting Numbers: [6, 32]
Generated Node #0,1,2: 15:[6, 32] Operation: 34-2=32
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 15:[6, 17], Operations: ['96-62=34', '34/2=17']
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,15 unequal: No Solution
Exploring Operation: 6*17=102, Resulting Numbers: [102]
102,15 unequal: No Solution
Exploring Operation: 6+17=23, Resulting Numbers: [23]
23,15 unequal: No Solution
No 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: 15:[2, 28], Operations: ['96-62=34', '34-6=28']
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,15 unequal: No Solution
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,15 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,15 unequal: No Solution
No 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: 15:[6, 32], Operations: ['96-62=34', '34-2=32']
Exploring Operation: 6+32=38, Resulting Numbers: [38]
38,15 unequal: No Solution
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,15 unequal: No Solution
Exploring Operation: 6*32=192, Resulting Numbers: [192]
192,15 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: 15:[62, 2, 16], Operations: ['96/6=16']
Exploring Operation: 62-16=46, Resulting Numbers: [2, 46]
Generated Node #0,2,0: 15:[2, 46] Operation: 62-16=46
Exploring Operation: 62/2=31, Resulting Numbers: [16, 31]
Generated Node #0,2,1: 15:[16, 31] Operation: 62/2=31
Exploring Operation: 62-2=60, Resulting Numbers: [16, 60]
Generated Node #0,2,2: 15:[16, 60] Operation: 62-2=60
Moving to Node #0,0
Current State: 15:[62, 6, 48], Operations: ['96/2=48']
Exploring Operation: 62-48=14, Resulting Numbers: [6, 14]
Generated Node #0,0,0: 15:[6, 14] Operation: 62-48=14
Exploring Operation: 62-6=56, Resulting Numbers: [48, 56]
Generated Node #0,0,1: 15:[48, 56] Operation: 62-6=56
Exploring Operation: 48/6=8, Resulting Numbers: [62, 8]
Generated Node #0,0,2: 15:[62, 8] Operation: 48/6=8
Moving to Node #0,0,0
Current State: 15:[6, 14], Operations: ['96/2=48', '62-48=14']
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,15 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,15 unequal: No Solution
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,15 unequal: No Solution
Moving to Node #0,2,1
Current State: 15:[16, 31], Operations: ['96/6=16', '62/2=31']
Exploring Operation: 16+31=47, Resulting Numbers: [47]
47,15 unequal: No Solution
Exploring Operation: 31-16=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[96, 62, 6, 2], Operations: []
Exploring Operation: 96/6=16, Resulting Numbers: [62, 2, 16]
Generated Node #0,2: 15:[62, 2, 16] Operation: 96/6=16
Moving to Node #0,2
Current State: 15:[62, 2, 16], Operations: ['96/6=16']
Exploring Operation: 62/2=31, Resulting Numbers: [16, 31]
Generated Node #0,2,1: 15:[16, 31] Operation: 62/2=31
Moving to Node #0,2,1
Current State: 15:[16, 31], Operations: ['96/6=16', '62/2=31']
Exploring Operation: 31-16=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 0.973958 | hs_3 | mult_heuristic |
[
11,
54,
1,
31
] | 73 | [
"54-11=43",
"31-1=30",
"43+30=73"
] | Current State: 73:[11, 54, 1, 31], Operations: []
Exploring Operation: 54-11=43, Resulting Numbers: [1, 31, 43]
Generated Node #2: [1, 31, 43] from Operation: 54-11=43
Current State: 73:[1, 31, 43], Operations: ['54-11=43']
Exploring Operation: 31-1=30, Resulting Numbers: [43, 30]
Generated Node #3: [43, 30] from Operation: 31-1=30
Current State: 73:[43, 30], Operations: ['54-11=43', '31-1=30']
Exploring Operation: 43+30=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[11, 54, 1, 31], Operations: []
Exploring Operation: 11+1=12, Resulting Numbers: [54, 31, 12]
Generated Node #0,0: 73:[54, 31, 12] Operation: 11+1=12
Exploring Operation: 11+54=65, Resulting Numbers: [1, 31, 65]
Generated Node #0,1: 73:[1, 31, 65] Operation: 11+54=65
Exploring Operation: 1+31=32, Resulting Numbers: [11, 54, 32]
Generated Node #0,2: 73:[11, 54, 32] Operation: 1+31=32
Exploring Operation: 11+31=42, Resulting Numbers: [54, 1, 42]
Generated Node #0,3: 73:[54, 1, 42] Operation: 11+31=42
Exploring Operation: 54+1=55, Resulting Numbers: [11, 31, 55]
Generated Node #0,4: 73:[11, 31, 55] Operation: 54+1=55
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[54, 31, 12], Operations: ['11+1=12']
Exploring Operation: 54-12=42, Resulting Numbers: [31, 42]
Generated Node #0,0,0: 73:[31, 42] Operation: 54-12=42
Exploring Operation: 31+12=43, Resulting Numbers: [54, 43]
Generated Node #0,0,1: 73:[54, 43] Operation: 31+12=43
Exploring Operation: 54+31=85, Resulting Numbers: [12, 85]
Generated Node #0,0,2: 73:[12, 85] Operation: 54+31=85
Exploring Operation: 31-12=19, Resulting Numbers: [54, 19]
Generated Node #0,0,3: 73:[54, 19] Operation: 31-12=19
Exploring Operation: 54+12=66, Resulting Numbers: [31, 66]
Generated Node #0,0,4: 73:[31, 66] Operation: 54+12=66
Moving to Node #0,0,1
Current State: 73:[54, 43], Operations: ['11+1=12', '31+12=43']
Exploring Operation: 54-43=11, Resulting Numbers: [11]
11,73 unequal: No Solution
Exploring Operation: 54+43=97, Resulting Numbers: [97]
97,73 unequal: No Solution
Exploring Operation: 54*43=2322, Resulting Numbers: [2322]
2322,73 unequal: No Solution
Moving to Node #0,0,4
Current State: 73:[31, 66], Operations: ['11+1=12', '54+12=66']
Exploring Operation: 31*66=2046, Resulting Numbers: [2046]
2046,73 unequal: No Solution
Exploring Operation: 66-31=35, Resulting Numbers: [35]
35,73 unequal: No Solution
Exploring Operation: 31+66=97, Resulting Numbers: [97]
97,73 unequal: No Solution
Moving to Node #0,0,0
Current State: 73:[31, 42], Operations: ['11+1=12', '54-12=42']
Exploring Operation: 31+42=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[11, 54, 1, 31], Operations: []
Exploring Operation: 11+1=12, Resulting Numbers: [54, 31, 12]
Generated Node #0,0: 73:[54, 31, 12] Operation: 11+1=12
Moving to Node #0,0
Current State: 73:[54, 31, 12], Operations: ['11+1=12']
Exploring Operation: 54-12=42, Resulting Numbers: [31, 42]
Generated Node #0,0,0: 73:[31, 42] Operation: 54-12=42
Moving to Node #0,0,0
Current State: 73:[31, 42], Operations: ['11+1=12', '54-12=42']
Exploring Operation: 31+42=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
83,
94,
9,
29
] | 49 | [
"94-83=11",
"9+29=38",
"11+38=49"
] | Current State: 49:[83, 94, 9, 29], Operations: []
Exploring Operation: 94-83=11, Resulting Numbers: [9, 29, 11]
Generated Node #2: [9, 29, 11] from Operation: 94-83=11
Current State: 49:[9, 29, 11], Operations: ['94-83=11']
Exploring Operation: 9+29=38, Resulting Numbers: [11, 38]
Generated Node #3: [11, 38] from Operation: 9+29=38
Current State: 49:[11, 38], Operations: ['94-83=11', '9+29=38']
Exploring Operation: 11+38=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[83, 94, 9, 29], Operations: []
Exploring Operation: 83-9=74, Resulting Numbers: [94, 29, 74]
Generated Node #0,0: 49:[94, 29, 74] Operation: 83-9=74
Exploring Operation: 94-83=11, Resulting Numbers: [9, 29, 11]
Generated Node #0,1: 49:[9, 29, 11] Operation: 94-83=11
Exploring Operation: 94-29=65, Resulting Numbers: [83, 9, 65]
Generated Node #0,2: 49:[83, 9, 65] Operation: 94-29=65
Exploring Operation: 83-29=54, Resulting Numbers: [94, 9, 54]
Generated Node #0,3: 49:[94, 9, 54] Operation: 83-29=54
Moving to Node #0,1
Current State: 49:[9, 29, 11], Operations: ['94-83=11']
Exploring Operation: 29-9=20, Resulting Numbers: [11, 20]
Generated Node #0,1,0: 49:[11, 20] Operation: 29-9=20
Exploring Operation: 29+11=40, Resulting Numbers: [9, 40]
Generated Node #0,1,1: 49:[9, 40] Operation: 29+11=40
Exploring Operation: 29-11=18, Resulting Numbers: [9, 18]
Generated Node #0,1,2: 49:[9, 18] Operation: 29-11=18
Exploring Operation: 9+29=38, Resulting Numbers: [11, 38]
Generated Node #0,1,3: 49:[11, 38] Operation: 9+29=38
Moving to Node #0,3
Current State: 49:[94, 9, 54], Operations: ['83-29=54']
Exploring Operation: 94-9=85, Resulting Numbers: [54, 85]
Generated Node #0,3,0: 49:[54, 85] Operation: 94-9=85
Exploring Operation: 94-54=40, Resulting Numbers: [9, 40]
Generated Node #0,3,1: 49:[9, 40] Operation: 94-54=40
Exploring Operation: 54/9=6, Resulting Numbers: [94, 6]
Generated Node #0,3,2: 49:[94, 6] Operation: 54/9=6
Exploring Operation: 54-9=45, Resulting Numbers: [94, 45]
Generated Node #0,3,3: 49:[94, 45] Operation: 54-9=45
Moving to Node #0,2
Current State: 49:[83, 9, 65], Operations: ['94-29=65']
Exploring Operation: 83-9=74, Resulting Numbers: [65, 74]
Generated Node #0,2,0: 49:[65, 74] Operation: 83-9=74
Exploring Operation: 83-65=18, Resulting Numbers: [9, 18]
Generated Node #0,2,1: 49:[9, 18] Operation: 83-65=18
Exploring Operation: 65-9=56, Resulting Numbers: [83, 56]
Generated Node #0,2,2: 49:[83, 56] Operation: 65-9=56
Exploring Operation: 83+9=92, Resulting Numbers: [65, 92]
Generated Node #0,2,3: 49:[65, 92] Operation: 83+9=92
Moving to Node #0,0
Current State: 49:[94, 29, 74], Operations: ['83-9=74']
Exploring Operation: 94-29=65, Resulting Numbers: [74, 65]
Generated Node #0,0,0: 49:[74, 65] Operation: 94-29=65
Exploring Operation: 94+29=123, Resulting Numbers: [74, 123]
Generated Node #0,0,1: 49:[74, 123] Operation: 94+29=123
Exploring Operation: 94-74=20, Resulting Numbers: [29, 20]
Generated Node #0,0,2: 49:[29, 20] Operation: 94-74=20
Exploring Operation: 74-29=45, Resulting Numbers: [94, 45]
Generated Node #0,0,3: 49:[94, 45] Operation: 74-29=45
Moving to Node #0,1,1
Current State: 49:[9, 40], Operations: ['94-83=11', '29+11=40']
Exploring Operation: 40-9=31, Resulting Numbers: [31]
31,49 unequal: No Solution
Exploring Operation: 9+40=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[83, 94, 9, 29], Operations: []
Exploring Operation: 94-83=11, Resulting Numbers: [9, 29, 11]
Generated Node #0,1: 49:[9, 29, 11] Operation: 94-83=11
Moving to Node #0,1
Current State: 49:[9, 29, 11], Operations: ['94-83=11']
Exploring Operation: 29+11=40, Resulting Numbers: [9, 40]
Generated Node #0,1,1: 49:[9, 40] Operation: 29+11=40
Moving to Node #0,1,1
Current State: 49:[9, 40], Operations: ['94-83=11', '29+11=40']
Exploring Operation: 9+40=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 0.977431 | hs_4 | sum_heuristic |
[
59,
54,
25,
32
] | 23 | [
"59-32=27",
"54/27=2",
"25-2=23"
] | Current State: 23:[59, 54, 25, 32], Operations: []
Exploring Operation: 59-32=27, Resulting Numbers: [54, 25, 27]
Generated Node #2: [54, 25, 27] from Operation: 59-32=27
Current State: 23:[54, 25, 27], Operations: ['59-32=27']
Exploring Operation: 54/27=2, Resulting Numbers: [25, 2]
Generated Node #3: [25, 2] from Operation: 54/27=2
Current State: 23:[25, 2], Operations: ['59-32=27', '54/27=2']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[59, 54, 25, 32], Operations: []
Exploring Operation: 59-54=5, Resulting Numbers: [25, 32, 5]
Generated Node #0,0: 23:[25, 32, 5] Operation: 59-54=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[25, 32, 5], Operations: ['59-54=5']
Exploring Operation: 32-5=27, Resulting Numbers: [25, 27]
Generated Node #0,0,0: 23:[25, 27] Operation: 32-5=27
Moving to Node #0,0,0
Current State: 23:[25, 27], Operations: ['59-54=5', '32-5=27']
Exploring Operation: 27-25=2, Resulting Numbers: [2]
2,23 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 |
[
81,
5,
34,
27
] | 49 | [
"81*5=405",
"405/27=15",
"34+15=49"
] | Current State: 49:[81, 5, 34, 27], Operations: []
Exploring Operation: 81*5=405, Resulting Numbers: [34, 27, 405]
Generated Node #2: [34, 27, 405] from Operation: 81*5=405
Current State: 49:[34, 27, 405], Operations: ['81*5=405']
Exploring Operation: 405/27=15, Resulting Numbers: [34, 15]
Generated Node #3: [34, 15] from Operation: 405/27=15
Current State: 49:[34, 15], Operations: ['81*5=405', '405/27=15']
Exploring Operation: 34+15=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[81, 5, 34, 27], Operations: []
Exploring Operation: 81/27=3, Resulting Numbers: [5, 34, 3]
Generated Node #0,0: 49:[5, 34, 3] Operation: 81/27=3
Moving to Node #0,0
Current State: 49:[5, 34, 3], Operations: ['81/27=3']
Exploring Operation: 5+34=39, Resulting Numbers: [3, 39]
Generated Node #0,0,0: 49:[3, 39] Operation: 5+34=39
Moving to Node #0,0,0
Current State: 49:[3, 39], Operations: ['81/27=3', '5+34=39']
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,49 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
1,
78,
58,
55
] | 76 | [
"1+78=79",
"58-55=3",
"79-3=76"
] | Current State: 76:[1, 78, 58, 55], Operations: []
Exploring Operation: 1+78=79, Resulting Numbers: [58, 55, 79]
Generated Node #2: [58, 55, 79] from Operation: 1+78=79
Current State: 76:[58, 55, 79], Operations: ['1+78=79']
Exploring Operation: 58-55=3, Resulting Numbers: [79, 3]
Generated Node #3: [79, 3] from Operation: 58-55=3
Current State: 76:[79, 3], Operations: ['1+78=79', '58-55=3']
Exploring Operation: 79-3=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[1, 78, 58, 55], Operations: []
Exploring Operation: 58-55=3, Resulting Numbers: [1, 78, 3]
Generated Node #0,0: 76:[1, 78, 3] Operation: 58-55=3
Moving to Node #0,0
Current State: 76:[1, 78, 3], Operations: ['58-55=3']
Exploring Operation: 78-1=77, Resulting Numbers: [3, 77]
Generated Node #0,0,0: 76:[3, 77] Operation: 78-1=77
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 76:[3, 77], Operations: ['58-55=3', '78-1=77']
Exploring Operation: 77-3=74, Resulting Numbers: [74]
74,76 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 |
[
12,
16,
4,
41
] | 17 | [
"12+16=28",
"4+41=45",
"45-28=17"
] | Current State: 17:[12, 16, 4, 41], Operations: []
Exploring Operation: 12+16=28, Resulting Numbers: [4, 41, 28]
Generated Node #2: [4, 41, 28] from Operation: 12+16=28
Current State: 17:[4, 41, 28], Operations: ['12+16=28']
Exploring Operation: 4+41=45, Resulting Numbers: [28, 45]
Generated Node #3: [28, 45] from Operation: 4+41=45
Current State: 17:[28, 45], Operations: ['12+16=28', '4+41=45']
Exploring Operation: 45-28=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[12, 16, 4, 41], Operations: []
Exploring Operation: 41-4=37, Resulting Numbers: [12, 16, 37]
Generated Node #0,0: 17:[12, 16, 37] Operation: 41-4=37
Exploring Operation: 41-16=25, Resulting Numbers: [12, 4, 25]
Generated Node #0,1: 17:[12, 4, 25] Operation: 41-16=25
Exploring Operation: 12+4=16, Resulting Numbers: [16, 41, 16]
Generated Node #0,2: 17:[16, 41, 16] Operation: 12+4=16
Exploring Operation: 41-12=29, Resulting Numbers: [16, 4, 29]
Generated Node #0,3: 17:[16, 4, 29] Operation: 41-12=29
Exploring Operation: 16+4=20, Resulting Numbers: [12, 41, 20]
Generated Node #0,4: 17:[12, 41, 20] Operation: 16+4=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[12, 16, 37], Operations: ['41-4=37']
Exploring Operation: 12+16=28, Resulting Numbers: [37, 28]
Generated Node #0,0,0: 17:[37, 28] Operation: 12+16=28
Exploring Operation: 37-16=21, Resulting Numbers: [12, 21]
Generated Node #0,0,1: 17:[12, 21] Operation: 37-16=21
Exploring Operation: 16-12=4, Resulting Numbers: [37, 4]
Generated Node #0,0,2: 17:[37, 4] Operation: 16-12=4
Exploring Operation: 37-12=25, Resulting Numbers: [16, 25]
Generated Node #0,0,3: 17:[16, 25] Operation: 37-12=25
Exploring Operation: 12+37=49, Resulting Numbers: [16, 49]
Generated Node #0,0,4: 17:[16, 49] Operation: 12+37=49
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 17:[12, 21], Operations: ['41-4=37', '37-16=21']
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,17 unequal: No Solution
Exploring Operation: 12+21=33, Resulting Numbers: [33]
33,17 unequal: No Solution
Exploring Operation: 12*21=252, Resulting Numbers: [252]
252,17 unequal: No Solution
No 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: 17:[16, 25], Operations: ['41-4=37', '37-12=25']
Exploring Operation: 16+25=41, Resulting Numbers: [41]
41,17 unequal: No Solution
Exploring Operation: 16*25=400, Resulting Numbers: [400]
400,17 unequal: No Solution
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,17 unequal: No Solution
No 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: 17:[37, 28], Operations: ['41-4=37', '12+16=28']
Exploring Operation: 37*28=1036, Resulting Numbers: [1036]
1036,17 unequal: No Solution
Exploring Operation: 37-28=9, Resulting Numbers: [9]
9,17 unequal: No Solution
Exploring Operation: 37+28=65, Resulting Numbers: [65]
65,17 unequal: No Solution
No 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: 17:[37, 4], Operations: ['41-4=37', '16-12=4']
Exploring Operation: 37+4=41, Resulting Numbers: [41]
41,17 unequal: No Solution
Exploring Operation: 37*4=148, Resulting Numbers: [148]
148,17 unequal: No Solution
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,17 unequal: No Solution
No 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: 17:[16, 49], Operations: ['41-4=37', '12+37=49']
Exploring Operation: 16+49=65, Resulting Numbers: [65]
65,17 unequal: No Solution
Exploring Operation: 16*49=784, Resulting Numbers: [784]
784,17 unequal: No Solution
Exploring Operation: 49-16=33, Resulting Numbers: [33]
33,17 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: 17:[12, 4, 25], Operations: ['41-16=25']
Exploring Operation: 4+25=29, Resulting Numbers: [12, 29]
Generated Node #0,1,0: 17:[12, 29] Operation: 4+25=29
Exploring Operation: 12-4=8, Resulting Numbers: [25, 8]
Generated Node #0,1,1: 17:[25, 8] Operation: 12-4=8
Exploring Operation: 25-4=21, Resulting Numbers: [12, 21]
Generated Node #0,1,2: 17:[12, 21] Operation: 25-4=21
Exploring Operation: 12+4=16, Resulting Numbers: [25, 16]
Generated Node #0,1,3: 17:[25, 16] Operation: 12+4=16
Exploring Operation: 25-12=13, Resulting Numbers: [4, 13]
Generated Node #0,1,4: 17:[4, 13] Operation: 25-12=13
Moving to Node #0,1,2
Current State: 17:[12, 21], Operations: ['41-16=25', '25-4=21']
Exploring Operation: 12+21=33, Resulting Numbers: [33]
33,17 unequal: No Solution
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,17 unequal: No Solution
Exploring Operation: 12*21=252, Resulting Numbers: [252]
252,17 unequal: No Solution
Moving to Node #0,1,3
Current State: 17:[25, 16], Operations: ['41-16=25', '12+4=16']
Exploring Operation: 25*16=400, Resulting Numbers: [400]
400,17 unequal: No Solution
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,17 unequal: No Solution
Exploring Operation: 25+16=41, Resulting Numbers: [41]
41,17 unequal: No Solution
Moving to Node #0,1,0
Current State: 17:[12, 29], Operations: ['41-16=25', '4+25=29']
Exploring Operation: 12+29=41, Resulting Numbers: [41]
41,17 unequal: No Solution
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[12, 16, 4, 41], Operations: []
Exploring Operation: 41-16=25, Resulting Numbers: [12, 4, 25]
Generated Node #0,1: 17:[12, 4, 25] Operation: 41-16=25
Moving to Node #0,1
Current State: 17:[12, 4, 25], Operations: ['41-16=25']
Exploring Operation: 4+25=29, Resulting Numbers: [12, 29]
Generated Node #0,1,0: 17:[12, 29] Operation: 4+25=29
Moving to Node #0,1,0
Current State: 17:[12, 29], Operations: ['41-16=25', '4+25=29']
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.963542 | hs_5 | mult_heuristic |
[
8,
23,
75,
23
] | 71 | [
"8*75=600",
"23*23=529",
"600-529=71"
] | Current State: 71:[8, 23, 75, 23], Operations: []
Exploring Operation: 8*75=600, Resulting Numbers: [23, 23, 600]
Generated Node #2: [23, 23, 600] from Operation: 8*75=600
Current State: 71:[23, 23, 600], Operations: ['8*75=600']
Exploring Operation: 23*23=529, Resulting Numbers: [600, 529]
Generated Node #3: [600, 529] from Operation: 23*23=529
Current State: 71:[600, 529], Operations: ['8*75=600', '23*23=529']
Exploring Operation: 600-529=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[8, 23, 75, 23], Operations: []
Exploring Operation: 8+23=31, Resulting Numbers: [23, 75, 31]
Generated Node #0,0: 71:[23, 75, 31] Operation: 8+23=31
Exploring Operation: 23+23=46, Resulting Numbers: [8, 75, 46]
Generated Node #0,1: 71:[8, 75, 46] Operation: 23+23=46
Exploring Operation: 8+23=31, Resulting Numbers: [75, 23, 31]
Generated Node #0,2: 71:[75, 23, 31] Operation: 8+23=31
Exploring Operation: 75-8=67, Resulting Numbers: [23, 23, 67]
Generated Node #0,3: 71:[23, 23, 67] Operation: 75-8=67
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[23, 75, 31], Operations: ['8+23=31']
Exploring Operation: 31-23=8, Resulting Numbers: [75, 8]
Generated Node #0,0,0: 71:[75, 8] Operation: 31-23=8
Exploring Operation: 23+75=98, Resulting Numbers: [31, 98]
Generated Node #0,0,1: 71:[31, 98] Operation: 23+75=98
Exploring Operation: 75-23=52, Resulting Numbers: [31, 52]
Generated Node #0,0,2: 71:[31, 52] Operation: 75-23=52
Exploring Operation: 23+31=54, Resulting Numbers: [75, 54]
Generated Node #0,0,3: 71:[75, 54] Operation: 23+31=54
Moving to Node #0,0,3
Current State: 71:[75, 54], Operations: ['8+23=31', '23+31=54']
Exploring Operation: 75+54=129, Resulting Numbers: [129]
129,71 unequal: No Solution
Exploring Operation: 75*54=4050, Resulting Numbers: [4050]
4050,71 unequal: No Solution
Exploring Operation: 75-54=21, Resulting Numbers: [21]
21,71 unequal: No Solution
Moving to Node #0,0,2
Current State: 71:[31, 52], Operations: ['8+23=31', '75-23=52']
Exploring Operation: 31+52=83, Resulting Numbers: [83]
83,71 unequal: No Solution
Exploring Operation: 52-31=21, Resulting Numbers: [21]
21,71 unequal: No Solution
Exploring Operation: 31*52=1612, Resulting Numbers: [1612]
1612,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[31, 98], Operations: ['8+23=31', '23+75=98']
Exploring Operation: 31*98=3038, Resulting Numbers: [3038]
3038,71 unequal: No Solution
Exploring Operation: 98-31=67, Resulting Numbers: [67]
67,71 unequal: No Solution
Exploring Operation: 31+98=129, Resulting Numbers: [129]
129,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[75, 8], Operations: ['8+23=31', '31-23=8']
Exploring Operation: 75*8=600, Resulting Numbers: [600]
600,71 unequal: No Solution
Exploring Operation: 75-8=67, Resulting Numbers: [67]
67,71 unequal: No Solution
Exploring Operation: 75+8=83, Resulting Numbers: [83]
83,71 unequal: No Solution
No 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: 71:[8, 75, 46], Operations: ['23+23=46']
Exploring Operation: 75-8=67, Resulting Numbers: [46, 67]
Generated Node #0,1,0: 71:[46, 67] Operation: 75-8=67
Exploring Operation: 46-8=38, Resulting Numbers: [75, 38]
Generated Node #0,1,1: 71:[75, 38] Operation: 46-8=38
Exploring Operation: 8+46=54, Resulting Numbers: [75, 54]
Generated Node #0,1,2: 71:[75, 54] Operation: 8+46=54
Exploring Operation: 8+75=83, Resulting Numbers: [46, 83]
Generated Node #0,1,3: 71:[46, 83] Operation: 8+75=83
Moving to Node #0,1,2
Current State: 71:[75, 54], Operations: ['23+23=46', '8+46=54']
Exploring Operation: 75-54=21, Resulting Numbers: [21]
21,71 unequal: No Solution
Exploring Operation: 75*54=4050, Resulting Numbers: [4050]
4050,71 unequal: No Solution
Exploring Operation: 75+54=129, Resulting Numbers: [129]
129,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[46, 67], Operations: ['23+23=46', '75-8=67']
Exploring Operation: 46+67=113, Resulting Numbers: [113]
113,71 unequal: No Solution
Exploring Operation: 67-46=21, Resulting Numbers: [21]
21,71 unequal: No Solution
Exploring Operation: 46*67=3082, Resulting Numbers: [3082]
3082,71 unequal: No Solution
Moving to Node #0,1,3
Current State: 71:[46, 83], Operations: ['23+23=46', '8+75=83']
Exploring Operation: 83-46=37, Resulting Numbers: [37]
37,71 unequal: No Solution
Exploring Operation: 46*83=3818, Resulting Numbers: [3818]
3818,71 unequal: No Solution
Exploring Operation: 46+83=129, Resulting Numbers: [129]
129,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[75, 38], Operations: ['23+23=46', '46-8=38']
Exploring Operation: 75-38=37, Resulting Numbers: [37]
37,71 unequal: No Solution
Exploring Operation: 75+38=113, Resulting Numbers: [113]
113,71 unequal: No Solution
Exploring Operation: 75*38=2850, Resulting Numbers: [2850]
2850,71 unequal: No Solution
No 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: 71:[75, 23, 31], Operations: ['8+23=31']
Exploring Operation: 31-23=8, Resulting Numbers: [75, 8]
Generated Node #0,2,0: 71:[75, 8] Operation: 31-23=8
Exploring Operation: 23+31=54, Resulting Numbers: [75, 54]
Generated Node #0,2,1: 71:[75, 54] Operation: 23+31=54
Exploring Operation: 75-23=52, Resulting Numbers: [31, 52]
Generated Node #0,2,2: 71:[31, 52] Operation: 75-23=52
Exploring Operation: 75+23=98, Resulting Numbers: [31, 98]
Generated Node #0,2,3: 71:[31, 98] Operation: 75+23=98
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 71:[75, 54], Operations: ['8+23=31', '23+31=54']
Exploring Operation: 75*54=4050, Resulting Numbers: [4050]
4050,71 unequal: No Solution
Exploring Operation: 75-54=21, Resulting Numbers: [21]
21,71 unequal: No Solution
Exploring Operation: 75+54=129, Resulting Numbers: [129]
129,71 unequal: No Solution
No 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: 71:[31, 52], Operations: ['8+23=31', '75-23=52']
Exploring Operation: 31+52=83, Resulting Numbers: [83]
83,71 unequal: No Solution
Exploring Operation: 52-31=21, Resulting Numbers: [21]
21,71 unequal: No Solution
Exploring Operation: 31*52=1612, Resulting Numbers: [1612]
1612,71 unequal: No Solution
No 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: 71:[75, 8], Operations: ['8+23=31', '31-23=8']
Exploring Operation: 75*8=600, Resulting Numbers: [600]
600,71 unequal: No Solution
Exploring Operation: 75+8=83, Resulting Numbers: [83]
83,71 unequal: No Solution
Exploring Operation: 75-8=67, Resulting Numbers: [67]
67,71 unequal: No Solution
No 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: 71:[31, 98], Operations: ['8+23=31', '75+23=98']
Exploring Operation: 31*98=3038, Resulting Numbers: [3038]
3038,71 unequal: No Solution
Exploring Operation: 98-31=67, Resulting Numbers: [67]
67,71 unequal: No Solution
Exploring Operation: 31+98=129, Resulting Numbers: [129]
129,71 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: 71:[23, 23, 67], Operations: ['75-8=67']
Exploring Operation: 23+67=90, Resulting Numbers: [23, 90]
Generated Node #0,3,0: 71:[23, 90] Operation: 23+67=90
Exploring Operation: 23+23=46, Resulting Numbers: [67, 46]
Generated Node #0,3,1: 71:[67, 46] Operation: 23+23=46
Exploring Operation: 23+67=90, Resulting Numbers: [23, 90]
Generated Node #0,3,2: 71:[23, 90] Operation: 23+67=90
Exploring Operation: 23/23=1, Resulting Numbers: [67, 1]
Generated Node #0,3,3: 71:[67, 1] Operation: 23/23=1
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 71:[67, 46], Operations: ['75-8=67', '23+23=46']
Exploring Operation: 67*46=3082, Resulting Numbers: [3082]
3082,71 unequal: No Solution
Exploring Operation: 67-46=21, Resulting Numbers: [21]
21,71 unequal: No Solution
Exploring Operation: 67+46=113, Resulting Numbers: [113]
113,71 unequal: No Solution
No 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: 71:[23, 90], Operations: ['75-8=67', '23+67=90']
Exploring Operation: 23+90=113, Resulting Numbers: [113]
113,71 unequal: No Solution
Exploring Operation: 90-23=67, Resulting Numbers: [67]
67,71 unequal: No Solution
Exploring Operation: 23*90=2070, Resulting Numbers: [2070]
2070,71 unequal: No Solution
No 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: 71:[23, 90], Operations: ['75-8=67', '23+67=90']
Exploring Operation: 23*90=2070, Resulting Numbers: [2070]
2070,71 unequal: No Solution
Exploring Operation: 90-23=67, Resulting Numbers: [67]
67,71 unequal: No Solution
Exploring Operation: 23+90=113, Resulting Numbers: [113]
113,71 unequal: No Solution
No 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: 71:[67, 1], Operations: ['75-8=67', '23/23=1']
Exploring Operation: 67+1=68, Resulting Numbers: [68]
68,71 unequal: No Solution
Exploring Operation: 67*1=67, Resulting Numbers: [67]
67,71 unequal: No Solution
Exploring Operation: 67-1=66, Resulting Numbers: [66]
66,71 unequal: No Solution
Exploring Operation: 67/1=67, Resulting Numbers: [67]
67,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
30,
10,
29,
56
] | 81 | [
"30/10=3",
"56-29=27",
"3*27=81"
] | Current State: 81:[30, 10, 29, 56], Operations: []
Exploring Operation: 30/10=3, Resulting Numbers: [29, 56, 3]
Generated Node #2: [29, 56, 3] from Operation: 30/10=3
Current State: 81:[29, 56, 3], Operations: ['30/10=3']
Exploring Operation: 56-29=27, Resulting Numbers: [3, 27]
Generated Node #3: [3, 27] from Operation: 56-29=27
Current State: 81:[3, 27], Operations: ['30/10=3', '56-29=27']
Exploring Operation: 3*27=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[30, 10, 29, 56], Operations: []
Exploring Operation: 10+56=66, Resulting Numbers: [30, 29, 66]
Generated Node #0,0: 81:[30, 29, 66] Operation: 10+56=66
Exploring Operation: 29+56=85, Resulting Numbers: [30, 10, 85]
Generated Node #0,1: 81:[30, 10, 85] Operation: 29+56=85
Exploring Operation: 56-29=27, Resulting Numbers: [30, 10, 27]
Generated Node #0,2: 81:[30, 10, 27] Operation: 56-29=27
Exploring Operation: 30+56=86, Resulting Numbers: [10, 29, 86]
Generated Node #0,3: 81:[10, 29, 86] Operation: 30+56=86
Exploring Operation: 56-30=26, Resulting Numbers: [10, 29, 26]
Generated Node #0,4: 81:[10, 29, 26] Operation: 56-30=26
Moving to Node #0,2
Current State: 81:[30, 10, 27], Operations: ['56-29=27']
Exploring Operation: 30-27=3, Resulting Numbers: [10, 3]
Generated Node #0,2,0: 81:[10, 3] Operation: 30-27=3
Exploring Operation: 30+10=40, Resulting Numbers: [27, 40]
Generated Node #0,2,1: 81:[27, 40] Operation: 30+10=40
Exploring Operation: 30-10=20, Resulting Numbers: [27, 20]
Generated Node #0,2,2: 81:[27, 20] Operation: 30-10=20
Exploring Operation: 27-10=17, Resulting Numbers: [30, 17]
Generated Node #0,2,3: 81:[30, 17] Operation: 27-10=17
Exploring Operation: 30/10=3, Resulting Numbers: [27, 3]
Generated Node #0,2,4: 81:[27, 3] Operation: 30/10=3
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 81:[27, 3], Operations: ['56-29=27', '30/10=3']
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,81 unequal: No Solution
Exploring Operation: 27+3=30, Resulting Numbers: [30]
30,81 unequal: No Solution
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[30, 10, 29, 56], Operations: []
Exploring Operation: 56-29=27, Resulting Numbers: [30, 10, 27]
Generated Node #0,2: 81:[30, 10, 27] Operation: 56-29=27
Moving to Node #0,2
Current State: 81:[30, 10, 27], Operations: ['56-29=27']
Exploring Operation: 30/10=3, Resulting Numbers: [27, 3]
Generated Node #0,2,4: 81:[27, 3] Operation: 30/10=3
Moving to Node #0,2,4
Current State: 81:[27, 3], Operations: ['56-29=27', '30/10=3']
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
40,
41,
43,
27
] | 69 | [
"41-40=1",
"43+27=70",
"70-1=69"
] | Current State: 69:[40, 41, 43, 27], Operations: []
Exploring Operation: 41-40=1, Resulting Numbers: [43, 27, 1]
Generated Node #2: [43, 27, 1] from Operation: 41-40=1
Current State: 69:[43, 27, 1], Operations: ['41-40=1']
Exploring Operation: 43+27=70, Resulting Numbers: [1, 70]
Generated Node #3: [1, 70] from Operation: 43+27=70
Current State: 69:[1, 70], Operations: ['41-40=1', '43+27=70']
Exploring Operation: 70-1=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[40, 41, 43, 27], Operations: []
Exploring Operation: 43-40=3, Resulting Numbers: [41, 27, 3]
Generated Node #0,0: 69:[41, 27, 3] Operation: 43-40=3
Exploring Operation: 43-41=2, Resulting Numbers: [40, 27, 2]
Generated Node #0,1: 69:[40, 27, 2] Operation: 43-41=2
Exploring Operation: 41-40=1, Resulting Numbers: [43, 27, 1]
Generated Node #0,2: 69:[43, 27, 1] Operation: 41-40=1
Exploring Operation: 40+41=81, Resulting Numbers: [43, 27, 81]
Generated Node #0,3: 69:[43, 27, 81] Operation: 40+41=81
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[41, 27, 3], Operations: ['43-40=3']
Exploring Operation: 27-3=24, Resulting Numbers: [41, 24]
Generated Node #0,0,0: 69:[41, 24] Operation: 27-3=24
Exploring Operation: 41-27=14, Resulting Numbers: [3, 14]
Generated Node #0,0,1: 69:[3, 14] Operation: 41-27=14
Exploring Operation: 41-3=38, Resulting Numbers: [27, 38]
Generated Node #0,0,2: 69:[27, 38] Operation: 41-3=38
Exploring Operation: 41+27=68, Resulting Numbers: [3, 68]
Generated Node #0,0,3: 69:[3, 68] Operation: 41+27=68
Moving to Node #0,0,3
Current State: 69:[3, 68], Operations: ['43-40=3', '41+27=68']
Exploring Operation: 3*68=204, Resulting Numbers: [204]
204,69 unequal: No Solution
Exploring Operation: 3+68=71, Resulting Numbers: [71]
71,69 unequal: No Solution
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,69 unequal: No Solution
Moving to Node #0,0,1
Current State: 69:[3, 14], Operations: ['43-40=3', '41-27=14']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,69 unequal: No Solution
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,69 unequal: No Solution
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,69 unequal: No Solution
Moving to Node #0,0,2
Current State: 69:[27, 38], Operations: ['43-40=3', '41-3=38']
Exploring Operation: 27*38=1026, Resulting Numbers: [1026]
1026,69 unequal: No Solution
Exploring Operation: 27+38=65, Resulting Numbers: [65]
65,69 unequal: No Solution
Exploring Operation: 38-27=11, Resulting Numbers: [11]
11,69 unequal: No Solution
Moving to Node #0,0,0
Current State: 69:[41, 24], Operations: ['43-40=3', '27-3=24']
Exploring Operation: 41-24=17, Resulting Numbers: [17]
17,69 unequal: No Solution
Exploring Operation: 41+24=65, Resulting Numbers: [65]
65,69 unequal: No Solution
Exploring Operation: 41*24=984, Resulting Numbers: [984]
984,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[40, 27, 2], Operations: ['43-41=2']
Exploring Operation: 40+27=67, Resulting Numbers: [2, 67]
Generated Node #0,1,0: 69:[2, 67] Operation: 40+27=67
Exploring Operation: 40-27=13, Resulting Numbers: [2, 13]
Generated Node #0,1,1: 69:[2, 13] Operation: 40-27=13
Exploring Operation: 40/2=20, Resulting Numbers: [27, 20]
Generated Node #0,1,2: 69:[27, 20] Operation: 40/2=20
Exploring Operation: 40*2=80, Resulting Numbers: [27, 80]
Generated Node #0,1,3: 69:[27, 80] Operation: 40*2=80
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 69:[2, 67], Operations: ['43-41=2', '40+27=67']
Exploring Operation: 2*67=134, Resulting Numbers: [134]
134,69 unequal: No Solution
Exploring Operation: 2+67=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[40, 41, 43, 27], Operations: []
Exploring Operation: 43-41=2, Resulting Numbers: [40, 27, 2]
Generated Node #0,1: 69:[40, 27, 2] Operation: 43-41=2
Moving to Node #0,1
Current State: 69:[40, 27, 2], Operations: ['43-41=2']
Exploring Operation: 40+27=67, Resulting Numbers: [2, 67]
Generated Node #0,1,0: 69:[2, 67] Operation: 40+27=67
Moving to Node #0,1,0
Current State: 69:[2, 67], Operations: ['43-41=2', '40+27=67']
Exploring Operation: 2+67=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.973958 | hs_4 | sum_heuristic |
[
80,
17,
27,
4
] | 10 | [
"80/4=20",
"27-17=10",
"20-10=10"
] | Current State: 10:[80, 17, 27, 4], Operations: []
Exploring Operation: 80/4=20, Resulting Numbers: [17, 27, 20]
Generated Node #2: [17, 27, 20] from Operation: 80/4=20
Current State: 10:[17, 27, 20], Operations: ['80/4=20']
Exploring Operation: 27-17=10, Resulting Numbers: [20, 10]
Generated Node #3: [20, 10] from Operation: 27-17=10
Current State: 10:[20, 10], Operations: ['80/4=20', '27-17=10']
Exploring Operation: 20-10=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[80, 17, 27, 4], Operations: []
Exploring Operation: 80/4=20, Resulting Numbers: [17, 27, 20]
Generated Node #0,0: 10:[17, 27, 20] Operation: 80/4=20
Exploring Operation: 80-27=53, Resulting Numbers: [17, 4, 53]
Generated Node #0,1: 10:[17, 4, 53] Operation: 80-27=53
Moving to Node #0,0
Current State: 10:[17, 27, 20], Operations: ['80/4=20']
Exploring Operation: 27-17=10, Resulting Numbers: [20, 10]
Generated Node #0,0,0: 10:[20, 10] Operation: 27-17=10
Exploring Operation: 27-20=7, Resulting Numbers: [17, 7]
Generated Node #0,0,1: 10:[17, 7] Operation: 27-20=7
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 10:[17, 7], Operations: ['80/4=20', '27-20=7']
Exploring Operation: 17+7=24, Resulting Numbers: [24]
24,10 unequal: No Solution
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[80, 17, 27, 4], Operations: []
Exploring Operation: 80/4=20, Resulting Numbers: [17, 27, 20]
Generated Node #0,0: 10:[17, 27, 20] Operation: 80/4=20
Moving to Node #0,0
Current State: 10:[17, 27, 20], Operations: ['80/4=20']
Exploring Operation: 27-20=7, Resulting Numbers: [17, 7]
Generated Node #0,0,1: 10:[17, 7] Operation: 27-20=7
Moving to Node #0,0,1
Current State: 10:[17, 7], Operations: ['80/4=20', '27-20=7']
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
66,
94,
14,
3
] | 100 | [
"14-3=11",
"66/11=6",
"94+6=100"
] | Current State: 100:[66, 94, 14, 3], Operations: []
Exploring Operation: 14-3=11, Resulting Numbers: [66, 94, 11]
Generated Node #2: [66, 94, 11] from Operation: 14-3=11
Current State: 100:[66, 94, 11], Operations: ['14-3=11']
Exploring Operation: 66/11=6, Resulting Numbers: [94, 6]
Generated Node #3: [94, 6] from Operation: 66/11=6
Current State: 100:[94, 6], Operations: ['14-3=11', '66/11=6']
Exploring Operation: 94+6=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[66, 94, 14, 3], Operations: []
Exploring Operation: 66-14=52, Resulting Numbers: [94, 3, 52]
Generated Node #0,0: 100:[94, 3, 52] Operation: 66-14=52
Exploring Operation: 94-66=28, Resulting Numbers: [14, 3, 28]
Generated Node #0,1: 100:[14, 3, 28] Operation: 94-66=28
Start Sub Search at level 1: Moving to Node #0,1
Current State: 100:[14, 3, 28], Operations: ['94-66=28']
Exploring Operation: 14-3=11, Resulting Numbers: [28, 11]
Generated Node #0,1,0: 100:[28, 11] Operation: 14-3=11
Exploring Operation: 28/14=2, Resulting Numbers: [3, 2]
Generated Node #0,1,1: 100:[3, 2] Operation: 28/14=2
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 100:[3, 2], Operations: ['94-66=28', '28/14=2']
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,100 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 100:[28, 11], Operations: ['94-66=28', '14-3=11']
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,100 unequal: No Solution
Exploring Operation: 28+11=39, Resulting Numbers: [39]
39,100 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: 100:[94, 3, 52], Operations: ['66-14=52']
Exploring Operation: 94+3=97, Resulting Numbers: [52, 97]
Generated Node #0,0,0: 100:[52, 97] Operation: 94+3=97
Exploring Operation: 52-3=49, Resulting Numbers: [94, 49]
Generated Node #0,0,1: 100:[94, 49] Operation: 52-3=49
Moving to Node #0,0,0
Current State: 100:[52, 97], Operations: ['66-14=52', '94+3=97']
Exploring Operation: 97-52=45, Resulting Numbers: [45]
45,100 unequal: No Solution
Exploring Operation: 52+97=149, Resulting Numbers: [149]
149,100 unequal: No Solution
Moving to Node #0,0,1
Current State: 100:[94, 49], Operations: ['66-14=52', '52-3=49']
Exploring Operation: 94+49=143, Resulting Numbers: [143]
143,100 unequal: No Solution
Exploring Operation: 94-49=45, Resulting Numbers: [45]
45,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
70,
24,
47,
27
] | 84 | [
"70*24=1680",
"47-27=20",
"1680/20=84"
] | Current State: 84:[70, 24, 47, 27], Operations: []
Exploring Operation: 70*24=1680, Resulting Numbers: [47, 27, 1680]
Generated Node #2: [47, 27, 1680] from Operation: 70*24=1680
Current State: 84:[47, 27, 1680], Operations: ['70*24=1680']
Exploring Operation: 47-27=20, Resulting Numbers: [1680, 20]
Generated Node #3: [1680, 20] from Operation: 47-27=20
Current State: 84:[1680, 20], Operations: ['70*24=1680', '47-27=20']
Exploring Operation: 1680/20=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[70, 24, 47, 27], Operations: []
Exploring Operation: 70-47=23, Resulting Numbers: [24, 27, 23]
Generated Node #0,0: 84:[24, 27, 23] Operation: 70-47=23
Moving to Node #0,0
Current State: 84:[24, 27, 23], Operations: ['70-47=23']
Exploring Operation: 27-24=3, Resulting Numbers: [23, 3]
Generated Node #0,0,0: 84:[23, 3] Operation: 27-24=3
Moving to Node #0,0,0
Current State: 84:[23, 3], Operations: ['70-47=23', '27-24=3']
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,84 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
19,
91,
33,
26
] | 20 | [
"26-19=7",
"91/7=13",
"33-13=20"
] | Current State: 20:[19, 91, 33, 26], Operations: []
Exploring Operation: 26-19=7, Resulting Numbers: [91, 33, 7]
Generated Node #2: [91, 33, 7] from Operation: 26-19=7
Current State: 20:[91, 33, 7], Operations: ['26-19=7']
Exploring Operation: 91/7=13, Resulting Numbers: [33, 13]
Generated Node #3: [33, 13] from Operation: 91/7=13
Current State: 20:[33, 13], Operations: ['26-19=7', '91/7=13']
Exploring Operation: 33-13=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[19, 91, 33, 26], Operations: []
Exploring Operation: 91-33=58, Resulting Numbers: [19, 26, 58]
Generated Node #0,0: 20:[19, 26, 58] Operation: 91-33=58
Moving to Node #0,0
Current State: 20:[19, 26, 58], Operations: ['91-33=58']
Exploring Operation: 58-26=32, Resulting Numbers: [19, 32]
Generated Node #0,0,0: 20:[19, 32] Operation: 58-26=32
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 20:[19, 32], Operations: ['91-33=58', '58-26=32']
Exploring Operation: 32-19=13, Resulting Numbers: [13]
13,20 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 |
[
42,
63,
60,
93
] | 21 | [
"93-63=30",
"42*30=1260",
"1260/60=21"
] | Current State: 21:[42, 63, 60, 93], Operations: []
Exploring Operation: 93-63=30, Resulting Numbers: [42, 60, 30]
Generated Node #2: [42, 60, 30] from Operation: 93-63=30
Current State: 21:[42, 60, 30], Operations: ['93-63=30']
Exploring Operation: 42*30=1260, Resulting Numbers: [60, 1260]
Generated Node #3: [60, 1260] from Operation: 42*30=1260
Current State: 21:[60, 1260], Operations: ['93-63=30', '42*30=1260']
Exploring Operation: 1260/60=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[42, 63, 60, 93], Operations: []
Exploring Operation: 93-63=30, Resulting Numbers: [42, 60, 30]
Generated Node #0,0: 21:[42, 60, 30] Operation: 93-63=30
Exploring Operation: 93-60=33, Resulting Numbers: [42, 63, 33]
Generated Node #0,1: 21:[42, 63, 33] Operation: 93-60=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[42, 60, 30], Operations: ['93-63=30']
Exploring Operation: 60/30=2, Resulting Numbers: [42, 2]
Generated Node #0,0,0: 21:[42, 2] Operation: 60/30=2
Exploring Operation: 60-42=18, Resulting Numbers: [30, 18]
Generated Node #0,0,1: 21:[30, 18] Operation: 60-42=18
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 21:[30, 18], Operations: ['93-63=30', '60-42=18']
Exploring Operation: 30+18=48, Resulting Numbers: [48]
48,21 unequal: No Solution
Exploring Operation: 30-18=12, Resulting Numbers: [12]
12,21 unequal: No Solution
No 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: 21:[42, 2], Operations: ['93-63=30', '60/30=2']
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,21 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[42, 63, 60, 93], Operations: []
Exploring Operation: 93-63=30, Resulting Numbers: [42, 60, 30]
Generated Node #0,0: 21:[42, 60, 30] Operation: 93-63=30
Moving to Node #0,0
Current State: 21:[42, 60, 30], Operations: ['93-63=30']
Exploring Operation: 60/30=2, Resulting Numbers: [42, 2]
Generated Node #0,0,0: 21:[42, 2] Operation: 60/30=2
Moving to Node #0,0,0
Current State: 21:[42, 2], Operations: ['93-63=30', '60/30=2']
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
95,
34,
48,
93
] | 65 | [
"95-93=2",
"34/2=17",
"48+17=65"
] | Current State: 65:[95, 34, 48, 93], Operations: []
Exploring Operation: 95-93=2, Resulting Numbers: [34, 48, 2]
Generated Node #2: [34, 48, 2] from Operation: 95-93=2
Current State: 65:[34, 48, 2], Operations: ['95-93=2']
Exploring Operation: 34/2=17, Resulting Numbers: [48, 17]
Generated Node #3: [48, 17] from Operation: 34/2=17
Current State: 65:[48, 17], Operations: ['95-93=2', '34/2=17']
Exploring Operation: 48+17=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[95, 34, 48, 93], Operations: []
Exploring Operation: 95-34=61, Resulting Numbers: [48, 93, 61]
Generated Node #0,0: 65:[48, 93, 61] Operation: 95-34=61
Exploring Operation: 95-93=2, Resulting Numbers: [34, 48, 2]
Generated Node #0,1: 65:[34, 48, 2] Operation: 95-93=2
Moving to Node #0,1
Current State: 65:[34, 48, 2], Operations: ['95-93=2']
Exploring Operation: 48-34=14, Resulting Numbers: [2, 14]
Generated Node #0,1,0: 65:[2, 14] Operation: 48-34=14
Exploring Operation: 34+48=82, Resulting Numbers: [2, 82]
Generated Node #0,1,1: 65:[2, 82] Operation: 34+48=82
Moving to Node #0,0
Current State: 65:[48, 93, 61], Operations: ['95-34=61']
Exploring Operation: 93-48=45, Resulting Numbers: [61, 45]
Generated Node #0,0,0: 65:[61, 45] Operation: 93-48=45
Exploring Operation: 61-48=13, Resulting Numbers: [93, 13]
Generated Node #0,0,1: 65:[93, 13] Operation: 61-48=13
Moving to Node #0,1,0
Current State: 65:[2, 14], Operations: ['95-93=2', '48-34=14']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,65 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,65 unequal: No Solution
Moving to Node #0,1,1
Current State: 65:[2, 82], Operations: ['95-93=2', '34+48=82']
Exploring Operation: 2+82=84, Resulting Numbers: [84]
84,65 unequal: No Solution
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,65 unequal: No Solution
Moving to Node #0,0,0
Current State: 65:[61, 45], Operations: ['95-34=61', '93-48=45']
Exploring Operation: 61-45=16, Resulting Numbers: [16]
16,65 unequal: No Solution
Exploring Operation: 61+45=106, Resulting Numbers: [106]
106,65 unequal: No Solution
Moving to Node #0,0,1
Current State: 65:[93, 13], Operations: ['95-34=61', '61-48=13']
Exploring Operation: 93-13=80, Resulting Numbers: [80]
80,65 unequal: No Solution
Exploring Operation: 93+13=106, Resulting Numbers: [106]
106,65 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
92,
45,
89,
96
] | 17 | [
"92-89=3",
"96-45=51",
"51/3=17"
] | Current State: 17:[92, 45, 89, 96], Operations: []
Exploring Operation: 92-89=3, Resulting Numbers: [45, 96, 3]
Generated Node #2: [45, 96, 3] from Operation: 92-89=3
Current State: 17:[45, 96, 3], Operations: ['92-89=3']
Exploring Operation: 96-45=51, Resulting Numbers: [3, 51]
Generated Node #3: [3, 51] from Operation: 96-45=51
Current State: 17:[3, 51], Operations: ['92-89=3', '96-45=51']
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[92, 45, 89, 96], Operations: []
Exploring Operation: 92-45=47, Resulting Numbers: [89, 96, 47]
Generated Node #0,0: 17:[89, 96, 47] Operation: 92-45=47
Exploring Operation: 96-89=7, Resulting Numbers: [92, 45, 7]
Generated Node #0,1: 17:[92, 45, 7] Operation: 96-89=7
Exploring Operation: 96-92=4, Resulting Numbers: [45, 89, 4]
Generated Node #0,2: 17:[45, 89, 4] Operation: 96-92=4
Exploring Operation: 92-89=3, Resulting Numbers: [45, 96, 3]
Generated Node #0,3: 17:[45, 96, 3] Operation: 92-89=3
Exploring Operation: 89-45=44, Resulting Numbers: [92, 96, 44]
Generated Node #0,4: 17:[92, 96, 44] Operation: 89-45=44
Start Sub Search at level 1: Moving to Node #0,1
Current State: 17:[92, 45, 7], Operations: ['96-89=7']
Exploring Operation: 92+7=99, Resulting Numbers: [45, 99]
Generated Node #0,1,0: 17:[45, 99] Operation: 92+7=99
Exploring Operation: 92-7=85, Resulting Numbers: [45, 85]
Generated Node #0,1,1: 17:[45, 85] Operation: 92-7=85
Exploring Operation: 45-7=38, Resulting Numbers: [92, 38]
Generated Node #0,1,2: 17:[92, 38] Operation: 45-7=38
Exploring Operation: 92-45=47, Resulting Numbers: [7, 47]
Generated Node #0,1,3: 17:[7, 47] Operation: 92-45=47
Exploring Operation: 45+7=52, Resulting Numbers: [92, 52]
Generated Node #0,1,4: 17:[92, 52] Operation: 45+7=52
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 17:[7, 47], Operations: ['96-89=7', '92-45=47']
Exploring Operation: 7*47=329, Resulting Numbers: [329]
329,17 unequal: No Solution
Exploring Operation: 47-7=40, Resulting Numbers: [40]
40,17 unequal: No Solution
Exploring Operation: 7+47=54, Resulting Numbers: [54]
54,17 unequal: No Solution
No 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: 17:[45, 85], Operations: ['96-89=7', '92-7=85']
Exploring Operation: 45*85=3825, Resulting Numbers: [3825]
3825,17 unequal: No Solution
Exploring Operation: 45+85=130, Resulting Numbers: [130]
130,17 unequal: No Solution
Exploring Operation: 85-45=40, Resulting Numbers: [40]
40,17 unequal: No Solution
No 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: 17:[92, 38], Operations: ['96-89=7', '45-7=38']
Exploring Operation: 92-38=54, Resulting Numbers: [54]
54,17 unequal: No Solution
Exploring Operation: 92*38=3496, Resulting Numbers: [3496]
3496,17 unequal: No Solution
Exploring Operation: 92+38=130, Resulting Numbers: [130]
130,17 unequal: No Solution
No 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: 17:[45, 99], Operations: ['96-89=7', '92+7=99']
Exploring Operation: 99-45=54, Resulting Numbers: [54]
54,17 unequal: No Solution
Exploring Operation: 45*99=4455, Resulting Numbers: [4455]
4455,17 unequal: No Solution
Exploring Operation: 45+99=144, Resulting Numbers: [144]
144,17 unequal: No Solution
No 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: 17:[92, 52], Operations: ['96-89=7', '45+7=52']
Exploring Operation: 92+52=144, Resulting Numbers: [144]
144,17 unequal: No Solution
Exploring Operation: 92*52=4784, Resulting Numbers: [4784]
4784,17 unequal: No Solution
Exploring Operation: 92-52=40, Resulting Numbers: [40]
40,17 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: 17:[45, 89, 4], Operations: ['96-92=4']
Exploring Operation: 45+4=49, Resulting Numbers: [89, 49]
Generated Node #0,2,0: 17:[89, 49] Operation: 45+4=49
Exploring Operation: 89-45=44, Resulting Numbers: [4, 44]
Generated Node #0,2,1: 17:[4, 44] Operation: 89-45=44
Exploring Operation: 45-4=41, Resulting Numbers: [89, 41]
Generated Node #0,2,2: 17:[89, 41] Operation: 45-4=41
Exploring Operation: 89-4=85, Resulting Numbers: [45, 85]
Generated Node #0,2,3: 17:[45, 85] Operation: 89-4=85
Exploring Operation: 89+4=93, Resulting Numbers: [45, 93]
Generated Node #0,2,4: 17:[45, 93] Operation: 89+4=93
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 17:[4, 44], Operations: ['96-92=4', '89-45=44']
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,17 unequal: No Solution
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,17 unequal: No Solution
Exploring Operation: 4+44=48, Resulting Numbers: [48]
48,17 unequal: No Solution
Exploring Operation: 4*44=176, Resulting Numbers: [176]
176,17 unequal: No Solution
No 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: 17:[89, 41], Operations: ['96-92=4', '45-4=41']
Exploring Operation: 89*41=3649, Resulting Numbers: [3649]
3649,17 unequal: No Solution
Exploring Operation: 89+41=130, Resulting Numbers: [130]
130,17 unequal: No Solution
Exploring Operation: 89-41=48, Resulting Numbers: [48]
48,17 unequal: No Solution
No 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: 17:[45, 85], Operations: ['96-92=4', '89-4=85']
Exploring Operation: 45*85=3825, Resulting Numbers: [3825]
3825,17 unequal: No Solution
Exploring Operation: 85-45=40, Resulting Numbers: [40]
40,17 unequal: No Solution
Exploring Operation: 45+85=130, Resulting Numbers: [130]
130,17 unequal: No Solution
No 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: 17:[89, 49], Operations: ['96-92=4', '45+4=49']
Exploring Operation: 89*49=4361, Resulting Numbers: [4361]
4361,17 unequal: No Solution
Exploring Operation: 89+49=138, Resulting Numbers: [138]
138,17 unequal: No Solution
Exploring Operation: 89-49=40, Resulting Numbers: [40]
40,17 unequal: No Solution
No 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: 17:[45, 93], Operations: ['96-92=4', '89+4=93']
Exploring Operation: 45*93=4185, Resulting Numbers: [4185]
4185,17 unequal: No Solution
Exploring Operation: 93-45=48, Resulting Numbers: [48]
48,17 unequal: No Solution
Exploring Operation: 45+93=138, Resulting Numbers: [138]
138,17 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: 17:[45, 96, 3], Operations: ['92-89=3']
Exploring Operation: 96/3=32, Resulting Numbers: [45, 32]
Generated Node #0,3,0: 17:[45, 32] Operation: 96/3=32
Exploring Operation: 45/3=15, Resulting Numbers: [96, 15]
Generated Node #0,3,1: 17:[96, 15] Operation: 45/3=15
Exploring Operation: 45-3=42, Resulting Numbers: [96, 42]
Generated Node #0,3,2: 17:[96, 42] Operation: 45-3=42
Exploring Operation: 96-3=93, Resulting Numbers: [45, 93]
Generated Node #0,3,3: 17:[45, 93] Operation: 96-3=93
Exploring Operation: 96-45=51, Resulting Numbers: [3, 51]
Generated Node #0,3,4: 17:[3, 51] Operation: 96-45=51
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 17:[45, 32], Operations: ['92-89=3', '96/3=32']
Exploring Operation: 45-32=13, Resulting Numbers: [13]
13,17 unequal: No Solution
Exploring Operation: 45+32=77, Resulting Numbers: [77]
77,17 unequal: No Solution
Exploring Operation: 45*32=1440, Resulting Numbers: [1440]
1440,17 unequal: No Solution
No 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: 17:[3, 51], Operations: ['92-89=3', '96-45=51']
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,17 unequal: No Solution
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[92, 45, 89, 96], Operations: []
Exploring Operation: 92-89=3, Resulting Numbers: [45, 96, 3]
Generated Node #0,3: 17:[45, 96, 3] Operation: 92-89=3
Moving to Node #0,3
Current State: 17:[45, 96, 3], Operations: ['92-89=3']
Exploring Operation: 96-45=51, Resulting Numbers: [3, 51]
Generated Node #0,3,4: 17:[3, 51] Operation: 96-45=51
Moving to Node #0,3,4
Current State: 17:[3, 51], Operations: ['92-89=3', '96-45=51']
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.947917 | hs_5 | sum_heuristic |
[
36,
83,
81,
80
] | 39 | [
"36+81=117",
"83-80=3",
"117/3=39"
] | Current State: 39:[36, 83, 81, 80], Operations: []
Exploring Operation: 36+81=117, Resulting Numbers: [83, 80, 117]
Generated Node #2: [83, 80, 117] from Operation: 36+81=117
Current State: 39:[83, 80, 117], Operations: ['36+81=117']
Exploring Operation: 83-80=3, Resulting Numbers: [117, 3]
Generated Node #3: [117, 3] from Operation: 83-80=3
Current State: 39:[117, 3], Operations: ['36+81=117', '83-80=3']
Exploring Operation: 117/3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[36, 83, 81, 80], Operations: []
Exploring Operation: 83-81=2, Resulting Numbers: [36, 80, 2]
Generated Node #0,0: 39:[36, 80, 2] Operation: 83-81=2
Exploring Operation: 83-80=3, Resulting Numbers: [36, 81, 3]
Generated Node #0,1: 39:[36, 81, 3] Operation: 83-80=3
Exploring Operation: 81-80=1, Resulting Numbers: [36, 83, 1]
Generated Node #0,2: 39:[36, 83, 1] Operation: 81-80=1
Moving to Node #0,0
Current State: 39:[36, 80, 2], Operations: ['83-81=2']
Exploring Operation: 80/2=40, Resulting Numbers: [36, 40]
Generated Node #0,0,0: 39:[36, 40] Operation: 80/2=40
Exploring Operation: 36+2=38, Resulting Numbers: [80, 38]
Generated Node #0,0,1: 39:[80, 38] Operation: 36+2=38
Exploring Operation: 80-36=44, Resulting Numbers: [2, 44]
Generated Node #0,0,2: 39:[2, 44] Operation: 80-36=44
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 39:[36, 40], Operations: ['83-81=2', '80/2=40']
Exploring Operation: 36+40=76, Resulting Numbers: [76]
76,39 unequal: No Solution
Exploring Operation: 36*40=1440, Resulting Numbers: [1440]
1440,39 unequal: No Solution
Exploring Operation: 40-36=4, Resulting Numbers: [4]
4,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:[2, 44], Operations: ['83-81=2', '80-36=44']
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,39 unequal: No Solution
Exploring Operation: 2+44=46, Resulting Numbers: [46]
46,39 unequal: No Solution
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,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:[80, 38], Operations: ['83-81=2', '36+2=38']
Exploring Operation: 80-38=42, Resulting Numbers: [42]
42,39 unequal: No Solution
Exploring Operation: 80+38=118, Resulting Numbers: [118]
118,39 unequal: No Solution
Exploring Operation: 80*38=3040, Resulting Numbers: [3040]
3040,39 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: 39:[36, 81, 3], Operations: ['83-80=3']
Exploring Operation: 81/3=27, Resulting Numbers: [36, 27]
Generated Node #0,1,0: 39:[36, 27] Operation: 81/3=27
Exploring Operation: 36+3=39, Resulting Numbers: [81, 39]
Generated Node #0,1,1: 39:[81, 39] Operation: 36+3=39
Exploring Operation: 81-36=45, Resulting Numbers: [3, 45]
Generated Node #0,1,2: 39:[3, 45] Operation: 81-36=45
Moving to Node #0,2
Current State: 39:[36, 83, 1], Operations: ['81-80=1']
Exploring Operation: 83-36=47, Resulting Numbers: [1, 47]
Generated Node #0,2,0: 39:[1, 47] Operation: 83-36=47
Exploring Operation: 36+1=37, Resulting Numbers: [83, 37]
Generated Node #0,2,1: 39:[83, 37] Operation: 36+1=37
Exploring Operation: 83-1=82, Resulting Numbers: [36, 82]
Generated Node #0,2,2: 39:[36, 82] Operation: 83-1=82
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 39:[1, 47], Operations: ['81-80=1', '83-36=47']
Exploring Operation: 47/1=47, Resulting Numbers: [47]
47,39 unequal: No Solution
Exploring Operation: 1*47=47, Resulting Numbers: [47]
47,39 unequal: No Solution
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,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,2,1
Current State: 39:[83, 37], Operations: ['81-80=1', '36+1=37']
Exploring Operation: 83+37=120, Resulting Numbers: [120]
120,39 unequal: No Solution
Exploring Operation: 83*37=3071, Resulting Numbers: [3071]
3071,39 unequal: No Solution
Exploring Operation: 83-37=46, Resulting Numbers: [46]
46,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,2,2
Current State: 39:[36, 82], Operations: ['81-80=1', '83-1=82']
Exploring Operation: 36+82=118, Resulting Numbers: [118]
118,39 unequal: No Solution
Exploring Operation: 36*82=2952, Resulting Numbers: [2952]
2952,39 unequal: No Solution
Exploring Operation: 82-36=46, Resulting Numbers: [46]
46,39 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: 39:[3, 45], Operations: ['83-80=3', '81-36=45']
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,39 unequal: No Solution
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,39 unequal: No Solution
Exploring Operation: 3+45=48, Resulting Numbers: [48]
48,39 unequal: No Solution
Moving to Node #0,1,0
Current State: 39:[36, 27], Operations: ['83-80=3', '81/3=27']
Exploring Operation: 36+27=63, Resulting Numbers: [63]
63,39 unequal: No Solution
Exploring Operation: 36*27=972, Resulting Numbers: [972]
972,39 unequal: No Solution
Exploring Operation: 36-27=9, Resulting Numbers: [9]
9,39 unequal: No Solution
Moving to Node #0,1,1
Current State: 39:[81, 39], Operations: ['83-80=3', '36+3=39']
Exploring Operation: 81*39=3159, Resulting Numbers: [3159]
3159,39 unequal: No Solution
Exploring Operation: 81+39=120, Resulting Numbers: [120]
120,39 unequal: No Solution
Exploring Operation: 81-39=42, Resulting Numbers: [42]
42,39 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
41,
35,
5,
92
] | 11 | [
"41+35=76",
"92-5=87",
"87-76=11"
] | Current State: 11:[41, 35, 5, 92], Operations: []
Exploring Operation: 41+35=76, Resulting Numbers: [5, 92, 76]
Generated Node #2: [5, 92, 76] from Operation: 41+35=76
Current State: 11:[5, 92, 76], Operations: ['41+35=76']
Exploring Operation: 92-5=87, Resulting Numbers: [76, 87]
Generated Node #3: [76, 87] from Operation: 92-5=87
Current State: 11:[76, 87], Operations: ['41+35=76', '92-5=87']
Exploring Operation: 87-76=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[41, 35, 5, 92], Operations: []
Exploring Operation: 92-35=57, Resulting Numbers: [41, 5, 57]
Generated Node #0,0: 11:[41, 5, 57] Operation: 92-35=57
Exploring Operation: 35/5=7, Resulting Numbers: [41, 92, 7]
Generated Node #0,1: 11:[41, 92, 7] Operation: 35/5=7
Exploring Operation: 41-5=36, Resulting Numbers: [35, 92, 36]
Generated Node #0,2: 11:[35, 92, 36] Operation: 41-5=36
Exploring Operation: 92-41=51, Resulting Numbers: [35, 5, 51]
Generated Node #0,3: 11:[35, 5, 51] Operation: 92-41=51
Exploring Operation: 41-35=6, Resulting Numbers: [5, 92, 6]
Generated Node #0,4: 11:[5, 92, 6] Operation: 41-35=6
Moving to Node #0,3
Current State: 11:[35, 5, 51], Operations: ['92-41=51']
Exploring Operation: 35/5=7, Resulting Numbers: [51, 7]
Generated Node #0,3,0: 11:[51, 7] Operation: 35/5=7
Exploring Operation: 35-5=30, Resulting Numbers: [51, 30]
Generated Node #0,3,1: 11:[51, 30] Operation: 35-5=30
Exploring Operation: 35+5=40, Resulting Numbers: [51, 40]
Generated Node #0,3,2: 11:[51, 40] Operation: 35+5=40
Exploring Operation: 51-5=46, Resulting Numbers: [35, 46]
Generated Node #0,3,3: 11:[35, 46] Operation: 51-5=46
Exploring Operation: 51-35=16, Resulting Numbers: [5, 16]
Generated Node #0,3,4: 11:[5, 16] Operation: 51-35=16
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 11:[5, 16], Operations: ['92-41=51', '51-35=16']
Exploring Operation: 5*16=80, Resulting Numbers: [80]
80,11 unequal: No Solution
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[41, 35, 5, 92], Operations: []
Exploring Operation: 92-41=51, Resulting Numbers: [35, 5, 51]
Generated Node #0,3: 11:[35, 5, 51] Operation: 92-41=51
Moving to Node #0,3
Current State: 11:[35, 5, 51], Operations: ['92-41=51']
Exploring Operation: 51-35=16, Resulting Numbers: [5, 16]
Generated Node #0,3,4: 11:[5, 16] Operation: 51-35=16
Moving to Node #0,3,4
Current State: 11:[5, 16], Operations: ['92-41=51', '51-35=16']
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
39,
28,
22,
59
] | 14 | [
"39+28=67",
"22+59=81",
"81-67=14"
] | Current State: 14:[39, 28, 22, 59], Operations: []
Exploring Operation: 39+28=67, Resulting Numbers: [22, 59, 67]
Generated Node #2: [22, 59, 67] from Operation: 39+28=67
Current State: 14:[22, 59, 67], Operations: ['39+28=67']
Exploring Operation: 22+59=81, Resulting Numbers: [67, 81]
Generated Node #3: [67, 81] from Operation: 22+59=81
Current State: 14:[67, 81], Operations: ['39+28=67', '22+59=81']
Exploring Operation: 81-67=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[39, 28, 22, 59], Operations: []
Exploring Operation: 59-39=20, Resulting Numbers: [28, 22, 20]
Generated Node #0,0: 14:[28, 22, 20] Operation: 59-39=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[28, 22, 20], Operations: ['59-39=20']
Exploring Operation: 28-22=6, Resulting Numbers: [20, 6]
Generated Node #0,0,0: 14:[20, 6] Operation: 28-22=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 14:[20, 6], Operations: ['59-39=20', '28-22=6']
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[39, 28, 22, 59], Operations: []
Exploring Operation: 59-39=20, Resulting Numbers: [28, 22, 20]
Generated Node #0,0: 14:[28, 22, 20] Operation: 59-39=20
Moving to Node #0,0
Current State: 14:[28, 22, 20], Operations: ['59-39=20']
Exploring Operation: 28-22=6, Resulting Numbers: [20, 6]
Generated Node #0,0,0: 14:[20, 6] Operation: 28-22=6
Moving to Node #0,0,0
Current State: 14:[20, 6], Operations: ['59-39=20', '28-22=6']
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.