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 |
|---|---|---|---|---|---|---|---|---|
[
8,
79,
96,
95
] | 28 | [
"96/8=12",
"95-79=16",
"12+16=28"
] | Current State: 28:[8, 79, 96, 95], Operations: []
Exploring Operation: 96/8=12, Resulting Numbers: [79, 95, 12]
Generated Node #2: [79, 95, 12] from Operation: 96/8=12
Current State: 28:[79, 95, 12], Operations: ['96/8=12']
Exploring Operation: 95-79=16, Resulting Numbers: [12, 16]
Generated Node #3: [12, 16] from Operation: 95-79=16
Current State: 28:[12, 16], Operations: ['96/8=12', '95-79=16']
Exploring Operation: 12+16=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[8, 79, 96, 95], Operations: []
Exploring Operation: 96-95=1, Resulting Numbers: [8, 79, 1]
Generated Node #0,0: 28:[8, 79, 1] Operation: 96-95=1
Exploring Operation: 96/8=12, Resulting Numbers: [79, 95, 12]
Generated Node #0,1: 28:[79, 95, 12] Operation: 96/8=12
Exploring Operation: 95-79=16, Resulting Numbers: [8, 96, 16]
Generated Node #0,2: 28:[8, 96, 16] Operation: 95-79=16
Exploring Operation: 96-79=17, Resulting Numbers: [8, 95, 17]
Generated Node #0,3: 28:[8, 95, 17] Operation: 96-79=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[8, 79, 1], Operations: ['96-95=1']
Exploring Operation: 8*1=8, Resulting Numbers: [79, 8]
Generated Node #0,0,0: 28:[79, 8] Operation: 8*1=8
Exploring Operation: 79-1=78, Resulting Numbers: [8, 78]
Generated Node #0,0,1: 28:[8, 78] Operation: 79-1=78
Exploring Operation: 79-8=71, Resulting Numbers: [1, 71]
Generated Node #0,0,2: 28:[1, 71] Operation: 79-8=71
Exploring Operation: 8-1=7, Resulting Numbers: [79, 7]
Generated Node #0,0,3: 28:[79, 7] Operation: 8-1=7
Moving to Node #0,0,2
Current State: 28:[1, 71], Operations: ['96-95=1', '79-8=71']
Exploring Operation: 71/1=71, Resulting Numbers: [71]
71,28 unequal: No Solution
Exploring Operation: 1*71=71, Resulting Numbers: [71]
71,28 unequal: No Solution
Exploring Operation: 71-1=70, Resulting Numbers: [70]
70,28 unequal: No Solution
Exploring Operation: 1+71=72, Resulting Numbers: [72]
72,28 unequal: No Solution
Moving to Node #0,0,3
Current State: 28:[79, 7], Operations: ['96-95=1', '8-1=7']
Exploring Operation: 79-7=72, Resulting Numbers: [72]
72,28 unequal: No Solution
Exploring Operation: 79+7=86, Resulting Numbers: [86]
86,28 unequal: No Solution
Exploring Operation: 79*7=553, Resulting Numbers: [553]
553,28 unequal: No Solution
Moving to Node #0,0,1
Current State: 28:[8, 78], Operations: ['96-95=1', '79-1=78']
Exploring Operation: 8*78=624, Resulting Numbers: [624]
624,28 unequal: No Solution
Exploring Operation: 8+78=86, Resulting Numbers: [86]
86,28 unequal: No Solution
Exploring Operation: 78-8=70, Resulting Numbers: [70]
70,28 unequal: No Solution
Moving to Node #0,0,0
Current State: 28:[79, 8], Operations: ['96-95=1', '8*1=8']
Exploring Operation: 79+8=87, Resulting Numbers: [87]
87,28 unequal: No Solution
Exploring Operation: 79-8=71, Resulting Numbers: [71]
71,28 unequal: No Solution
Exploring Operation: 79*8=632, Resulting Numbers: [632]
632,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 28:[8, 96, 16], Operations: ['95-79=16']
Exploring Operation: 96-8=88, Resulting Numbers: [16, 88]
Generated Node #0,2,0: 28:[16, 88] Operation: 96-8=88
Exploring Operation: 96/16=6, Resulting Numbers: [8, 6]
Generated Node #0,2,1: 28:[8, 6] Operation: 96/16=6
Exploring Operation: 96/8=12, Resulting Numbers: [16, 12]
Generated Node #0,2,2: 28:[16, 12] Operation: 96/8=12
Exploring Operation: 96-16=80, Resulting Numbers: [8, 80]
Generated Node #0,2,3: 28:[8, 80] Operation: 96-16=80
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 28:[8, 6], Operations: ['95-79=16', '96/16=6']
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,28 unequal: No Solution
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,28 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 28:[16, 12], Operations: ['95-79=16', '96/8=12']
Exploring Operation: 16+12=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[8, 79, 96, 95], Operations: []
Exploring Operation: 95-79=16, Resulting Numbers: [8, 96, 16]
Generated Node #0,2: 28:[8, 96, 16] Operation: 95-79=16
Moving to Node #0,2
Current State: 28:[8, 96, 16], Operations: ['95-79=16']
Exploring Operation: 96/8=12, Resulting Numbers: [16, 12]
Generated Node #0,2,2: 28:[16, 12] Operation: 96/8=12
Moving to Node #0,2,2
Current State: 28:[16, 12], Operations: ['95-79=16', '96/8=12']
Exploring Operation: 16+12=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.971354 | hs_4 | mult_heuristic |
[
3,
28,
13,
85
] | 52 | [
"85-13=72",
"72/3=24",
"28+24=52"
] | Current State: 52:[3, 28, 13, 85], Operations: []
Exploring Operation: 85-13=72, Resulting Numbers: [3, 28, 72]
Generated Node #2: [3, 28, 72] from Operation: 85-13=72
Current State: 52:[3, 28, 72], Operations: ['85-13=72']
Exploring Operation: 72/3=24, Resulting Numbers: [28, 24]
Generated Node #3: [28, 24] from Operation: 72/3=24
Current State: 52:[28, 24], Operations: ['85-13=72', '72/3=24']
Exploring Operation: 28+24=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[3, 28, 13, 85], Operations: []
Exploring Operation: 85-28=57, Resulting Numbers: [3, 13, 57]
Generated Node #0,0: 52:[3, 13, 57] Operation: 85-28=57
Exploring Operation: 28-13=15, Resulting Numbers: [3, 85, 15]
Generated Node #0,1: 52:[3, 85, 15] Operation: 28-13=15
Exploring Operation: 28-3=25, Resulting Numbers: [13, 85, 25]
Generated Node #0,2: 52:[13, 85, 25] Operation: 28-3=25
Exploring Operation: 85-3=82, Resulting Numbers: [28, 13, 82]
Generated Node #0,3: 52:[28, 13, 82] Operation: 85-3=82
Exploring Operation: 85-13=72, Resulting Numbers: [3, 28, 72]
Generated Node #0,4: 52:[3, 28, 72] Operation: 85-13=72
Moving to Node #0,0
Current State: 52:[3, 13, 57], Operations: ['85-28=57']
Exploring Operation: 3+13=16, Resulting Numbers: [57, 16]
Generated Node #0,0,0: 52:[57, 16] Operation: 3+13=16
Exploring Operation: 13-3=10, Resulting Numbers: [57, 10]
Generated Node #0,0,1: 52:[57, 10] Operation: 13-3=10
Exploring Operation: 57-3=54, Resulting Numbers: [13, 54]
Generated Node #0,0,2: 52:[13, 54] Operation: 57-3=54
Exploring Operation: 57/3=19, Resulting Numbers: [13, 19]
Generated Node #0,0,3: 52:[13, 19] Operation: 57/3=19
Exploring Operation: 3+57=60, Resulting Numbers: [13, 60]
Generated Node #0,0,4: 52:[13, 60] Operation: 3+57=60
Moving to Node #0,4
Current State: 52:[3, 28, 72], Operations: ['85-13=72']
Exploring Operation: 72-3=69, Resulting Numbers: [28, 69]
Generated Node #0,4,0: 52:[28, 69] Operation: 72-3=69
Exploring Operation: 72/3=24, Resulting Numbers: [28, 24]
Generated Node #0,4,1: 52:[28, 24] Operation: 72/3=24
Exploring Operation: 72-28=44, Resulting Numbers: [3, 44]
Generated Node #0,4,2: 52:[3, 44] Operation: 72-28=44
Exploring Operation: 28-3=25, Resulting Numbers: [72, 25]
Generated Node #0,4,3: 52:[72, 25] Operation: 28-3=25
Exploring Operation: 3+28=31, Resulting Numbers: [72, 31]
Generated Node #0,4,4: 52:[72, 31] Operation: 3+28=31
Moving to Node #0,3
Current State: 52:[28, 13, 82], Operations: ['85-3=82']
Exploring Operation: 82-28=54, Resulting Numbers: [13, 54]
Generated Node #0,3,0: 52:[13, 54] Operation: 82-28=54
Exploring Operation: 13+82=95, Resulting Numbers: [28, 95]
Generated Node #0,3,1: 52:[28, 95] Operation: 13+82=95
Exploring Operation: 28+13=41, Resulting Numbers: [82, 41]
Generated Node #0,3,2: 52:[82, 41] Operation: 28+13=41
Exploring Operation: 82-13=69, Resulting Numbers: [28, 69]
Generated Node #0,3,3: 52:[28, 69] Operation: 82-13=69
Exploring Operation: 28-13=15, Resulting Numbers: [82, 15]
Generated Node #0,3,4: 52:[82, 15] Operation: 28-13=15
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 52:[13, 54], Operations: ['85-3=82', '82-28=54']
Exploring Operation: 54-13=41, Resulting Numbers: [41]
41,52 unequal: No Solution
Exploring Operation: 13+54=67, Resulting Numbers: [67]
67,52 unequal: No Solution
Exploring Operation: 13*54=702, Resulting Numbers: [702]
702,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,3,3
Current State: 52:[28, 69], Operations: ['85-3=82', '82-13=69']
Exploring Operation: 28*69=1932, Resulting Numbers: [1932]
1932,52 unequal: No Solution
Exploring Operation: 69-28=41, Resulting Numbers: [41]
41,52 unequal: No Solution
Exploring Operation: 28+69=97, Resulting Numbers: [97]
97,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,3,4
Current State: 52:[82, 15], Operations: ['85-3=82', '28-13=15']
Exploring Operation: 82*15=1230, Resulting Numbers: [1230]
1230,52 unequal: No Solution
Exploring Operation: 82+15=97, Resulting Numbers: [97]
97,52 unequal: No Solution
Exploring Operation: 82-15=67, Resulting Numbers: [67]
67,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,3,2
Current State: 52:[82, 41], Operations: ['85-3=82', '28+13=41']
Exploring Operation: 82*41=3362, Resulting Numbers: [3362]
3362,52 unequal: No Solution
Exploring Operation: 82+41=123, Resulting Numbers: [123]
123,52 unequal: No Solution
Exploring Operation: 82-41=41, Resulting Numbers: [41]
41,52 unequal: No Solution
Exploring Operation: 82/41=2, Resulting Numbers: [2]
2,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,3,1
Current State: 52:[28, 95], Operations: ['85-3=82', '13+82=95']
Exploring Operation: 28+95=123, Resulting Numbers: [123]
123,52 unequal: No Solution
Exploring Operation: 28*95=2660, Resulting Numbers: [2660]
2660,52 unequal: No Solution
Exploring Operation: 95-28=67, Resulting Numbers: [67]
67,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:[13, 85, 25], Operations: ['28-3=25']
Exploring Operation: 25-13=12, Resulting Numbers: [85, 12]
Generated Node #0,2,0: 52:[85, 12] Operation: 25-13=12
Exploring Operation: 85-13=72, Resulting Numbers: [25, 72]
Generated Node #0,2,1: 52:[25, 72] Operation: 85-13=72
Exploring Operation: 85-25=60, Resulting Numbers: [13, 60]
Generated Node #0,2,2: 52:[13, 60] Operation: 85-25=60
Exploring Operation: 13+25=38, Resulting Numbers: [85, 38]
Generated Node #0,2,3: 52:[85, 38] Operation: 13+25=38
Exploring Operation: 13+85=98, Resulting Numbers: [25, 98]
Generated Node #0,2,4: 52:[25, 98] Operation: 13+85=98
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 52:[13, 60], Operations: ['28-3=25', '85-25=60']
Exploring Operation: 60-13=47, Resulting Numbers: [47]
47,52 unequal: No Solution
Exploring Operation: 13*60=780, Resulting Numbers: [780]
780,52 unequal: No Solution
Exploring Operation: 13+60=73, Resulting Numbers: [73]
73,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,2,1
Current State: 52:[25, 72], Operations: ['28-3=25', '85-13=72']
Exploring Operation: 25*72=1800, Resulting Numbers: [1800]
1800,52 unequal: No Solution
Exploring Operation: 72-25=47, Resulting Numbers: [47]
47,52 unequal: No Solution
Exploring Operation: 25+72=97, Resulting Numbers: [97]
97,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,2,0
Current State: 52:[85, 12], Operations: ['28-3=25', '25-13=12']
Exploring Operation: 85-12=73, Resulting Numbers: [73]
73,52 unequal: No Solution
Exploring Operation: 85+12=97, Resulting Numbers: [97]
97,52 unequal: No Solution
Exploring Operation: 85*12=1020, Resulting Numbers: [1020]
1020,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,2,3
Current State: 52:[85, 38], Operations: ['28-3=25', '13+25=38']
Exploring Operation: 85*38=3230, Resulting Numbers: [3230]
3230,52 unequal: No Solution
Exploring Operation: 85-38=47, Resulting Numbers: [47]
47,52 unequal: No Solution
Exploring Operation: 85+38=123, Resulting Numbers: [123]
123,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,2,4
Current State: 52:[25, 98], Operations: ['28-3=25', '13+85=98']
Exploring Operation: 25+98=123, Resulting Numbers: [123]
123,52 unequal: No Solution
Exploring Operation: 25*98=2450, Resulting Numbers: [2450]
2450,52 unequal: No Solution
Exploring Operation: 98-25=73, Resulting Numbers: [73]
73,52 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: 52:[3, 85, 15], Operations: ['28-13=15']
Exploring Operation: 85-15=70, Resulting Numbers: [3, 70]
Generated Node #0,1,0: 52:[3, 70] Operation: 85-15=70
Exploring Operation: 85-3=82, Resulting Numbers: [15, 82]
Generated Node #0,1,1: 52:[15, 82] Operation: 85-3=82
Exploring Operation: 15-3=12, Resulting Numbers: [85, 12]
Generated Node #0,1,2: 52:[85, 12] Operation: 15-3=12
Exploring Operation: 3+85=88, Resulting Numbers: [15, 88]
Generated Node #0,1,3: 52:[15, 88] Operation: 3+85=88
Exploring Operation: 15/3=5, Resulting Numbers: [85, 5]
Generated Node #0,1,4: 52:[85, 5] Operation: 15/3=5
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 52:[3, 70], Operations: ['28-13=15', '85-15=70']
Exploring Operation: 70-3=67, Resulting Numbers: [67]
67,52 unequal: No Solution
Exploring Operation: 3*70=210, Resulting Numbers: [210]
210,52 unequal: No Solution
Exploring Operation: 3+70=73, Resulting Numbers: [73]
73,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:[15, 82], Operations: ['28-13=15', '85-3=82']
Exploring Operation: 82-15=67, Resulting Numbers: [67]
67,52 unequal: No Solution
Exploring Operation: 15*82=1230, Resulting Numbers: [1230]
1230,52 unequal: No Solution
Exploring Operation: 15+82=97, Resulting Numbers: [97]
97,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,2
Current State: 52:[85, 12], Operations: ['28-13=15', '15-3=12']
Exploring Operation: 85+12=97, Resulting Numbers: [97]
97,52 unequal: No Solution
Exploring Operation: 85*12=1020, Resulting Numbers: [1020]
1020,52 unequal: No Solution
Exploring Operation: 85-12=73, Resulting Numbers: [73]
73,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,4
Current State: 52:[85, 5], Operations: ['28-13=15', '15/3=5']
Exploring Operation: 85+5=90, Resulting Numbers: [90]
90,52 unequal: No Solution
Exploring Operation: 85*5=425, Resulting Numbers: [425]
425,52 unequal: No Solution
Exploring Operation: 85-5=80, Resulting Numbers: [80]
80,52 unequal: No Solution
Exploring Operation: 85/5=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,1,3
Current State: 52:[15, 88], Operations: ['28-13=15', '3+85=88']
Exploring Operation: 15*88=1320, Resulting Numbers: [1320]
1320,52 unequal: No Solution
Exploring Operation: 88-15=73, Resulting Numbers: [73]
73,52 unequal: No Solution
Exploring Operation: 15+88=103, Resulting Numbers: [103]
103,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 52:[13, 54], Operations: ['85-28=57', '57-3=54']
Exploring Operation: 13*54=702, Resulting Numbers: [702]
702,52 unequal: No Solution
Exploring Operation: 13+54=67, Resulting Numbers: [67]
67,52 unequal: No Solution
Exploring Operation: 54-13=41, Resulting Numbers: [41]
41,52 unequal: No Solution
Moving to Node #0,4,1
Current State: 52:[28, 24], Operations: ['85-13=72', '72/3=24']
Exploring Operation: 28-24=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 28*24=672, Resulting Numbers: [672]
672,52 unequal: No Solution
Exploring Operation: 28+24=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[3, 28, 13, 85], Operations: []
Exploring Operation: 85-13=72, Resulting Numbers: [3, 28, 72]
Generated Node #0,4: 52:[3, 28, 72] Operation: 85-13=72
Moving to Node #0,4
Current State: 52:[3, 28, 72], Operations: ['85-13=72']
Exploring Operation: 72/3=24, Resulting Numbers: [28, 24]
Generated Node #0,4,1: 52:[28, 24] Operation: 72/3=24
Moving to Node #0,4,1
Current State: 52:[28, 24], Operations: ['85-13=72', '72/3=24']
Exploring Operation: 28+24=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 0.924479 | hs_5 | sum_heuristic |
[
82,
96,
56,
76
] | 19 | [
"96-82=14",
"56/14=4",
"76/4=19"
] | Current State: 19:[82, 96, 56, 76], Operations: []
Exploring Operation: 96-82=14, Resulting Numbers: [56, 76, 14]
Generated Node #2: [56, 76, 14] from Operation: 96-82=14
Current State: 19:[56, 76, 14], Operations: ['96-82=14']
Exploring Operation: 56/14=4, Resulting Numbers: [76, 4]
Generated Node #3: [76, 4] from Operation: 56/14=4
Current State: 19:[76, 4], Operations: ['96-82=14', '56/14=4']
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[82, 96, 56, 76], Operations: []
Exploring Operation: 96-82=14, Resulting Numbers: [56, 76, 14]
Generated Node #0,0: 19:[56, 76, 14] Operation: 96-82=14
Exploring Operation: 96-76=20, Resulting Numbers: [82, 56, 20]
Generated Node #0,1: 19:[82, 56, 20] Operation: 96-76=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[56, 76, 14], Operations: ['96-82=14']
Exploring Operation: 76-56=20, Resulting Numbers: [14, 20]
Generated Node #0,0,0: 19:[14, 20] Operation: 76-56=20
Exploring Operation: 56/14=4, Resulting Numbers: [76, 4]
Generated Node #0,0,1: 19:[76, 4] Operation: 56/14=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 19:[14, 20], Operations: ['96-82=14', '76-56=20']
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,19 unequal: No Solution
Exploring Operation: 14+20=34, Resulting Numbers: [34]
34,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 19:[76, 4], Operations: ['96-82=14', '56/14=4']
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[82, 96, 56, 76], Operations: []
Exploring Operation: 96-82=14, Resulting Numbers: [56, 76, 14]
Generated Node #0,0: 19:[56, 76, 14] Operation: 96-82=14
Moving to Node #0,0
Current State: 19:[56, 76, 14], Operations: ['96-82=14']
Exploring Operation: 56/14=4, Resulting Numbers: [76, 4]
Generated Node #0,0,1: 19:[76, 4] Operation: 56/14=4
Moving to Node #0,0,1
Current State: 19:[76, 4], Operations: ['96-82=14', '56/14=4']
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
3,
51,
18,
76
] | 95 | [
"3*51=153",
"76-18=58",
"153-58=95"
] | Current State: 95:[3, 51, 18, 76], Operations: []
Exploring Operation: 3*51=153, Resulting Numbers: [18, 76, 153]
Generated Node #2: [18, 76, 153] from Operation: 3*51=153
Current State: 95:[18, 76, 153], Operations: ['3*51=153']
Exploring Operation: 76-18=58, Resulting Numbers: [153, 58]
Generated Node #3: [153, 58] from Operation: 76-18=58
Current State: 95:[153, 58], Operations: ['3*51=153', '76-18=58']
Exploring Operation: 153-58=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[3, 51, 18, 76], Operations: []
Exploring Operation: 51/3=17, Resulting Numbers: [18, 76, 17]
Generated Node #0,0: 95:[18, 76, 17] Operation: 51/3=17
Exploring Operation: 76-51=25, Resulting Numbers: [3, 18, 25]
Generated Node #0,1: 95:[3, 18, 25] Operation: 76-51=25
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[3, 18, 25], Operations: ['76-51=25']
Exploring Operation: 25-18=7, Resulting Numbers: [3, 7]
Generated Node #0,1,0: 95:[3, 7] Operation: 25-18=7
Exploring Operation: 25-3=22, Resulting Numbers: [18, 22]
Generated Node #0,1,1: 95:[18, 22] Operation: 25-3=22
Moving to Node #0,1,0
Current State: 95:[3, 7], Operations: ['76-51=25', '25-18=7']
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,95 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,95 unequal: No Solution
Moving to Node #0,1,1
Current State: 95:[18, 22], Operations: ['76-51=25', '25-3=22']
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,95 unequal: No Solution
Exploring Operation: 18+22=40, Resulting Numbers: [40]
40,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,0
Current State: 95:[18, 76, 17], Operations: ['51/3=17']
Exploring Operation: 18+76=94, Resulting Numbers: [17, 94]
Generated Node #0,0,0: 95:[17, 94] Operation: 18+76=94
Exploring Operation: 76+17=93, Resulting Numbers: [18, 93]
Generated Node #0,0,1: 95:[18, 93] Operation: 76+17=93
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 95:[17, 94], Operations: ['51/3=17', '18+76=94']
Exploring Operation: 94-17=77, Resulting Numbers: [77]
77,95 unequal: No Solution
Exploring Operation: 17+94=111, Resulting Numbers: [111]
111,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,0,1
Current State: 95:[18, 93], Operations: ['51/3=17', '76+17=93']
Exploring Operation: 18+93=111, Resulting Numbers: [111]
111,95 unequal: No Solution
Exploring Operation: 93-18=75, Resulting Numbers: [75]
75,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
No solution found.
| 0 | hs_2 | sum_heuristic |
[
86,
3,
50,
90
] | 43 | [
"86-3=83",
"90-50=40",
"83-40=43"
] | Current State: 43:[86, 3, 50, 90], Operations: []
Exploring Operation: 86-3=83, Resulting Numbers: [50, 90, 83]
Generated Node #2: [50, 90, 83] from Operation: 86-3=83
Current State: 43:[50, 90, 83], Operations: ['86-3=83']
Exploring Operation: 90-50=40, Resulting Numbers: [83, 40]
Generated Node #3: [83, 40] from Operation: 90-50=40
Current State: 43:[83, 40], Operations: ['86-3=83', '90-50=40']
Exploring Operation: 83-40=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[86, 3, 50, 90], Operations: []
Exploring Operation: 90/3=30, Resulting Numbers: [86, 50, 30]
Generated Node #0,0: 43:[86, 50, 30] Operation: 90/3=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[86, 50, 30], Operations: ['90/3=30']
Exploring Operation: 86-50=36, Resulting Numbers: [30, 36]
Generated Node #0,0,0: 43:[30, 36] Operation: 86-50=36
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 43:[30, 36], Operations: ['90/3=30', '86-50=36']
Exploring Operation: 30+36=66, Resulting Numbers: [66]
66,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
93,
33,
95,
72
] | 69 | [
"95-93=2",
"72/2=36",
"33+36=69"
] | Current State: 69:[93, 33, 95, 72], Operations: []
Exploring Operation: 95-93=2, Resulting Numbers: [33, 72, 2]
Generated Node #2: [33, 72, 2] from Operation: 95-93=2
Current State: 69:[33, 72, 2], Operations: ['95-93=2']
Exploring Operation: 72/2=36, Resulting Numbers: [33, 36]
Generated Node #3: [33, 36] from Operation: 72/2=36
Current State: 69:[33, 36], Operations: ['95-93=2', '72/2=36']
Exploring Operation: 33+36=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[93, 33, 95, 72], Operations: []
Exploring Operation: 95-33=62, Resulting Numbers: [93, 72, 62]
Generated Node #0,0: 69:[93, 72, 62] Operation: 95-33=62
Exploring Operation: 95-93=2, Resulting Numbers: [33, 72, 2]
Generated Node #0,1: 69:[33, 72, 2] Operation: 95-93=2
Moving to Node #0,1
Current State: 69:[33, 72, 2], Operations: ['95-93=2']
Exploring Operation: 33*2=66, Resulting Numbers: [72, 66]
Generated Node #0,1,0: 69:[72, 66] Operation: 33*2=66
Exploring Operation: 33-2=31, Resulting Numbers: [72, 31]
Generated Node #0,1,1: 69:[72, 31] Operation: 33-2=31
Moving to Node #0,0
Current State: 69:[93, 72, 62], Operations: ['95-33=62']
Exploring Operation: 93-72=21, Resulting Numbers: [62, 21]
Generated Node #0,0,0: 69:[62, 21] Operation: 93-72=21
Exploring Operation: 93-62=31, Resulting Numbers: [72, 31]
Generated Node #0,0,1: 69:[72, 31] Operation: 93-62=31
Moving to Node #0,1,0
Current State: 69:[72, 66], Operations: ['95-93=2', '33*2=66']
Exploring Operation: 72+66=138, Resulting Numbers: [138]
138,69 unequal: No Solution
Exploring Operation: 72-66=6, Resulting Numbers: [6]
6,69 unequal: No Solution
Moving to Node #0,0,0
Current State: 69:[62, 21], Operations: ['95-33=62', '93-72=21']
Exploring Operation: 62-21=41, Resulting Numbers: [41]
41,69 unequal: No Solution
Exploring Operation: 62+21=83, Resulting Numbers: [83]
83,69 unequal: No Solution
Moving to Node #0,1,1
Current State: 69:[72, 31], Operations: ['95-93=2', '33-2=31']
Exploring Operation: 72+31=103, Resulting Numbers: [103]
103,69 unequal: No Solution
Exploring Operation: 72-31=41, Resulting Numbers: [41]
41,69 unequal: No Solution
Moving to Node #0,0,1
Current State: 69:[72, 31], Operations: ['95-33=62', '93-62=31']
Exploring Operation: 72-31=41, Resulting Numbers: [41]
41,69 unequal: No Solution
Exploring Operation: 72+31=103, Resulting Numbers: [103]
103,69 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
11,
11,
31,
65
] | 12 | [
"11+11=22",
"65-31=34",
"34-22=12"
] | Current State: 12:[11, 11, 31, 65], Operations: []
Exploring Operation: 11+11=22, Resulting Numbers: [31, 65, 22]
Generated Node #2: [31, 65, 22] from Operation: 11+11=22
Current State: 12:[31, 65, 22], Operations: ['11+11=22']
Exploring Operation: 65-31=34, Resulting Numbers: [22, 34]
Generated Node #3: [22, 34] from Operation: 65-31=34
Current State: 12:[22, 34], Operations: ['11+11=22', '65-31=34']
Exploring Operation: 34-22=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[11, 11, 31, 65], Operations: []
Exploring Operation: 31-11=20, Resulting Numbers: [11, 65, 20]
Generated Node #0,0: 12:[11, 65, 20] Operation: 31-11=20
Exploring Operation: 65-11=54, Resulting Numbers: [11, 31, 54]
Generated Node #0,1: 12:[11, 31, 54] Operation: 65-11=54
Exploring Operation: 65-31=34, Resulting Numbers: [11, 11, 34]
Generated Node #0,2: 12:[11, 11, 34] Operation: 65-31=34
Moving to Node #0,2
Current State: 12:[11, 11, 34], Operations: ['65-31=34']
Exploring Operation: 11/11=1, Resulting Numbers: [34, 1]
Generated Node #0,2,0: 12:[34, 1] Operation: 11/11=1
Exploring Operation: 34-11=23, Resulting Numbers: [11, 23]
Generated Node #0,2,1: 12:[11, 23] Operation: 34-11=23
Exploring Operation: 34-11=23, Resulting Numbers: [11, 23]
Generated Node #0,2,2: 12:[11, 23] Operation: 34-11=23
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 12:[11, 23], Operations: ['65-31=34', '34-11=23']
Exploring Operation: 11*23=253, Resulting Numbers: [253]
253,12 unequal: No Solution
Exploring Operation: 11+23=34, Resulting Numbers: [34]
34,12 unequal: No Solution
Exploring Operation: 23-11=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[11, 11, 31, 65], Operations: []
Exploring Operation: 65-31=34, Resulting Numbers: [11, 11, 34]
Generated Node #0,2: 12:[11, 11, 34] Operation: 65-31=34
Moving to Node #0,2
Current State: 12:[11, 11, 34], Operations: ['65-31=34']
Exploring Operation: 34-11=23, Resulting Numbers: [11, 23]
Generated Node #0,2,1: 12:[11, 23] Operation: 34-11=23
Moving to Node #0,2,1
Current State: 12:[11, 23], Operations: ['65-31=34', '34-11=23']
Exploring Operation: 23-11=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
8,
78,
84,
32
] | 99 | [
"8*84=672",
"672/32=21",
"78+21=99"
] | Current State: 99:[8, 78, 84, 32], Operations: []
Exploring Operation: 8*84=672, Resulting Numbers: [78, 32, 672]
Generated Node #2: [78, 32, 672] from Operation: 8*84=672
Current State: 99:[78, 32, 672], Operations: ['8*84=672']
Exploring Operation: 672/32=21, Resulting Numbers: [78, 21]
Generated Node #3: [78, 21] from Operation: 672/32=21
Current State: 99:[78, 21], Operations: ['8*84=672', '672/32=21']
Exploring Operation: 78+21=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[8, 78, 84, 32], Operations: []
Exploring Operation: 8+78=86, Resulting Numbers: [84, 32, 86]
Generated Node #0,0: 99:[84, 32, 86] Operation: 8+78=86
Exploring Operation: 84-78=6, Resulting Numbers: [8, 32, 6]
Generated Node #0,1: 99:[8, 32, 6] Operation: 84-78=6
Exploring Operation: 78+32=110, Resulting Numbers: [8, 84, 110]
Generated Node #0,2: 99:[8, 84, 110] Operation: 78+32=110
Start Sub Search at level 1: Moving to Node #0,1
Current State: 99:[8, 32, 6], Operations: ['84-78=6']
Exploring Operation: 8+6=14, Resulting Numbers: [32, 14]
Generated Node #0,1,0: 99:[32, 14] Operation: 8+6=14
Exploring Operation: 32/8=4, Resulting Numbers: [6, 4]
Generated Node #0,1,1: 99:[6, 4] Operation: 32/8=4
Exploring Operation: 8-6=2, Resulting Numbers: [32, 2]
Generated Node #0,1,2: 99:[32, 2] Operation: 8-6=2
Moving to Node #0,1,2
Current State: 99:[32, 2], Operations: ['84-78=6', '8-6=2']
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,99 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,99 unequal: No Solution
Exploring Operation: 32+2=34, Resulting Numbers: [34]
34,99 unequal: No Solution
Moving to Node #0,1,0
Current State: 99:[32, 14], Operations: ['84-78=6', '8+6=14']
Exploring Operation: 32-14=18, Resulting Numbers: [18]
18,99 unequal: No Solution
Exploring Operation: 32*14=448, Resulting Numbers: [448]
448,99 unequal: No Solution
Exploring Operation: 32+14=46, Resulting Numbers: [46]
46,99 unequal: No Solution
Moving to Node #0,1,1
Current State: 99:[6, 4], Operations: ['84-78=6', '32/8=4']
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,99 unequal: No Solution
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,99 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 99:[8, 84, 110], Operations: ['78+32=110']
Exploring Operation: 110-8=102, Resulting Numbers: [84, 102]
Generated Node #0,2,0: 99:[84, 102] Operation: 110-8=102
Exploring Operation: 110-84=26, Resulting Numbers: [8, 26]
Generated Node #0,2,1: 99:[8, 26] Operation: 110-84=26
Exploring Operation: 8+84=92, Resulting Numbers: [110, 92]
Generated Node #0,2,2: 99:[110, 92] Operation: 8+84=92
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 99:[8, 26], Operations: ['78+32=110', '110-84=26']
Exploring Operation: 8+26=34, Resulting Numbers: [34]
34,99 unequal: No Solution
Exploring Operation: 8*26=208, Resulting Numbers: [208]
208,99 unequal: No Solution
Exploring Operation: 26-8=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,0
Current State: 99:[84, 102], Operations: ['78+32=110', '110-8=102']
Exploring Operation: 84+102=186, Resulting Numbers: [186]
186,99 unequal: No Solution
Exploring Operation: 102-84=18, Resulting Numbers: [18]
18,99 unequal: No Solution
Exploring Operation: 84*102=8568, Resulting Numbers: [8568]
8568,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:[110, 92], Operations: ['78+32=110', '8+84=92']
Exploring Operation: 110+92=202, Resulting Numbers: [202]
202,99 unequal: No Solution
Exploring Operation: 110-92=18, Resulting Numbers: [18]
18,99 unequal: No Solution
Exploring Operation: 110*92=10120, Resulting Numbers: [10120]
10120,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:[84, 32, 86], Operations: ['8+78=86']
Exploring Operation: 86-84=2, Resulting Numbers: [32, 2]
Generated Node #0,0,0: 99:[32, 2] Operation: 86-84=2
Exploring Operation: 84+32=116, Resulting Numbers: [86, 116]
Generated Node #0,0,1: 99:[86, 116] Operation: 84+32=116
Exploring Operation: 84-32=52, Resulting Numbers: [86, 52]
Generated Node #0,0,2: 99:[86, 52] Operation: 84-32=52
Moving to Node #0,0,0
Current State: 99:[32, 2], Operations: ['8+78=86', '86-84=2']
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,99 unequal: No Solution
Exploring Operation: 32+2=34, Resulting Numbers: [34]
34,99 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,99 unequal: No Solution
Moving to Node #0,0,1
Current State: 99:[86, 116], Operations: ['8+78=86', '84+32=116']
Exploring Operation: 86*116=9976, Resulting Numbers: [9976]
9976,99 unequal: No Solution
Exploring Operation: 116-86=30, Resulting Numbers: [30]
30,99 unequal: No Solution
Exploring Operation: 86+116=202, Resulting Numbers: [202]
202,99 unequal: No Solution
Moving to Node #0,0,2
Current State: 99:[86, 52], Operations: ['8+78=86', '84-32=52']
Exploring Operation: 86-52=34, Resulting Numbers: [34]
34,99 unequal: No Solution
Exploring Operation: 86+52=138, Resulting Numbers: [138]
138,99 unequal: No Solution
Exploring Operation: 86*52=4472, Resulting Numbers: [4472]
4472,99 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 |
[
4,
57,
3,
34
] | 76 | [
"4*34=136",
"57+3=60",
"136-60=76"
] | Current State: 76:[4, 57, 3, 34], Operations: []
Exploring Operation: 4*34=136, Resulting Numbers: [57, 3, 136]
Generated Node #2: [57, 3, 136] from Operation: 4*34=136
Current State: 76:[57, 3, 136], Operations: ['4*34=136']
Exploring Operation: 57+3=60, Resulting Numbers: [136, 60]
Generated Node #3: [136, 60] from Operation: 57+3=60
Current State: 76:[136, 60], Operations: ['4*34=136', '57+3=60']
Exploring Operation: 136-60=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[4, 57, 3, 34], Operations: []
Exploring Operation: 57-4=53, Resulting Numbers: [3, 34, 53]
Generated Node #0,0: 76:[3, 34, 53] Operation: 57-4=53
Exploring Operation: 57+34=91, Resulting Numbers: [4, 3, 91]
Generated Node #0,1: 76:[4, 3, 91] Operation: 57+34=91
Exploring Operation: 57/3=19, Resulting Numbers: [4, 34, 19]
Generated Node #0,2: 76:[4, 34, 19] Operation: 57/3=19
Exploring Operation: 4+57=61, Resulting Numbers: [3, 34, 61]
Generated Node #0,3: 76:[3, 34, 61] Operation: 4+57=61
Exploring Operation: 57-34=23, Resulting Numbers: [4, 3, 23]
Generated Node #0,4: 76:[4, 3, 23] Operation: 57-34=23
Start Sub Search at level 1: Moving to Node #0,2
Current State: 76:[4, 34, 19], Operations: ['57/3=19']
Exploring Operation: 4*19=76, Resulting Numbers: [34, 76]
Generated Node #0,2,0: 76:[34, 76] Operation: 4*19=76
Exploring Operation: 34-19=15, Resulting Numbers: [4, 15]
Generated Node #0,2,1: 76:[4, 15] Operation: 34-19=15
Exploring Operation: 4+34=38, Resulting Numbers: [19, 38]
Generated Node #0,2,2: 76:[19, 38] Operation: 4+34=38
Exploring Operation: 4+19=23, Resulting Numbers: [34, 23]
Generated Node #0,2,3: 76:[34, 23] Operation: 4+19=23
Exploring Operation: 34-4=30, Resulting Numbers: [19, 30]
Generated Node #0,2,4: 76:[19, 30] Operation: 34-4=30
Moving to Node #0,2,2
Current State: 76:[19, 38], Operations: ['57/3=19', '4+34=38']
Exploring Operation: 19*38=722, Resulting Numbers: [722]
722,76 unequal: No Solution
Exploring Operation: 38/19=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 19+38=57, Resulting Numbers: [57]
57,76 unequal: No Solution
Exploring Operation: 38-19=19, Resulting Numbers: [19]
19,76 unequal: No Solution
Moving to Node #0,2,1
Current State: 76:[4, 15], Operations: ['57/3=19', '34-19=15']
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,76 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,76 unequal: No Solution
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,76 unequal: No Solution
Moving to Node #0,2,0
Current State: 76:[34, 76], Operations: ['57/3=19', '4*19=76']
Exploring Operation: 76-34=42, Resulting Numbers: [42]
42,76 unequal: No Solution
Exploring Operation: 34+76=110, Resulting Numbers: [110]
110,76 unequal: No Solution
Exploring Operation: 34*76=2584, Resulting Numbers: [2584]
2584,76 unequal: No Solution
Moving to Node #0,2,3
Current State: 76:[34, 23], Operations: ['57/3=19', '4+19=23']
Exploring Operation: 34+23=57, Resulting Numbers: [57]
57,76 unequal: No Solution
Exploring Operation: 34-23=11, Resulting Numbers: [11]
11,76 unequal: No Solution
Exploring Operation: 34*23=782, Resulting Numbers: [782]
782,76 unequal: No Solution
Moving to Node #0,2,4
Current State: 76:[19, 30], Operations: ['57/3=19', '34-4=30']
Exploring Operation: 30-19=11, Resulting Numbers: [11]
11,76 unequal: No Solution
Exploring Operation: 19*30=570, Resulting Numbers: [570]
570,76 unequal: No Solution
Exploring Operation: 19+30=49, Resulting Numbers: [49]
49,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 76:[4, 3, 23], Operations: ['57-34=23']
Exploring Operation: 3+23=26, Resulting Numbers: [4, 26]
Generated Node #0,4,0: 76:[4, 26] Operation: 3+23=26
Exploring Operation: 4+3=7, Resulting Numbers: [23, 7]
Generated Node #0,4,1: 76:[23, 7] Operation: 4+3=7
Exploring Operation: 23-4=19, Resulting Numbers: [3, 19]
Generated Node #0,4,2: 76:[3, 19] Operation: 23-4=19
Exploring Operation: 23-3=20, Resulting Numbers: [4, 20]
Generated Node #0,4,3: 76:[4, 20] Operation: 23-3=20
Exploring Operation: 4-3=1, Resulting Numbers: [23, 1]
Generated Node #0,4,4: 76:[23, 1] Operation: 4-3=1
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 76:[3, 19], Operations: ['57-34=23', '23-4=19']
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,76 unequal: No Solution
Exploring Operation: 3*19=57, Resulting Numbers: [57]
57,76 unequal: No Solution
Exploring Operation: 3+19=22, Resulting Numbers: [22]
22,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 76:[4, 20], Operations: ['57-34=23', '23-3=20']
Exploring Operation: 4*20=80, Resulting Numbers: [80]
80,76 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,76 unequal: No Solution
Exploring Operation: 4+20=24, Resulting Numbers: [24]
24,76 unequal: No Solution
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 76:[23, 1], Operations: ['57-34=23', '4-3=1']
Exploring Operation: 23*1=23, Resulting Numbers: [23]
23,76 unequal: No Solution
Exploring Operation: 23/1=23, Resulting Numbers: [23]
23,76 unequal: No Solution
Exploring Operation: 23+1=24, Resulting Numbers: [24]
24,76 unequal: No Solution
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 76:[4, 26], Operations: ['57-34=23', '3+23=26']
Exploring Operation: 4+26=30, Resulting Numbers: [30]
30,76 unequal: No Solution
Exploring Operation: 4*26=104, Resulting Numbers: [104]
104,76 unequal: No Solution
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 76:[23, 7], Operations: ['57-34=23', '4+3=7']
Exploring Operation: 23*7=161, Resulting Numbers: [161]
161,76 unequal: No Solution
Exploring Operation: 23+7=30, Resulting Numbers: [30]
30,76 unequal: No Solution
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[4, 3, 91], Operations: ['57+34=91']
Exploring Operation: 91-4=87, Resulting Numbers: [3, 87]
Generated Node #0,1,0: 76:[3, 87] Operation: 91-4=87
Exploring Operation: 91-3=88, Resulting Numbers: [4, 88]
Generated Node #0,1,1: 76:[4, 88] Operation: 91-3=88
Exploring Operation: 4+3=7, Resulting Numbers: [91, 7]
Generated Node #0,1,2: 76:[91, 7] Operation: 4+3=7
Exploring Operation: 3+91=94, Resulting Numbers: [4, 94]
Generated Node #0,1,3: 76:[4, 94] Operation: 3+91=94
Exploring Operation: 4-3=1, Resulting Numbers: [91, 1]
Generated Node #0,1,4: 76:[91, 1] Operation: 4-3=1
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 76:[3, 87], Operations: ['57+34=91', '91-4=87']
Exploring Operation: 3*87=261, Resulting Numbers: [261]
261,76 unequal: No Solution
Exploring Operation: 87-3=84, Resulting Numbers: [84]
84,76 unequal: No Solution
Exploring Operation: 3+87=90, Resulting Numbers: [90]
90,76 unequal: No Solution
Exploring Operation: 87/3=29, Resulting Numbers: [29]
29,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 76:[4, 88], Operations: ['57+34=91', '91-3=88']
Exploring Operation: 88-4=84, Resulting Numbers: [84]
84,76 unequal: No Solution
Exploring Operation: 88/4=22, Resulting Numbers: [22]
22,76 unequal: No Solution
Exploring Operation: 4+88=92, Resulting Numbers: [92]
92,76 unequal: No Solution
Exploring Operation: 4*88=352, Resulting Numbers: [352]
352,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 76:[91, 1], Operations: ['57+34=91', '4-3=1']
Exploring Operation: 91*1=91, Resulting Numbers: [91]
91,76 unequal: No Solution
Exploring Operation: 91-1=90, Resulting Numbers: [90]
90,76 unequal: No Solution
Exploring Operation: 91+1=92, Resulting Numbers: [92]
92,76 unequal: No Solution
Exploring Operation: 91/1=91, Resulting Numbers: [91]
91,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 76:[91, 7], Operations: ['57+34=91', '4+3=7']
Exploring Operation: 91*7=637, Resulting Numbers: [637]
637,76 unequal: No Solution
Exploring Operation: 91+7=98, Resulting Numbers: [98]
98,76 unequal: No Solution
Exploring Operation: 91/7=13, Resulting Numbers: [13]
13,76 unequal: No Solution
Exploring Operation: 91-7=84, Resulting Numbers: [84]
84,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 76:[4, 94], Operations: ['57+34=91', '3+91=94']
Exploring Operation: 4+94=98, Resulting Numbers: [98]
98,76 unequal: No Solution
Exploring Operation: 94-4=90, Resulting Numbers: [90]
90,76 unequal: No Solution
Exploring Operation: 4*94=376, Resulting Numbers: [376]
376,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[3, 34, 53], Operations: ['57-4=53']
Exploring Operation: 34+53=87, Resulting Numbers: [3, 87]
Generated Node #0,0,0: 76:[3, 87] Operation: 34+53=87
Exploring Operation: 3+34=37, Resulting Numbers: [53, 37]
Generated Node #0,0,1: 76:[53, 37] Operation: 3+34=37
Exploring Operation: 53-3=50, Resulting Numbers: [34, 50]
Generated Node #0,0,2: 76:[34, 50] Operation: 53-3=50
Exploring Operation: 53-34=19, Resulting Numbers: [3, 19]
Generated Node #0,0,3: 76:[3, 19] Operation: 53-34=19
Exploring Operation: 34-3=31, Resulting Numbers: [53, 31]
Generated Node #0,0,4: 76:[53, 31] Operation: 34-3=31
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 76:[3, 19], Operations: ['57-4=53', '53-34=19']
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,76 unequal: No Solution
Exploring Operation: 3*19=57, Resulting Numbers: [57]
57,76 unequal: No Solution
Exploring Operation: 3+19=22, Resulting Numbers: [22]
22,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 76:[3, 87], Operations: ['57-4=53', '34+53=87']
Exploring Operation: 3+87=90, Resulting Numbers: [90]
90,76 unequal: No Solution
Exploring Operation: 3*87=261, Resulting Numbers: [261]
261,76 unequal: No Solution
Exploring Operation: 87/3=29, Resulting Numbers: [29]
29,76 unequal: No Solution
Exploring Operation: 87-3=84, Resulting Numbers: [84]
84,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 76:[53, 37], Operations: ['57-4=53', '3+34=37']
Exploring Operation: 53+37=90, Resulting Numbers: [90]
90,76 unequal: No Solution
Exploring Operation: 53-37=16, Resulting Numbers: [16]
16,76 unequal: No Solution
Exploring Operation: 53*37=1961, Resulting Numbers: [1961]
1961,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 76:[34, 50], Operations: ['57-4=53', '53-3=50']
Exploring Operation: 50-34=16, Resulting Numbers: [16]
16,76 unequal: No Solution
Exploring Operation: 34*50=1700, Resulting Numbers: [1700]
1700,76 unequal: No Solution
Exploring Operation: 34+50=84, Resulting Numbers: [84]
84,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 76:[53, 31], Operations: ['57-4=53', '34-3=31']
Exploring Operation: 53+31=84, Resulting Numbers: [84]
84,76 unequal: No Solution
Exploring Operation: 53*31=1643, Resulting Numbers: [1643]
1643,76 unequal: No Solution
Exploring Operation: 53-31=22, Resulting Numbers: [22]
22,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 76:[3, 34, 61], Operations: ['4+57=61']
Exploring Operation: 34-3=31, Resulting Numbers: [61, 31]
Generated Node #0,3,0: 76:[61, 31] Operation: 34-3=31
Exploring Operation: 3+34=37, Resulting Numbers: [61, 37]
Generated Node #0,3,1: 76:[61, 37] Operation: 3+34=37
Exploring Operation: 34+61=95, Resulting Numbers: [3, 95]
Generated Node #0,3,2: 76:[3, 95] Operation: 34+61=95
Exploring Operation: 61-34=27, Resulting Numbers: [3, 27]
Generated Node #0,3,3: 76:[3, 27] Operation: 61-34=27
Exploring Operation: 3+61=64, Resulting Numbers: [34, 64]
Generated Node #0,3,4: 76:[34, 64] Operation: 3+61=64
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 76:[3, 27], Operations: ['4+57=61', '61-34=27']
Exploring Operation: 3*27=81, Resulting Numbers: [81]
81,76 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,76 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,76 unequal: No Solution
Exploring Operation: 3+27=30, Resulting Numbers: [30]
30,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 76:[61, 37], Operations: ['4+57=61', '3+34=37']
Exploring Operation: 61+37=98, Resulting Numbers: [98]
98,76 unequal: No Solution
Exploring Operation: 61*37=2257, Resulting Numbers: [2257]
2257,76 unequal: No Solution
Exploring Operation: 61-37=24, Resulting Numbers: [24]
24,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 76:[34, 64], Operations: ['4+57=61', '3+61=64']
Exploring Operation: 64-34=30, Resulting Numbers: [30]
30,76 unequal: No Solution
Exploring Operation: 34+64=98, Resulting Numbers: [98]
98,76 unequal: No Solution
Exploring Operation: 34*64=2176, Resulting Numbers: [2176]
2176,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 76:[3, 95], Operations: ['4+57=61', '34+61=95']
Exploring Operation: 95-3=92, Resulting Numbers: [92]
92,76 unequal: No Solution
Exploring Operation: 3*95=285, Resulting Numbers: [285]
285,76 unequal: No Solution
Exploring Operation: 3+95=98, Resulting Numbers: [98]
98,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 76:[61, 31], Operations: ['4+57=61', '34-3=31']
Exploring Operation: 61+31=92, Resulting Numbers: [92]
92,76 unequal: No Solution
Exploring Operation: 61*31=1891, Resulting Numbers: [1891]
1891,76 unequal: No Solution
Exploring Operation: 61-31=30, Resulting Numbers: [30]
30,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
59,
2,
57,
61
] | 51 | [
"61-57=4",
"2*4=8",
"59-8=51"
] | Current State: 51:[59, 2, 57, 61], Operations: []
Exploring Operation: 61-57=4, Resulting Numbers: [59, 2, 4]
Generated Node #2: [59, 2, 4] from Operation: 61-57=4
Current State: 51:[59, 2, 4], Operations: ['61-57=4']
Exploring Operation: 2*4=8, Resulting Numbers: [59, 8]
Generated Node #3: [59, 8] from Operation: 2*4=8
Current State: 51:[59, 8], Operations: ['61-57=4', '2*4=8']
Exploring Operation: 59-8=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[59, 2, 57, 61], Operations: []
Exploring Operation: 61-59=2, Resulting Numbers: [2, 57, 2]
Generated Node #0,0: 51:[2, 57, 2] Operation: 61-59=2
Moving to Node #0,0
Current State: 51:[2, 57, 2], Operations: ['61-59=2']
Exploring Operation: 57-2=55, Resulting Numbers: [2, 55]
Generated Node #0,0,0: 51:[2, 55] Operation: 57-2=55
Moving to Node #0,0,0
Current State: 51:[2, 55], Operations: ['61-59=2', '57-2=55']
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,51 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
38,
65,
46,
76
] | 88 | [
"38*46=1748",
"1748/76=23",
"65+23=88"
] | Current State: 88:[38, 65, 46, 76], Operations: []
Exploring Operation: 38*46=1748, Resulting Numbers: [65, 76, 1748]
Generated Node #2: [65, 76, 1748] from Operation: 38*46=1748
Current State: 88:[65, 76, 1748], Operations: ['38*46=1748']
Exploring Operation: 1748/76=23, Resulting Numbers: [65, 23]
Generated Node #3: [65, 23] from Operation: 1748/76=23
Current State: 88:[65, 23], Operations: ['38*46=1748', '1748/76=23']
Exploring Operation: 65+23=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[38, 65, 46, 76], Operations: []
Exploring Operation: 76-65=11, Resulting Numbers: [38, 46, 11]
Generated Node #0,0: 88:[38, 46, 11] Operation: 76-65=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[38, 46, 11], Operations: ['76-65=11']
Exploring Operation: 46-38=8, Resulting Numbers: [11, 8]
Generated Node #0,0,0: 88:[11, 8] Operation: 46-38=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 88:[11, 8], Operations: ['76-65=11', '46-38=8']
Exploring Operation: 11*8=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[38, 65, 46, 76], Operations: []
Exploring Operation: 76-65=11, Resulting Numbers: [38, 46, 11]
Generated Node #0,0: 88:[38, 46, 11] Operation: 76-65=11
Moving to Node #0,0
Current State: 88:[38, 46, 11], Operations: ['76-65=11']
Exploring Operation: 46-38=8, Resulting Numbers: [11, 8]
Generated Node #0,0,0: 88:[11, 8] Operation: 46-38=8
Moving to Node #0,0,0
Current State: 88:[11, 8], Operations: ['76-65=11', '46-38=8']
Exploring Operation: 11*8=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
64,
31,
17,
96
] | 32 | [
"64*17=1088",
"1088-96=992",
"992/31=32"
] | Current State: 32:[64, 31, 17, 96], Operations: []
Exploring Operation: 64*17=1088, Resulting Numbers: [31, 96, 1088]
Generated Node #2: [31, 96, 1088] from Operation: 64*17=1088
Current State: 32:[31, 96, 1088], Operations: ['64*17=1088']
Exploring Operation: 1088-96=992, Resulting Numbers: [31, 992]
Generated Node #3: [31, 992] from Operation: 1088-96=992
Current State: 32:[31, 992], Operations: ['64*17=1088', '1088-96=992']
Exploring Operation: 992/31=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[64, 31, 17, 96], Operations: []
Exploring Operation: 64-17=47, Resulting Numbers: [31, 96, 47]
Generated Node #0,0: 32:[31, 96, 47] Operation: 64-17=47
Exploring Operation: 96-31=65, Resulting Numbers: [64, 17, 65]
Generated Node #0,1: 32:[64, 17, 65] Operation: 96-31=65
Exploring Operation: 64-31=33, Resulting Numbers: [17, 96, 33]
Generated Node #0,2: 32:[17, 96, 33] Operation: 64-31=33
Exploring Operation: 96-64=32, Resulting Numbers: [31, 17, 32]
Generated Node #0,3: 32:[31, 17, 32] Operation: 96-64=32
Exploring Operation: 96-17=79, Resulting Numbers: [64, 31, 79]
Generated Node #0,4: 32:[64, 31, 79] Operation: 96-17=79
Start Sub Search at level 1: Moving to Node #0,3
Current State: 32:[31, 17, 32], Operations: ['96-64=32']
Exploring Operation: 31+17=48, Resulting Numbers: [32, 48]
Generated Node #0,3,0: 32:[32, 48] Operation: 31+17=48
Exploring Operation: 17+32=49, Resulting Numbers: [31, 49]
Generated Node #0,3,1: 32:[31, 49] Operation: 17+32=49
Exploring Operation: 32-17=15, Resulting Numbers: [31, 15]
Generated Node #0,3,2: 32:[31, 15] Operation: 32-17=15
Exploring Operation: 31-17=14, Resulting Numbers: [32, 14]
Generated Node #0,3,3: 32:[32, 14] Operation: 31-17=14
Exploring Operation: 32-31=1, Resulting Numbers: [17, 1]
Generated Node #0,3,4: 32:[17, 1] Operation: 32-31=1
Moving to Node #0,3,2
Current State: 32:[31, 15], Operations: ['96-64=32', '32-17=15']
Exploring Operation: 31+15=46, Resulting Numbers: [46]
46,32 unequal: No Solution
Exploring Operation: 31-15=16, Resulting Numbers: [16]
16,32 unequal: No Solution
Exploring Operation: 31*15=465, Resulting Numbers: [465]
465,32 unequal: No Solution
Moving to Node #0,3,4
Current State: 32:[17, 1], Operations: ['96-64=32', '32-31=1']
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,32 unequal: No Solution
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,32 unequal: No Solution
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,32 unequal: No Solution
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,32 unequal: No Solution
Moving to Node #0,3,3
Current State: 32:[32, 14], Operations: ['96-64=32', '31-17=14']
Exploring Operation: 32+14=46, Resulting Numbers: [46]
46,32 unequal: No Solution
Exploring Operation: 32*14=448, Resulting Numbers: [448]
448,32 unequal: No Solution
Exploring Operation: 32-14=18, Resulting Numbers: [18]
18,32 unequal: No Solution
Moving to Node #0,3,0
Current State: 32:[32, 48], Operations: ['96-64=32', '31+17=48']
Exploring Operation: 32+48=80, Resulting Numbers: [80]
80,32 unequal: No Solution
Exploring Operation: 48-32=16, Resulting Numbers: [16]
16,32 unequal: No Solution
Exploring Operation: 32*48=1536, Resulting Numbers: [1536]
1536,32 unequal: No Solution
Moving to Node #0,3,1
Current State: 32:[31, 49], Operations: ['96-64=32', '17+32=49']
Exploring Operation: 31+49=80, Resulting Numbers: [80]
80,32 unequal: No Solution
Exploring Operation: 49-31=18, Resulting Numbers: [18]
18,32 unequal: No Solution
Exploring Operation: 31*49=1519, Resulting Numbers: [1519]
1519,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:[64, 17, 65], Operations: ['96-31=65']
Exploring Operation: 64+17=81, Resulting Numbers: [65, 81]
Generated Node #0,1,0: 32:[65, 81] Operation: 64+17=81
Exploring Operation: 64-17=47, Resulting Numbers: [65, 47]
Generated Node #0,1,1: 32:[65, 47] Operation: 64-17=47
Exploring Operation: 65-64=1, Resulting Numbers: [17, 1]
Generated Node #0,1,2: 32:[17, 1] Operation: 65-64=1
Exploring Operation: 17+65=82, Resulting Numbers: [64, 82]
Generated Node #0,1,3: 32:[64, 82] Operation: 17+65=82
Exploring Operation: 65-17=48, Resulting Numbers: [64, 48]
Generated Node #0,1,4: 32:[64, 48] Operation: 65-17=48
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 32:[17, 1], Operations: ['96-31=65', '65-64=1']
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,32 unequal: No Solution
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,32 unequal: No Solution
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,32 unequal: No Solution
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 32:[65, 47], Operations: ['96-31=65', '64-17=47']
Exploring Operation: 65+47=112, Resulting Numbers: [112]
112,32 unequal: No Solution
Exploring Operation: 65-47=18, Resulting Numbers: [18]
18,32 unequal: No Solution
Exploring Operation: 65*47=3055, Resulting Numbers: [3055]
3055,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 32:[64, 48], Operations: ['96-31=65', '65-17=48']
Exploring Operation: 64*48=3072, Resulting Numbers: [3072]
3072,32 unequal: No Solution
Exploring Operation: 64+48=112, Resulting Numbers: [112]
112,32 unequal: No Solution
Exploring Operation: 64-48=16, Resulting Numbers: [16]
16,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 32:[65, 81], Operations: ['96-31=65', '64+17=81']
Exploring Operation: 65*81=5265, Resulting Numbers: [5265]
5265,32 unequal: No Solution
Exploring Operation: 81-65=16, Resulting Numbers: [16]
16,32 unequal: No Solution
Exploring Operation: 65+81=146, Resulting Numbers: [146]
146,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 32:[64, 82], Operations: ['96-31=65', '17+65=82']
Exploring Operation: 82-64=18, Resulting Numbers: [18]
18,32 unequal: No Solution
Exploring Operation: 64*82=5248, Resulting Numbers: [5248]
5248,32 unequal: No Solution
Exploring Operation: 64+82=146, Resulting Numbers: [146]
146,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 32:[17, 96, 33], Operations: ['64-31=33']
Exploring Operation: 17+96=113, Resulting Numbers: [33, 113]
Generated Node #0,2,0: 32:[33, 113] Operation: 17+96=113
Exploring Operation: 96-33=63, Resulting Numbers: [17, 63]
Generated Node #0,2,1: 32:[17, 63] Operation: 96-33=63
Exploring Operation: 33-17=16, Resulting Numbers: [96, 16]
Generated Node #0,2,2: 32:[96, 16] Operation: 33-17=16
Exploring Operation: 17+33=50, Resulting Numbers: [96, 50]
Generated Node #0,2,3: 32:[96, 50] Operation: 17+33=50
Exploring Operation: 96-17=79, Resulting Numbers: [33, 79]
Generated Node #0,2,4: 32:[33, 79] Operation: 96-17=79
Moving to Node #0,2,1
Current State: 32:[17, 63], Operations: ['64-31=33', '96-33=63']
Exploring Operation: 63-17=46, Resulting Numbers: [46]
46,32 unequal: No Solution
Exploring Operation: 17*63=1071, Resulting Numbers: [1071]
1071,32 unequal: No Solution
Exploring Operation: 17+63=80, Resulting Numbers: [80]
80,32 unequal: No Solution
Moving to Node #0,2,4
Current State: 32:[33, 79], Operations: ['64-31=33', '96-17=79']
Exploring Operation: 33*79=2607, Resulting Numbers: [2607]
2607,32 unequal: No Solution
Exploring Operation: 33+79=112, Resulting Numbers: [112]
112,32 unequal: No Solution
Exploring Operation: 79-33=46, Resulting Numbers: [46]
46,32 unequal: No Solution
Moving to Node #0,2,2
Current State: 32:[96, 16], Operations: ['64-31=33', '33-17=16']
Exploring Operation: 96/16=6, Resulting Numbers: [6]
6,32 unequal: No Solution
Exploring Operation: 96+16=112, Resulting Numbers: [112]
112,32 unequal: No Solution
Exploring Operation: 96*16=1536, Resulting Numbers: [1536]
1536,32 unequal: No Solution
Exploring Operation: 96-16=80, Resulting Numbers: [80]
80,32 unequal: No Solution
Moving to Node #0,2,0
Current State: 32:[33, 113], Operations: ['64-31=33', '17+96=113']
Exploring Operation: 113-33=80, Resulting Numbers: [80]
80,32 unequal: No Solution
Exploring Operation: 33+113=146, Resulting Numbers: [146]
146,32 unequal: No Solution
Exploring Operation: 33*113=3729, Resulting Numbers: [3729]
3729,32 unequal: No Solution
Moving to Node #0,2,3
Current State: 32:[96, 50], Operations: ['64-31=33', '17+33=50']
Exploring Operation: 96-50=46, Resulting Numbers: [46]
46,32 unequal: No Solution
Exploring Operation: 96*50=4800, Resulting Numbers: [4800]
4800,32 unequal: No Solution
Exploring Operation: 96+50=146, Resulting Numbers: [146]
146,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[31, 96, 47], Operations: ['64-17=47']
Exploring Operation: 47-31=16, Resulting Numbers: [96, 16]
Generated Node #0,0,0: 32:[96, 16] Operation: 47-31=16
Exploring Operation: 96-47=49, Resulting Numbers: [31, 49]
Generated Node #0,0,1: 32:[31, 49] Operation: 96-47=49
Exploring Operation: 31+47=78, Resulting Numbers: [96, 78]
Generated Node #0,0,2: 32:[96, 78] Operation: 31+47=78
Exploring Operation: 31+96=127, Resulting Numbers: [47, 127]
Generated Node #0,0,3: 32:[47, 127] Operation: 31+96=127
Exploring Operation: 96-31=65, Resulting Numbers: [47, 65]
Generated Node #0,0,4: 32:[47, 65] Operation: 96-31=65
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 32:[31, 49], Operations: ['64-17=47', '96-47=49']
Exploring Operation: 31+49=80, Resulting Numbers: [80]
80,32 unequal: No Solution
Exploring Operation: 31*49=1519, Resulting Numbers: [1519]
1519,32 unequal: No Solution
Exploring Operation: 49-31=18, Resulting Numbers: [18]
18,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 32:[47, 65], Operations: ['64-17=47', '96-31=65']
Exploring Operation: 65-47=18, Resulting Numbers: [18]
18,32 unequal: No Solution
Exploring Operation: 47*65=3055, Resulting Numbers: [3055]
3055,32 unequal: No Solution
Exploring Operation: 47+65=112, Resulting Numbers: [112]
112,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 32:[96, 16], Operations: ['64-17=47', '47-31=16']
Exploring Operation: 96+16=112, Resulting Numbers: [112]
112,32 unequal: No Solution
Exploring Operation: 96-16=80, Resulting Numbers: [80]
80,32 unequal: No Solution
Exploring Operation: 96/16=6, Resulting Numbers: [6]
6,32 unequal: No Solution
Exploring Operation: 96*16=1536, Resulting Numbers: [1536]
1536,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 32:[96, 78], Operations: ['64-17=47', '31+47=78']
Exploring Operation: 96*78=7488, Resulting Numbers: [7488]
7488,32 unequal: No Solution
Exploring Operation: 96-78=18, Resulting Numbers: [18]
18,32 unequal: No Solution
Exploring Operation: 96+78=174, Resulting Numbers: [174]
174,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 32:[47, 127], Operations: ['64-17=47', '31+96=127']
Exploring Operation: 127-47=80, Resulting Numbers: [80]
80,32 unequal: No Solution
Exploring Operation: 47+127=174, Resulting Numbers: [174]
174,32 unequal: No Solution
Exploring Operation: 47*127=5969, Resulting Numbers: [5969]
5969,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 32:[64, 31, 79], Operations: ['96-17=79']
Exploring Operation: 79-64=15, Resulting Numbers: [31, 15]
Generated Node #0,4,0: 32:[31, 15] Operation: 79-64=15
Exploring Operation: 64+31=95, Resulting Numbers: [79, 95]
Generated Node #0,4,1: 32:[79, 95] Operation: 64+31=95
Exploring Operation: 31+79=110, Resulting Numbers: [64, 110]
Generated Node #0,4,2: 32:[64, 110] Operation: 31+79=110
Exploring Operation: 64-31=33, Resulting Numbers: [79, 33]
Generated Node #0,4,3: 32:[79, 33] Operation: 64-31=33
Exploring Operation: 79-31=48, Resulting Numbers: [64, 48]
Generated Node #0,4,4: 32:[64, 48] Operation: 79-31=48
Moving to Node #0,4,0
Current State: 32:[31, 15], Operations: ['96-17=79', '79-64=15']
Exploring Operation: 31-15=16, Resulting Numbers: [16]
16,32 unequal: No Solution
Exploring Operation: 31*15=465, Resulting Numbers: [465]
465,32 unequal: No Solution
Exploring Operation: 31+15=46, Resulting Numbers: [46]
46,32 unequal: No Solution
Moving to Node #0,4,4
Current State: 32:[64, 48], Operations: ['96-17=79', '79-31=48']
Exploring Operation: 64+48=112, Resulting Numbers: [112]
112,32 unequal: No Solution
Exploring Operation: 64*48=3072, Resulting Numbers: [3072]
3072,32 unequal: No Solution
Exploring Operation: 64-48=16, Resulting Numbers: [16]
16,32 unequal: No Solution
Moving to Node #0,4,3
Current State: 32:[79, 33], Operations: ['96-17=79', '64-31=33']
Exploring Operation: 79+33=112, Resulting Numbers: [112]
112,32 unequal: No Solution
Exploring Operation: 79*33=2607, Resulting Numbers: [2607]
2607,32 unequal: No Solution
Exploring Operation: 79-33=46, Resulting Numbers: [46]
46,32 unequal: No Solution
Moving to Node #0,4,1
Current State: 32:[79, 95], Operations: ['96-17=79', '64+31=95']
Exploring Operation: 79+95=174, Resulting Numbers: [174]
174,32 unequal: No Solution
Exploring Operation: 95-79=16, Resulting Numbers: [16]
16,32 unequal: No Solution
Exploring Operation: 79*95=7505, Resulting Numbers: [7505]
7505,32 unequal: No Solution
Moving to Node #0,4,2
Current State: 32:[64, 110], Operations: ['96-17=79', '31+79=110']
Exploring Operation: 64+110=174, Resulting Numbers: [174]
174,32 unequal: No Solution
Exploring Operation: 110-64=46, Resulting Numbers: [46]
46,32 unequal: No Solution
Exploring Operation: 64*110=7040, Resulting Numbers: [7040]
7040,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
15,
59,
18,
45
] | 65 | [
"15*18=270",
"270/45=6",
"59+6=65"
] | Current State: 65:[15, 59, 18, 45], Operations: []
Exploring Operation: 15*18=270, Resulting Numbers: [59, 45, 270]
Generated Node #2: [59, 45, 270] from Operation: 15*18=270
Current State: 65:[59, 45, 270], Operations: ['15*18=270']
Exploring Operation: 270/45=6, Resulting Numbers: [59, 6]
Generated Node #3: [59, 6] from Operation: 270/45=6
Current State: 65:[59, 6], Operations: ['15*18=270', '270/45=6']
Exploring Operation: 59+6=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[15, 59, 18, 45], Operations: []
Exploring Operation: 59-45=14, Resulting Numbers: [15, 18, 14]
Generated Node #0,0: 65:[15, 18, 14] Operation: 59-45=14
Exploring Operation: 15+45=60, Resulting Numbers: [59, 18, 60]
Generated Node #0,1: 65:[59, 18, 60] Operation: 15+45=60
Exploring Operation: 18+45=63, Resulting Numbers: [15, 59, 63]
Generated Node #0,2: 65:[15, 59, 63] Operation: 18+45=63
Exploring Operation: 45/15=3, Resulting Numbers: [59, 18, 3]
Generated Node #0,3: 65:[59, 18, 3] Operation: 45/15=3
Moving to Node #0,0
Current State: 65:[15, 18, 14], Operations: ['59-45=14']
Exploring Operation: 18-15=3, Resulting Numbers: [14, 3]
Generated Node #0,0,0: 65:[14, 3] Operation: 18-15=3
Exploring Operation: 18-14=4, Resulting Numbers: [15, 4]
Generated Node #0,0,1: 65:[15, 4] Operation: 18-14=4
Exploring Operation: 15-14=1, Resulting Numbers: [18, 1]
Generated Node #0,0,2: 65:[18, 1] Operation: 15-14=1
Exploring Operation: 15+18=33, Resulting Numbers: [14, 33]
Generated Node #0,0,3: 65:[14, 33] Operation: 15+18=33
Moving to Node #0,2
Current State: 65:[15, 59, 63], Operations: ['18+45=63']
Exploring Operation: 15+59=74, Resulting Numbers: [63, 74]
Generated Node #0,2,0: 65:[63, 74] Operation: 15+59=74
Exploring Operation: 59-15=44, Resulting Numbers: [63, 44]
Generated Node #0,2,1: 65:[63, 44] Operation: 59-15=44
Exploring Operation: 15+63=78, Resulting Numbers: [59, 78]
Generated Node #0,2,2: 65:[59, 78] Operation: 15+63=78
Exploring Operation: 63-59=4, Resulting Numbers: [15, 4]
Generated Node #0,2,3: 65:[15, 4] Operation: 63-59=4
Moving to Node #0,3
Current State: 65:[59, 18, 3], Operations: ['45/15=3']
Exploring Operation: 18-3=15, Resulting Numbers: [59, 15]
Generated Node #0,3,0: 65:[59, 15] Operation: 18-3=15
Exploring Operation: 59+18=77, Resulting Numbers: [3, 77]
Generated Node #0,3,1: 65:[3, 77] Operation: 59+18=77
Exploring Operation: 59+3=62, Resulting Numbers: [18, 62]
Generated Node #0,3,2: 65:[18, 62] Operation: 59+3=62
Exploring Operation: 18/3=6, Resulting Numbers: [59, 6]
Generated Node #0,3,3: 65:[59, 6] Operation: 18/3=6
Moving to Node #0,1
Current State: 65:[59, 18, 60], Operations: ['15+45=60']
Exploring Operation: 18+60=78, Resulting Numbers: [59, 78]
Generated Node #0,1,0: 65:[59, 78] Operation: 18+60=78
Exploring Operation: 59-18=41, Resulting Numbers: [60, 41]
Generated Node #0,1,1: 65:[60, 41] Operation: 59-18=41
Exploring Operation: 59+18=77, Resulting Numbers: [60, 77]
Generated Node #0,1,2: 65:[60, 77] Operation: 59+18=77
Exploring Operation: 60-59=1, Resulting Numbers: [18, 1]
Generated Node #0,1,3: 65:[18, 1] Operation: 60-59=1
Moving to Node #0,0,0
Current State: 65:[14, 3], Operations: ['59-45=14', '18-15=3']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,65 unequal: No Solution
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,65 unequal: No Solution
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,65 unequal: No Solution
Moving to Node #0,0,1
Current State: 65:[15, 4], Operations: ['59-45=14', '18-14=4']
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,65 unequal: No Solution
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,65 unequal: No Solution
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,65 unequal: No Solution
Moving to Node #0,2,3
Current State: 65:[15, 4], Operations: ['18+45=63', '63-59=4']
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,65 unequal: No Solution
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,65 unequal: No Solution
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,65 unequal: No Solution
Moving to Node #0,3,3
Current State: 65:[59, 6], Operations: ['45/15=3', '18/3=6']
Exploring Operation: 59+6=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[15, 59, 18, 45], Operations: []
Exploring Operation: 45/15=3, Resulting Numbers: [59, 18, 3]
Generated Node #0,3: 65:[59, 18, 3] Operation: 45/15=3
Moving to Node #0,3
Current State: 65:[59, 18, 3], Operations: ['45/15=3']
Exploring Operation: 18/3=6, Resulting Numbers: [59, 6]
Generated Node #0,3,3: 65:[59, 6] Operation: 18/3=6
Moving to Node #0,3,3
Current State: 65:[59, 6], Operations: ['45/15=3', '18/3=6']
Exploring Operation: 59+6=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 0.970486 | hs_4 | sum_heuristic |
[
3,
1,
24,
32
] | 52 | [
"3+1=4",
"24+32=56",
"56-4=52"
] | Current State: 52:[3, 1, 24, 32], Operations: []
Exploring Operation: 3+1=4, Resulting Numbers: [24, 32, 4]
Generated Node #2: [24, 32, 4] from Operation: 3+1=4
Current State: 52:[24, 32, 4], Operations: ['3+1=4']
Exploring Operation: 24+32=56, Resulting Numbers: [4, 56]
Generated Node #3: [4, 56] from Operation: 24+32=56
Current State: 52:[4, 56], Operations: ['3+1=4', '24+32=56']
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[3, 1, 24, 32], Operations: []
Exploring Operation: 3+1=4, Resulting Numbers: [24, 32, 4]
Generated Node #0,0: 52:[24, 32, 4] Operation: 3+1=4
Exploring Operation: 32-24=8, Resulting Numbers: [3, 1, 8]
Generated Node #0,1: 52:[3, 1, 8] Operation: 32-24=8
Exploring Operation: 24+32=56, Resulting Numbers: [3, 1, 56]
Generated Node #0,2: 52:[3, 1, 56] Operation: 24+32=56
Exploring Operation: 32-3=29, Resulting Numbers: [1, 24, 29]
Generated Node #0,3: 52:[1, 24, 29] Operation: 32-3=29
Moving to Node #0,1
Current State: 52:[3, 1, 8], Operations: ['32-24=8']
Exploring Operation: 8-3=5, Resulting Numbers: [1, 5]
Generated Node #0,1,0: 52:[1, 5] Operation: 8-3=5
Exploring Operation: 3+8=11, Resulting Numbers: [1, 11]
Generated Node #0,1,1: 52:[1, 11] Operation: 3+8=11
Exploring Operation: 3*8=24, Resulting Numbers: [1, 24]
Generated Node #0,1,2: 52:[1, 24] Operation: 3*8=24
Exploring Operation: 3+1=4, Resulting Numbers: [8, 4]
Generated Node #0,1,3: 52:[8, 4] Operation: 3+1=4
Moving to Node #0,3
Current State: 52:[1, 24, 29], Operations: ['32-3=29']
Exploring Operation: 29-24=5, Resulting Numbers: [1, 5]
Generated Node #0,3,0: 52:[1, 5] Operation: 29-24=5
Exploring Operation: 29-1=28, Resulting Numbers: [24, 28]
Generated Node #0,3,1: 52:[24, 28] Operation: 29-1=28
Exploring Operation: 24+29=53, Resulting Numbers: [1, 53]
Generated Node #0,3,2: 52:[1, 53] Operation: 24+29=53
Exploring Operation: 1+24=25, Resulting Numbers: [29, 25]
Generated Node #0,3,3: 52:[29, 25] Operation: 1+24=25
Moving to Node #0,2
Current State: 52:[3, 1, 56], Operations: ['24+32=56']
Exploring Operation: 56-1=55, Resulting Numbers: [3, 55]
Generated Node #0,2,0: 52:[3, 55] Operation: 56-1=55
Exploring Operation: 3+1=4, Resulting Numbers: [56, 4]
Generated Node #0,2,1: 52:[56, 4] Operation: 3+1=4
Exploring Operation: 3-1=2, Resulting Numbers: [56, 2]
Generated Node #0,2,2: 52:[56, 2] Operation: 3-1=2
Exploring Operation: 56-3=53, Resulting Numbers: [1, 53]
Generated Node #0,2,3: 52:[1, 53] Operation: 56-3=53
Moving to Node #0,0
Current State: 52:[24, 32, 4], Operations: ['3+1=4']
Exploring Operation: 32/4=8, Resulting Numbers: [24, 8]
Generated Node #0,0,0: 52:[24, 8] Operation: 32/4=8
Exploring Operation: 32-4=28, Resulting Numbers: [24, 28]
Generated Node #0,0,1: 52:[24, 28] Operation: 32-4=28
Exploring Operation: 24+32=56, Resulting Numbers: [4, 56]
Generated Node #0,0,2: 52:[4, 56] Operation: 24+32=56
Exploring Operation: 32-24=8, Resulting Numbers: [4, 8]
Generated Node #0,0,3: 52:[4, 8] Operation: 32-24=8
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 52:[24, 28], Operations: ['3+1=4', '32-4=28']
Exploring Operation: 24*28=672, Resulting Numbers: [672]
672,52 unequal: No Solution
Exploring Operation: 24+28=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[3, 1, 24, 32], Operations: []
Exploring Operation: 3+1=4, Resulting Numbers: [24, 32, 4]
Generated Node #0,0: 52:[24, 32, 4] Operation: 3+1=4
Moving to Node #0,0
Current State: 52:[24, 32, 4], Operations: ['3+1=4']
Exploring Operation: 32-4=28, Resulting Numbers: [24, 28]
Generated Node #0,0,1: 52:[24, 28] Operation: 32-4=28
Moving to Node #0,0,1
Current State: 52:[24, 28], Operations: ['3+1=4', '32-4=28']
Exploring Operation: 24+28=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_4 | mult_heuristic |
[
47,
9,
16,
5
] | 67 | [
"47+9=56",
"16-5=11",
"56+11=67"
] | Current State: 67:[47, 9, 16, 5], Operations: []
Exploring Operation: 47+9=56, Resulting Numbers: [16, 5, 56]
Generated Node #2: [16, 5, 56] from Operation: 47+9=56
Current State: 67:[16, 5, 56], Operations: ['47+9=56']
Exploring Operation: 16-5=11, Resulting Numbers: [56, 11]
Generated Node #3: [56, 11] from Operation: 16-5=11
Current State: 67:[56, 11], Operations: ['47+9=56', '16-5=11']
Exploring Operation: 56+11=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[47, 9, 16, 5], Operations: []
Exploring Operation: 9*5=45, Resulting Numbers: [47, 16, 45]
Generated Node #0,0: 67:[47, 16, 45] Operation: 9*5=45
Exploring Operation: 16*5=80, Resulting Numbers: [47, 9, 80]
Generated Node #0,1: 67:[47, 9, 80] Operation: 16*5=80
Exploring Operation: 47+16=63, Resulting Numbers: [9, 5, 63]
Generated Node #0,2: 67:[9, 5, 63] Operation: 47+16=63
Exploring Operation: 47+9=56, Resulting Numbers: [16, 5, 56]
Generated Node #0,3: 67:[16, 5, 56] Operation: 47+9=56
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[47, 9, 80], Operations: ['16*5=80']
Exploring Operation: 9+80=89, Resulting Numbers: [47, 89]
Generated Node #0,1,0: 67:[47, 89] Operation: 9+80=89
Exploring Operation: 47-9=38, Resulting Numbers: [80, 38]
Generated Node #0,1,1: 67:[80, 38] Operation: 47-9=38
Exploring Operation: 47+9=56, Resulting Numbers: [80, 56]
Generated Node #0,1,2: 67:[80, 56] Operation: 47+9=56
Exploring Operation: 80-9=71, Resulting Numbers: [47, 71]
Generated Node #0,1,3: 67:[47, 71] Operation: 80-9=71
Moving to Node #0,1,2
Current State: 67:[80, 56], Operations: ['16*5=80', '47+9=56']
Exploring Operation: 80-56=24, Resulting Numbers: [24]
24,67 unequal: No Solution
Exploring Operation: 80*56=4480, Resulting Numbers: [4480]
4480,67 unequal: No Solution
Exploring Operation: 80+56=136, Resulting Numbers: [136]
136,67 unequal: No Solution
Moving to Node #0,1,3
Current State: 67:[47, 71], Operations: ['16*5=80', '80-9=71']
Exploring Operation: 47+71=118, Resulting Numbers: [118]
118,67 unequal: No Solution
Exploring Operation: 71-47=24, Resulting Numbers: [24]
24,67 unequal: No Solution
Exploring Operation: 47*71=3337, Resulting Numbers: [3337]
3337,67 unequal: No Solution
Moving to Node #0,1,1
Current State: 67:[80, 38], Operations: ['16*5=80', '47-9=38']
Exploring Operation: 80-38=42, Resulting Numbers: [42]
42,67 unequal: No Solution
Exploring Operation: 80+38=118, Resulting Numbers: [118]
118,67 unequal: No Solution
Exploring Operation: 80*38=3040, Resulting Numbers: [3040]
3040,67 unequal: No Solution
Moving to Node #0,1,0
Current State: 67:[47, 89], Operations: ['16*5=80', '9+80=89']
Exploring Operation: 89-47=42, Resulting Numbers: [42]
42,67 unequal: No Solution
Exploring Operation: 47+89=136, Resulting Numbers: [136]
136,67 unequal: No Solution
Exploring Operation: 47*89=4183, Resulting Numbers: [4183]
4183,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[47, 16, 45], Operations: ['9*5=45']
Exploring Operation: 16+45=61, Resulting Numbers: [47, 61]
Generated Node #0,0,0: 67:[47, 61] Operation: 16+45=61
Exploring Operation: 47+16=63, Resulting Numbers: [45, 63]
Generated Node #0,0,1: 67:[45, 63] Operation: 47+16=63
Exploring Operation: 45-16=29, Resulting Numbers: [47, 29]
Generated Node #0,0,2: 67:[47, 29] Operation: 45-16=29
Exploring Operation: 47-16=31, Resulting Numbers: [45, 31]
Generated Node #0,0,3: 67:[45, 31] Operation: 47-16=31
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 67:[47, 61], Operations: ['9*5=45', '16+45=61']
Exploring Operation: 47+61=108, Resulting Numbers: [108]
108,67 unequal: No Solution
Exploring Operation: 61-47=14, Resulting Numbers: [14]
14,67 unequal: No Solution
Exploring Operation: 47*61=2867, Resulting Numbers: [2867]
2867,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 67:[45, 63], Operations: ['9*5=45', '47+16=63']
Exploring Operation: 63-45=18, Resulting Numbers: [18]
18,67 unequal: No Solution
Exploring Operation: 45*63=2835, Resulting Numbers: [2835]
2835,67 unequal: No Solution
Exploring Operation: 45+63=108, Resulting Numbers: [108]
108,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 67:[47, 29], Operations: ['9*5=45', '45-16=29']
Exploring Operation: 47*29=1363, Resulting Numbers: [1363]
1363,67 unequal: No Solution
Exploring Operation: 47-29=18, Resulting Numbers: [18]
18,67 unequal: No Solution
Exploring Operation: 47+29=76, Resulting Numbers: [76]
76,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 67:[45, 31], Operations: ['9*5=45', '47-16=31']
Exploring Operation: 45-31=14, Resulting Numbers: [14]
14,67 unequal: No Solution
Exploring Operation: 45*31=1395, Resulting Numbers: [1395]
1395,67 unequal: No Solution
Exploring Operation: 45+31=76, Resulting Numbers: [76]
76,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 67:[9, 5, 63], Operations: ['47+16=63']
Exploring Operation: 9-5=4, Resulting Numbers: [63, 4]
Generated Node #0,2,0: 67:[63, 4] Operation: 9-5=4
Exploring Operation: 9+5=14, Resulting Numbers: [63, 14]
Generated Node #0,2,1: 67:[63, 14] Operation: 9+5=14
Exploring Operation: 5+63=68, Resulting Numbers: [9, 68]
Generated Node #0,2,2: 67:[9, 68] Operation: 5+63=68
Exploring Operation: 9*5=45, Resulting Numbers: [63, 45]
Generated Node #0,2,3: 67:[63, 45] Operation: 9*5=45
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 67:[63, 45], Operations: ['47+16=63', '9*5=45']
Exploring Operation: 63*45=2835, Resulting Numbers: [2835]
2835,67 unequal: No Solution
Exploring Operation: 63+45=108, Resulting Numbers: [108]
108,67 unequal: No Solution
Exploring Operation: 63-45=18, Resulting Numbers: [18]
18,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 67:[63, 14], Operations: ['47+16=63', '9+5=14']
Exploring Operation: 63-14=49, Resulting Numbers: [49]
49,67 unequal: No Solution
Exploring Operation: 63*14=882, Resulting Numbers: [882]
882,67 unequal: No Solution
Exploring Operation: 63+14=77, Resulting Numbers: [77]
77,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 67:[9, 68], Operations: ['47+16=63', '5+63=68']
Exploring Operation: 9*68=612, Resulting Numbers: [612]
612,67 unequal: No Solution
Exploring Operation: 68-9=59, Resulting Numbers: [59]
59,67 unequal: No Solution
Exploring Operation: 9+68=77, Resulting Numbers: [77]
77,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 67:[63, 4], Operations: ['47+16=63', '9-5=4']
Exploring Operation: 63-4=59, Resulting Numbers: [59]
59,67 unequal: No Solution
Exploring Operation: 63+4=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[47, 9, 16, 5], Operations: []
Exploring Operation: 47+16=63, Resulting Numbers: [9, 5, 63]
Generated Node #0,2: 67:[9, 5, 63] Operation: 47+16=63
Moving to Node #0,2
Current State: 67:[9, 5, 63], Operations: ['47+16=63']
Exploring Operation: 9-5=4, Resulting Numbers: [63, 4]
Generated Node #0,2,0: 67:[63, 4] Operation: 9-5=4
Moving to Node #0,2,0
Current State: 67:[63, 4], Operations: ['47+16=63', '9-5=4']
Exploring Operation: 63+4=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.952257 | hs_4 | mult_heuristic |
[
13,
84,
98,
20
] | 70 | [
"20-13=7",
"98/7=14",
"84-14=70"
] | Current State: 70:[13, 84, 98, 20], Operations: []
Exploring Operation: 20-13=7, Resulting Numbers: [84, 98, 7]
Generated Node #2: [84, 98, 7] from Operation: 20-13=7
Current State: 70:[84, 98, 7], Operations: ['20-13=7']
Exploring Operation: 98/7=14, Resulting Numbers: [84, 14]
Generated Node #3: [84, 14] from Operation: 98/7=14
Current State: 70:[84, 14], Operations: ['20-13=7', '98/7=14']
Exploring Operation: 84-14=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[13, 84, 98, 20], Operations: []
Exploring Operation: 98-84=14, Resulting Numbers: [13, 20, 14]
Generated Node #0,0: 70:[13, 20, 14] Operation: 98-84=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[13, 20, 14], Operations: ['98-84=14']
Exploring Operation: 20-13=7, Resulting Numbers: [14, 7]
Generated Node #0,0,0: 70:[14, 7] Operation: 20-13=7
Moving to Node #0,0,0
Current State: 70:[14, 7], Operations: ['98-84=14', '20-13=7']
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,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 |
[
84,
85,
45,
98
] | 52 | [
"85-84=1",
"98-45=53",
"53-1=52"
] | Current State: 52:[84, 85, 45, 98], Operations: []
Exploring Operation: 85-84=1, Resulting Numbers: [45, 98, 1]
Generated Node #2: [45, 98, 1] from Operation: 85-84=1
Current State: 52:[45, 98, 1], Operations: ['85-84=1']
Exploring Operation: 98-45=53, Resulting Numbers: [1, 53]
Generated Node #3: [1, 53] from Operation: 98-45=53
Current State: 52:[1, 53], Operations: ['85-84=1', '98-45=53']
Exploring Operation: 53-1=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[84, 85, 45, 98], Operations: []
Exploring Operation: 98-85=13, Resulting Numbers: [84, 45, 13]
Generated Node #0,0: 52:[84, 45, 13] Operation: 98-85=13
Exploring Operation: 98-84=14, Resulting Numbers: [85, 45, 14]
Generated Node #0,1: 52:[85, 45, 14] Operation: 98-84=14
Moving to Node #0,0
Current State: 52:[84, 45, 13], Operations: ['98-85=13']
Exploring Operation: 84-13=71, Resulting Numbers: [45, 71]
Generated Node #0,0,0: 52:[45, 71] Operation: 84-13=71
Exploring Operation: 84-45=39, Resulting Numbers: [13, 39]
Generated Node #0,0,1: 52:[13, 39] Operation: 84-45=39
Moving to Node #0,1
Current State: 52:[85, 45, 14], Operations: ['98-84=14']
Exploring Operation: 85-45=40, Resulting Numbers: [14, 40]
Generated Node #0,1,0: 52:[14, 40] Operation: 85-45=40
Exploring Operation: 85-14=71, Resulting Numbers: [45, 71]
Generated Node #0,1,1: 52:[45, 71] Operation: 85-14=71
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 52:[14, 40], Operations: ['98-84=14', '85-45=40']
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Exploring Operation: 14+40=54, Resulting Numbers: [54]
54,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:[45, 71], Operations: ['98-84=14', '85-14=71']
Exploring Operation: 45+71=116, Resulting Numbers: [116]
116,52 unequal: No Solution
Exploring Operation: 71-45=26, Resulting Numbers: [26]
26,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 52:[13, 39], Operations: ['98-85=13', '84-45=39']
Exploring Operation: 39-13=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Exploring Operation: 13+39=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[84, 85, 45, 98], Operations: []
Exploring Operation: 98-85=13, Resulting Numbers: [84, 45, 13]
Generated Node #0,0: 52:[84, 45, 13] Operation: 98-85=13
Moving to Node #0,0
Current State: 52:[84, 45, 13], Operations: ['98-85=13']
Exploring Operation: 84-45=39, Resulting Numbers: [13, 39]
Generated Node #0,0,1: 52:[13, 39] Operation: 84-45=39
Moving to Node #0,0,1
Current State: 52:[13, 39], Operations: ['98-85=13', '84-45=39']
Exploring Operation: 13+39=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 0.986111 | hs_2 | sum_heuristic |
[
91,
58,
35,
7
] | 28 | [
"91-58=33",
"35/7=5",
"33-5=28"
] | Current State: 28:[91, 58, 35, 7], Operations: []
Exploring Operation: 91-58=33, Resulting Numbers: [35, 7, 33]
Generated Node #2: [35, 7, 33] from Operation: 91-58=33
Current State: 28:[35, 7, 33], Operations: ['91-58=33']
Exploring Operation: 35/7=5, Resulting Numbers: [33, 5]
Generated Node #3: [33, 5] from Operation: 35/7=5
Current State: 28:[33, 5], Operations: ['91-58=33', '35/7=5']
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[91, 58, 35, 7], Operations: []
Exploring Operation: 91-58=33, Resulting Numbers: [35, 7, 33]
Generated Node #0,0: 28:[35, 7, 33] Operation: 91-58=33
Exploring Operation: 58-35=23, Resulting Numbers: [91, 7, 23]
Generated Node #0,1: 28:[91, 7, 23] Operation: 58-35=23
Exploring Operation: 91/7=13, Resulting Numbers: [58, 35, 13]
Generated Node #0,2: 28:[58, 35, 13] Operation: 91/7=13
Exploring Operation: 91-35=56, Resulting Numbers: [58, 7, 56]
Generated Node #0,3: 28:[58, 7, 56] Operation: 91-35=56
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[35, 7, 33], Operations: ['91-58=33']
Exploring Operation: 35-7=28, Resulting Numbers: [33, 28]
Generated Node #0,0,0: 28:[33, 28] Operation: 35-7=28
Exploring Operation: 33-7=26, Resulting Numbers: [35, 26]
Generated Node #0,0,1: 28:[35, 26] Operation: 33-7=26
Exploring Operation: 35-33=2, Resulting Numbers: [7, 2]
Generated Node #0,0,2: 28:[7, 2] Operation: 35-33=2
Exploring Operation: 35/7=5, Resulting Numbers: [33, 5]
Generated Node #0,0,3: 28:[33, 5] Operation: 35/7=5
Moving to Node #0,0,2
Current State: 28:[7, 2], Operations: ['91-58=33', '35-33=2']
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,28 unequal: No Solution
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,28 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,28 unequal: No Solution
Moving to Node #0,0,0
Current State: 28:[33, 28], Operations: ['91-58=33', '35-7=28']
Exploring Operation: 33-28=5, Resulting Numbers: [5]
5,28 unequal: No Solution
Exploring Operation: 33+28=61, Resulting Numbers: [61]
61,28 unequal: No Solution
Exploring Operation: 33*28=924, Resulting Numbers: [924]
924,28 unequal: No Solution
Moving to Node #0,0,3
Current State: 28:[33, 5], Operations: ['91-58=33', '35/7=5']
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[91, 58, 35, 7], Operations: []
Exploring Operation: 91-58=33, Resulting Numbers: [35, 7, 33]
Generated Node #0,0: 28:[35, 7, 33] Operation: 91-58=33
Moving to Node #0,0
Current State: 28:[35, 7, 33], Operations: ['91-58=33']
Exploring Operation: 35/7=5, Resulting Numbers: [33, 5]
Generated Node #0,0,3: 28:[33, 5] Operation: 35/7=5
Moving to Node #0,0,3
Current State: 28:[33, 5], Operations: ['91-58=33', '35/7=5']
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | sum_heuristic |
[
3,
87,
87,
82
] | 89 | [
"87-3=84",
"87-82=5",
"84+5=89"
] | Current State: 89:[3, 87, 87, 82], Operations: []
Exploring Operation: 87-3=84, Resulting Numbers: [82, 84]
Generated Node #2: [82, 84] from Operation: 87-3=84
Current State: 89:[82, 84], Operations: ['87-3=84']
Exploring Operation: 87-82=5, Resulting Numbers: [84, 5]
Generated Node #3: [84, 5] from Operation: 87-82=5
Current State: 89:[84, 5], Operations: ['87-3=84', '87-82=5']
Exploring Operation: 84+5=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[3, 87, 87, 82], Operations: []
Exploring Operation: 87-3=84, Resulting Numbers: [87, 82, 84]
Generated Node #0,0: 89:[87, 82, 84] Operation: 87-3=84
Exploring Operation: 3+82=85, Resulting Numbers: [87, 87, 85]
Generated Node #0,1: 89:[87, 87, 85] Operation: 3+82=85
Exploring Operation: 3+87=90, Resulting Numbers: [87, 82, 90]
Generated Node #0,2: 89:[87, 82, 90] Operation: 3+87=90
Exploring Operation: 87-3=84, Resulting Numbers: [87, 82, 84]
Generated Node #0,3: 89:[87, 82, 84] Operation: 87-3=84
Exploring Operation: 3+87=90, Resulting Numbers: [87, 82, 90]
Generated Node #0,4: 89:[87, 82, 90] Operation: 3+87=90
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[87, 87, 85], Operations: ['3+82=85']
Exploring Operation: 87+87=174, Resulting Numbers: [85, 174]
Generated Node #0,1,0: 89:[85, 174] Operation: 87+87=174
Exploring Operation: 87-85=2, Resulting Numbers: [87, 2]
Generated Node #0,1,1: 89:[87, 2] Operation: 87-85=2
Exploring Operation: 87-85=2, Resulting Numbers: [87, 2]
Generated Node #0,1,2: 89:[87, 2] Operation: 87-85=2
Exploring Operation: 87+85=172, Resulting Numbers: [87, 172]
Generated Node #0,1,3: 89:[87, 172] Operation: 87+85=172
Exploring Operation: 87+85=172, Resulting Numbers: [87, 172]
Generated Node #0,1,4: 89:[87, 172] Operation: 87+85=172
Moving to Node #0,1,3
Current State: 89:[87, 172], Operations: ['3+82=85', '87+85=172']
Exploring Operation: 87*172=14964, Resulting Numbers: [14964]
14964,89 unequal: No Solution
Exploring Operation: 172-87=85, Resulting Numbers: [85]
85,89 unequal: No Solution
Exploring Operation: 87+172=259, Resulting Numbers: [259]
259,89 unequal: No Solution
Moving to Node #0,1,4
Current State: 89:[87, 172], Operations: ['3+82=85', '87+85=172']
Exploring Operation: 87+172=259, Resulting Numbers: [259]
259,89 unequal: No Solution
Exploring Operation: 87*172=14964, Resulting Numbers: [14964]
14964,89 unequal: No Solution
Exploring Operation: 172-87=85, Resulting Numbers: [85]
85,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[85, 174], Operations: ['3+82=85', '87+87=174']
Exploring Operation: 85+174=259, Resulting Numbers: [259]
259,89 unequal: No Solution
Exploring Operation: 85*174=14790, Resulting Numbers: [14790]
14790,89 unequal: No Solution
Exploring Operation: 174-85=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[3, 87, 87, 82], Operations: []
Exploring Operation: 3+82=85, Resulting Numbers: [87, 87, 85]
Generated Node #0,1: 89:[87, 87, 85] Operation: 3+82=85
Moving to Node #0,1
Current State: 89:[87, 87, 85], Operations: ['3+82=85']
Exploring Operation: 87+87=174, Resulting Numbers: [85, 174]
Generated Node #0,1,0: 89:[85, 174] Operation: 87+87=174
Moving to Node #0,1,0
Current State: 89:[85, 174], Operations: ['3+82=85', '87+87=174']
Exploring Operation: 174-85=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_5 | sum_heuristic |
[
95,
55,
64,
10
] | 49 | [
"95+55=150",
"150/10=15",
"64-15=49"
] | Current State: 49:[95, 55, 64, 10], Operations: []
Exploring Operation: 95+55=150, Resulting Numbers: [64, 10, 150]
Generated Node #2: [64, 10, 150] from Operation: 95+55=150
Current State: 49:[64, 10, 150], Operations: ['95+55=150']
Exploring Operation: 150/10=15, Resulting Numbers: [64, 15]
Generated Node #3: [64, 15] from Operation: 150/10=15
Current State: 49:[64, 15], Operations: ['95+55=150', '150/10=15']
Exploring Operation: 64-15=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[95, 55, 64, 10], Operations: []
Exploring Operation: 95-55=40, Resulting Numbers: [64, 10, 40]
Generated Node #0,0: 49:[64, 10, 40] Operation: 95-55=40
Exploring Operation: 95-64=31, Resulting Numbers: [55, 10, 31]
Generated Node #0,1: 49:[55, 10, 31] Operation: 95-64=31
Moving to Node #0,0
Current State: 49:[64, 10, 40], Operations: ['95-55=40']
Exploring Operation: 10+40=50, Resulting Numbers: [64, 50]
Generated Node #0,0,0: 49:[64, 50] Operation: 10+40=50
Exploring Operation: 64-10=54, Resulting Numbers: [40, 54]
Generated Node #0,0,1: 49:[40, 54] Operation: 64-10=54
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 49:[40, 54], Operations: ['95-55=40', '64-10=54']
Exploring Operation: 54-40=14, Resulting Numbers: [14]
14,49 unequal: No Solution
Exploring Operation: 40+54=94, Resulting Numbers: [94]
94,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 49:[64, 50], Operations: ['95-55=40', '10+40=50']
Exploring Operation: 64-50=14, Resulting Numbers: [14]
14,49 unequal: No Solution
Exploring Operation: 64+50=114, Resulting Numbers: [114]
114,49 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: 49:[55, 10, 31], Operations: ['95-64=31']
Exploring Operation: 10+31=41, Resulting Numbers: [55, 41]
Generated Node #0,1,0: 49:[55, 41] Operation: 10+31=41
Exploring Operation: 55-31=24, Resulting Numbers: [10, 24]
Generated Node #0,1,1: 49:[10, 24] Operation: 55-31=24
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 49:[55, 41], Operations: ['95-64=31', '10+31=41']
Exploring Operation: 55-41=14, Resulting Numbers: [14]
14,49 unequal: No Solution
Exploring Operation: 55+41=96, Resulting Numbers: [96]
96,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 49:[10, 24], Operations: ['95-64=31', '55-31=24']
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,49 unequal: No Solution
Exploring Operation: 10+24=34, Resulting Numbers: [34]
34,49 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 |
[
9,
44,
54,
35
] | 36 | [
"9+44=53",
"54+35=89",
"89-53=36"
] | Current State: 36:[9, 44, 54, 35], Operations: []
Exploring Operation: 9+44=53, Resulting Numbers: [54, 35, 53]
Generated Node #2: [54, 35, 53] from Operation: 9+44=53
Current State: 36:[54, 35, 53], Operations: ['9+44=53']
Exploring Operation: 54+35=89, Resulting Numbers: [53, 89]
Generated Node #3: [53, 89] from Operation: 54+35=89
Current State: 36:[53, 89], Operations: ['9+44=53', '54+35=89']
Exploring Operation: 89-53=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[9, 44, 54, 35], Operations: []
Exploring Operation: 54-44=10, Resulting Numbers: [9, 35, 10]
Generated Node #0,0: 36:[9, 35, 10] Operation: 54-44=10
Moving to Node #0,0
Current State: 36:[9, 35, 10], Operations: ['54-44=10']
Exploring Operation: 9+10=19, Resulting Numbers: [35, 19]
Generated Node #0,0,0: 36:[35, 19] Operation: 9+10=19
Moving to Node #0,0,0
Current State: 36:[35, 19], Operations: ['54-44=10', '9+10=19']
Exploring Operation: 35-19=16, Resulting Numbers: [16]
16,36 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
15,
82,
83,
58
] | 43 | [
"58-15=43",
"83-82=1",
"43*1=43"
] | Current State: 43:[15, 82, 83, 58], Operations: []
Exploring Operation: 58-15=43, Resulting Numbers: [82, 83, 43]
Generated Node #2: [82, 83, 43] from Operation: 58-15=43
Current State: 43:[82, 83, 43], Operations: ['58-15=43']
Exploring Operation: 83-82=1, Resulting Numbers: [43, 1]
Generated Node #3: [43, 1] from Operation: 83-82=1
Current State: 43:[43, 1], Operations: ['58-15=43', '83-82=1']
Exploring Operation: 43*1=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[15, 82, 83, 58], Operations: []
Exploring Operation: 83-15=68, Resulting Numbers: [82, 58, 68]
Generated Node #0,0: 43:[82, 58, 68] Operation: 83-15=68
Exploring Operation: 58-15=43, Resulting Numbers: [82, 83, 43]
Generated Node #0,1: 43:[82, 83, 43] Operation: 58-15=43
Exploring Operation: 83-82=1, Resulting Numbers: [15, 58, 1]
Generated Node #0,2: 43:[15, 58, 1] Operation: 83-82=1
Exploring Operation: 82-15=67, Resulting Numbers: [83, 58, 67]
Generated Node #0,3: 43:[83, 58, 67] Operation: 82-15=67
Moving to Node #0,0
Current State: 43:[82, 58, 68], Operations: ['83-15=68']
Exploring Operation: 82-58=24, Resulting Numbers: [68, 24]
Generated Node #0,0,0: 43:[68, 24] Operation: 82-58=24
Exploring Operation: 82+58=140, Resulting Numbers: [68, 140]
Generated Node #0,0,1: 43:[68, 140] Operation: 82+58=140
Exploring Operation: 82-68=14, Resulting Numbers: [58, 14]
Generated Node #0,0,2: 43:[58, 14] Operation: 82-68=14
Exploring Operation: 68-58=10, Resulting Numbers: [82, 10]
Generated Node #0,0,3: 43:[82, 10] Operation: 68-58=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 43:[68, 24], Operations: ['83-15=68', '82-58=24']
Exploring Operation: 68+24=92, Resulting Numbers: [92]
92,43 unequal: No Solution
Exploring Operation: 68-24=44, Resulting Numbers: [44]
44,43 unequal: No Solution
Exploring Operation: 68*24=1632, Resulting Numbers: [1632]
1632,43 unequal: No Solution
No 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: 43:[58, 14], Operations: ['83-15=68', '82-68=14']
Exploring Operation: 58-14=44, Resulting Numbers: [44]
44,43 unequal: No Solution
Exploring Operation: 58+14=72, Resulting Numbers: [72]
72,43 unequal: No Solution
Exploring Operation: 58*14=812, Resulting Numbers: [812]
812,43 unequal: No Solution
No 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: 43:[82, 10], Operations: ['83-15=68', '68-58=10']
Exploring Operation: 82-10=72, Resulting Numbers: [72]
72,43 unequal: No Solution
Exploring Operation: 82*10=820, Resulting Numbers: [820]
820,43 unequal: No Solution
Exploring Operation: 82+10=92, Resulting Numbers: [92]
92,43 unequal: No Solution
No 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: 43:[68, 140], Operations: ['83-15=68', '82+58=140']
Exploring Operation: 140-68=72, Resulting Numbers: [72]
72,43 unequal: No Solution
Exploring Operation: 68+140=208, Resulting Numbers: [208]
208,43 unequal: No Solution
Exploring Operation: 68*140=9520, Resulting Numbers: [9520]
9520,43 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: 43:[83, 58, 67], Operations: ['82-15=67']
Exploring Operation: 83-67=16, Resulting Numbers: [58, 16]
Generated Node #0,3,0: 43:[58, 16] Operation: 83-67=16
Exploring Operation: 83+58=141, Resulting Numbers: [67, 141]
Generated Node #0,3,1: 43:[67, 141] Operation: 83+58=141
Exploring Operation: 83-58=25, Resulting Numbers: [67, 25]
Generated Node #0,3,2: 43:[67, 25] Operation: 83-58=25
Exploring Operation: 67-58=9, Resulting Numbers: [83, 9]
Generated Node #0,3,3: 43:[83, 9] Operation: 67-58=9
Moving to Node #0,1
Current State: 43:[82, 83, 43], Operations: ['58-15=43']
Exploring Operation: 83-43=40, Resulting Numbers: [82, 40]
Generated Node #0,1,0: 43:[82, 40] Operation: 83-43=40
Exploring Operation: 82-43=39, Resulting Numbers: [83, 39]
Generated Node #0,1,1: 43:[83, 39] Operation: 82-43=39
Exploring Operation: 82+83=165, Resulting Numbers: [43, 165]
Generated Node #0,1,2: 43:[43, 165] Operation: 82+83=165
Exploring Operation: 83-82=1, Resulting Numbers: [43, 1]
Generated Node #0,1,3: 43:[43, 1] Operation: 83-82=1
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 43:[82, 40], Operations: ['58-15=43', '83-43=40']
Exploring Operation: 82-40=42, Resulting Numbers: [42]
42,43 unequal: No Solution
Exploring Operation: 82+40=122, Resulting Numbers: [122]
122,43 unequal: No Solution
Exploring Operation: 82*40=3280, Resulting Numbers: [3280]
3280,43 unequal: No Solution
No 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: 43:[43, 1], Operations: ['58-15=43', '83-82=1']
Exploring Operation: 43/1=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[15, 82, 83, 58], Operations: []
Exploring Operation: 58-15=43, Resulting Numbers: [82, 83, 43]
Generated Node #0,1: 43:[82, 83, 43] Operation: 58-15=43
Moving to Node #0,1
Current State: 43:[82, 83, 43], Operations: ['58-15=43']
Exploring Operation: 83-82=1, Resulting Numbers: [43, 1]
Generated Node #0,1,3: 43:[43, 1] Operation: 83-82=1
Moving to Node #0,1,3
Current State: 43:[43, 1], Operations: ['58-15=43', '83-82=1']
Exploring Operation: 43/1=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_4 | sum_heuristic |
[
17,
20,
70,
11
] | 27 | [
"20-17=3",
"70+11=81",
"81/3=27"
] | Current State: 27:[17, 20, 70, 11], Operations: []
Exploring Operation: 20-17=3, Resulting Numbers: [70, 11, 3]
Generated Node #2: [70, 11, 3] from Operation: 20-17=3
Current State: 27:[70, 11, 3], Operations: ['20-17=3']
Exploring Operation: 70+11=81, Resulting Numbers: [3, 81]
Generated Node #3: [3, 81] from Operation: 70+11=81
Current State: 27:[3, 81], Operations: ['20-17=3', '70+11=81']
Exploring Operation: 81/3=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[17, 20, 70, 11], Operations: []
Exploring Operation: 70-20=50, Resulting Numbers: [17, 11, 50]
Generated Node #0,0: 27:[17, 11, 50] Operation: 70-20=50
Exploring Operation: 70-17=53, Resulting Numbers: [20, 11, 53]
Generated Node #0,1: 27:[20, 11, 53] Operation: 70-17=53
Moving to Node #0,0
Current State: 27:[17, 11, 50], Operations: ['70-20=50']
Exploring Operation: 50-17=33, Resulting Numbers: [11, 33]
Generated Node #0,0,0: 27:[11, 33] Operation: 50-17=33
Exploring Operation: 50-11=39, Resulting Numbers: [17, 39]
Generated Node #0,0,1: 27:[17, 39] Operation: 50-11=39
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 27:[11, 33], Operations: ['70-20=50', '50-17=33']
Exploring Operation: 33/11=3, Resulting Numbers: [3]
3,27 unequal: No Solution
Exploring Operation: 33-11=22, Resulting Numbers: [22]
22,27 unequal: No Solution
No 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: 27:[17, 39], Operations: ['70-20=50', '50-11=39']
Exploring Operation: 17+39=56, Resulting Numbers: [56]
56,27 unequal: No Solution
Exploring Operation: 39-17=22, Resulting Numbers: [22]
22,27 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: 27:[20, 11, 53], Operations: ['70-17=53']
Exploring Operation: 53-11=42, Resulting Numbers: [20, 42]
Generated Node #0,1,0: 27:[20, 42] Operation: 53-11=42
Exploring Operation: 53-20=33, Resulting Numbers: [11, 33]
Generated Node #0,1,1: 27:[11, 33] Operation: 53-20=33
Moving to Node #0,1,1
Current State: 27:[11, 33], Operations: ['70-17=53', '53-20=33']
Exploring Operation: 33/11=3, Resulting Numbers: [3]
3,27 unequal: No Solution
Exploring Operation: 33-11=22, Resulting Numbers: [22]
22,27 unequal: No Solution
Moving to Node #0,1,0
Current State: 27:[20, 42], Operations: ['70-17=53', '53-11=42']
Exploring Operation: 42-20=22, Resulting Numbers: [22]
22,27 unequal: No Solution
Exploring Operation: 20+42=62, Resulting Numbers: [62]
62,27 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
16,
69,
92,
68
] | 56 | [
"16*69=1104",
"1104/92=12",
"68-12=56"
] | Current State: 56:[16, 69, 92, 68], Operations: []
Exploring Operation: 16*69=1104, Resulting Numbers: [92, 68, 1104]
Generated Node #2: [92, 68, 1104] from Operation: 16*69=1104
Current State: 56:[92, 68, 1104], Operations: ['16*69=1104']
Exploring Operation: 1104/92=12, Resulting Numbers: [68, 12]
Generated Node #3: [68, 12] from Operation: 1104/92=12
Current State: 56:[68, 12], Operations: ['16*69=1104', '1104/92=12']
Exploring Operation: 68-12=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[16, 69, 92, 68], Operations: []
Exploring Operation: 69-16=53, Resulting Numbers: [92, 68, 53]
Generated Node #0,0: 56:[92, 68, 53] Operation: 69-16=53
Exploring Operation: 92-69=23, Resulting Numbers: [16, 68, 23]
Generated Node #0,1: 56:[16, 68, 23] Operation: 92-69=23
Exploring Operation: 92-16=76, Resulting Numbers: [69, 68, 76]
Generated Node #0,2: 56:[69, 68, 76] Operation: 92-16=76
Exploring Operation: 92-68=24, Resulting Numbers: [16, 69, 24]
Generated Node #0,3: 56:[16, 69, 24] Operation: 92-68=24
Exploring Operation: 69-68=1, Resulting Numbers: [16, 92, 1]
Generated Node #0,4: 56:[16, 92, 1] Operation: 69-68=1
Moving to Node #0,1
Current State: 56:[16, 68, 23], Operations: ['92-69=23']
Exploring Operation: 23-16=7, Resulting Numbers: [68, 7]
Generated Node #0,1,0: 56:[68, 7] Operation: 23-16=7
Exploring Operation: 16+23=39, Resulting Numbers: [68, 39]
Generated Node #0,1,1: 56:[68, 39] Operation: 16+23=39
Exploring Operation: 16+68=84, Resulting Numbers: [23, 84]
Generated Node #0,1,2: 56:[23, 84] Operation: 16+68=84
Exploring Operation: 68-23=45, Resulting Numbers: [16, 45]
Generated Node #0,1,3: 56:[16, 45] Operation: 68-23=45
Exploring Operation: 68-16=52, Resulting Numbers: [23, 52]
Generated Node #0,1,4: 56:[23, 52] Operation: 68-16=52
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 56:[23, 52], Operations: ['92-69=23', '68-16=52']
Exploring Operation: 23+52=75, Resulting Numbers: [75]
75,56 unequal: No Solution
Exploring Operation: 52-23=29, Resulting Numbers: [29]
29,56 unequal: No Solution
Exploring Operation: 23*52=1196, Resulting Numbers: [1196]
1196,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,0
Current State: 56:[68, 7], Operations: ['92-69=23', '23-16=7']
Exploring Operation: 68-7=61, Resulting Numbers: [61]
61,56 unequal: No Solution
Exploring Operation: 68*7=476, Resulting Numbers: [476]
476,56 unequal: No Solution
Exploring Operation: 68+7=75, Resulting Numbers: [75]
75,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,3
Current State: 56:[16, 45], Operations: ['92-69=23', '68-23=45']
Exploring Operation: 16*45=720, Resulting Numbers: [720]
720,56 unequal: No Solution
Exploring Operation: 16+45=61, Resulting Numbers: [61]
61,56 unequal: No Solution
Exploring Operation: 45-16=29, Resulting Numbers: [29]
29,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,1
Current State: 56:[68, 39], Operations: ['92-69=23', '16+23=39']
Exploring Operation: 68-39=29, Resulting Numbers: [29]
29,56 unequal: No Solution
Exploring Operation: 68*39=2652, Resulting Numbers: [2652]
2652,56 unequal: No Solution
Exploring Operation: 68+39=107, Resulting Numbers: [107]
107,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,2
Current State: 56:[23, 84], Operations: ['92-69=23', '16+68=84']
Exploring Operation: 23*84=1932, Resulting Numbers: [1932]
1932,56 unequal: No Solution
Exploring Operation: 84-23=61, Resulting Numbers: [61]
61,56 unequal: No Solution
Exploring Operation: 23+84=107, Resulting Numbers: [107]
107,56 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: 56:[16, 69, 24], Operations: ['92-68=24']
Exploring Operation: 69-24=45, Resulting Numbers: [16, 45]
Generated Node #0,3,0: 56:[16, 45] Operation: 69-24=45
Exploring Operation: 24-16=8, Resulting Numbers: [69, 8]
Generated Node #0,3,1: 56:[69, 8] Operation: 24-16=8
Exploring Operation: 69-16=53, Resulting Numbers: [24, 53]
Generated Node #0,3,2: 56:[24, 53] Operation: 69-16=53
Exploring Operation: 16+24=40, Resulting Numbers: [69, 40]
Generated Node #0,3,3: 56:[69, 40] Operation: 16+24=40
Exploring Operation: 16+69=85, Resulting Numbers: [24, 85]
Generated Node #0,3,4: 56:[24, 85] Operation: 16+69=85
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 56:[24, 53], Operations: ['92-68=24', '69-16=53']
Exploring Operation: 53-24=29, Resulting Numbers: [29]
29,56 unequal: No Solution
Exploring Operation: 24+53=77, Resulting Numbers: [77]
77,56 unequal: No Solution
Exploring Operation: 24*53=1272, Resulting Numbers: [1272]
1272,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,3,0
Current State: 56:[16, 45], Operations: ['92-68=24', '69-24=45']
Exploring Operation: 16*45=720, Resulting Numbers: [720]
720,56 unequal: No Solution
Exploring Operation: 45-16=29, Resulting Numbers: [29]
29,56 unequal: No Solution
Exploring Operation: 16+45=61, Resulting Numbers: [61]
61,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,3,1
Current State: 56:[69, 8], Operations: ['92-68=24', '24-16=8']
Exploring Operation: 69-8=61, Resulting Numbers: [61]
61,56 unequal: No Solution
Exploring Operation: 69+8=77, Resulting Numbers: [77]
77,56 unequal: No Solution
Exploring Operation: 69*8=552, Resulting Numbers: [552]
552,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,3,3
Current State: 56:[69, 40], Operations: ['92-68=24', '16+24=40']
Exploring Operation: 69*40=2760, Resulting Numbers: [2760]
2760,56 unequal: No Solution
Exploring Operation: 69-40=29, Resulting Numbers: [29]
29,56 unequal: No Solution
Exploring Operation: 69+40=109, Resulting Numbers: [109]
109,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,3,4
Current State: 56:[24, 85], Operations: ['92-68=24', '16+69=85']
Exploring Operation: 85-24=61, Resulting Numbers: [61]
61,56 unequal: No Solution
Exploring Operation: 24*85=2040, Resulting Numbers: [2040]
2040,56 unequal: No Solution
Exploring Operation: 24+85=109, Resulting Numbers: [109]
109,56 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: 56:[16, 92, 1], Operations: ['69-68=1']
Exploring Operation: 92-16=76, Resulting Numbers: [1, 76]
Generated Node #0,4,0: 56:[1, 76] Operation: 92-16=76
Exploring Operation: 16/1=16, Resulting Numbers: [92, 16]
Generated Node #0,4,1: 56:[92, 16] Operation: 16/1=16
Exploring Operation: 16*1=16, Resulting Numbers: [92, 16]
Generated Node #0,4,2: 56:[92, 16] Operation: 16*1=16
Exploring Operation: 92-1=91, Resulting Numbers: [16, 91]
Generated Node #0,4,3: 56:[16, 91] Operation: 92-1=91
Exploring Operation: 16-1=15, Resulting Numbers: [92, 15]
Generated Node #0,4,4: 56:[92, 15] Operation: 16-1=15
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 56:[1, 76], Operations: ['69-68=1', '92-16=76']
Exploring Operation: 1*76=76, Resulting Numbers: [76]
76,56 unequal: No Solution
Exploring Operation: 76/1=76, Resulting Numbers: [76]
76,56 unequal: No Solution
Exploring Operation: 1+76=77, Resulting Numbers: [77]
77,56 unequal: No Solution
Exploring Operation: 76-1=75, Resulting Numbers: [75]
75,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,4,3
Current State: 56:[16, 91], Operations: ['69-68=1', '92-1=91']
Exploring Operation: 16+91=107, Resulting Numbers: [107]
107,56 unequal: No Solution
Exploring Operation: 16*91=1456, Resulting Numbers: [1456]
1456,56 unequal: No Solution
Exploring Operation: 91-16=75, Resulting Numbers: [75]
75,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,4,4
Current State: 56:[92, 15], Operations: ['69-68=1', '16-1=15']
Exploring Operation: 92+15=107, Resulting Numbers: [107]
107,56 unequal: No Solution
Exploring Operation: 92-15=77, Resulting Numbers: [77]
77,56 unequal: No Solution
Exploring Operation: 92*15=1380, Resulting Numbers: [1380]
1380,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,4,1
Current State: 56:[92, 16], Operations: ['69-68=1', '16/1=16']
Exploring Operation: 92-16=76, Resulting Numbers: [76]
76,56 unequal: No Solution
Exploring Operation: 92+16=108, Resulting Numbers: [108]
108,56 unequal: No Solution
Exploring Operation: 92*16=1472, Resulting Numbers: [1472]
1472,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,4,2
Current State: 56:[92, 16], Operations: ['69-68=1', '16*1=16']
Exploring Operation: 92-16=76, Resulting Numbers: [76]
76,56 unequal: No Solution
Exploring Operation: 92+16=108, Resulting Numbers: [108]
108,56 unequal: No Solution
Exploring Operation: 92*16=1472, Resulting Numbers: [1472]
1472,56 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: 56:[69, 68, 76], Operations: ['92-16=76']
Exploring Operation: 76-69=7, Resulting Numbers: [68, 7]
Generated Node #0,2,0: 56:[68, 7] Operation: 76-69=7
Exploring Operation: 76-68=8, Resulting Numbers: [69, 8]
Generated Node #0,2,1: 56:[69, 8] Operation: 76-68=8
Exploring Operation: 69-68=1, Resulting Numbers: [76, 1]
Generated Node #0,2,2: 56:[76, 1] Operation: 69-68=1
Exploring Operation: 69+76=145, Resulting Numbers: [68, 145]
Generated Node #0,2,3: 56:[68, 145] Operation: 69+76=145
Exploring Operation: 69+68=137, Resulting Numbers: [76, 137]
Generated Node #0,2,4: 56:[76, 137] Operation: 69+68=137
Moving to Node #0,0
Current State: 56:[92, 68, 53], Operations: ['69-16=53']
Exploring Operation: 92+53=145, Resulting Numbers: [68, 145]
Generated Node #0,0,0: 56:[68, 145] Operation: 92+53=145
Exploring Operation: 92-68=24, Resulting Numbers: [53, 24]
Generated Node #0,0,1: 56:[53, 24] Operation: 92-68=24
Exploring Operation: 68-53=15, Resulting Numbers: [92, 15]
Generated Node #0,0,2: 56:[92, 15] Operation: 68-53=15
Exploring Operation: 92-53=39, Resulting Numbers: [68, 39]
Generated Node #0,0,3: 56:[68, 39] Operation: 92-53=39
Exploring Operation: 68+53=121, Resulting Numbers: [92, 121]
Generated Node #0,0,4: 56:[92, 121] Operation: 68+53=121
Moving to Node #0,0,1
Current State: 56:[53, 24], Operations: ['69-16=53', '92-68=24']
Exploring Operation: 53+24=77, Resulting Numbers: [77]
77,56 unequal: No Solution
Exploring Operation: 53-24=29, Resulting Numbers: [29]
29,56 unequal: No Solution
Exploring Operation: 53*24=1272, Resulting Numbers: [1272]
1272,56 unequal: No Solution
Moving to Node #0,2,0
Current State: 56:[68, 7], Operations: ['92-16=76', '76-69=7']
Exploring Operation: 68*7=476, Resulting Numbers: [476]
476,56 unequal: No Solution
Exploring Operation: 68+7=75, Resulting Numbers: [75]
75,56 unequal: No Solution
Exploring Operation: 68-7=61, Resulting Numbers: [61]
61,56 unequal: No Solution
Moving to Node #0,2,1
Current State: 56:[69, 8], Operations: ['92-16=76', '76-68=8']
Exploring Operation: 69-8=61, Resulting Numbers: [61]
61,56 unequal: No Solution
Exploring Operation: 69*8=552, Resulting Numbers: [552]
552,56 unequal: No Solution
Exploring Operation: 69+8=77, Resulting Numbers: [77]
77,56 unequal: No Solution
Moving to Node #0,2,2
Current State: 56:[76, 1], Operations: ['92-16=76', '69-68=1']
Exploring Operation: 76-1=75, Resulting Numbers: [75]
75,56 unequal: No Solution
Exploring Operation: 76+1=77, Resulting Numbers: [77]
77,56 unequal: No Solution
Exploring Operation: 76/1=76, Resulting Numbers: [76]
76,56 unequal: No Solution
Exploring Operation: 76*1=76, Resulting Numbers: [76]
76,56 unequal: No Solution
Moving to Node #0,0,3
Current State: 56:[68, 39], Operations: ['69-16=53', '92-53=39']
Exploring Operation: 68+39=107, Resulting Numbers: [107]
107,56 unequal: No Solution
Exploring Operation: 68-39=29, Resulting Numbers: [29]
29,56 unequal: No Solution
Exploring Operation: 68*39=2652, Resulting Numbers: [2652]
2652,56 unequal: No Solution
Moving to Node #0,0,2
Current State: 56:[92, 15], Operations: ['69-16=53', '68-53=15']
Exploring Operation: 92+15=107, Resulting Numbers: [107]
107,56 unequal: No Solution
Exploring Operation: 92*15=1380, Resulting Numbers: [1380]
1380,56 unequal: No Solution
Exploring Operation: 92-15=77, Resulting Numbers: [77]
77,56 unequal: No Solution
Moving to Node #0,0,4
Current State: 56:[92, 121], Operations: ['69-16=53', '68+53=121']
Exploring Operation: 121-92=29, Resulting Numbers: [29]
29,56 unequal: No Solution
Exploring Operation: 92*121=11132, Resulting Numbers: [11132]
11132,56 unequal: No Solution
Exploring Operation: 92+121=213, Resulting Numbers: [213]
213,56 unequal: No Solution
Moving to Node #0,0,0
Current State: 56:[68, 145], Operations: ['69-16=53', '92+53=145']
Exploring Operation: 68*145=9860, Resulting Numbers: [9860]
9860,56 unequal: No Solution
Exploring Operation: 145-68=77, Resulting Numbers: [77]
77,56 unequal: No Solution
Exploring Operation: 68+145=213, Resulting Numbers: [213]
213,56 unequal: No Solution
Moving to Node #0,2,4
Current State: 56:[76, 137], Operations: ['92-16=76', '69+68=137']
Exploring Operation: 76+137=213, Resulting Numbers: [213]
213,56 unequal: No Solution
Exploring Operation: 76*137=10412, Resulting Numbers: [10412]
10412,56 unequal: No Solution
Exploring Operation: 137-76=61, Resulting Numbers: [61]
61,56 unequal: No Solution
Moving to Node #0,2,3
Current State: 56:[68, 145], Operations: ['92-16=76', '69+76=145']
Exploring Operation: 145-68=77, Resulting Numbers: [77]
77,56 unequal: No Solution
Exploring Operation: 68+145=213, Resulting Numbers: [213]
213,56 unequal: No Solution
Exploring Operation: 68*145=9860, Resulting Numbers: [9860]
9860,56 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
84,
29,
69,
67
] | 81 | [
"84-29=55",
"69+67=136",
"136-55=81"
] | Current State: 81:[84, 29, 69, 67], Operations: []
Exploring Operation: 84-29=55, Resulting Numbers: [69, 67, 55]
Generated Node #2: [69, 67, 55] from Operation: 84-29=55
Current State: 81:[69, 67, 55], Operations: ['84-29=55']
Exploring Operation: 69+67=136, Resulting Numbers: [55, 136]
Generated Node #3: [55, 136] from Operation: 69+67=136
Current State: 81:[55, 136], Operations: ['84-29=55', '69+67=136']
Exploring Operation: 136-55=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[84, 29, 69, 67], Operations: []
Exploring Operation: 69-67=2, Resulting Numbers: [84, 29, 2]
Generated Node #0,0: 81:[84, 29, 2] Operation: 69-67=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[84, 29, 2], Operations: ['69-67=2']
Exploring Operation: 84-2=82, Resulting Numbers: [29, 82]
Generated Node #0,0,0: 81:[29, 82] Operation: 84-2=82
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 81:[29, 82], Operations: ['69-67=2', '84-2=82']
Exploring Operation: 82-29=53, Resulting Numbers: [53]
53,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
77,
90,
80,
85
] | 93 | [
"90-85=5",
"80/5=16",
"77+16=93"
] | Current State: 93:[77, 90, 80, 85], Operations: []
Exploring Operation: 90-85=5, Resulting Numbers: [77, 80, 5]
Generated Node #2: [77, 80, 5] from Operation: 90-85=5
Current State: 93:[77, 80, 5], Operations: ['90-85=5']
Exploring Operation: 80/5=16, Resulting Numbers: [77, 16]
Generated Node #3: [77, 16] from Operation: 80/5=16
Current State: 93:[77, 16], Operations: ['90-85=5', '80/5=16']
Exploring Operation: 77+16=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[77, 90, 80, 85], Operations: []
Exploring Operation: 80-77=3, Resulting Numbers: [90, 85, 3]
Generated Node #0,0: 93:[90, 85, 3] Operation: 80-77=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[90, 85, 3], Operations: ['80-77=3']
Exploring Operation: 90-85=5, Resulting Numbers: [3, 5]
Generated Node #0,0,0: 93:[3, 5] Operation: 90-85=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 93:[3, 5], Operations: ['80-77=3', '90-85=5']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
51,
79,
21,
24
] | 96 | [
"24-21=3",
"51/3=17",
"79+17=96"
] | Current State: 96:[51, 79, 21, 24], Operations: []
Exploring Operation: 24-21=3, Resulting Numbers: [51, 79, 3]
Generated Node #2: [51, 79, 3] from Operation: 24-21=3
Current State: 96:[51, 79, 3], Operations: ['24-21=3']
Exploring Operation: 51/3=17, Resulting Numbers: [79, 17]
Generated Node #3: [79, 17] from Operation: 51/3=17
Current State: 96:[79, 17], Operations: ['24-21=3', '51/3=17']
Exploring Operation: 79+17=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[51, 79, 21, 24], Operations: []
Exploring Operation: 79-21=58, Resulting Numbers: [51, 24, 58]
Generated Node #0,0: 96:[51, 24, 58] Operation: 79-21=58
Exploring Operation: 79-51=28, Resulting Numbers: [21, 24, 28]
Generated Node #0,1: 96:[21, 24, 28] Operation: 79-51=28
Exploring Operation: 79+21=100, Resulting Numbers: [51, 24, 100]
Generated Node #0,2: 96:[51, 24, 100] Operation: 79+21=100
Start Sub Search at level 1: Moving to Node #0,1
Current State: 96:[21, 24, 28], Operations: ['79-51=28']
Exploring Operation: 28-21=7, Resulting Numbers: [24, 7]
Generated Node #0,1,0: 96:[24, 7] Operation: 28-21=7
Exploring Operation: 21+28=49, Resulting Numbers: [24, 49]
Generated Node #0,1,1: 96:[24, 49] Operation: 21+28=49
Exploring Operation: 28-24=4, Resulting Numbers: [21, 4]
Generated Node #0,1,2: 96:[21, 4] Operation: 28-24=4
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 96:[24, 7], Operations: ['79-51=28', '28-21=7']
Exploring Operation: 24*7=168, Resulting Numbers: [168]
168,96 unequal: No Solution
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Exploring Operation: 24+7=31, Resulting Numbers: [31]
31,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 96:[24, 49], Operations: ['79-51=28', '21+28=49']
Exploring Operation: 49-24=25, Resulting Numbers: [25]
25,96 unequal: No Solution
Exploring Operation: 24+49=73, Resulting Numbers: [73]
73,96 unequal: No Solution
Exploring Operation: 24*49=1176, Resulting Numbers: [1176]
1176,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 96:[21, 4], Operations: ['79-51=28', '28-24=4']
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Exploring Operation: 21+4=25, Resulting Numbers: [25]
25,96 unequal: No Solution
Exploring Operation: 21*4=84, Resulting Numbers: [84]
84,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 96:[51, 24, 100], Operations: ['79+21=100']
Exploring Operation: 100-24=76, Resulting Numbers: [51, 76]
Generated Node #0,2,0: 96:[51, 76] Operation: 100-24=76
Exploring Operation: 51-24=27, Resulting Numbers: [100, 27]
Generated Node #0,2,1: 96:[100, 27] Operation: 51-24=27
Exploring Operation: 100-51=49, Resulting Numbers: [24, 49]
Generated Node #0,2,2: 96:[24, 49] Operation: 100-51=49
Moving to Node #0,2,2
Current State: 96:[24, 49], Operations: ['79+21=100', '100-51=49']
Exploring Operation: 49-24=25, Resulting Numbers: [25]
25,96 unequal: No Solution
Exploring Operation: 24+49=73, Resulting Numbers: [73]
73,96 unequal: No Solution
Exploring Operation: 24*49=1176, Resulting Numbers: [1176]
1176,96 unequal: No Solution
Moving to Node #0,2,1
Current State: 96:[100, 27], Operations: ['79+21=100', '51-24=27']
Exploring Operation: 100-27=73, Resulting Numbers: [73]
73,96 unequal: No Solution
Exploring Operation: 100*27=2700, Resulting Numbers: [2700]
2700,96 unequal: No Solution
Exploring Operation: 100+27=127, Resulting Numbers: [127]
127,96 unequal: No Solution
Moving to Node #0,2,0
Current State: 96:[51, 76], Operations: ['79+21=100', '100-24=76']
Exploring Operation: 51*76=3876, Resulting Numbers: [3876]
3876,96 unequal: No Solution
Exploring Operation: 76-51=25, Resulting Numbers: [25]
25,96 unequal: No Solution
Exploring Operation: 51+76=127, Resulting Numbers: [127]
127,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[51, 24, 58], Operations: ['79-21=58']
Exploring Operation: 58-51=7, Resulting Numbers: [24, 7]
Generated Node #0,0,0: 96:[24, 7] Operation: 58-51=7
Exploring Operation: 51-24=27, Resulting Numbers: [58, 27]
Generated Node #0,0,1: 96:[58, 27] Operation: 51-24=27
Exploring Operation: 58-24=34, Resulting Numbers: [51, 34]
Generated Node #0,0,2: 96:[51, 34] Operation: 58-24=34
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 96:[24, 7], Operations: ['79-21=58', '58-51=7']
Exploring Operation: 24*7=168, Resulting Numbers: [168]
168,96 unequal: No Solution
Exploring Operation: 24+7=31, Resulting Numbers: [31]
31,96 unequal: No Solution
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 96:[51, 34], Operations: ['79-21=58', '58-24=34']
Exploring Operation: 51-34=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Exploring Operation: 51*34=1734, Resulting Numbers: [1734]
1734,96 unequal: No Solution
Exploring Operation: 51+34=85, Resulting Numbers: [85]
85,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 96:[58, 27], Operations: ['79-21=58', '51-24=27']
Exploring Operation: 58*27=1566, Resulting Numbers: [1566]
1566,96 unequal: No Solution
Exploring Operation: 58+27=85, Resulting Numbers: [85]
85,96 unequal: No Solution
Exploring Operation: 58-27=31, Resulting Numbers: [31]
31,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
20,
54,
18,
62
] | 16 | [
"20-18=2",
"62-54=8",
"2*8=16"
] | Current State: 16:[20, 54, 18, 62], Operations: []
Exploring Operation: 20-18=2, Resulting Numbers: [54, 62, 2]
Generated Node #2: [54, 62, 2] from Operation: 20-18=2
Current State: 16:[54, 62, 2], Operations: ['20-18=2']
Exploring Operation: 62-54=8, Resulting Numbers: [2, 8]
Generated Node #3: [2, 8] from Operation: 62-54=8
Current State: 16:[2, 8], Operations: ['20-18=2', '62-54=8']
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[20, 54, 18, 62], Operations: []
Exploring Operation: 62-54=8, Resulting Numbers: [20, 18, 8]
Generated Node #0,0: 16:[20, 18, 8] Operation: 62-54=8
Exploring Operation: 54-18=36, Resulting Numbers: [20, 62, 36]
Generated Node #0,1: 16:[20, 62, 36] Operation: 54-18=36
Exploring Operation: 54/18=3, Resulting Numbers: [20, 62, 3]
Generated Node #0,2: 16:[20, 62, 3] Operation: 54/18=3
Exploring Operation: 62-20=42, Resulting Numbers: [54, 18, 42]
Generated Node #0,3: 16:[54, 18, 42] Operation: 62-20=42
Exploring Operation: 54-20=34, Resulting Numbers: [18, 62, 34]
Generated Node #0,4: 16:[18, 62, 34] Operation: 54-20=34
Moving to Node #0,0
Current State: 16:[20, 18, 8], Operations: ['62-54=8']
Exploring Operation: 20-18=2, Resulting Numbers: [8, 2]
Generated Node #0,0,0: 16:[8, 2] Operation: 20-18=2
Exploring Operation: 20-8=12, Resulting Numbers: [18, 12]
Generated Node #0,0,1: 16:[18, 12] Operation: 20-8=12
Exploring Operation: 18+8=26, Resulting Numbers: [20, 26]
Generated Node #0,0,2: 16:[20, 26] Operation: 18+8=26
Exploring Operation: 18-8=10, Resulting Numbers: [20, 10]
Generated Node #0,0,3: 16:[20, 10] Operation: 18-8=10
Exploring Operation: 20+8=28, Resulting Numbers: [18, 28]
Generated Node #0,0,4: 16:[18, 28] Operation: 20+8=28
Moving to Node #0,2
Current State: 16:[20, 62, 3], Operations: ['54/18=3']
Exploring Operation: 62-3=59, Resulting Numbers: [20, 59]
Generated Node #0,2,0: 16:[20, 59] Operation: 62-3=59
Exploring Operation: 20+3=23, Resulting Numbers: [62, 23]
Generated Node #0,2,1: 16:[62, 23] Operation: 20+3=23
Exploring Operation: 62+3=65, Resulting Numbers: [20, 65]
Generated Node #0,2,2: 16:[20, 65] Operation: 62+3=65
Exploring Operation: 20-3=17, Resulting Numbers: [62, 17]
Generated Node #0,2,3: 16:[62, 17] Operation: 20-3=17
Exploring Operation: 62-20=42, Resulting Numbers: [3, 42]
Generated Node #0,2,4: 16:[3, 42] Operation: 62-20=42
Moving to Node #0,3
Current State: 16:[54, 18, 42], Operations: ['62-20=42']
Exploring Operation: 54+18=72, Resulting Numbers: [42, 72]
Generated Node #0,3,0: 16:[42, 72] Operation: 54+18=72
Exploring Operation: 54-42=12, Resulting Numbers: [18, 12]
Generated Node #0,3,1: 16:[18, 12] Operation: 54-42=12
Exploring Operation: 54-18=36, Resulting Numbers: [42, 36]
Generated Node #0,3,2: 16:[42, 36] Operation: 54-18=36
Exploring Operation: 42-18=24, Resulting Numbers: [54, 24]
Generated Node #0,3,3: 16:[54, 24] Operation: 42-18=24
Exploring Operation: 54/18=3, Resulting Numbers: [42, 3]
Generated Node #0,3,4: 16:[42, 3] Operation: 54/18=3
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 16:[18, 12], Operations: ['62-20=42', '54-42=12']
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,16 unequal: No Solution
Exploring Operation: 18+12=30, Resulting Numbers: [30]
30,16 unequal: No Solution
Exploring Operation: 18*12=216, Resulting Numbers: [216]
216,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 16:[42, 3], Operations: ['62-20=42', '54/18=3']
Exploring Operation: 42*3=126, Resulting Numbers: [126]
126,16 unequal: No Solution
Exploring Operation: 42+3=45, Resulting Numbers: [45]
45,16 unequal: No Solution
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,16 unequal: No Solution
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 16:[42, 36], Operations: ['62-20=42', '54-18=36']
Exploring Operation: 42-36=6, Resulting Numbers: [6]
6,16 unequal: No Solution
Exploring Operation: 42*36=1512, Resulting Numbers: [1512]
1512,16 unequal: No Solution
Exploring Operation: 42+36=78, Resulting Numbers: [78]
78,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 16:[54, 24], Operations: ['62-20=42', '42-18=24']
Exploring Operation: 54*24=1296, Resulting Numbers: [1296]
1296,16 unequal: No Solution
Exploring Operation: 54+24=78, Resulting Numbers: [78]
78,16 unequal: No Solution
Exploring Operation: 54-24=30, Resulting Numbers: [30]
30,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 16:[42, 72], Operations: ['62-20=42', '54+18=72']
Exploring Operation: 42+72=114, Resulting Numbers: [114]
114,16 unequal: No Solution
Exploring Operation: 42*72=3024, Resulting Numbers: [3024]
3024,16 unequal: No Solution
Exploring Operation: 72-42=30, Resulting Numbers: [30]
30,16 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: 16:[18, 62, 34], Operations: ['54-20=34']
Exploring Operation: 62-34=28, Resulting Numbers: [18, 28]
Generated Node #0,4,0: 16:[18, 28] Operation: 62-34=28
Exploring Operation: 34-18=16, Resulting Numbers: [62, 16]
Generated Node #0,4,1: 16:[62, 16] Operation: 34-18=16
Exploring Operation: 18+62=80, Resulting Numbers: [34, 80]
Generated Node #0,4,2: 16:[34, 80] Operation: 18+62=80
Exploring Operation: 18+34=52, Resulting Numbers: [62, 52]
Generated Node #0,4,3: 16:[62, 52] Operation: 18+34=52
Exploring Operation: 62-18=44, Resulting Numbers: [34, 44]
Generated Node #0,4,4: 16:[34, 44] Operation: 62-18=44
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 16:[18, 28], Operations: ['54-20=34', '62-34=28']
Exploring Operation: 18*28=504, Resulting Numbers: [504]
504,16 unequal: No Solution
Exploring Operation: 18+28=46, Resulting Numbers: [46]
46,16 unequal: No Solution
Exploring Operation: 28-18=10, Resulting Numbers: [10]
10,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 16:[62, 16], Operations: ['54-20=34', '34-18=16']
Exploring Operation: 62+16=78, Resulting Numbers: [78]
78,16 unequal: No Solution
Exploring Operation: 62*16=992, Resulting Numbers: [992]
992,16 unequal: No Solution
Exploring Operation: 62-16=46, Resulting Numbers: [46]
46,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 16:[34, 44], Operations: ['54-20=34', '62-18=44']
Exploring Operation: 34+44=78, Resulting Numbers: [78]
78,16 unequal: No Solution
Exploring Operation: 44-34=10, Resulting Numbers: [10]
10,16 unequal: No Solution
Exploring Operation: 34*44=1496, Resulting Numbers: [1496]
1496,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 16:[34, 80], Operations: ['54-20=34', '18+62=80']
Exploring Operation: 34+80=114, Resulting Numbers: [114]
114,16 unequal: No Solution
Exploring Operation: 34*80=2720, Resulting Numbers: [2720]
2720,16 unequal: No Solution
Exploring Operation: 80-34=46, Resulting Numbers: [46]
46,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 16:[62, 52], Operations: ['54-20=34', '18+34=52']
Exploring Operation: 62-52=10, Resulting Numbers: [10]
10,16 unequal: No Solution
Exploring Operation: 62*52=3224, Resulting Numbers: [3224]
3224,16 unequal: No Solution
Exploring Operation: 62+52=114, Resulting Numbers: [114]
114,16 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: 16:[20, 62, 36], Operations: ['54-18=36']
Exploring Operation: 20+62=82, Resulting Numbers: [36, 82]
Generated Node #0,1,0: 16:[36, 82] Operation: 20+62=82
Exploring Operation: 36-20=16, Resulting Numbers: [62, 16]
Generated Node #0,1,1: 16:[62, 16] Operation: 36-20=16
Exploring Operation: 62-36=26, Resulting Numbers: [20, 26]
Generated Node #0,1,2: 16:[20, 26] Operation: 62-36=26
Exploring Operation: 62-20=42, Resulting Numbers: [36, 42]
Generated Node #0,1,3: 16:[36, 42] Operation: 62-20=42
Exploring Operation: 20+36=56, Resulting Numbers: [62, 56]
Generated Node #0,1,4: 16:[62, 56] Operation: 20+36=56
Moving to Node #0,0,0
Current State: 16:[8, 2], Operations: ['62-54=8', '20-18=2']
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,16 unequal: No Solution
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,16 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,16 unequal: No Solution
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[20, 54, 18, 62], Operations: []
Exploring Operation: 62-54=8, Resulting Numbers: [20, 18, 8]
Generated Node #0,0: 16:[20, 18, 8] Operation: 62-54=8
Moving to Node #0,0
Current State: 16:[20, 18, 8], Operations: ['62-54=8']
Exploring Operation: 20-18=2, Resulting Numbers: [8, 2]
Generated Node #0,0,0: 16:[8, 2] Operation: 20-18=2
Moving to Node #0,0,0
Current State: 16:[8, 2], Operations: ['62-54=8', '20-18=2']
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 0.940104 | hs_5 | sum_heuristic |
[
94,
97,
4,
86
] | 93 | [
"97-94=3",
"4+86=90",
"3+90=93"
] | Current State: 93:[94, 97, 4, 86], Operations: []
Exploring Operation: 97-94=3, Resulting Numbers: [4, 86, 3]
Generated Node #2: [4, 86, 3] from Operation: 97-94=3
Current State: 93:[4, 86, 3], Operations: ['97-94=3']
Exploring Operation: 4+86=90, Resulting Numbers: [3, 90]
Generated Node #3: [3, 90] from Operation: 4+86=90
Current State: 93:[3, 90], Operations: ['97-94=3', '4+86=90']
Exploring Operation: 3+90=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[94, 97, 4, 86], Operations: []
Exploring Operation: 4+86=90, Resulting Numbers: [94, 97, 90]
Generated Node #0,0: 93:[94, 97, 90] Operation: 4+86=90
Exploring Operation: 97-4=93, Resulting Numbers: [94, 86, 93]
Generated Node #0,1: 93:[94, 86, 93] Operation: 97-4=93
Exploring Operation: 97-94=3, Resulting Numbers: [4, 86, 3]
Generated Node #0,2: 93:[4, 86, 3] Operation: 97-94=3
Exploring Operation: 94-86=8, Resulting Numbers: [97, 4, 8]
Generated Node #0,3: 93:[97, 4, 8] Operation: 94-86=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[94, 97, 90], Operations: ['4+86=90']
Exploring Operation: 94+90=184, Resulting Numbers: [97, 184]
Generated Node #0,0,0: 93:[97, 184] Operation: 94+90=184
Exploring Operation: 94-90=4, Resulting Numbers: [97, 4]
Generated Node #0,0,1: 93:[97, 4] Operation: 94-90=4
Exploring Operation: 97-94=3, Resulting Numbers: [90, 3]
Generated Node #0,0,2: 93:[90, 3] Operation: 97-94=3
Exploring Operation: 97-90=7, Resulting Numbers: [94, 7]
Generated Node #0,0,3: 93:[94, 7] Operation: 97-90=7
Moving to Node #0,0,2
Current State: 93:[90, 3], Operations: ['4+86=90', '97-94=3']
Exploring Operation: 90/3=30, Resulting Numbers: [30]
30,93 unequal: No Solution
Exploring Operation: 90-3=87, Resulting Numbers: [87]
87,93 unequal: No Solution
Exploring Operation: 90*3=270, Resulting Numbers: [270]
270,93 unequal: No Solution
Exploring Operation: 90+3=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[94, 97, 4, 86], Operations: []
Exploring Operation: 4+86=90, Resulting Numbers: [94, 97, 90]
Generated Node #0,0: 93:[94, 97, 90] Operation: 4+86=90
Moving to Node #0,0
Current State: 93:[94, 97, 90], Operations: ['4+86=90']
Exploring Operation: 97-94=3, Resulting Numbers: [90, 3]
Generated Node #0,0,2: 93:[90, 3] Operation: 97-94=3
Moving to Node #0,0,2
Current State: 93:[90, 3], Operations: ['4+86=90', '97-94=3']
Exploring Operation: 90+3=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
5,
21,
3,
13
] | 17 | [
"5-3=2",
"21+13=34",
"34/2=17"
] | Current State: 17:[5, 21, 3, 13], Operations: []
Exploring Operation: 5-3=2, Resulting Numbers: [21, 13, 2]
Generated Node #2: [21, 13, 2] from Operation: 5-3=2
Current State: 17:[21, 13, 2], Operations: ['5-3=2']
Exploring Operation: 21+13=34, Resulting Numbers: [2, 34]
Generated Node #3: [2, 34] from Operation: 21+13=34
Current State: 17:[2, 34], Operations: ['5-3=2', '21+13=34']
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[5, 21, 3, 13], Operations: []
Exploring Operation: 5*3=15, Resulting Numbers: [21, 13, 15]
Generated Node #0,0: 17:[21, 13, 15] Operation: 5*3=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[21, 13, 15], Operations: ['5*3=15']
Exploring Operation: 21-13=8, Resulting Numbers: [15, 8]
Generated Node #0,0,0: 17:[15, 8] Operation: 21-13=8
Moving to Node #0,0,0
Current State: 17:[15, 8], Operations: ['5*3=15', '21-13=8']
Exploring Operation: 15+8=23, Resulting Numbers: [23]
23,17 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 |
[
29,
80,
33,
24
] | 100 | [
"29+80=109",
"33-24=9",
"109-9=100"
] | Current State: 100:[29, 80, 33, 24], Operations: []
Exploring Operation: 29+80=109, Resulting Numbers: [33, 24, 109]
Generated Node #2: [33, 24, 109] from Operation: 29+80=109
Current State: 100:[33, 24, 109], Operations: ['29+80=109']
Exploring Operation: 33-24=9, Resulting Numbers: [109, 9]
Generated Node #3: [109, 9] from Operation: 33-24=9
Current State: 100:[109, 9], Operations: ['29+80=109', '33-24=9']
Exploring Operation: 109-9=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[29, 80, 33, 24], Operations: []
Exploring Operation: 80-29=51, Resulting Numbers: [33, 24, 51]
Generated Node #0,0: 100:[33, 24, 51] Operation: 80-29=51
Exploring Operation: 80+24=104, Resulting Numbers: [29, 33, 104]
Generated Node #0,1: 100:[29, 33, 104] Operation: 80+24=104
Exploring Operation: 80-33=47, Resulting Numbers: [29, 24, 47]
Generated Node #0,2: 100:[29, 24, 47] Operation: 80-33=47
Moving to Node #0,2
Current State: 100:[29, 24, 47], Operations: ['80-33=47']
Exploring Operation: 47-29=18, Resulting Numbers: [24, 18]
Generated Node #0,2,0: 100:[24, 18] Operation: 47-29=18
Exploring Operation: 29+24=53, Resulting Numbers: [47, 53]
Generated Node #0,2,1: 100:[47, 53] Operation: 29+24=53
Exploring Operation: 29-24=5, Resulting Numbers: [47, 5]
Generated Node #0,2,2: 100:[47, 5] Operation: 29-24=5
Moving to Node #0,0
Current State: 100:[33, 24, 51], Operations: ['80-29=51']
Exploring Operation: 33-24=9, Resulting Numbers: [51, 9]
Generated Node #0,0,0: 100:[51, 9] Operation: 33-24=9
Exploring Operation: 51-33=18, Resulting Numbers: [24, 18]
Generated Node #0,0,1: 100:[24, 18] Operation: 51-33=18
Exploring Operation: 33+24=57, Resulting Numbers: [51, 57]
Generated Node #0,0,2: 100:[51, 57] Operation: 33+24=57
Moving to Node #0,1
Current State: 100:[29, 33, 104], Operations: ['80+24=104']
Exploring Operation: 29+33=62, Resulting Numbers: [104, 62]
Generated Node #0,1,0: 100:[104, 62] Operation: 29+33=62
Exploring Operation: 33-29=4, Resulting Numbers: [104, 4]
Generated Node #0,1,1: 100:[104, 4] Operation: 33-29=4
Exploring Operation: 104-33=71, Resulting Numbers: [29, 71]
Generated Node #0,1,2: 100:[29, 71] Operation: 104-33=71
Moving to Node #0,0,0
Current State: 100:[51, 9], Operations: ['80-29=51', '33-24=9']
Exploring Operation: 51-9=42, Resulting Numbers: [42]
42,100 unequal: No Solution
Exploring Operation: 51+9=60, Resulting Numbers: [60]
60,100 unequal: No Solution
Exploring Operation: 51*9=459, Resulting Numbers: [459]
459,100 unequal: No Solution
Moving to Node #0,2,0
Current State: 100:[24, 18], Operations: ['80-33=47', '47-29=18']
Exploring Operation: 24+18=42, Resulting Numbers: [42]
42,100 unequal: No Solution
Exploring Operation: 24-18=6, Resulting Numbers: [6]
6,100 unequal: No Solution
Exploring Operation: 24*18=432, Resulting Numbers: [432]
432,100 unequal: No Solution
Moving to Node #0,0,1
Current State: 100:[24, 18], Operations: ['80-29=51', '51-33=18']
Exploring Operation: 24+18=42, Resulting Numbers: [42]
42,100 unequal: No Solution
Exploring Operation: 24-18=6, Resulting Numbers: [6]
6,100 unequal: No Solution
Exploring Operation: 24*18=432, Resulting Numbers: [432]
432,100 unequal: No Solution
Moving to Node #0,2,2
Current State: 100:[47, 5], Operations: ['80-33=47', '29-24=5']
Exploring Operation: 47+5=52, Resulting Numbers: [52]
52,100 unequal: No Solution
Exploring Operation: 47*5=235, Resulting Numbers: [235]
235,100 unequal: No Solution
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,100 unequal: No Solution
Moving to Node #0,1,1
Current State: 100:[104, 4], Operations: ['80+24=104', '33-29=4']
Exploring Operation: 104/4=26, Resulting Numbers: [26]
26,100 unequal: No Solution
Exploring Operation: 104-4=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[29, 80, 33, 24], Operations: []
Exploring Operation: 80+24=104, Resulting Numbers: [29, 33, 104]
Generated Node #0,1: 100:[29, 33, 104] Operation: 80+24=104
Moving to Node #0,1
Current State: 100:[29, 33, 104], Operations: ['80+24=104']
Exploring Operation: 33-29=4, Resulting Numbers: [104, 4]
Generated Node #0,1,1: 100:[104, 4] Operation: 33-29=4
Moving to Node #0,1,1
Current State: 100:[104, 4], Operations: ['80+24=104', '33-29=4']
Exploring Operation: 104-4=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 0.973958 | hs_3 | mult_heuristic |
[
71,
92,
20,
25
] | 65 | [
"71*25=1775",
"92*20=1840",
"1840-1775=65"
] | Current State: 65:[71, 92, 20, 25], Operations: []
Exploring Operation: 71*25=1775, Resulting Numbers: [92, 20, 1775]
Generated Node #2: [92, 20, 1775] from Operation: 71*25=1775
Current State: 65:[92, 20, 1775], Operations: ['71*25=1775']
Exploring Operation: 92*20=1840, Resulting Numbers: [1775, 1840]
Generated Node #3: [1775, 1840] from Operation: 92*20=1840
Current State: 65:[1775, 1840], Operations: ['71*25=1775', '92*20=1840']
Exploring Operation: 1840-1775=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[71, 92, 20, 25], Operations: []
Exploring Operation: 92-25=67, Resulting Numbers: [71, 20, 67]
Generated Node #0,0: 65:[71, 20, 67] Operation: 92-25=67
Moving to Node #0,0
Current State: 65:[71, 20, 67], Operations: ['92-25=67']
Exploring Operation: 71-67=4, Resulting Numbers: [20, 4]
Generated Node #0,0,0: 65:[20, 4] Operation: 71-67=4
Moving to Node #0,0,0
Current State: 65:[20, 4], Operations: ['92-25=67', '71-67=4']
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,65 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
54,
51,
6,
56
] | 39 | [
"56-54=2",
"6*2=12",
"51-12=39"
] | Current State: 39:[54, 51, 6, 56], Operations: []
Exploring Operation: 56-54=2, Resulting Numbers: [51, 6, 2]
Generated Node #2: [51, 6, 2] from Operation: 56-54=2
Current State: 39:[51, 6, 2], Operations: ['56-54=2']
Exploring Operation: 6*2=12, Resulting Numbers: [51, 12]
Generated Node #3: [51, 12] from Operation: 6*2=12
Current State: 39:[51, 12], Operations: ['56-54=2', '6*2=12']
Exploring Operation: 51-12=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[54, 51, 6, 56], Operations: []
Exploring Operation: 56-54=2, Resulting Numbers: [51, 6, 2]
Generated Node #0,0: 39:[51, 6, 2] Operation: 56-54=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[51, 6, 2], Operations: ['56-54=2']
Exploring Operation: 51-6=45, Resulting Numbers: [2, 45]
Generated Node #0,0,0: 39:[2, 45] Operation: 51-6=45
Moving to Node #0,0,0
Current State: 39:[2, 45], Operations: ['56-54=2', '51-6=45']
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,39 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 |
[
36,
19,
14,
11
] | 80 | [
"36+19=55",
"14+11=25",
"55+25=80"
] | Current State: 80:[36, 19, 14, 11], Operations: []
Exploring Operation: 36+19=55, Resulting Numbers: [14, 11, 55]
Generated Node #2: [14, 11, 55] from Operation: 36+19=55
Current State: 80:[14, 11, 55], Operations: ['36+19=55']
Exploring Operation: 14+11=25, Resulting Numbers: [55, 25]
Generated Node #3: [55, 25] from Operation: 14+11=25
Current State: 80:[55, 25], Operations: ['36+19=55', '14+11=25']
Exploring Operation: 55+25=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[36, 19, 14, 11], Operations: []
Exploring Operation: 19-14=5, Resulting Numbers: [36, 11, 5]
Generated Node #0,0: 80:[36, 11, 5] Operation: 19-14=5
Exploring Operation: 36-14=22, Resulting Numbers: [19, 11, 22]
Generated Node #0,1: 80:[19, 11, 22] Operation: 36-14=22
Exploring Operation: 36-19=17, Resulting Numbers: [14, 11, 17]
Generated Node #0,2: 80:[14, 11, 17] Operation: 36-19=17
Exploring Operation: 14-11=3, Resulting Numbers: [36, 19, 3]
Generated Node #0,3: 80:[36, 19, 3] Operation: 14-11=3
Exploring Operation: 19-11=8, Resulting Numbers: [36, 14, 8]
Generated Node #0,4: 80:[36, 14, 8] Operation: 19-11=8
Moving to Node #0,1
Current State: 80:[19, 11, 22], Operations: ['36-14=22']
Exploring Operation: 22-19=3, Resulting Numbers: [11, 3]
Generated Node #0,1,0: 80:[11, 3] Operation: 22-19=3
Exploring Operation: 19+22=41, Resulting Numbers: [11, 41]
Generated Node #0,1,1: 80:[11, 41] Operation: 19+22=41
Exploring Operation: 19-11=8, Resulting Numbers: [22, 8]
Generated Node #0,1,2: 80:[22, 8] Operation: 19-11=8
Exploring Operation: 22/11=2, Resulting Numbers: [19, 2]
Generated Node #0,1,3: 80:[19, 2] Operation: 22/11=2
Exploring Operation: 22-11=11, Resulting Numbers: [19, 11]
Generated Node #0,1,4: 80:[19, 11] Operation: 22-11=11
Moving to Node #0,2
Current State: 80:[14, 11, 17], Operations: ['36-19=17']
Exploring Operation: 14+11=25, Resulting Numbers: [17, 25]
Generated Node #0,2,0: 80:[17, 25] Operation: 14+11=25
Exploring Operation: 17-11=6, Resulting Numbers: [14, 6]
Generated Node #0,2,1: 80:[14, 6] Operation: 17-11=6
Exploring Operation: 17-14=3, Resulting Numbers: [11, 3]
Generated Node #0,2,2: 80:[11, 3] Operation: 17-14=3
Exploring Operation: 14+17=31, Resulting Numbers: [11, 31]
Generated Node #0,2,3: 80:[11, 31] Operation: 14+17=31
Exploring Operation: 14-11=3, Resulting Numbers: [17, 3]
Generated Node #0,2,4: 80:[17, 3] Operation: 14-11=3
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 80:[11, 3], Operations: ['36-19=17', '17-14=3']
Exploring Operation: 11*3=33, Resulting Numbers: [33]
33,80 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,80 unequal: No Solution
Exploring Operation: 11+3=14, Resulting Numbers: [14]
14,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 80:[17, 3], Operations: ['36-19=17', '14-11=3']
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,80 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,80 unequal: No Solution
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 80:[14, 6], Operations: ['36-19=17', '17-11=6']
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,80 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,80 unequal: No Solution
Exploring Operation: 14+6=20, Resulting Numbers: [20]
20,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 80:[17, 25], Operations: ['36-19=17', '14+11=25']
Exploring Operation: 17*25=425, Resulting Numbers: [425]
425,80 unequal: No Solution
Exploring Operation: 25-17=8, Resulting Numbers: [8]
8,80 unequal: No Solution
Exploring Operation: 17+25=42, Resulting Numbers: [42]
42,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 80:[11, 31], Operations: ['36-19=17', '14+17=31']
Exploring Operation: 11+31=42, Resulting Numbers: [42]
42,80 unequal: No Solution
Exploring Operation: 11*31=341, Resulting Numbers: [341]
341,80 unequal: No Solution
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,80 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: 80:[36, 11, 5], Operations: ['19-14=5']
Exploring Operation: 36+5=41, Resulting Numbers: [11, 41]
Generated Node #0,0,0: 80:[11, 41] Operation: 36+5=41
Exploring Operation: 11-5=6, Resulting Numbers: [36, 6]
Generated Node #0,0,1: 80:[36, 6] Operation: 11-5=6
Exploring Operation: 36+11=47, Resulting Numbers: [5, 47]
Generated Node #0,0,2: 80:[5, 47] Operation: 36+11=47
Exploring Operation: 36-11=25, Resulting Numbers: [5, 25]
Generated Node #0,0,3: 80:[5, 25] Operation: 36-11=25
Exploring Operation: 11+5=16, Resulting Numbers: [36, 16]
Generated Node #0,0,4: 80:[36, 16] Operation: 11+5=16
Moving to Node #0,3
Current State: 80:[36, 19, 3], Operations: ['14-11=3']
Exploring Operation: 36+3=39, Resulting Numbers: [19, 39]
Generated Node #0,3,0: 80:[19, 39] Operation: 36+3=39
Exploring Operation: 19-3=16, Resulting Numbers: [36, 16]
Generated Node #0,3,1: 80:[36, 16] Operation: 19-3=16
Exploring Operation: 19+3=22, Resulting Numbers: [36, 22]
Generated Node #0,3,2: 80:[36, 22] Operation: 19+3=22
Exploring Operation: 36-19=17, Resulting Numbers: [3, 17]
Generated Node #0,3,3: 80:[3, 17] Operation: 36-19=17
Exploring Operation: 36/3=12, Resulting Numbers: [19, 12]
Generated Node #0,3,4: 80:[19, 12] Operation: 36/3=12
Moving to Node #0,4
Current State: 80:[36, 14, 8], Operations: ['19-11=8']
Exploring Operation: 36+8=44, Resulting Numbers: [14, 44]
Generated Node #0,4,0: 80:[14, 44] Operation: 36+8=44
Exploring Operation: 14-8=6, Resulting Numbers: [36, 6]
Generated Node #0,4,1: 80:[36, 6] Operation: 14-8=6
Exploring Operation: 14+8=22, Resulting Numbers: [36, 22]
Generated Node #0,4,2: 80:[36, 22] Operation: 14+8=22
Exploring Operation: 36+14=50, Resulting Numbers: [8, 50]
Generated Node #0,4,3: 80:[8, 50] Operation: 36+14=50
Exploring Operation: 36-14=22, Resulting Numbers: [8, 22]
Generated Node #0,4,4: 80:[8, 22] Operation: 36-14=22
Moving to Node #0,1,3
Current State: 80:[19, 2], Operations: ['36-14=22', '22/11=2']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,80 unequal: No Solution
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,80 unequal: No Solution
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,80 unequal: No Solution
Moving to Node #0,1,1
Current State: 80:[11, 41], Operations: ['36-14=22', '19+22=41']
Exploring Operation: 41-11=30, Resulting Numbers: [30]
30,80 unequal: No Solution
Exploring Operation: 11+41=52, Resulting Numbers: [52]
52,80 unequal: No Solution
Exploring Operation: 11*41=451, Resulting Numbers: [451]
451,80 unequal: No Solution
Moving to Node #0,0,0
Current State: 80:[11, 41], Operations: ['19-14=5', '36+5=41']
Exploring Operation: 11*41=451, Resulting Numbers: [451]
451,80 unequal: No Solution
Exploring Operation: 41-11=30, Resulting Numbers: [30]
30,80 unequal: No Solution
Exploring Operation: 11+41=52, Resulting Numbers: [52]
52,80 unequal: No Solution
Moving to Node #0,3,3
Current State: 80:[3, 17], Operations: ['14-11=3', '36-19=17']
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,80 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,80 unequal: No Solution
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,80 unequal: No Solution
Moving to Node #0,1,0
Current State: 80:[11, 3], Operations: ['36-14=22', '22-19=3']
Exploring Operation: 11*3=33, Resulting Numbers: [33]
33,80 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,80 unequal: No Solution
Exploring Operation: 11+3=14, Resulting Numbers: [14]
14,80 unequal: No Solution
Moving to Node #0,1,4
Current State: 80:[19, 11], Operations: ['36-14=22', '22-11=11']
Exploring Operation: 19-11=8, Resulting Numbers: [8]
8,80 unequal: No Solution
Exploring Operation: 19+11=30, Resulting Numbers: [30]
30,80 unequal: No Solution
Exploring Operation: 19*11=209, Resulting Numbers: [209]
209,80 unequal: No Solution
Moving to Node #0,3,0
Current State: 80:[19, 39], Operations: ['14-11=3', '36+3=39']
Exploring Operation: 39-19=20, Resulting Numbers: [20]
20,80 unequal: No Solution
Exploring Operation: 19*39=741, Resulting Numbers: [741]
741,80 unequal: No Solution
Exploring Operation: 19+39=58, Resulting Numbers: [58]
58,80 unequal: No Solution
Moving to Node #0,1,2
Current State: 80:[22, 8], Operations: ['36-14=22', '19-11=8']
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,80 unequal: No Solution
Exploring Operation: 22*8=176, Resulting Numbers: [176]
176,80 unequal: No Solution
Exploring Operation: 22+8=30, Resulting Numbers: [30]
30,80 unequal: No Solution
Moving to Node #0,4,4
Current State: 80:[8, 22], Operations: ['19-11=8', '36-14=22']
Exploring Operation: 8+22=30, Resulting Numbers: [30]
30,80 unequal: No Solution
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,80 unequal: No Solution
Exploring Operation: 8*22=176, Resulting Numbers: [176]
176,80 unequal: No Solution
Moving to Node #0,3,4
Current State: 80:[19, 12], Operations: ['14-11=3', '36/3=12']
Exploring Operation: 19+12=31, Resulting Numbers: [31]
31,80 unequal: No Solution
Exploring Operation: 19-12=7, Resulting Numbers: [7]
7,80 unequal: No Solution
Exploring Operation: 19*12=228, Resulting Numbers: [228]
228,80 unequal: No Solution
Moving to Node #0,0,4
Current State: 80:[36, 16], Operations: ['19-14=5', '11+5=16']
Exploring Operation: 36-16=20, Resulting Numbers: [20]
20,80 unequal: No Solution
Exploring Operation: 36+16=52, Resulting Numbers: [52]
52,80 unequal: No Solution
Exploring Operation: 36*16=576, Resulting Numbers: [576]
576,80 unequal: No Solution
Moving to Node #0,3,1
Current State: 80:[36, 16], Operations: ['14-11=3', '19-3=16']
Exploring Operation: 36-16=20, Resulting Numbers: [20]
20,80 unequal: No Solution
Exploring Operation: 36*16=576, Resulting Numbers: [576]
576,80 unequal: No Solution
Exploring Operation: 36+16=52, Resulting Numbers: [52]
52,80 unequal: No Solution
Moving to Node #0,0,1
Current State: 80:[36, 6], Operations: ['19-14=5', '11-5=6']
Exploring Operation: 36*6=216, Resulting Numbers: [216]
216,80 unequal: No Solution
Exploring Operation: 36+6=42, Resulting Numbers: [42]
42,80 unequal: No Solution
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,80 unequal: No Solution
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,80 unequal: No Solution
Moving to Node #0,4,1
Current State: 80:[36, 6], Operations: ['19-11=8', '14-8=6']
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,80 unequal: No Solution
Exploring Operation: 36*6=216, Resulting Numbers: [216]
216,80 unequal: No Solution
Exploring Operation: 36+6=42, Resulting Numbers: [42]
42,80 unequal: No Solution
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,80 unequal: No Solution
Moving to Node #0,0,3
Current State: 80:[5, 25], Operations: ['19-14=5', '36-11=25']
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,80 unequal: No Solution
Exploring Operation: 5*25=125, Resulting Numbers: [125]
125,80 unequal: No Solution
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,80 unequal: No Solution
Exploring Operation: 5+25=30, Resulting Numbers: [30]
30,80 unequal: No Solution
Moving to Node #0,4,2
Current State: 80:[36, 22], Operations: ['19-11=8', '14+8=22']
Exploring Operation: 36*22=792, Resulting Numbers: [792]
792,80 unequal: No Solution
Exploring Operation: 36-22=14, Resulting Numbers: [14]
14,80 unequal: No Solution
Exploring Operation: 36+22=58, Resulting Numbers: [58]
58,80 unequal: No Solution
Moving to Node #0,4,0
Current State: 80:[14, 44], Operations: ['19-11=8', '36+8=44']
Exploring Operation: 44-14=30, Resulting Numbers: [30]
30,80 unequal: No Solution
Exploring Operation: 14*44=616, Resulting Numbers: [616]
616,80 unequal: No Solution
Exploring Operation: 14+44=58, Resulting Numbers: [58]
58,80 unequal: No Solution
Moving to Node #0,3,2
Current State: 80:[36, 22], Operations: ['14-11=3', '19+3=22']
Exploring Operation: 36+22=58, Resulting Numbers: [58]
58,80 unequal: No Solution
Exploring Operation: 36-22=14, Resulting Numbers: [14]
14,80 unequal: No Solution
Exploring Operation: 36*22=792, Resulting Numbers: [792]
792,80 unequal: No Solution
Moving to Node #0,0,2
Current State: 80:[5, 47], Operations: ['19-14=5', '36+11=47']
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,80 unequal: No Solution
Exploring Operation: 5*47=235, Resulting Numbers: [235]
235,80 unequal: No Solution
Exploring Operation: 5+47=52, Resulting Numbers: [52]
52,80 unequal: No Solution
Moving to Node #0,4,3
Current State: 80:[8, 50], Operations: ['19-11=8', '36+14=50']
Exploring Operation: 8*50=400, Resulting Numbers: [400]
400,80 unequal: No Solution
Exploring Operation: 8+50=58, Resulting Numbers: [58]
58,80 unequal: No Solution
Exploring Operation: 50-8=42, Resulting Numbers: [42]
42,80 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
26,
98,
31,
17
] | 24 | [
"98-26=72",
"31+17=48",
"72-48=24"
] | Current State: 24:[26, 98, 31, 17], Operations: []
Exploring Operation: 98-26=72, Resulting Numbers: [31, 17, 72]
Generated Node #2: [31, 17, 72] from Operation: 98-26=72
Current State: 24:[31, 17, 72], Operations: ['98-26=72']
Exploring Operation: 31+17=48, Resulting Numbers: [72, 48]
Generated Node #3: [72, 48] from Operation: 31+17=48
Current State: 24:[72, 48], Operations: ['98-26=72', '31+17=48']
Exploring Operation: 72-48=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[26, 98, 31, 17], Operations: []
Exploring Operation: 98-26=72, Resulting Numbers: [31, 17, 72]
Generated Node #0,0: 24:[31, 17, 72] Operation: 98-26=72
Exploring Operation: 31-17=14, Resulting Numbers: [26, 98, 14]
Generated Node #0,1: 24:[26, 98, 14] Operation: 31-17=14
Exploring Operation: 98-31=67, Resulting Numbers: [26, 17, 67]
Generated Node #0,2: 24:[26, 17, 67] Operation: 98-31=67
Exploring Operation: 98-17=81, Resulting Numbers: [26, 31, 81]
Generated Node #0,3: 24:[26, 31, 81] Operation: 98-17=81
Exploring Operation: 31-26=5, Resulting Numbers: [98, 17, 5]
Generated Node #0,4: 24:[98, 17, 5] Operation: 31-26=5
Start Sub Search at level 1: Moving to Node #0,2
Current State: 24:[26, 17, 67], Operations: ['98-31=67']
Exploring Operation: 26-17=9, Resulting Numbers: [67, 9]
Generated Node #0,2,0: 24:[67, 9] Operation: 26-17=9
Exploring Operation: 67-17=50, Resulting Numbers: [26, 50]
Generated Node #0,2,1: 24:[26, 50] Operation: 67-17=50
Exploring Operation: 67-26=41, Resulting Numbers: [17, 41]
Generated Node #0,2,2: 24:[17, 41] Operation: 67-26=41
Exploring Operation: 26+17=43, Resulting Numbers: [67, 43]
Generated Node #0,2,3: 24:[67, 43] Operation: 26+17=43
Exploring Operation: 17+67=84, Resulting Numbers: [26, 84]
Generated Node #0,2,4: 24:[26, 84] Operation: 17+67=84
Moving to Node #0,2,2
Current State: 24:[17, 41], Operations: ['98-31=67', '67-26=41']
Exploring Operation: 17*41=697, Resulting Numbers: [697]
697,24 unequal: No Solution
Exploring Operation: 17+41=58, Resulting Numbers: [58]
58,24 unequal: No Solution
Exploring Operation: 41-17=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[26, 98, 31, 17], Operations: []
Exploring Operation: 98-31=67, Resulting Numbers: [26, 17, 67]
Generated Node #0,2: 24:[26, 17, 67] Operation: 98-31=67
Moving to Node #0,2
Current State: 24:[26, 17, 67], Operations: ['98-31=67']
Exploring Operation: 67-26=41, Resulting Numbers: [17, 41]
Generated Node #0,2,2: 24:[17, 41] Operation: 67-26=41
Moving to Node #0,2,2
Current State: 24:[17, 41], Operations: ['98-31=67', '67-26=41']
Exploring Operation: 41-17=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
36,
74,
37,
11
] | 63 | [
"37-36=1",
"74-11=63",
"1*63=63"
] | Current State: 63:[36, 74, 37, 11], Operations: []
Exploring Operation: 37-36=1, Resulting Numbers: [74, 11, 1]
Generated Node #2: [74, 11, 1] from Operation: 37-36=1
Current State: 63:[74, 11, 1], Operations: ['37-36=1']
Exploring Operation: 74-11=63, Resulting Numbers: [1, 63]
Generated Node #3: [1, 63] from Operation: 74-11=63
Current State: 63:[1, 63], Operations: ['37-36=1', '74-11=63']
Exploring Operation: 1*63=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[36, 74, 37, 11], Operations: []
Exploring Operation: 37-36=1, Resulting Numbers: [74, 11, 1]
Generated Node #0,0: 63:[74, 11, 1] Operation: 37-36=1
Moving to Node #0,0
Current State: 63:[74, 11, 1], Operations: ['37-36=1']
Exploring Operation: 74-11=63, Resulting Numbers: [1, 63]
Generated Node #0,0,0: 63:[1, 63] Operation: 74-11=63
Moving to Node #0,0,0
Current State: 63:[1, 63], Operations: ['37-36=1', '74-11=63']
Exploring Operation: 1*63=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[36, 74, 37, 11], Operations: []
Exploring Operation: 37-36=1, Resulting Numbers: [74, 11, 1]
Generated Node #0,0: 63:[74, 11, 1] Operation: 37-36=1
Moving to Node #0,0
Current State: 63:[74, 11, 1], Operations: ['37-36=1']
Exploring Operation: 74-11=63, Resulting Numbers: [1, 63]
Generated Node #0,0,0: 63:[1, 63] Operation: 74-11=63
Moving to Node #0,0,0
Current State: 63:[1, 63], Operations: ['37-36=1', '74-11=63']
Exploring Operation: 1*63=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
57,
53,
82,
87
] | 19 | [
"82-53=29",
"57*29=1653",
"1653/87=19"
] | Current State: 19:[57, 53, 82, 87], Operations: []
Exploring Operation: 82-53=29, Resulting Numbers: [57, 87, 29]
Generated Node #2: [57, 87, 29] from Operation: 82-53=29
Current State: 19:[57, 87, 29], Operations: ['82-53=29']
Exploring Operation: 57*29=1653, Resulting Numbers: [87, 1653]
Generated Node #3: [87, 1653] from Operation: 57*29=1653
Current State: 19:[87, 1653], Operations: ['82-53=29', '57*29=1653']
Exploring Operation: 1653/87=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[57, 53, 82, 87], Operations: []
Exploring Operation: 87-82=5, Resulting Numbers: [57, 53, 5]
Generated Node #0,0: 19:[57, 53, 5] Operation: 87-82=5
Exploring Operation: 82-57=25, Resulting Numbers: [53, 87, 25]
Generated Node #0,1: 19:[53, 87, 25] Operation: 82-57=25
Moving to Node #0,0
Current State: 19:[57, 53, 5], Operations: ['87-82=5']
Exploring Operation: 57-5=52, Resulting Numbers: [53, 52]
Generated Node #0,0,0: 19:[53, 52] Operation: 57-5=52
Exploring Operation: 57-53=4, Resulting Numbers: [5, 4]
Generated Node #0,0,1: 19:[5, 4] Operation: 57-53=4
Moving to Node #0,1
Current State: 19:[53, 87, 25], Operations: ['82-57=25']
Exploring Operation: 87-53=34, Resulting Numbers: [25, 34]
Generated Node #0,1,0: 19:[25, 34] Operation: 87-53=34
Exploring Operation: 53-25=28, Resulting Numbers: [87, 28]
Generated Node #0,1,1: 19:[87, 28] Operation: 53-25=28
Moving to Node #0,1,0
Current State: 19:[25, 34], Operations: ['82-57=25', '87-53=34']
Exploring Operation: 25+34=59, Resulting Numbers: [59]
59,19 unequal: No Solution
Exploring Operation: 34-25=9, Resulting Numbers: [9]
9,19 unequal: No Solution
Moving to Node #0,0,1
Current State: 19:[5, 4], Operations: ['87-82=5', '57-53=4']
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,19 unequal: No Solution
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,19 unequal: No Solution
Moving to Node #0,0,0
Current State: 19:[53, 52], Operations: ['87-82=5', '57-5=52']
Exploring Operation: 53-52=1, Resulting Numbers: [1]
1,19 unequal: No Solution
Exploring Operation: 53+52=105, Resulting Numbers: [105]
105,19 unequal: No Solution
Moving to Node #0,1,1
Current State: 19:[87, 28], Operations: ['82-57=25', '53-25=28']
Exploring Operation: 87-28=59, Resulting Numbers: [59]
59,19 unequal: No Solution
Exploring Operation: 87+28=115, Resulting Numbers: [115]
115,19 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
8,
11,
1,
44
] | 64 | [
"8+11=19",
"1+44=45",
"19+45=64"
] | Current State: 64:[8, 11, 1, 44], Operations: []
Exploring Operation: 8+11=19, Resulting Numbers: [1, 44, 19]
Generated Node #2: [1, 44, 19] from Operation: 8+11=19
Current State: 64:[1, 44, 19], Operations: ['8+11=19']
Exploring Operation: 1+44=45, Resulting Numbers: [19, 45]
Generated Node #3: [19, 45] from Operation: 1+44=45
Current State: 64:[19, 45], Operations: ['8+11=19', '1+44=45']
Exploring Operation: 19+45=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[8, 11, 1, 44], Operations: []
Exploring Operation: 11-8=3, Resulting Numbers: [1, 44, 3]
Generated Node #0,0: 64:[1, 44, 3] Operation: 11-8=3
Exploring Operation: 11+44=55, Resulting Numbers: [8, 1, 55]
Generated Node #0,1: 64:[8, 1, 55] Operation: 11+44=55
Exploring Operation: 44-11=33, Resulting Numbers: [8, 1, 33]
Generated Node #0,2: 64:[8, 1, 33] Operation: 44-11=33
Exploring Operation: 44/11=4, Resulting Numbers: [8, 1, 4]
Generated Node #0,3: 64:[8, 1, 4] Operation: 44/11=4
Exploring Operation: 44-8=36, Resulting Numbers: [11, 1, 36]
Generated Node #0,4: 64:[11, 1, 36] Operation: 44-8=36
Start Sub Search at level 1: Moving to Node #0,3
Current State: 64:[8, 1, 4], Operations: ['44/11=4']
Exploring Operation: 8*1=8, Resulting Numbers: [4, 8]
Generated Node #0,3,0: 64:[4, 8] Operation: 8*1=8
Exploring Operation: 8+1=9, Resulting Numbers: [4, 9]
Generated Node #0,3,1: 64:[4, 9] Operation: 8+1=9
Exploring Operation: 1*4=4, Resulting Numbers: [8, 4]
Generated Node #0,3,2: 64:[8, 4] Operation: 1*4=4
Exploring Operation: 4/1=4, Resulting Numbers: [8, 4]
Generated Node #0,3,3: 64:[8, 4] Operation: 4/1=4
Exploring Operation: 8/1=8, Resulting Numbers: [4, 8]
Generated Node #0,3,4: 64:[4, 8] Operation: 8/1=8
Moving to Node #0,3,0
Current State: 64:[4, 8], Operations: ['44/11=4', '8*1=8']
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 4*8=32, Resulting Numbers: [32]
32,64 unequal: No Solution
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,64 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,64 unequal: No Solution
Moving to Node #0,3,3
Current State: 64:[8, 4], Operations: ['44/11=4', '4/1=4']
Exploring Operation: 8*4=32, Resulting Numbers: [32]
32,64 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,64 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 8+4=12, Resulting Numbers: [12]
12,64 unequal: No Solution
Moving to Node #0,3,2
Current State: 64:[8, 4], Operations: ['44/11=4', '1*4=4']
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,64 unequal: No Solution
Exploring Operation: 8*4=32, Resulting Numbers: [32]
32,64 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 8+4=12, Resulting Numbers: [12]
12,64 unequal: No Solution
Moving to Node #0,3,4
Current State: 64:[4, 8], Operations: ['44/11=4', '8/1=8']
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,64 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 4*8=32, Resulting Numbers: [32]
32,64 unequal: No Solution
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,64 unequal: No Solution
Moving to Node #0,3,1
Current State: 64:[4, 9], Operations: ['44/11=4', '8+1=9']
Exploring Operation: 4*9=36, Resulting Numbers: [36]
36,64 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,64 unequal: No Solution
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,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,2
Current State: 64:[8, 1, 33], Operations: ['44-11=33']
Exploring Operation: 33/1=33, Resulting Numbers: [8, 33]
Generated Node #0,2,0: 64:[8, 33] Operation: 33/1=33
Exploring Operation: 33-1=32, Resulting Numbers: [8, 32]
Generated Node #0,2,1: 64:[8, 32] Operation: 33-1=32
Exploring Operation: 8*1=8, Resulting Numbers: [33, 8]
Generated Node #0,2,2: 64:[33, 8] Operation: 8*1=8
Exploring Operation: 8/1=8, Resulting Numbers: [33, 8]
Generated Node #0,2,3: 64:[33, 8] Operation: 8/1=8
Exploring Operation: 1*33=33, Resulting Numbers: [8, 33]
Generated Node #0,2,4: 64:[8, 33] Operation: 1*33=33
Moving to Node #0,2,1
Current State: 64:[8, 32], Operations: ['44-11=33', '33-1=32']
Exploring Operation: 8+32=40, Resulting Numbers: [40]
40,64 unequal: No Solution
Exploring Operation: 8*32=256, Resulting Numbers: [256]
256,64 unequal: No Solution
Exploring Operation: 32/8=4, Resulting Numbers: [4]
4,64 unequal: No Solution
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,64 unequal: No Solution
Moving to Node #0,2,2
Current State: 64:[33, 8], Operations: ['44-11=33', '8*1=8']
Exploring Operation: 33*8=264, Resulting Numbers: [264]
264,64 unequal: No Solution
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,64 unequal: No Solution
Exploring Operation: 33+8=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Moving to Node #0,2,4
Current State: 64:[8, 33], Operations: ['44-11=33', '1*33=33']
Exploring Operation: 8*33=264, Resulting Numbers: [264]
264,64 unequal: No Solution
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,64 unequal: No Solution
Exploring Operation: 8+33=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Moving to Node #0,2,0
Current State: 64:[8, 33], Operations: ['44-11=33', '33/1=33']
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,64 unequal: No Solution
Exploring Operation: 8*33=264, Resulting Numbers: [264]
264,64 unequal: No Solution
Exploring Operation: 8+33=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Moving to Node #0,2,3
Current State: 64:[33, 8], Operations: ['44-11=33', '8/1=8']
Exploring Operation: 33+8=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,64 unequal: No Solution
Exploring Operation: 33*8=264, Resulting Numbers: [264]
264,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 64:[11, 1, 36], Operations: ['44-8=36']
Exploring Operation: 36-1=35, Resulting Numbers: [11, 35]
Generated Node #0,4,0: 64:[11, 35] Operation: 36-1=35
Exploring Operation: 11-1=10, Resulting Numbers: [36, 10]
Generated Node #0,4,1: 64:[36, 10] Operation: 11-1=10
Exploring Operation: 1*36=36, Resulting Numbers: [11, 36]
Generated Node #0,4,2: 64:[11, 36] Operation: 1*36=36
Exploring Operation: 11*1=11, Resulting Numbers: [36, 11]
Generated Node #0,4,3: 64:[36, 11] Operation: 11*1=11
Exploring Operation: 11/1=11, Resulting Numbers: [36, 11]
Generated Node #0,4,4: 64:[36, 11] Operation: 11/1=11
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 64:[11, 35], Operations: ['44-8=36', '36-1=35']
Exploring Operation: 11+35=46, Resulting Numbers: [46]
46,64 unequal: No Solution
Exploring Operation: 35-11=24, Resulting Numbers: [24]
24,64 unequal: No Solution
Exploring Operation: 11*35=385, Resulting Numbers: [385]
385,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 64:[36, 10], Operations: ['44-8=36', '11-1=10']
Exploring Operation: 36*10=360, Resulting Numbers: [360]
360,64 unequal: No Solution
Exploring Operation: 36+10=46, Resulting Numbers: [46]
46,64 unequal: No Solution
Exploring Operation: 36-10=26, Resulting Numbers: [26]
26,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 64:[11, 36], Operations: ['44-8=36', '1*36=36']
Exploring Operation: 11*36=396, Resulting Numbers: [396]
396,64 unequal: No Solution
Exploring Operation: 36-11=25, Resulting Numbers: [25]
25,64 unequal: No Solution
Exploring Operation: 11+36=47, Resulting Numbers: [47]
47,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 64:[36, 11], Operations: ['44-8=36', '11*1=11']
Exploring Operation: 36+11=47, Resulting Numbers: [47]
47,64 unequal: No Solution
Exploring Operation: 36*11=396, Resulting Numbers: [396]
396,64 unequal: No Solution
Exploring Operation: 36-11=25, Resulting Numbers: [25]
25,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 64:[36, 11], Operations: ['44-8=36', '11/1=11']
Exploring Operation: 36-11=25, Resulting Numbers: [25]
25,64 unequal: No Solution
Exploring Operation: 36*11=396, Resulting Numbers: [396]
396,64 unequal: No Solution
Exploring Operation: 36+11=47, Resulting Numbers: [47]
47,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[8, 1, 55], Operations: ['11+44=55']
Exploring Operation: 1*55=55, Resulting Numbers: [8, 55]
Generated Node #0,1,0: 64:[8, 55] Operation: 1*55=55
Exploring Operation: 8*1=8, Resulting Numbers: [55, 8]
Generated Node #0,1,1: 64:[55, 8] Operation: 8*1=8
Exploring Operation: 8+55=63, Resulting Numbers: [1, 63]
Generated Node #0,1,2: 64:[1, 63] Operation: 8+55=63
Exploring Operation: 8/1=8, Resulting Numbers: [55, 8]
Generated Node #0,1,3: 64:[55, 8] Operation: 8/1=8
Exploring Operation: 1+55=56, Resulting Numbers: [8, 56]
Generated Node #0,1,4: 64:[8, 56] Operation: 1+55=56
Moving to Node #0,1,2
Current State: 64:[1, 63], Operations: ['11+44=55', '8+55=63']
Exploring Operation: 1*63=63, Resulting Numbers: [63]
63,64 unequal: No Solution
Exploring Operation: 1+63=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[8, 11, 1, 44], Operations: []
Exploring Operation: 11+44=55, Resulting Numbers: [8, 1, 55]
Generated Node #0,1: 64:[8, 1, 55] Operation: 11+44=55
Moving to Node #0,1
Current State: 64:[8, 1, 55], Operations: ['11+44=55']
Exploring Operation: 8+55=63, Resulting Numbers: [1, 63]
Generated Node #0,1,2: 64:[1, 63] Operation: 8+55=63
Moving to Node #0,1,2
Current State: 64:[1, 63], Operations: ['11+44=55', '8+55=63']
Exploring Operation: 1+63=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.929688 | hs_5 | mult_heuristic |
[
21,
5,
24,
77
] | 93 | [
"24*77=1848",
"1848/21=88",
"5+88=93"
] | Current State: 93:[21, 5, 24, 77], Operations: []
Exploring Operation: 24*77=1848, Resulting Numbers: [21, 5, 1848]
Generated Node #2: [21, 5, 1848] from Operation: 24*77=1848
Current State: 93:[21, 5, 1848], Operations: ['24*77=1848']
Exploring Operation: 1848/21=88, Resulting Numbers: [5, 88]
Generated Node #3: [5, 88] from Operation: 1848/21=88
Current State: 93:[5, 88], Operations: ['24*77=1848', '1848/21=88']
Exploring Operation: 5+88=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[21, 5, 24, 77], Operations: []
Exploring Operation: 21+77=98, Resulting Numbers: [5, 24, 98]
Generated Node #0,0: 93:[5, 24, 98] Operation: 21+77=98
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[5, 24, 98], Operations: ['21+77=98']
Exploring Operation: 5+24=29, Resulting Numbers: [98, 29]
Generated Node #0,0,0: 93:[98, 29] Operation: 5+24=29
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 93:[98, 29], Operations: ['21+77=98', '5+24=29']
Exploring Operation: 98-29=69, Resulting Numbers: [69]
69,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
52,
57,
40,
24
] | 45 | [
"52+57=109",
"40+24=64",
"109-64=45"
] | Current State: 45:[52, 57, 40, 24], Operations: []
Exploring Operation: 52+57=109, Resulting Numbers: [40, 24, 109]
Generated Node #2: [40, 24, 109] from Operation: 52+57=109
Current State: 45:[40, 24, 109], Operations: ['52+57=109']
Exploring Operation: 40+24=64, Resulting Numbers: [109, 64]
Generated Node #3: [109, 64] from Operation: 40+24=64
Current State: 45:[109, 64], Operations: ['52+57=109', '40+24=64']
Exploring Operation: 109-64=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[52, 57, 40, 24], Operations: []
Exploring Operation: 57-40=17, Resulting Numbers: [52, 24, 17]
Generated Node #0,0: 45:[52, 24, 17] Operation: 57-40=17
Exploring Operation: 52-40=12, Resulting Numbers: [57, 24, 12]
Generated Node #0,1: 45:[57, 24, 12] Operation: 52-40=12
Exploring Operation: 57-52=5, Resulting Numbers: [40, 24, 5]
Generated Node #0,2: 45:[40, 24, 5] Operation: 57-52=5
Exploring Operation: 40-24=16, Resulting Numbers: [52, 57, 16]
Generated Node #0,3: 45:[52, 57, 16] Operation: 40-24=16
Start Sub Search at level 1: Moving to Node #0,2
Current State: 45:[40, 24, 5], Operations: ['57-52=5']
Exploring Operation: 40-24=16, Resulting Numbers: [5, 16]
Generated Node #0,2,0: 45:[5, 16] Operation: 40-24=16
Exploring Operation: 40+5=45, Resulting Numbers: [24, 45]
Generated Node #0,2,1: 45:[24, 45] Operation: 40+5=45
Exploring Operation: 24-5=19, Resulting Numbers: [40, 19]
Generated Node #0,2,2: 45:[40, 19] Operation: 24-5=19
Exploring Operation: 40/5=8, Resulting Numbers: [24, 8]
Generated Node #0,2,3: 45:[24, 8] Operation: 40/5=8
Moving to Node #0,2,0
Current State: 45:[5, 16], Operations: ['57-52=5', '40-24=16']
Exploring Operation: 5*16=80, Resulting Numbers: [80]
80,45 unequal: No Solution
Exploring Operation: 5+16=21, Resulting Numbers: [21]
21,45 unequal: No Solution
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,45 unequal: No Solution
Moving to Node #0,2,2
Current State: 45:[40, 19], Operations: ['57-52=5', '24-5=19']
Exploring Operation: 40-19=21, Resulting Numbers: [21]
21,45 unequal: No Solution
Exploring Operation: 40+19=59, Resulting Numbers: [59]
59,45 unequal: No Solution
Exploring Operation: 40*19=760, Resulting Numbers: [760]
760,45 unequal: No Solution
Moving to Node #0,2,1
Current State: 45:[24, 45], Operations: ['57-52=5', '40+5=45']
Exploring Operation: 24+45=69, Resulting Numbers: [69]
69,45 unequal: No Solution
Exploring Operation: 24*45=1080, Resulting Numbers: [1080]
1080,45 unequal: No Solution
Exploring Operation: 45-24=21, Resulting Numbers: [21]
21,45 unequal: No Solution
Moving to Node #0,2,3
Current State: 45:[24, 8], Operations: ['57-52=5', '40/5=8']
Exploring Operation: 24*8=192, Resulting Numbers: [192]
192,45 unequal: No Solution
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,45 unequal: No Solution
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,45 unequal: No Solution
Exploring Operation: 24+8=32, Resulting Numbers: [32]
32,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,0
Current State: 45:[52, 24, 17], Operations: ['57-40=17']
Exploring Operation: 52-17=35, Resulting Numbers: [24, 35]
Generated Node #0,0,0: 45:[24, 35] Operation: 52-17=35
Exploring Operation: 24+17=41, Resulting Numbers: [52, 41]
Generated Node #0,0,1: 45:[52, 41] Operation: 24+17=41
Exploring Operation: 24-17=7, Resulting Numbers: [52, 7]
Generated Node #0,0,2: 45:[52, 7] Operation: 24-17=7
Exploring Operation: 52-24=28, Resulting Numbers: [17, 28]
Generated Node #0,0,3: 45:[17, 28] Operation: 52-24=28
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 45:[52, 7], Operations: ['57-40=17', '24-17=7']
Exploring Operation: 52+7=59, Resulting Numbers: [59]
59,45 unequal: No Solution
Exploring Operation: 52*7=364, Resulting Numbers: [364]
364,45 unequal: No Solution
Exploring Operation: 52-7=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[52, 57, 40, 24], Operations: []
Exploring Operation: 57-40=17, Resulting Numbers: [52, 24, 17]
Generated Node #0,0: 45:[52, 24, 17] Operation: 57-40=17
Moving to Node #0,0
Current State: 45:[52, 24, 17], Operations: ['57-40=17']
Exploring Operation: 24-17=7, Resulting Numbers: [52, 7]
Generated Node #0,0,2: 45:[52, 7] Operation: 24-17=7
Moving to Node #0,0,2
Current State: 45:[52, 7], Operations: ['57-40=17', '24-17=7']
Exploring Operation: 52-7=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.972222 | hs_4 | sum_heuristic |
[
9,
30,
53,
51
] | 83 | [
"30-9=21",
"53+51=104",
"104-21=83"
] | Current State: 83:[9, 30, 53, 51], Operations: []
Exploring Operation: 30-9=21, Resulting Numbers: [53, 51, 21]
Generated Node #2: [53, 51, 21] from Operation: 30-9=21
Current State: 83:[53, 51, 21], Operations: ['30-9=21']
Exploring Operation: 53+51=104, Resulting Numbers: [21, 104]
Generated Node #3: [21, 104] from Operation: 53+51=104
Current State: 83:[21, 104], Operations: ['30-9=21', '53+51=104']
Exploring Operation: 104-21=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[9, 30, 53, 51], Operations: []
Exploring Operation: 9+53=62, Resulting Numbers: [30, 51, 62]
Generated Node #0,0: 83:[30, 51, 62] Operation: 9+53=62
Exploring Operation: 9+51=60, Resulting Numbers: [30, 53, 60]
Generated Node #0,1: 83:[30, 53, 60] Operation: 9+51=60
Exploring Operation: 9+30=39, Resulting Numbers: [53, 51, 39]
Generated Node #0,2: 83:[53, 51, 39] Operation: 9+30=39
Exploring Operation: 30+53=83, Resulting Numbers: [9, 51, 83]
Generated Node #0,3: 83:[9, 51, 83] Operation: 30+53=83
Moving to Node #0,0
Current State: 83:[30, 51, 62], Operations: ['9+53=62']
Exploring Operation: 30+51=81, Resulting Numbers: [62, 81]
Generated Node #0,0,0: 83:[62, 81] Operation: 30+51=81
Exploring Operation: 51-30=21, Resulting Numbers: [62, 21]
Generated Node #0,0,1: 83:[62, 21] Operation: 51-30=21
Exploring Operation: 62-30=32, Resulting Numbers: [51, 32]
Generated Node #0,0,2: 83:[51, 32] Operation: 62-30=32
Exploring Operation: 30+62=92, Resulting Numbers: [51, 92]
Generated Node #0,0,3: 83:[51, 92] Operation: 30+62=92
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[62, 81], Operations: ['9+53=62', '30+51=81']
Exploring Operation: 62+81=143, Resulting Numbers: [143]
143,83 unequal: No Solution
Exploring Operation: 62*81=5022, Resulting Numbers: [5022]
5022,83 unequal: No Solution
Exploring Operation: 81-62=19, Resulting Numbers: [19]
19,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 83:[51, 92], Operations: ['9+53=62', '30+62=92']
Exploring Operation: 51*92=4692, Resulting Numbers: [4692]
4692,83 unequal: No Solution
Exploring Operation: 51+92=143, Resulting Numbers: [143]
143,83 unequal: No Solution
Exploring Operation: 92-51=41, Resulting Numbers: [41]
41,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 83:[62, 21], Operations: ['9+53=62', '51-30=21']
Exploring Operation: 62*21=1302, Resulting Numbers: [1302]
1302,83 unequal: No Solution
Exploring Operation: 62+21=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[9, 30, 53, 51], Operations: []
Exploring Operation: 9+53=62, Resulting Numbers: [30, 51, 62]
Generated Node #0,0: 83:[30, 51, 62] Operation: 9+53=62
Moving to Node #0,0
Current State: 83:[30, 51, 62], Operations: ['9+53=62']
Exploring Operation: 51-30=21, Resulting Numbers: [62, 21]
Generated Node #0,0,1: 83:[62, 21] Operation: 51-30=21
Moving to Node #0,0,1
Current State: 83:[62, 21], Operations: ['9+53=62', '51-30=21']
Exploring Operation: 62+21=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | sum_heuristic |
[
2,
81,
76,
79
] | 89 | [
"81-76=5",
"2*5=10",
"79+10=89"
] | Current State: 89:[2, 81, 76, 79], Operations: []
Exploring Operation: 81-76=5, Resulting Numbers: [2, 79, 5]
Generated Node #2: [2, 79, 5] from Operation: 81-76=5
Current State: 89:[2, 79, 5], Operations: ['81-76=5']
Exploring Operation: 2*5=10, Resulting Numbers: [79, 10]
Generated Node #3: [79, 10] from Operation: 2*5=10
Current State: 89:[79, 10], Operations: ['81-76=5', '2*5=10']
Exploring Operation: 79+10=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[2, 81, 76, 79], Operations: []
Exploring Operation: 2+76=78, Resulting Numbers: [81, 79, 78]
Generated Node #0,0: 89:[81, 79, 78] Operation: 2+76=78
Exploring Operation: 2+81=83, Resulting Numbers: [76, 79, 83]
Generated Node #0,1: 89:[76, 79, 83] Operation: 2+81=83
Moving to Node #0,0
Current State: 89:[81, 79, 78], Operations: ['2+76=78']
Exploring Operation: 79+78=157, Resulting Numbers: [81, 157]
Generated Node #0,0,0: 89:[81, 157] Operation: 79+78=157
Exploring Operation: 81+78=159, Resulting Numbers: [79, 159]
Generated Node #0,0,1: 89:[79, 159] Operation: 81+78=159
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 89:[81, 157], Operations: ['2+76=78', '79+78=157']
Exploring Operation: 157-81=76, Resulting Numbers: [76]
76,89 unequal: No Solution
Exploring Operation: 81+157=238, Resulting Numbers: [238]
238,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 89:[79, 159], Operations: ['2+76=78', '81+78=159']
Exploring Operation: 159-79=80, Resulting Numbers: [80]
80,89 unequal: No Solution
Exploring Operation: 79+159=238, Resulting Numbers: [238]
238,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 89:[76, 79, 83], Operations: ['2+81=83']
Exploring Operation: 76+83=159, Resulting Numbers: [79, 159]
Generated Node #0,1,0: 89:[79, 159] Operation: 76+83=159
Exploring Operation: 76+79=155, Resulting Numbers: [83, 155]
Generated Node #0,1,1: 89:[83, 155] Operation: 76+79=155
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 89:[83, 155], Operations: ['2+81=83', '76+79=155']
Exploring Operation: 83+155=238, Resulting Numbers: [238]
238,89 unequal: No Solution
Exploring Operation: 155-83=72, Resulting Numbers: [72]
72,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 89:[79, 159], Operations: ['2+81=83', '76+83=159']
Exploring Operation: 79+159=238, Resulting Numbers: [238]
238,89 unequal: No Solution
Exploring Operation: 159-79=80, Resulting Numbers: [80]
80,89 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 |
[
20,
56,
92,
80
] | 88 | [
"20+56=76",
"92-80=12",
"76+12=88"
] | Current State: 88:[20, 56, 92, 80], Operations: []
Exploring Operation: 20+56=76, Resulting Numbers: [92, 80, 76]
Generated Node #2: [92, 80, 76] from Operation: 20+56=76
Current State: 88:[92, 80, 76], Operations: ['20+56=76']
Exploring Operation: 92-80=12, Resulting Numbers: [76, 12]
Generated Node #3: [76, 12] from Operation: 92-80=12
Current State: 88:[76, 12], Operations: ['20+56=76', '92-80=12']
Exploring Operation: 76+12=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[20, 56, 92, 80], Operations: []
Exploring Operation: 92-80=12, Resulting Numbers: [20, 56, 12]
Generated Node #0,0: 88:[20, 56, 12] Operation: 92-80=12
Exploring Operation: 80-56=24, Resulting Numbers: [20, 92, 24]
Generated Node #0,1: 88:[20, 92, 24] Operation: 80-56=24
Exploring Operation: 80/20=4, Resulting Numbers: [56, 92, 4]
Generated Node #0,2: 88:[56, 92, 4] Operation: 80/20=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[20, 92, 24], Operations: ['80-56=24']
Exploring Operation: 92-20=72, Resulting Numbers: [24, 72]
Generated Node #0,1,0: 88:[24, 72] Operation: 92-20=72
Exploring Operation: 24-20=4, Resulting Numbers: [92, 4]
Generated Node #0,1,1: 88:[92, 4] Operation: 24-20=4
Exploring Operation: 20+24=44, Resulting Numbers: [92, 44]
Generated Node #0,1,2: 88:[92, 44] Operation: 20+24=44
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 88:[92, 4], Operations: ['80-56=24', '24-20=4']
Exploring Operation: 92/4=23, Resulting Numbers: [23]
23,88 unequal: No Solution
Exploring Operation: 92-4=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[20, 56, 92, 80], Operations: []
Exploring Operation: 80-56=24, Resulting Numbers: [20, 92, 24]
Generated Node #0,1: 88:[20, 92, 24] Operation: 80-56=24
Moving to Node #0,1
Current State: 88:[20, 92, 24], Operations: ['80-56=24']
Exploring Operation: 24-20=4, Resulting Numbers: [92, 4]
Generated Node #0,1,1: 88:[92, 4] Operation: 24-20=4
Moving to Node #0,1,1
Current State: 88:[92, 4], Operations: ['80-56=24', '24-20=4']
Exploring Operation: 92-4=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
42,
25,
2,
52
] | 42 | [
"52/2=26",
"26-25=1",
"42*1=42"
] | Current State: 42:[42, 25, 2, 52], Operations: []
Exploring Operation: 52/2=26, Resulting Numbers: [42, 25, 26]
Generated Node #2: [42, 25, 26] from Operation: 52/2=26
Current State: 42:[42, 25, 26], Operations: ['52/2=26']
Exploring Operation: 26-25=1, Resulting Numbers: [42, 1]
Generated Node #3: [42, 1] from Operation: 26-25=1
Current State: 42:[42, 1], Operations: ['52/2=26', '26-25=1']
Exploring Operation: 42*1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[42, 25, 2, 52], Operations: []
Exploring Operation: 52-25=27, Resulting Numbers: [42, 2, 27]
Generated Node #0,0: 42:[42, 2, 27] Operation: 52-25=27
Exploring Operation: 52-42=10, Resulting Numbers: [25, 2, 10]
Generated Node #0,1: 42:[25, 2, 10] Operation: 52-42=10
Moving to Node #0,0
Current State: 42:[42, 2, 27], Operations: ['52-25=27']
Exploring Operation: 42-27=15, Resulting Numbers: [2, 15]
Generated Node #0,0,0: 42:[2, 15] Operation: 42-27=15
Exploring Operation: 27-2=25, Resulting Numbers: [42, 25]
Generated Node #0,0,1: 42:[42, 25] Operation: 27-2=25
Moving to Node #0,1
Current State: 42:[25, 2, 10], Operations: ['52-42=10']
Exploring Operation: 25-10=15, Resulting Numbers: [2, 15]
Generated Node #0,1,0: 42:[2, 15] Operation: 25-10=15
Exploring Operation: 25-2=23, Resulting Numbers: [10, 23]
Generated Node #0,1,1: 42:[10, 23] Operation: 25-2=23
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 42:[2, 15], Operations: ['52-42=10', '25-10=15']
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,42 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 42:[10, 23], Operations: ['52-42=10', '25-2=23']
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,42 unequal: No Solution
Exploring Operation: 10+23=33, Resulting Numbers: [33]
33,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 42:[2, 15], Operations: ['52-25=27', '42-27=15']
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,42 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,42 unequal: No Solution
Moving to Node #0,0,1
Current State: 42:[42, 25], Operations: ['52-25=27', '27-2=25']
Exploring Operation: 42-25=17, Resulting Numbers: [17]
17,42 unequal: No Solution
Exploring Operation: 42+25=67, Resulting Numbers: [67]
67,42 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
11,
51,
99,
61
] | 99 | [
"11+51=62",
"62-61=1",
"99*1=99"
] | Current State: 99:[11, 51, 99, 61], Operations: []
Exploring Operation: 11+51=62, Resulting Numbers: [99, 61, 62]
Generated Node #2: [99, 61, 62] from Operation: 11+51=62
Current State: 99:[99, 61, 62], Operations: ['11+51=62']
Exploring Operation: 62-61=1, Resulting Numbers: [99, 1]
Generated Node #3: [99, 1] from Operation: 62-61=1
Current State: 99:[99, 1], Operations: ['11+51=62', '62-61=1']
Exploring Operation: 99*1=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[11, 51, 99, 61], Operations: []
Exploring Operation: 51+61=112, Resulting Numbers: [11, 99, 112]
Generated Node #0,0: 99:[11, 99, 112] Operation: 51+61=112
Exploring Operation: 61-51=10, Resulting Numbers: [11, 99, 10]
Generated Node #0,1: 99:[11, 99, 10] Operation: 61-51=10
Moving to Node #0,1
Current State: 99:[11, 99, 10], Operations: ['61-51=10']
Exploring Operation: 11-10=1, Resulting Numbers: [99, 1]
Generated Node #0,1,0: 99:[99, 1] Operation: 11-10=1
Exploring Operation: 99/11=9, Resulting Numbers: [10, 9]
Generated Node #0,1,1: 99:[10, 9] Operation: 99/11=9
Moving to Node #0,0
Current State: 99:[11, 99, 112], Operations: ['51+61=112']
Exploring Operation: 112-99=13, Resulting Numbers: [11, 13]
Generated Node #0,0,0: 99:[11, 13] Operation: 112-99=13
Exploring Operation: 112-11=101, Resulting Numbers: [99, 101]
Generated Node #0,0,1: 99:[99, 101] Operation: 112-11=101
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 99:[11, 13], Operations: ['51+61=112', '112-99=13']
Exploring Operation: 11+13=24, Resulting Numbers: [24]
24,99 unequal: No Solution
Exploring Operation: 13-11=2, Resulting Numbers: [2]
2,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 99:[99, 101], Operations: ['51+61=112', '112-11=101']
Exploring Operation: 99+101=200, Resulting Numbers: [200]
200,99 unequal: No Solution
Exploring Operation: 101-99=2, Resulting Numbers: [2]
2,99 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: 99:[10, 9], Operations: ['61-51=10', '99/11=9']
Exploring Operation: 10+9=19, Resulting Numbers: [19]
19,99 unequal: No Solution
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,99 unequal: No Solution
Moving to Node #0,1,0
Current State: 99:[99, 1], Operations: ['61-51=10', '11-10=1']
Exploring Operation: 99*1=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[11, 51, 99, 61], Operations: []
Exploring Operation: 61-51=10, Resulting Numbers: [11, 99, 10]
Generated Node #0,1: 99:[11, 99, 10] Operation: 61-51=10
Moving to Node #0,1
Current State: 99:[11, 99, 10], Operations: ['61-51=10']
Exploring Operation: 11-10=1, Resulting Numbers: [99, 1]
Generated Node #0,1,0: 99:[99, 1] Operation: 11-10=1
Moving to Node #0,1,0
Current State: 99:[99, 1], Operations: ['61-51=10', '11-10=1']
Exploring Operation: 99*1=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 0.985243 | hs_2 | sum_heuristic |
[
87,
61,
37,
50
] | 46 | [
"87+61=148",
"148/37=4",
"50-4=46"
] | Current State: 46:[87, 61, 37, 50], Operations: []
Exploring Operation: 87+61=148, Resulting Numbers: [37, 50, 148]
Generated Node #2: [37, 50, 148] from Operation: 87+61=148
Current State: 46:[37, 50, 148], Operations: ['87+61=148']
Exploring Operation: 148/37=4, Resulting Numbers: [50, 4]
Generated Node #3: [50, 4] from Operation: 148/37=4
Current State: 46:[50, 4], Operations: ['87+61=148', '148/37=4']
Exploring Operation: 50-4=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[87, 61, 37, 50], Operations: []
Exploring Operation: 87-61=26, Resulting Numbers: [37, 50, 26]
Generated Node #0,0: 46:[37, 50, 26] Operation: 87-61=26
Exploring Operation: 87-37=50, Resulting Numbers: [61, 50, 50]
Generated Node #0,1: 46:[61, 50, 50] Operation: 87-37=50
Moving to Node #0,0
Current State: 46:[37, 50, 26], Operations: ['87-61=26']
Exploring Operation: 50-37=13, Resulting Numbers: [26, 13]
Generated Node #0,0,0: 46:[26, 13] Operation: 50-37=13
Exploring Operation: 50-26=24, Resulting Numbers: [37, 24]
Generated Node #0,0,1: 46:[37, 24] Operation: 50-26=24
Moving to Node #0,1
Current State: 46:[61, 50, 50], Operations: ['87-37=50']
Exploring Operation: 61-50=11, Resulting Numbers: [50, 11]
Generated Node #0,1,0: 46:[50, 11] Operation: 61-50=11
Exploring Operation: 61-50=11, Resulting Numbers: [50, 11]
Generated Node #0,1,1: 46:[50, 11] Operation: 61-50=11
Moving to Node #0,0,1
Current State: 46:[37, 24], Operations: ['87-61=26', '50-26=24']
Exploring Operation: 37+24=61, Resulting Numbers: [61]
61,46 unequal: No Solution
Exploring Operation: 37-24=13, Resulting Numbers: [13]
13,46 unequal: No Solution
Moving to Node #0,1,0
Current State: 46:[50, 11], Operations: ['87-37=50', '61-50=11']
Exploring Operation: 50-11=39, Resulting Numbers: [39]
39,46 unequal: No Solution
Exploring Operation: 50+11=61, Resulting Numbers: [61]
61,46 unequal: No Solution
Moving to Node #0,0,0
Current State: 46:[26, 13], Operations: ['87-61=26', '50-37=13']
Exploring Operation: 26+13=39, Resulting Numbers: [39]
39,46 unequal: No Solution
Exploring Operation: 26/13=2, Resulting Numbers: [2]
2,46 unequal: No Solution
Moving to Node #0,1,1
Current State: 46:[50, 11], Operations: ['87-37=50', '61-50=11']
Exploring Operation: 50+11=61, Resulting Numbers: [61]
61,46 unequal: No Solution
Exploring Operation: 50-11=39, Resulting Numbers: [39]
39,46 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
82,
29,
3,
91
] | 23 | [
"82+29=111",
"91-3=88",
"111-88=23"
] | Current State: 23:[82, 29, 3, 91], Operations: []
Exploring Operation: 82+29=111, Resulting Numbers: [3, 91, 111]
Generated Node #2: [3, 91, 111] from Operation: 82+29=111
Current State: 23:[3, 91, 111], Operations: ['82+29=111']
Exploring Operation: 91-3=88, Resulting Numbers: [111, 88]
Generated Node #3: [111, 88] from Operation: 91-3=88
Current State: 23:[111, 88], Operations: ['82+29=111', '91-3=88']
Exploring Operation: 111-88=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[82, 29, 3, 91], Operations: []
Exploring Operation: 82-29=53, Resulting Numbers: [3, 91, 53]
Generated Node #0,0: 23:[3, 91, 53] Operation: 82-29=53
Exploring Operation: 91-82=9, Resulting Numbers: [29, 3, 9]
Generated Node #0,1: 23:[29, 3, 9] Operation: 91-82=9
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[29, 3, 9], Operations: ['91-82=9']
Exploring Operation: 29-3=26, Resulting Numbers: [9, 26]
Generated Node #0,1,0: 23:[9, 26] Operation: 29-3=26
Exploring Operation: 3*9=27, Resulting Numbers: [29, 27]
Generated Node #0,1,1: 23:[29, 27] Operation: 3*9=27
Moving to Node #0,1,1
Current State: 23:[29, 27], Operations: ['91-82=9', '3*9=27']
Exploring Operation: 29-27=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 29+27=56, Resulting Numbers: [56]
56,23 unequal: No Solution
Moving to Node #0,1,0
Current State: 23:[9, 26], Operations: ['91-82=9', '29-3=26']
Exploring Operation: 26-9=17, Resulting Numbers: [17]
17,23 unequal: No Solution
Exploring Operation: 9+26=35, Resulting Numbers: [35]
35,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[3, 91, 53], Operations: ['82-29=53']
Exploring Operation: 91-53=38, Resulting Numbers: [3, 38]
Generated Node #0,0,0: 23:[3, 38] Operation: 91-53=38
Exploring Operation: 91-3=88, Resulting Numbers: [53, 88]
Generated Node #0,0,1: 23:[53, 88] Operation: 91-3=88
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 23:[3, 38], Operations: ['82-29=53', '91-53=38']
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,23 unequal: No Solution
Exploring Operation: 3+38=41, Resulting Numbers: [41]
41,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 23:[53, 88], Operations: ['82-29=53', '91-3=88']
Exploring Operation: 53+88=141, Resulting Numbers: [141]
141,23 unequal: No Solution
Exploring Operation: 88-53=35, Resulting Numbers: [35]
35,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 |
[
37,
16,
56,
20
] | 17 | [
"37+16=53",
"56-20=36",
"53-36=17"
] | Current State: 17:[37, 16, 56, 20], Operations: []
Exploring Operation: 37+16=53, Resulting Numbers: [56, 20, 53]
Generated Node #2: [56, 20, 53] from Operation: 37+16=53
Current State: 17:[56, 20, 53], Operations: ['37+16=53']
Exploring Operation: 56-20=36, Resulting Numbers: [53, 36]
Generated Node #3: [53, 36] from Operation: 56-20=36
Current State: 17:[53, 36], Operations: ['37+16=53', '56-20=36']
Exploring Operation: 53-36=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[37, 16, 56, 20], Operations: []
Exploring Operation: 56-37=19, Resulting Numbers: [16, 20, 19]
Generated Node #0,0: 17:[16, 20, 19] Operation: 56-37=19
Exploring Operation: 37-16=21, Resulting Numbers: [56, 20, 21]
Generated Node #0,1: 17:[56, 20, 21] Operation: 37-16=21
Exploring Operation: 56-20=36, Resulting Numbers: [37, 16, 36]
Generated Node #0,2: 17:[37, 16, 36] Operation: 56-20=36
Exploring Operation: 37-20=17, Resulting Numbers: [16, 56, 17]
Generated Node #0,3: 17:[16, 56, 17] Operation: 37-20=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[16, 20, 19], Operations: ['56-37=19']
Exploring Operation: 20-16=4, Resulting Numbers: [19, 4]
Generated Node #0,0,0: 17:[19, 4] Operation: 20-16=4
Exploring Operation: 20-19=1, Resulting Numbers: [16, 1]
Generated Node #0,0,1: 17:[16, 1] Operation: 20-19=1
Exploring Operation: 16+20=36, Resulting Numbers: [19, 36]
Generated Node #0,0,2: 17:[19, 36] Operation: 16+20=36
Exploring Operation: 19-16=3, Resulting Numbers: [20, 3]
Generated Node #0,0,3: 17:[20, 3] Operation: 19-16=3
Moving to Node #0,0,0
Current State: 17:[19, 4], Operations: ['56-37=19', '20-16=4']
Exploring Operation: 19*4=76, Resulting Numbers: [76]
76,17 unequal: No Solution
Exploring Operation: 19+4=23, Resulting Numbers: [23]
23,17 unequal: No Solution
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,17 unequal: No Solution
Moving to Node #0,0,3
Current State: 17:[20, 3], Operations: ['56-37=19', '19-16=3']
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[37, 16, 56, 20], Operations: []
Exploring Operation: 56-37=19, Resulting Numbers: [16, 20, 19]
Generated Node #0,0: 17:[16, 20, 19] Operation: 56-37=19
Moving to Node #0,0
Current State: 17:[16, 20, 19], Operations: ['56-37=19']
Exploring Operation: 19-16=3, Resulting Numbers: [20, 3]
Generated Node #0,0,3: 17:[20, 3] Operation: 19-16=3
Moving to Node #0,0,3
Current State: 17:[20, 3], Operations: ['56-37=19', '19-16=3']
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
60,
2,
14,
22
] | 26 | [
"60+2=62",
"14+22=36",
"62-36=26"
] | Current State: 26:[60, 2, 14, 22], Operations: []
Exploring Operation: 60+2=62, Resulting Numbers: [14, 22, 62]
Generated Node #2: [14, 22, 62] from Operation: 60+2=62
Current State: 26:[14, 22, 62], Operations: ['60+2=62']
Exploring Operation: 14+22=36, Resulting Numbers: [62, 36]
Generated Node #3: [62, 36] from Operation: 14+22=36
Current State: 26:[62, 36], Operations: ['60+2=62', '14+22=36']
Exploring Operation: 62-36=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[60, 2, 14, 22], Operations: []
Exploring Operation: 60-14=46, Resulting Numbers: [2, 22, 46]
Generated Node #0,0: 26:[2, 22, 46] Operation: 60-14=46
Exploring Operation: 60/2=30, Resulting Numbers: [14, 22, 30]
Generated Node #0,1: 26:[14, 22, 30] Operation: 60/2=30
Exploring Operation: 2+22=24, Resulting Numbers: [60, 14, 24]
Generated Node #0,2: 26:[60, 14, 24] Operation: 2+22=24
Exploring Operation: 60-22=38, Resulting Numbers: [2, 14, 38]
Generated Node #0,3: 26:[2, 14, 38] Operation: 60-22=38
Exploring Operation: 60-2=58, Resulting Numbers: [14, 22, 58]
Generated Node #0,4: 26:[14, 22, 58] Operation: 60-2=58
Start Sub Search at level 1: Moving to Node #0,1
Current State: 26:[14, 22, 30], Operations: ['60/2=30']
Exploring Operation: 30-22=8, Resulting Numbers: [14, 8]
Generated Node #0,1,0: 26:[14, 8] Operation: 30-22=8
Exploring Operation: 14+22=36, Resulting Numbers: [30, 36]
Generated Node #0,1,1: 26:[30, 36] Operation: 14+22=36
Exploring Operation: 14+30=44, Resulting Numbers: [22, 44]
Generated Node #0,1,2: 26:[22, 44] Operation: 14+30=44
Exploring Operation: 30-14=16, Resulting Numbers: [22, 16]
Generated Node #0,1,3: 26:[22, 16] Operation: 30-14=16
Exploring Operation: 22-14=8, Resulting Numbers: [30, 8]
Generated Node #0,1,4: 26:[30, 8] Operation: 22-14=8
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 26:[14, 8], Operations: ['60/2=30', '30-22=8']
Exploring Operation: 14+8=22, Resulting Numbers: [22]
22,26 unequal: No Solution
Exploring Operation: 14*8=112, Resulting Numbers: [112]
112,26 unequal: No Solution
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 26:[22, 16], Operations: ['60/2=30', '30-14=16']
Exploring Operation: 22-16=6, Resulting Numbers: [6]
6,26 unequal: No Solution
Exploring Operation: 22*16=352, Resulting Numbers: [352]
352,26 unequal: No Solution
Exploring Operation: 22+16=38, Resulting Numbers: [38]
38,26 unequal: No Solution
No 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: 26:[30, 8], Operations: ['60/2=30', '22-14=8']
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,26 unequal: No Solution
Exploring Operation: 30*8=240, Resulting Numbers: [240]
240,26 unequal: No Solution
Exploring Operation: 30+8=38, Resulting Numbers: [38]
38,26 unequal: No Solution
No 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: 26:[30, 36], Operations: ['60/2=30', '14+22=36']
Exploring Operation: 36-30=6, Resulting Numbers: [6]
6,26 unequal: No Solution
Exploring Operation: 30*36=1080, Resulting Numbers: [1080]
1080,26 unequal: No Solution
Exploring Operation: 30+36=66, Resulting Numbers: [66]
66,26 unequal: No Solution
No 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: 26:[22, 44], Operations: ['60/2=30', '14+30=44']
Exploring Operation: 22+44=66, Resulting Numbers: [66]
66,26 unequal: No Solution
Exploring Operation: 22*44=968, Resulting Numbers: [968]
968,26 unequal: No Solution
Exploring Operation: 44/22=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Exploring Operation: 44-22=22, Resulting Numbers: [22]
22,26 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: 26:[2, 14, 38], Operations: ['60-22=38']
Exploring Operation: 38-14=24, Resulting Numbers: [2, 24]
Generated Node #0,3,0: 26:[2, 24] Operation: 38-14=24
Exploring Operation: 38/2=19, Resulting Numbers: [14, 19]
Generated Node #0,3,1: 26:[14, 19] Operation: 38/2=19
Exploring Operation: 38-2=36, Resulting Numbers: [14, 36]
Generated Node #0,3,2: 26:[14, 36] Operation: 38-2=36
Exploring Operation: 2*14=28, Resulting Numbers: [38, 28]
Generated Node #0,3,3: 26:[38, 28] Operation: 2*14=28
Exploring Operation: 14-2=12, Resulting Numbers: [38, 12]
Generated Node #0,3,4: 26:[38, 12] Operation: 14-2=12
Moving to Node #0,3,0
Current State: 26:[2, 24], Operations: ['60-22=38', '38-14=24']
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,26 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,26 unequal: No Solution
Exploring Operation: 2*24=48, Resulting Numbers: [48]
48,26 unequal: No Solution
Exploring Operation: 2+24=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[60, 2, 14, 22], Operations: []
Exploring Operation: 60-22=38, Resulting Numbers: [2, 14, 38]
Generated Node #0,3: 26:[2, 14, 38] Operation: 60-22=38
Moving to Node #0,3
Current State: 26:[2, 14, 38], Operations: ['60-22=38']
Exploring Operation: 38-14=24, Resulting Numbers: [2, 24]
Generated Node #0,3,0: 26:[2, 24] Operation: 38-14=24
Moving to Node #0,3,0
Current State: 26:[2, 24], Operations: ['60-22=38', '38-14=24']
Exploring Operation: 2+24=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.966146 | hs_5 | mult_heuristic |
[
41,
3,
16,
97
] | 37 | [
"41+3=44",
"97-16=81",
"81-44=37"
] | Current State: 37:[41, 3, 16, 97], Operations: []
Exploring Operation: 41+3=44, Resulting Numbers: [16, 97, 44]
Generated Node #2: [16, 97, 44] from Operation: 41+3=44
Current State: 37:[16, 97, 44], Operations: ['41+3=44']
Exploring Operation: 97-16=81, Resulting Numbers: [44, 81]
Generated Node #3: [44, 81] from Operation: 97-16=81
Current State: 37:[44, 81], Operations: ['41+3=44', '97-16=81']
Exploring Operation: 81-44=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[41, 3, 16, 97], Operations: []
Exploring Operation: 41-3=38, Resulting Numbers: [16, 97, 38]
Generated Node #0,0: 37:[16, 97, 38] Operation: 41-3=38
Exploring Operation: 3+16=19, Resulting Numbers: [41, 97, 19]
Generated Node #0,1: 37:[41, 97, 19] Operation: 3+16=19
Exploring Operation: 3*16=48, Resulting Numbers: [41, 97, 48]
Generated Node #0,2: 37:[41, 97, 48] Operation: 3*16=48
Exploring Operation: 97-41=56, Resulting Numbers: [3, 16, 56]
Generated Node #0,3: 37:[3, 16, 56] Operation: 97-41=56
Moving to Node #0,3
Current State: 37:[3, 16, 56], Operations: ['97-41=56']
Exploring Operation: 3+16=19, Resulting Numbers: [56, 19]
Generated Node #0,3,0: 37:[56, 19] Operation: 3+16=19
Exploring Operation: 56-3=53, Resulting Numbers: [16, 53]
Generated Node #0,3,1: 37:[16, 53] Operation: 56-3=53
Exploring Operation: 3*16=48, Resulting Numbers: [56, 48]
Generated Node #0,3,2: 37:[56, 48] Operation: 3*16=48
Exploring Operation: 56-16=40, Resulting Numbers: [3, 40]
Generated Node #0,3,3: 37:[3, 40] Operation: 56-16=40
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 37:[56, 48], Operations: ['97-41=56', '3*16=48']
Exploring Operation: 56+48=104, Resulting Numbers: [104]
104,37 unequal: No Solution
Exploring Operation: 56*48=2688, Resulting Numbers: [2688]
2688,37 unequal: No Solution
Exploring Operation: 56-48=8, Resulting Numbers: [8]
8,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 37:[56, 19], Operations: ['97-41=56', '3+16=19']
Exploring Operation: 56+19=75, Resulting Numbers: [75]
75,37 unequal: No Solution
Exploring Operation: 56-19=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[41, 3, 16, 97], Operations: []
Exploring Operation: 97-41=56, Resulting Numbers: [3, 16, 56]
Generated Node #0,3: 37:[3, 16, 56] Operation: 97-41=56
Moving to Node #0,3
Current State: 37:[3, 16, 56], Operations: ['97-41=56']
Exploring Operation: 3+16=19, Resulting Numbers: [56, 19]
Generated Node #0,3,0: 37:[56, 19] Operation: 3+16=19
Moving to Node #0,3,0
Current State: 37:[56, 19], Operations: ['97-41=56', '3+16=19']
Exploring Operation: 56-19=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
96,
91,
94,
71
] | 75 | [
"96-71=25",
"94-91=3",
"25*3=75"
] | Current State: 75:[96, 91, 94, 71], Operations: []
Exploring Operation: 96-71=25, Resulting Numbers: [91, 94, 25]
Generated Node #2: [91, 94, 25] from Operation: 96-71=25
Current State: 75:[91, 94, 25], Operations: ['96-71=25']
Exploring Operation: 94-91=3, Resulting Numbers: [25, 3]
Generated Node #3: [25, 3] from Operation: 94-91=3
Current State: 75:[25, 3], Operations: ['96-71=25', '94-91=3']
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[96, 91, 94, 71], Operations: []
Exploring Operation: 94-91=3, Resulting Numbers: [96, 71, 3]
Generated Node #0,0: 75:[96, 71, 3] Operation: 94-91=3
Exploring Operation: 96-91=5, Resulting Numbers: [94, 71, 5]
Generated Node #0,1: 75:[94, 71, 5] Operation: 96-91=5
Exploring Operation: 96-94=2, Resulting Numbers: [91, 71, 2]
Generated Node #0,2: 75:[91, 71, 2] Operation: 96-94=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 75:[91, 71, 2], Operations: ['96-94=2']
Exploring Operation: 71+2=73, Resulting Numbers: [91, 73]
Generated Node #0,2,0: 75:[91, 73] Operation: 71+2=73
Exploring Operation: 91-71=20, Resulting Numbers: [2, 20]
Generated Node #0,2,1: 75:[2, 20] Operation: 91-71=20
Exploring Operation: 91-2=89, Resulting Numbers: [71, 89]
Generated Node #0,2,2: 75:[71, 89] Operation: 91-2=89
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 75:[2, 20], Operations: ['96-94=2', '91-71=20']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,75 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,75 unequal: No Solution
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,75 unequal: No Solution
No 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: 75:[91, 73], Operations: ['96-94=2', '71+2=73']
Exploring Operation: 91+73=164, Resulting Numbers: [164]
164,75 unequal: No Solution
Exploring Operation: 91*73=6643, Resulting Numbers: [6643]
6643,75 unequal: No Solution
Exploring Operation: 91-73=18, Resulting Numbers: [18]
18,75 unequal: No Solution
No 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: 75:[71, 89], Operations: ['96-94=2', '91-2=89']
Exploring Operation: 71+89=160, Resulting Numbers: [160]
160,75 unequal: No Solution
Exploring Operation: 89-71=18, Resulting Numbers: [18]
18,75 unequal: No Solution
Exploring Operation: 71*89=6319, Resulting Numbers: [6319]
6319,75 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: 75:[94, 71, 5], Operations: ['96-91=5']
Exploring Operation: 94-71=23, Resulting Numbers: [5, 23]
Generated Node #0,1,0: 75:[5, 23] Operation: 94-71=23
Exploring Operation: 71+5=76, Resulting Numbers: [94, 76]
Generated Node #0,1,1: 75:[94, 76] Operation: 71+5=76
Exploring Operation: 94-5=89, Resulting Numbers: [71, 89]
Generated Node #0,1,2: 75:[71, 89] Operation: 94-5=89
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 75:[5, 23], Operations: ['96-91=5', '94-71=23']
Exploring Operation: 5*23=115, Resulting Numbers: [115]
115,75 unequal: No Solution
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,75 unequal: No Solution
Exploring Operation: 5+23=28, Resulting Numbers: [28]
28,75 unequal: No Solution
No 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: 75:[71, 89], Operations: ['96-91=5', '94-5=89']
Exploring Operation: 89-71=18, Resulting Numbers: [18]
18,75 unequal: No Solution
Exploring Operation: 71*89=6319, Resulting Numbers: [6319]
6319,75 unequal: No Solution
Exploring Operation: 71+89=160, Resulting Numbers: [160]
160,75 unequal: No Solution
No 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: 75:[94, 76], Operations: ['96-91=5', '71+5=76']
Exploring Operation: 94+76=170, Resulting Numbers: [170]
170,75 unequal: No Solution
Exploring Operation: 94*76=7144, Resulting Numbers: [7144]
7144,75 unequal: No Solution
Exploring Operation: 94-76=18, Resulting Numbers: [18]
18,75 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: 75:[96, 71, 3], Operations: ['94-91=3']
Exploring Operation: 96-3=93, Resulting Numbers: [71, 93]
Generated Node #0,0,0: 75:[71, 93] Operation: 96-3=93
Exploring Operation: 96-71=25, Resulting Numbers: [3, 25]
Generated Node #0,0,1: 75:[3, 25] Operation: 96-71=25
Exploring Operation: 96/3=32, Resulting Numbers: [71, 32]
Generated Node #0,0,2: 75:[71, 32] Operation: 96/3=32
Moving to Node #0,0,1
Current State: 75:[3, 25], Operations: ['94-91=3', '96-71=25']
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,75 unequal: No Solution
Exploring Operation: 3+25=28, Resulting Numbers: [28]
28,75 unequal: No Solution
Exploring Operation: 3*25=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[96, 91, 94, 71], Operations: []
Exploring Operation: 94-91=3, Resulting Numbers: [96, 71, 3]
Generated Node #0,0: 75:[96, 71, 3] Operation: 94-91=3
Moving to Node #0,0
Current State: 75:[96, 71, 3], Operations: ['94-91=3']
Exploring Operation: 96-71=25, Resulting Numbers: [3, 25]
Generated Node #0,0,1: 75:[3, 25] Operation: 96-71=25
Moving to Node #0,0,1
Current State: 75:[3, 25], Operations: ['94-91=3', '96-71=25']
Exploring Operation: 3*25=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_3 | mult_heuristic |
[
46,
20,
81,
44
] | 29 | [
"46+20=66",
"81-44=37",
"66-37=29"
] | Current State: 29:[46, 20, 81, 44], Operations: []
Exploring Operation: 46+20=66, Resulting Numbers: [81, 44, 66]
Generated Node #2: [81, 44, 66] from Operation: 46+20=66
Current State: 29:[81, 44, 66], Operations: ['46+20=66']
Exploring Operation: 81-44=37, Resulting Numbers: [66, 37]
Generated Node #3: [66, 37] from Operation: 81-44=37
Current State: 29:[66, 37], Operations: ['46+20=66', '81-44=37']
Exploring Operation: 66-37=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[46, 20, 81, 44], Operations: []
Exploring Operation: 81-44=37, Resulting Numbers: [46, 20, 37]
Generated Node #0,0: 29:[46, 20, 37] Operation: 81-44=37
Exploring Operation: 81-46=35, Resulting Numbers: [20, 44, 35]
Generated Node #0,1: 29:[20, 44, 35] Operation: 81-46=35
Exploring Operation: 81-20=61, Resulting Numbers: [46, 44, 61]
Generated Node #0,2: 29:[46, 44, 61] Operation: 81-20=61
Moving to Node #0,1
Current State: 29:[20, 44, 35], Operations: ['81-46=35']
Exploring Operation: 35-20=15, Resulting Numbers: [44, 15]
Generated Node #0,1,0: 29:[44, 15] Operation: 35-20=15
Exploring Operation: 44-20=24, Resulting Numbers: [35, 24]
Generated Node #0,1,1: 29:[35, 24] Operation: 44-20=24
Exploring Operation: 44-35=9, Resulting Numbers: [20, 9]
Generated Node #0,1,2: 29:[20, 9] Operation: 44-35=9
Moving to Node #0,0
Current State: 29:[46, 20, 37], Operations: ['81-44=37']
Exploring Operation: 46-37=9, Resulting Numbers: [20, 9]
Generated Node #0,0,0: 29:[20, 9] Operation: 46-37=9
Exploring Operation: 46-20=26, Resulting Numbers: [37, 26]
Generated Node #0,0,1: 29:[37, 26] Operation: 46-20=26
Exploring Operation: 37-20=17, Resulting Numbers: [46, 17]
Generated Node #0,0,2: 29:[46, 17] Operation: 37-20=17
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 29:[37, 26], Operations: ['81-44=37', '46-20=26']
Exploring Operation: 37*26=962, Resulting Numbers: [962]
962,29 unequal: No Solution
Exploring Operation: 37+26=63, Resulting Numbers: [63]
63,29 unequal: No Solution
Exploring Operation: 37-26=11, Resulting Numbers: [11]
11,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 29:[20, 9], Operations: ['81-44=37', '46-37=9']
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,29 unequal: No Solution
Exploring Operation: 20*9=180, Resulting Numbers: [180]
180,29 unequal: No Solution
Exploring Operation: 20+9=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[46, 20, 81, 44], Operations: []
Exploring Operation: 81-44=37, Resulting Numbers: [46, 20, 37]
Generated Node #0,0: 29:[46, 20, 37] Operation: 81-44=37
Moving to Node #0,0
Current State: 29:[46, 20, 37], Operations: ['81-44=37']
Exploring Operation: 46-37=9, Resulting Numbers: [20, 9]
Generated Node #0,0,0: 29:[20, 9] Operation: 46-37=9
Moving to Node #0,0,0
Current State: 29:[20, 9], Operations: ['81-44=37', '46-37=9']
Exploring Operation: 20+9=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | sum_heuristic |
[
59,
24,
16,
16
] | 51 | [
"59+24=83",
"16+16=32",
"83-32=51"
] | Current State: 51:[59, 24, 16, 16], Operations: []
Exploring Operation: 59+24=83, Resulting Numbers: [16, 16, 83]
Generated Node #2: [16, 16, 83] from Operation: 59+24=83
Current State: 51:[16, 16, 83], Operations: ['59+24=83']
Exploring Operation: 16+16=32, Resulting Numbers: [83, 32]
Generated Node #3: [83, 32] from Operation: 16+16=32
Current State: 51:[83, 32], Operations: ['59+24=83', '16+16=32']
Exploring Operation: 83-32=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[59, 24, 16, 16], Operations: []
Exploring Operation: 59-16=43, Resulting Numbers: [24, 16, 43]
Generated Node #0,0: 51:[24, 16, 43] Operation: 59-16=43
Exploring Operation: 24-16=8, Resulting Numbers: [59, 16, 8]
Generated Node #0,1: 51:[59, 16, 8] Operation: 24-16=8
Exploring Operation: 59-16=43, Resulting Numbers: [24, 16, 43]
Generated Node #0,2: 51:[24, 16, 43] Operation: 59-16=43
Exploring Operation: 24-16=8, Resulting Numbers: [59, 16, 8]
Generated Node #0,3: 51:[59, 16, 8] Operation: 24-16=8
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[59, 16, 8], Operations: ['24-16=8']
Exploring Operation: 16-8=8, Resulting Numbers: [59, 8]
Generated Node #0,1,0: 51:[59, 8] Operation: 16-8=8
Exploring Operation: 59-8=51, Resulting Numbers: [16, 51]
Generated Node #0,1,1: 51:[16, 51] Operation: 59-8=51
Exploring Operation: 16/8=2, Resulting Numbers: [59, 2]
Generated Node #0,1,2: 51:[59, 2] Operation: 16/8=2
Exploring Operation: 59-16=43, Resulting Numbers: [8, 43]
Generated Node #0,1,3: 51:[8, 43] Operation: 59-16=43
Moving to Node #0,1,1
Current State: 51:[16, 51], Operations: ['24-16=8', '59-8=51']
Exploring Operation: 51-16=35, Resulting Numbers: [35]
35,51 unequal: No Solution
Exploring Operation: 16*51=816, Resulting Numbers: [816]
816,51 unequal: No Solution
Exploring Operation: 16+51=67, Resulting Numbers: [67]
67,51 unequal: No Solution
Moving to Node #0,1,2
Current State: 51:[59, 2], Operations: ['24-16=8', '16/8=2']
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,51 unequal: No Solution
Exploring Operation: 59*2=118, Resulting Numbers: [118]
118,51 unequal: No Solution
Exploring Operation: 59+2=61, Resulting Numbers: [61]
61,51 unequal: No Solution
Moving to Node #0,1,3
Current State: 51:[8, 43], Operations: ['24-16=8', '59-16=43']
Exploring Operation: 8*43=344, Resulting Numbers: [344]
344,51 unequal: No Solution
Exploring Operation: 43-8=35, Resulting Numbers: [35]
35,51 unequal: No Solution
Exploring Operation: 8+43=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[59, 24, 16, 16], Operations: []
Exploring Operation: 24-16=8, Resulting Numbers: [59, 16, 8]
Generated Node #0,1: 51:[59, 16, 8] Operation: 24-16=8
Moving to Node #0,1
Current State: 51:[59, 16, 8], Operations: ['24-16=8']
Exploring Operation: 59-16=43, Resulting Numbers: [8, 43]
Generated Node #0,1,3: 51:[8, 43] Operation: 59-16=43
Moving to Node #0,1,3
Current State: 51:[8, 43], Operations: ['24-16=8', '59-16=43']
Exploring Operation: 8+43=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_4 | mult_heuristic |
[
32,
20,
68,
83
] | 78 | [
"32+68=100",
"100/20=5",
"83-5=78"
] | Current State: 78:[32, 20, 68, 83], Operations: []
Exploring Operation: 32+68=100, Resulting Numbers: [20, 83, 100]
Generated Node #2: [20, 83, 100] from Operation: 32+68=100
Current State: 78:[20, 83, 100], Operations: ['32+68=100']
Exploring Operation: 100/20=5, Resulting Numbers: [83, 5]
Generated Node #3: [83, 5] from Operation: 100/20=5
Current State: 78:[83, 5], Operations: ['32+68=100', '100/20=5']
Exploring Operation: 83-5=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[32, 20, 68, 83], Operations: []
Exploring Operation: 68-32=36, Resulting Numbers: [20, 83, 36]
Generated Node #0,0: 78:[20, 83, 36] Operation: 68-32=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[20, 83, 36], Operations: ['68-32=36']
Exploring Operation: 36-20=16, Resulting Numbers: [83, 16]
Generated Node #0,0,0: 78:[83, 16] Operation: 36-20=16
Moving to Node #0,0,0
Current State: 78:[83, 16], Operations: ['68-32=36', '36-20=16']
Exploring Operation: 83-16=67, Resulting Numbers: [67]
67,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
77,
8,
34,
62
] | 27 | [
"77-8=69",
"34+62=96",
"96-69=27"
] | Current State: 27:[77, 8, 34, 62], Operations: []
Exploring Operation: 77-8=69, Resulting Numbers: [34, 62, 69]
Generated Node #2: [34, 62, 69] from Operation: 77-8=69
Current State: 27:[34, 62, 69], Operations: ['77-8=69']
Exploring Operation: 34+62=96, Resulting Numbers: [69, 96]
Generated Node #3: [69, 96] from Operation: 34+62=96
Current State: 27:[69, 96], Operations: ['77-8=69', '34+62=96']
Exploring Operation: 96-69=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[77, 8, 34, 62], Operations: []
Exploring Operation: 77-34=43, Resulting Numbers: [8, 62, 43]
Generated Node #0,0: 27:[8, 62, 43] Operation: 77-34=43
Exploring Operation: 77-62=15, Resulting Numbers: [8, 34, 15]
Generated Node #0,1: 27:[8, 34, 15] Operation: 77-62=15
Start Sub Search at level 1: Moving to Node #0,1
Current State: 27:[8, 34, 15], Operations: ['77-62=15']
Exploring Operation: 34-8=26, Resulting Numbers: [15, 26]
Generated Node #0,1,0: 27:[15, 26] Operation: 34-8=26
Exploring Operation: 15-8=7, Resulting Numbers: [34, 7]
Generated Node #0,1,1: 27:[34, 7] Operation: 15-8=7
Moving to Node #0,1,0
Current State: 27:[15, 26], Operations: ['77-62=15', '34-8=26']
Exploring Operation: 15+26=41, Resulting Numbers: [41]
41,27 unequal: No Solution
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,27 unequal: No Solution
Moving to Node #0,1,1
Current State: 27:[34, 7], Operations: ['77-62=15', '15-8=7']
Exploring Operation: 34+7=41, Resulting Numbers: [41]
41,27 unequal: No Solution
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[77, 8, 34, 62], Operations: []
Exploring Operation: 77-62=15, Resulting Numbers: [8, 34, 15]
Generated Node #0,1: 27:[8, 34, 15] Operation: 77-62=15
Moving to Node #0,1
Current State: 27:[8, 34, 15], Operations: ['77-62=15']
Exploring Operation: 15-8=7, Resulting Numbers: [34, 7]
Generated Node #0,1,1: 27:[34, 7] Operation: 15-8=7
Moving to Node #0,1,1
Current State: 27:[34, 7], Operations: ['77-62=15', '15-8=7']
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
14,
14,
83,
21
] | 85 | [
"21-14=7",
"14/7=2",
"83+2=85"
] | Current State: 85:[14, 14, 83, 21], Operations: []
Exploring Operation: 21-14=7, Resulting Numbers: [83, 7]
Generated Node #2: [83, 7] from Operation: 21-14=7
Current State: 85:[83, 7], Operations: ['21-14=7']
Exploring Operation: 14/7=2, Resulting Numbers: [83, 2]
Generated Node #3: [83, 2] from Operation: 14/7=2
Current State: 85:[83, 2], Operations: ['21-14=7', '14/7=2']
Exploring Operation: 83+2=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[14, 14, 83, 21], Operations: []
Exploring Operation: 21-14=7, Resulting Numbers: [14, 83, 7]
Generated Node #0,0: 85:[14, 83, 7] Operation: 21-14=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[14, 83, 7], Operations: ['21-14=7']
Exploring Operation: 14-7=7, Resulting Numbers: [83, 7]
Generated Node #0,0,0: 85:[83, 7] Operation: 14-7=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 85:[83, 7], Operations: ['21-14=7', '14-7=7']
Exploring Operation: 83+7=90, Resulting Numbers: [90]
90,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
37,
95,
25,
15
] | 98 | [
"95-37=58",
"25+15=40",
"58+40=98"
] | Current State: 98:[37, 95, 25, 15], Operations: []
Exploring Operation: 95-37=58, Resulting Numbers: [25, 15, 58]
Generated Node #2: [25, 15, 58] from Operation: 95-37=58
Current State: 98:[25, 15, 58], Operations: ['95-37=58']
Exploring Operation: 25+15=40, Resulting Numbers: [58, 40]
Generated Node #3: [58, 40] from Operation: 25+15=40
Current State: 98:[58, 40], Operations: ['95-37=58', '25+15=40']
Exploring Operation: 58+40=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[37, 95, 25, 15], Operations: []
Exploring Operation: 37-25=12, Resulting Numbers: [95, 15, 12]
Generated Node #0,0: 98:[95, 15, 12] Operation: 37-25=12
Exploring Operation: 37+25=62, Resulting Numbers: [95, 15, 62]
Generated Node #0,1: 98:[95, 15, 62] Operation: 37+25=62
Exploring Operation: 25-15=10, Resulting Numbers: [37, 95, 10]
Generated Node #0,2: 98:[37, 95, 10] Operation: 25-15=10
Exploring Operation: 37+15=52, Resulting Numbers: [95, 25, 52]
Generated Node #0,3: 98:[95, 25, 52] Operation: 37+15=52
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[95, 15, 12], Operations: ['37-25=12']
Exploring Operation: 15-12=3, Resulting Numbers: [95, 3]
Generated Node #0,0,0: 98:[95, 3] Operation: 15-12=3
Exploring Operation: 95+15=110, Resulting Numbers: [12, 110]
Generated Node #0,0,1: 98:[12, 110] Operation: 95+15=110
Exploring Operation: 95-12=83, Resulting Numbers: [15, 83]
Generated Node #0,0,2: 98:[15, 83] Operation: 95-12=83
Exploring Operation: 95+12=107, Resulting Numbers: [15, 107]
Generated Node #0,0,3: 98:[15, 107] Operation: 95+12=107
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 98:[95, 3], Operations: ['37-25=12', '15-12=3']
Exploring Operation: 95-3=92, Resulting Numbers: [92]
92,98 unequal: No Solution
Exploring Operation: 95+3=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[37, 95, 25, 15], Operations: []
Exploring Operation: 37-25=12, Resulting Numbers: [95, 15, 12]
Generated Node #0,0: 98:[95, 15, 12] Operation: 37-25=12
Moving to Node #0,0
Current State: 98:[95, 15, 12], Operations: ['37-25=12']
Exploring Operation: 15-12=3, Resulting Numbers: [95, 3]
Generated Node #0,0,0: 98:[95, 3] Operation: 15-12=3
Moving to Node #0,0,0
Current State: 98:[95, 3], Operations: ['37-25=12', '15-12=3']
Exploring Operation: 95+3=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
91,
6,
93,
10
] | 26 | [
"93-91=2",
"10*2=20",
"6+20=26"
] | Current State: 26:[91, 6, 93, 10], Operations: []
Exploring Operation: 93-91=2, Resulting Numbers: [6, 10, 2]
Generated Node #2: [6, 10, 2] from Operation: 93-91=2
Current State: 26:[6, 10, 2], Operations: ['93-91=2']
Exploring Operation: 10*2=20, Resulting Numbers: [6, 20]
Generated Node #3: [6, 20] from Operation: 10*2=20
Current State: 26:[6, 20], Operations: ['93-91=2', '10*2=20']
Exploring Operation: 6+20=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[91, 6, 93, 10], Operations: []
Exploring Operation: 93-91=2, Resulting Numbers: [6, 10, 2]
Generated Node #0,0: 26:[6, 10, 2] Operation: 93-91=2
Moving to Node #0,0
Current State: 26:[6, 10, 2], Operations: ['93-91=2']
Exploring Operation: 10-6=4, Resulting Numbers: [2, 4]
Generated Node #0,0,0: 26:[2, 4] Operation: 10-6=4
Moving to Node #0,0,0
Current State: 26:[2, 4], Operations: ['93-91=2', '10-6=4']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,26 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
33,
97,
34,
42
] | 72 | [
"97-33=64",
"42-34=8",
"64+8=72"
] | Current State: 72:[33, 97, 34, 42], Operations: []
Exploring Operation: 97-33=64, Resulting Numbers: [34, 42, 64]
Generated Node #2: [34, 42, 64] from Operation: 97-33=64
Current State: 72:[34, 42, 64], Operations: ['97-33=64']
Exploring Operation: 42-34=8, Resulting Numbers: [64, 8]
Generated Node #3: [64, 8] from Operation: 42-34=8
Current State: 72:[64, 8], Operations: ['97-33=64', '42-34=8']
Exploring Operation: 64+8=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[33, 97, 34, 42], Operations: []
Exploring Operation: 97-33=64, Resulting Numbers: [34, 42, 64]
Generated Node #0,0: 72:[34, 42, 64] Operation: 97-33=64
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[34, 42, 64], Operations: ['97-33=64']
Exploring Operation: 64-42=22, Resulting Numbers: [34, 22]
Generated Node #0,0,0: 72:[34, 22] Operation: 64-42=22
Moving to Node #0,0,0
Current State: 72:[34, 22], Operations: ['97-33=64', '64-42=22']
Exploring Operation: 34-22=12, Resulting Numbers: [12]
12,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
89,
96,
72,
8
] | 86 | [
"96-72=24",
"24/8=3",
"89-3=86"
] | Current State: 86:[89, 96, 72, 8], Operations: []
Exploring Operation: 96-72=24, Resulting Numbers: [89, 8, 24]
Generated Node #2: [89, 8, 24] from Operation: 96-72=24
Current State: 86:[89, 8, 24], Operations: ['96-72=24']
Exploring Operation: 24/8=3, Resulting Numbers: [89, 3]
Generated Node #3: [89, 3] from Operation: 24/8=3
Current State: 86:[89, 3], Operations: ['96-72=24', '24/8=3']
Exploring Operation: 89-3=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[89, 96, 72, 8], Operations: []
Exploring Operation: 72/8=9, Resulting Numbers: [89, 96, 9]
Generated Node #0,0: 86:[89, 96, 9] Operation: 72/8=9
Exploring Operation: 96-8=88, Resulting Numbers: [89, 72, 88]
Generated Node #0,1: 86:[89, 72, 88] Operation: 96-8=88
Exploring Operation: 72+8=80, Resulting Numbers: [89, 96, 80]
Generated Node #0,2: 86:[89, 96, 80] Operation: 72+8=80
Exploring Operation: 96-89=7, Resulting Numbers: [72, 8, 7]
Generated Node #0,3: 86:[72, 8, 7] Operation: 96-89=7
Moving to Node #0,1
Current State: 86:[89, 72, 88], Operations: ['96-8=88']
Exploring Operation: 89-72=17, Resulting Numbers: [88, 17]
Generated Node #0,1,0: 86:[88, 17] Operation: 89-72=17
Exploring Operation: 89+72=161, Resulting Numbers: [88, 161]
Generated Node #0,1,1: 86:[88, 161] Operation: 89+72=161
Exploring Operation: 88-72=16, Resulting Numbers: [89, 16]
Generated Node #0,1,2: 86:[89, 16] Operation: 88-72=16
Exploring Operation: 89-88=1, Resulting Numbers: [72, 1]
Generated Node #0,1,3: 86:[72, 1] Operation: 89-88=1
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 86:[72, 1], Operations: ['96-8=88', '89-88=1']
Exploring Operation: 72-1=71, Resulting Numbers: [71]
71,86 unequal: No Solution
Exploring Operation: 72*1=72, Resulting Numbers: [72]
72,86 unequal: No Solution
Exploring Operation: 72+1=73, Resulting Numbers: [73]
73,86 unequal: No Solution
Exploring Operation: 72/1=72, Resulting Numbers: [72]
72,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,1,0
Current State: 86:[88, 17], Operations: ['96-8=88', '89-72=17']
Exploring Operation: 88+17=105, Resulting Numbers: [105]
105,86 unequal: No Solution
Exploring Operation: 88-17=71, Resulting Numbers: [71]
71,86 unequal: No Solution
Exploring Operation: 88*17=1496, Resulting Numbers: [1496]
1496,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,1,2
Current State: 86:[89, 16], Operations: ['96-8=88', '88-72=16']
Exploring Operation: 89*16=1424, Resulting Numbers: [1424]
1424,86 unequal: No Solution
Exploring Operation: 89+16=105, Resulting Numbers: [105]
105,86 unequal: No Solution
Exploring Operation: 89-16=73, Resulting Numbers: [73]
73,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,1,1
Current State: 86:[88, 161], Operations: ['96-8=88', '89+72=161']
Exploring Operation: 88+161=249, Resulting Numbers: [249]
249,86 unequal: No Solution
Exploring Operation: 161-88=73, Resulting Numbers: [73]
73,86 unequal: No Solution
Exploring Operation: 88*161=14168, Resulting Numbers: [14168]
14168,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:[89, 96, 80], Operations: ['72+8=80']
Exploring Operation: 96-80=16, Resulting Numbers: [89, 16]
Generated Node #0,2,0: 86:[89, 16] Operation: 96-80=16
Exploring Operation: 89+80=169, Resulting Numbers: [96, 169]
Generated Node #0,2,1: 86:[96, 169] Operation: 89+80=169
Exploring Operation: 89-80=9, Resulting Numbers: [96, 9]
Generated Node #0,2,2: 86:[96, 9] Operation: 89-80=9
Exploring Operation: 96-89=7, Resulting Numbers: [80, 7]
Generated Node #0,2,3: 86:[80, 7] Operation: 96-89=7
Moving to Node #0,0
Current State: 86:[89, 96, 9], Operations: ['72/8=9']
Exploring Operation: 96-89=7, Resulting Numbers: [9, 7]
Generated Node #0,0,0: 86:[9, 7] Operation: 96-89=7
Exploring Operation: 89+9=98, Resulting Numbers: [96, 98]
Generated Node #0,0,1: 86:[96, 98] Operation: 89+9=98
Exploring Operation: 89-9=80, Resulting Numbers: [96, 80]
Generated Node #0,0,2: 86:[96, 80] Operation: 89-9=80
Exploring Operation: 96-9=87, Resulting Numbers: [89, 87]
Generated Node #0,0,3: 86:[89, 87] Operation: 96-9=87
Moving to Node #0,3
Current State: 86:[72, 8, 7], Operations: ['96-89=7']
Exploring Operation: 72/8=9, Resulting Numbers: [7, 9]
Generated Node #0,3,0: 86:[7, 9] Operation: 72/8=9
Exploring Operation: 72+7=79, Resulting Numbers: [8, 79]
Generated Node #0,3,1: 86:[8, 79] Operation: 72+7=79
Exploring Operation: 72+8=80, Resulting Numbers: [7, 80]
Generated Node #0,3,2: 86:[7, 80] Operation: 72+8=80
Exploring Operation: 8-7=1, Resulting Numbers: [72, 1]
Generated Node #0,3,3: 86:[72, 1] Operation: 8-7=1
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 86:[7, 80], Operations: ['96-89=7', '72+8=80']
Exploring Operation: 7+80=87, Resulting Numbers: [87]
87,86 unequal: No Solution
Exploring Operation: 7*80=560, Resulting Numbers: [560]
560,86 unequal: No Solution
Exploring Operation: 80-7=73, Resulting Numbers: [73]
73,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,3,0
Current State: 86:[7, 9], Operations: ['96-89=7', '72/8=9']
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,86 unequal: No Solution
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,86 unequal: No Solution
Exploring Operation: 7+9=16, Resulting Numbers: [16]
16,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,3,1
Current State: 86:[8, 79], Operations: ['96-89=7', '72+7=79']
Exploring Operation: 8*79=632, Resulting Numbers: [632]
632,86 unequal: No Solution
Exploring Operation: 79-8=71, Resulting Numbers: [71]
71,86 unequal: No Solution
Exploring Operation: 8+79=87, Resulting Numbers: [87]
87,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,3,3
Current State: 86:[72, 1], Operations: ['96-89=7', '8-7=1']
Exploring Operation: 72+1=73, Resulting Numbers: [73]
73,86 unequal: No Solution
Exploring Operation: 72/1=72, Resulting Numbers: [72]
72,86 unequal: No Solution
Exploring Operation: 72-1=71, Resulting Numbers: [71]
71,86 unequal: No Solution
Exploring Operation: 72*1=72, Resulting Numbers: [72]
72,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,3
Current State: 86:[89, 87], Operations: ['72/8=9', '96-9=87']
Exploring Operation: 89+87=176, Resulting Numbers: [176]
176,86 unequal: No Solution
Exploring Operation: 89*87=7743, Resulting Numbers: [7743]
7743,86 unequal: No Solution
Exploring Operation: 89-87=2, Resulting Numbers: [2]
2,86 unequal: No Solution
Moving to Node #0,2,3
Current State: 86:[80, 7], Operations: ['72+8=80', '96-89=7']
Exploring Operation: 80*7=560, Resulting Numbers: [560]
560,86 unequal: No Solution
Exploring Operation: 80-7=73, Resulting Numbers: [73]
73,86 unequal: No Solution
Exploring Operation: 80+7=87, Resulting Numbers: [87]
87,86 unequal: No Solution
Moving to Node #0,0,0
Current State: 86:[9, 7], Operations: ['72/8=9', '96-89=7']
Exploring Operation: 9*7=63, Resulting Numbers: [63]
63,86 unequal: No Solution
Exploring Operation: 9+7=16, Resulting Numbers: [16]
16,86 unequal: No Solution
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,86 unequal: No Solution
Moving to Node #0,0,2
Current State: 86:[96, 80], Operations: ['72/8=9', '89-9=80']
Exploring Operation: 96*80=7680, Resulting Numbers: [7680]
7680,86 unequal: No Solution
Exploring Operation: 96+80=176, Resulting Numbers: [176]
176,86 unequal: No Solution
Exploring Operation: 96-80=16, Resulting Numbers: [16]
16,86 unequal: No Solution
Moving to Node #0,2,2
Current State: 86:[96, 9], Operations: ['72+8=80', '89-80=9']
Exploring Operation: 96+9=105, Resulting Numbers: [105]
105,86 unequal: No Solution
Exploring Operation: 96*9=864, Resulting Numbers: [864]
864,86 unequal: No Solution
Exploring Operation: 96-9=87, Resulting Numbers: [87]
87,86 unequal: No Solution
Moving to Node #0,2,0
Current State: 86:[89, 16], Operations: ['72+8=80', '96-80=16']
Exploring Operation: 89+16=105, Resulting Numbers: [105]
105,86 unequal: No Solution
Exploring Operation: 89-16=73, Resulting Numbers: [73]
73,86 unequal: No Solution
Exploring Operation: 89*16=1424, Resulting Numbers: [1424]
1424,86 unequal: No Solution
Moving to Node #0,0,1
Current State: 86:[96, 98], Operations: ['72/8=9', '89+9=98']
Exploring Operation: 96*98=9408, Resulting Numbers: [9408]
9408,86 unequal: No Solution
Exploring Operation: 96+98=194, Resulting Numbers: [194]
194,86 unequal: No Solution
Exploring Operation: 98-96=2, Resulting Numbers: [2]
2,86 unequal: No Solution
Moving to Node #0,2,1
Current State: 86:[96, 169], Operations: ['72+8=80', '89+80=169']
Exploring Operation: 96*169=16224, Resulting Numbers: [16224]
16224,86 unequal: No Solution
Exploring Operation: 96+169=265, Resulting Numbers: [265]
265,86 unequal: No Solution
Exploring Operation: 169-96=73, Resulting Numbers: [73]
73,86 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
80,
65,
5,
65
] | 80 | [
"65-65=0",
"5*0=0",
"80+0=80"
] | Current State: 80:[80, 65, 5, 65], Operations: []
Exploring Operation: 65-65=0, Resulting Numbers: [80, 5, 0]
Generated Node #2: [80, 5, 0] from Operation: 65-65=0
Current State: 80:[80, 5, 0], Operations: ['65-65=0']
Exploring Operation: 5*0=0, Resulting Numbers: [80, 0]
Generated Node #3: [80, 0] from Operation: 5*0=0
Current State: 80:[80, 0], Operations: ['65-65=0', '5*0=0']
Exploring Operation: 80+0=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[80, 65, 5, 65], Operations: []
Exploring Operation: 65/65=1, Resulting Numbers: [80, 5, 1]
Generated Node #0,0: 80:[80, 5, 1] Operation: 65/65=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[80, 5, 1], Operations: ['65/65=1']
Exploring Operation: 80*1=80, Resulting Numbers: [5, 80]
Generated Node #0,0,0: 80:[5, 80] Operation: 80*1=80
Moving to Node #0,0,0
Current State: 80:[5, 80], Operations: ['65/65=1', '80*1=80']
Exploring Operation: 80/5=16, Resulting Numbers: [16]
16,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
72,
31,
18,
63
] | 36 | [
"72/18=4",
"63-31=32",
"4+32=36"
] | Current State: 36:[72, 31, 18, 63], Operations: []
Exploring Operation: 72/18=4, Resulting Numbers: [31, 63, 4]
Generated Node #2: [31, 63, 4] from Operation: 72/18=4
Current State: 36:[31, 63, 4], Operations: ['72/18=4']
Exploring Operation: 63-31=32, Resulting Numbers: [4, 32]
Generated Node #3: [4, 32] from Operation: 63-31=32
Current State: 36:[4, 32], Operations: ['72/18=4', '63-31=32']
Exploring Operation: 4+32=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[72, 31, 18, 63], Operations: []
Exploring Operation: 72/18=4, Resulting Numbers: [31, 63, 4]
Generated Node #0,0: 36:[31, 63, 4] Operation: 72/18=4
Exploring Operation: 72-18=54, Resulting Numbers: [31, 63, 54]
Generated Node #0,1: 36:[31, 63, 54] Operation: 72-18=54
Exploring Operation: 72-63=9, Resulting Numbers: [31, 18, 9]
Generated Node #0,2: 36:[31, 18, 9] Operation: 72-63=9
Exploring Operation: 72-31=41, Resulting Numbers: [18, 63, 41]
Generated Node #0,3: 36:[18, 63, 41] Operation: 72-31=41
Exploring Operation: 63-31=32, Resulting Numbers: [72, 18, 32]
Generated Node #0,4: 36:[72, 18, 32] Operation: 63-31=32
Start Sub Search at level 1: Moving to Node #0,2
Current State: 36:[31, 18, 9], Operations: ['72-63=9']
Exploring Operation: 18/9=2, Resulting Numbers: [31, 2]
Generated Node #0,2,0: 36:[31, 2] Operation: 18/9=2
Exploring Operation: 31-9=22, Resulting Numbers: [18, 22]
Generated Node #0,2,1: 36:[18, 22] Operation: 31-9=22
Exploring Operation: 31+9=40, Resulting Numbers: [18, 40]
Generated Node #0,2,2: 36:[18, 40] Operation: 31+9=40
Exploring Operation: 18-9=9, Resulting Numbers: [31, 9]
Generated Node #0,2,3: 36:[31, 9] Operation: 18-9=9
Exploring Operation: 31-18=13, Resulting Numbers: [9, 13]
Generated Node #0,2,4: 36:[9, 13] Operation: 31-18=13
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 36:[9, 13], Operations: ['72-63=9', '31-18=13']
Exploring Operation: 9*13=117, Resulting Numbers: [117]
117,36 unequal: No Solution
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,36 unequal: No Solution
Exploring Operation: 9+13=22, Resulting Numbers: [22]
22,36 unequal: No Solution
No 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: 36:[18, 22], Operations: ['72-63=9', '31-9=22']
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,36 unequal: No Solution
Exploring Operation: 18*22=396, Resulting Numbers: [396]
396,36 unequal: No Solution
Exploring Operation: 18+22=40, Resulting Numbers: [40]
40,36 unequal: No Solution
No 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: 36:[18, 40], Operations: ['72-63=9', '31+9=40']
Exploring Operation: 18*40=720, Resulting Numbers: [720]
720,36 unequal: No Solution
Exploring Operation: 40-18=22, Resulting Numbers: [22]
22,36 unequal: No Solution
Exploring Operation: 18+40=58, Resulting Numbers: [58]
58,36 unequal: No Solution
No 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: 36:[31, 2], Operations: ['72-63=9', '18/9=2']
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,36 unequal: No Solution
Exploring Operation: 31+2=33, Resulting Numbers: [33]
33,36 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,36 unequal: No Solution
No 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: 36:[31, 9], Operations: ['72-63=9', '18-9=9']
Exploring Operation: 31+9=40, Resulting Numbers: [40]
40,36 unequal: No Solution
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,36 unequal: No Solution
Exploring Operation: 31*9=279, Resulting Numbers: [279]
279,36 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: 36:[31, 63, 4], Operations: ['72/18=4']
Exploring Operation: 31-4=27, Resulting Numbers: [63, 27]
Generated Node #0,0,0: 36:[63, 27] Operation: 31-4=27
Exploring Operation: 63+4=67, Resulting Numbers: [31, 67]
Generated Node #0,0,1: 36:[31, 67] Operation: 63+4=67
Exploring Operation: 63-4=59, Resulting Numbers: [31, 59]
Generated Node #0,0,2: 36:[31, 59] Operation: 63-4=59
Exploring Operation: 31+4=35, Resulting Numbers: [63, 35]
Generated Node #0,0,3: 36:[63, 35] Operation: 31+4=35
Exploring Operation: 63-31=32, Resulting Numbers: [4, 32]
Generated Node #0,0,4: 36:[4, 32] Operation: 63-31=32
Moving to Node #0,0,4
Current State: 36:[4, 32], Operations: ['72/18=4', '63-31=32']
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Exploring Operation: 4*32=128, Resulting Numbers: [128]
128,36 unequal: No Solution
Exploring Operation: 4+32=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[72, 31, 18, 63], Operations: []
Exploring Operation: 72/18=4, Resulting Numbers: [31, 63, 4]
Generated Node #0,0: 36:[31, 63, 4] Operation: 72/18=4
Moving to Node #0,0
Current State: 36:[31, 63, 4], Operations: ['72/18=4']
Exploring Operation: 63-31=32, Resulting Numbers: [4, 32]
Generated Node #0,0,4: 36:[4, 32] Operation: 63-31=32
Moving to Node #0,0,4
Current State: 36:[4, 32], Operations: ['72/18=4', '63-31=32']
Exploring Operation: 4+32=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_5 | mult_heuristic |
[
25,
78,
68,
44
] | 79 | [
"25+78=103",
"68-44=24",
"103-24=79"
] | Current State: 79:[25, 78, 68, 44], Operations: []
Exploring Operation: 25+78=103, Resulting Numbers: [68, 44, 103]
Generated Node #2: [68, 44, 103] from Operation: 25+78=103
Current State: 79:[68, 44, 103], Operations: ['25+78=103']
Exploring Operation: 68-44=24, Resulting Numbers: [103, 24]
Generated Node #3: [103, 24] from Operation: 68-44=24
Current State: 79:[103, 24], Operations: ['25+78=103', '68-44=24']
Exploring Operation: 103-24=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[25, 78, 68, 44], Operations: []
Exploring Operation: 25+44=69, Resulting Numbers: [78, 68, 69]
Generated Node #0,0: 79:[78, 68, 69] Operation: 25+44=69
Exploring Operation: 25+78=103, Resulting Numbers: [68, 44, 103]
Generated Node #0,1: 79:[68, 44, 103] Operation: 25+78=103
Exploring Operation: 25+68=93, Resulting Numbers: [78, 44, 93]
Generated Node #0,2: 79:[78, 44, 93] Operation: 25+68=93
Moving to Node #0,0
Current State: 79:[78, 68, 69], Operations: ['25+44=69']
Exploring Operation: 78+68=146, Resulting Numbers: [69, 146]
Generated Node #0,0,0: 79:[69, 146] Operation: 78+68=146
Exploring Operation: 68+69=137, Resulting Numbers: [78, 137]
Generated Node #0,0,1: 79:[78, 137] Operation: 68+69=137
Exploring Operation: 78-68=10, Resulting Numbers: [69, 10]
Generated Node #0,0,2: 79:[69, 10] Operation: 78-68=10
Moving to Node #0,2
Current State: 79:[78, 44, 93], Operations: ['25+68=93']
Exploring Operation: 78-44=34, Resulting Numbers: [93, 34]
Generated Node #0,2,0: 79:[93, 34] Operation: 78-44=34
Exploring Operation: 78+44=122, Resulting Numbers: [93, 122]
Generated Node #0,2,1: 79:[93, 122] Operation: 78+44=122
Exploring Operation: 93-44=49, Resulting Numbers: [78, 49]
Generated Node #0,2,2: 79:[78, 49] Operation: 93-44=49
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 79:[78, 49], Operations: ['25+68=93', '93-44=49']
Exploring Operation: 78-49=29, Resulting Numbers: [29]
29,79 unequal: No Solution
Exploring Operation: 78*49=3822, Resulting Numbers: [3822]
3822,79 unequal: No Solution
Exploring Operation: 78+49=127, Resulting Numbers: [127]
127,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 79:[93, 122], Operations: ['25+68=93', '78+44=122']
Exploring Operation: 93*122=11346, Resulting Numbers: [11346]
11346,79 unequal: No Solution
Exploring Operation: 122-93=29, Resulting Numbers: [29]
29,79 unequal: No Solution
Exploring Operation: 93+122=215, Resulting Numbers: [215]
215,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 79:[93, 34], Operations: ['25+68=93', '78-44=34']
Exploring Operation: 93*34=3162, Resulting Numbers: [3162]
3162,79 unequal: No Solution
Exploring Operation: 93+34=127, Resulting Numbers: [127]
127,79 unequal: No Solution
Exploring Operation: 93-34=59, Resulting Numbers: [59]
59,79 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: 79:[68, 44, 103], Operations: ['25+78=103']
Exploring Operation: 68-44=24, Resulting Numbers: [103, 24]
Generated Node #0,1,0: 79:[103, 24] Operation: 68-44=24
Exploring Operation: 103-44=59, Resulting Numbers: [68, 59]
Generated Node #0,1,1: 79:[68, 59] Operation: 103-44=59
Exploring Operation: 68+44=112, Resulting Numbers: [103, 112]
Generated Node #0,1,2: 79:[103, 112] Operation: 68+44=112
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 79:[68, 59], Operations: ['25+78=103', '103-44=59']
Exploring Operation: 68+59=127, Resulting Numbers: [127]
127,79 unequal: No Solution
Exploring Operation: 68-59=9, Resulting Numbers: [9]
9,79 unequal: No Solution
Exploring Operation: 68*59=4012, Resulting Numbers: [4012]
4012,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 79:[103, 112], Operations: ['25+78=103', '68+44=112']
Exploring Operation: 103*112=11536, Resulting Numbers: [11536]
11536,79 unequal: No Solution
Exploring Operation: 112-103=9, Resulting Numbers: [9]
9,79 unequal: No Solution
Exploring Operation: 103+112=215, Resulting Numbers: [215]
215,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 79:[103, 24], Operations: ['25+78=103', '68-44=24']
Exploring Operation: 103*24=2472, Resulting Numbers: [2472]
2472,79 unequal: No Solution
Exploring Operation: 103+24=127, Resulting Numbers: [127]
127,79 unequal: No Solution
Exploring Operation: 103-24=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[25, 78, 68, 44], Operations: []
Exploring Operation: 25+78=103, Resulting Numbers: [68, 44, 103]
Generated Node #0,1: 79:[68, 44, 103] Operation: 25+78=103
Moving to Node #0,1
Current State: 79:[68, 44, 103], Operations: ['25+78=103']
Exploring Operation: 68-44=24, Resulting Numbers: [103, 24]
Generated Node #0,1,0: 79:[103, 24] Operation: 68-44=24
Moving to Node #0,1,0
Current State: 79:[103, 24], Operations: ['25+78=103', '68-44=24']
Exploring Operation: 103-24=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 1
| 0.970486 | hs_3 | sum_heuristic |
[
38,
10,
88,
86
] | 86 | [
"86-10=76",
"76/38=2",
"88-2=86"
] | Current State: 86:[38, 10, 88, 86], Operations: []
Exploring Operation: 86-10=76, Resulting Numbers: [38, 88, 76]
Generated Node #2: [38, 88, 76] from Operation: 86-10=76
Current State: 86:[38, 88, 76], Operations: ['86-10=76']
Exploring Operation: 76/38=2, Resulting Numbers: [88, 2]
Generated Node #3: [88, 2] from Operation: 76/38=2
Current State: 86:[88, 2], Operations: ['86-10=76', '76/38=2']
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[38, 10, 88, 86], Operations: []
Exploring Operation: 38+10=48, Resulting Numbers: [88, 86, 48]
Generated Node #0,0: 86:[88, 86, 48] Operation: 38+10=48
Exploring Operation: 88-38=50, Resulting Numbers: [10, 86, 50]
Generated Node #0,1: 86:[10, 86, 50] Operation: 88-38=50
Exploring Operation: 86-38=48, Resulting Numbers: [10, 88, 48]
Generated Node #0,2: 86:[10, 88, 48] Operation: 86-38=48
Exploring Operation: 88-10=78, Resulting Numbers: [38, 86, 78]
Generated Node #0,3: 86:[38, 86, 78] Operation: 88-10=78
Exploring Operation: 88-86=2, Resulting Numbers: [38, 10, 2]
Generated Node #0,4: 86:[38, 10, 2] Operation: 88-86=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[88, 86, 48], Operations: ['38+10=48']
Exploring Operation: 86-48=38, Resulting Numbers: [88, 38]
Generated Node #0,0,0: 86:[88, 38] Operation: 86-48=38
Exploring Operation: 88-48=40, Resulting Numbers: [86, 40]
Generated Node #0,0,1: 86:[86, 40] Operation: 88-48=40
Exploring Operation: 86+48=134, Resulting Numbers: [88, 134]
Generated Node #0,0,2: 86:[88, 134] Operation: 86+48=134
Exploring Operation: 88+48=136, Resulting Numbers: [86, 136]
Generated Node #0,0,3: 86:[86, 136] Operation: 88+48=136
Exploring Operation: 88-86=2, Resulting Numbers: [48, 2]
Generated Node #0,0,4: 86:[48, 2] Operation: 88-86=2
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 86:[86, 40], Operations: ['38+10=48', '88-48=40']
Exploring Operation: 86+40=126, Resulting Numbers: [126]
126,86 unequal: No Solution
Exploring Operation: 86-40=46, Resulting Numbers: [46]
46,86 unequal: No Solution
Exploring Operation: 86*40=3440, Resulting Numbers: [3440]
3440,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 86:[48, 2], Operations: ['38+10=48', '88-86=2']
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,86 unequal: No Solution
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,86 unequal: No Solution
Exploring Operation: 48*2=96, Resulting Numbers: [96]
96,86 unequal: No Solution
Exploring Operation: 48+2=50, Resulting Numbers: [50]
50,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 86:[88, 38], Operations: ['38+10=48', '86-48=38']
Exploring Operation: 88*38=3344, Resulting Numbers: [3344]
3344,86 unequal: No Solution
Exploring Operation: 88+38=126, Resulting Numbers: [126]
126,86 unequal: No Solution
Exploring Operation: 88-38=50, Resulting Numbers: [50]
50,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 86:[88, 134], Operations: ['38+10=48', '86+48=134']
Exploring Operation: 134-88=46, Resulting Numbers: [46]
46,86 unequal: No Solution
Exploring Operation: 88+134=222, Resulting Numbers: [222]
222,86 unequal: No Solution
Exploring Operation: 88*134=11792, Resulting Numbers: [11792]
11792,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 86:[86, 136], Operations: ['38+10=48', '88+48=136']
Exploring Operation: 136-86=50, Resulting Numbers: [50]
50,86 unequal: No Solution
Exploring Operation: 86+136=222, Resulting Numbers: [222]
222,86 unequal: No Solution
Exploring Operation: 86*136=11696, Resulting Numbers: [11696]
11696,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 86:[38, 86, 78], Operations: ['88-10=78']
Exploring Operation: 86-38=48, Resulting Numbers: [78, 48]
Generated Node #0,3,0: 86:[78, 48] Operation: 86-38=48
Exploring Operation: 38+78=116, Resulting Numbers: [86, 116]
Generated Node #0,3,1: 86:[86, 116] Operation: 38+78=116
Exploring Operation: 78-38=40, Resulting Numbers: [86, 40]
Generated Node #0,3,2: 86:[86, 40] Operation: 78-38=40
Exploring Operation: 38+86=124, Resulting Numbers: [78, 124]
Generated Node #0,3,3: 86:[78, 124] Operation: 38+86=124
Exploring Operation: 86-78=8, Resulting Numbers: [38, 8]
Generated Node #0,3,4: 86:[38, 8] Operation: 86-78=8
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 86:[86, 40], Operations: ['88-10=78', '78-38=40']
Exploring Operation: 86-40=46, Resulting Numbers: [46]
46,86 unequal: No Solution
Exploring Operation: 86+40=126, Resulting Numbers: [126]
126,86 unequal: No Solution
Exploring Operation: 86*40=3440, Resulting Numbers: [3440]
3440,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 86:[38, 8], Operations: ['88-10=78', '86-78=8']
Exploring Operation: 38*8=304, Resulting Numbers: [304]
304,86 unequal: No Solution
Exploring Operation: 38+8=46, Resulting Numbers: [46]
46,86 unequal: No Solution
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 86:[78, 48], Operations: ['88-10=78', '86-38=48']
Exploring Operation: 78+48=126, Resulting Numbers: [126]
126,86 unequal: No Solution
Exploring Operation: 78*48=3744, Resulting Numbers: [3744]
3744,86 unequal: No Solution
Exploring Operation: 78-48=30, Resulting Numbers: [30]
30,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 86:[86, 116], Operations: ['88-10=78', '38+78=116']
Exploring Operation: 86+116=202, Resulting Numbers: [202]
202,86 unequal: No Solution
Exploring Operation: 116-86=30, Resulting Numbers: [30]
30,86 unequal: No Solution
Exploring Operation: 86*116=9976, Resulting Numbers: [9976]
9976,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 86:[78, 124], Operations: ['88-10=78', '38+86=124']
Exploring Operation: 78*124=9672, Resulting Numbers: [9672]
9672,86 unequal: No Solution
Exploring Operation: 78+124=202, Resulting Numbers: [202]
202,86 unequal: No Solution
Exploring Operation: 124-78=46, Resulting Numbers: [46]
46,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 86:[38, 10, 2], Operations: ['88-86=2']
Exploring Operation: 38+2=40, Resulting Numbers: [10, 40]
Generated Node #0,4,0: 86:[10, 40] Operation: 38+2=40
Exploring Operation: 38+10=48, Resulting Numbers: [2, 48]
Generated Node #0,4,1: 86:[2, 48] Operation: 38+10=48
Exploring Operation: 38-10=28, Resulting Numbers: [2, 28]
Generated Node #0,4,2: 86:[2, 28] Operation: 38-10=28
Exploring Operation: 10-2=8, Resulting Numbers: [38, 8]
Generated Node #0,4,3: 86:[38, 8] Operation: 10-2=8
Exploring Operation: 10/2=5, Resulting Numbers: [38, 5]
Generated Node #0,4,4: 86:[38, 5] Operation: 10/2=5
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 86:[2, 48], Operations: ['88-86=2', '38+10=48']
Exploring Operation: 2*48=96, Resulting Numbers: [96]
96,86 unequal: No Solution
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,86 unequal: No Solution
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,86 unequal: No Solution
Exploring Operation: 2+48=50, Resulting Numbers: [50]
50,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 86:[38, 5], Operations: ['88-86=2', '10/2=5']
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,86 unequal: No Solution
Exploring Operation: 38+5=43, Resulting Numbers: [43]
43,86 unequal: No Solution
Exploring Operation: 38*5=190, Resulting Numbers: [190]
190,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 86:[10, 40], Operations: ['88-86=2', '38+2=40']
Exploring Operation: 10*40=400, Resulting Numbers: [400]
400,86 unequal: No Solution
Exploring Operation: 40/10=4, Resulting Numbers: [4]
4,86 unequal: No Solution
Exploring Operation: 10+40=50, Resulting Numbers: [50]
50,86 unequal: No Solution
Exploring Operation: 40-10=30, Resulting Numbers: [30]
30,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 86:[38, 8], Operations: ['88-86=2', '10-2=8']
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,86 unequal: No Solution
Exploring Operation: 38+8=46, Resulting Numbers: [46]
46,86 unequal: No Solution
Exploring Operation: 38*8=304, Resulting Numbers: [304]
304,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 86:[2, 28], Operations: ['88-86=2', '38-10=28']
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,86 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,86 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,86 unequal: No Solution
Exploring Operation: 2*28=56, Resulting Numbers: [56]
56,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 86:[10, 86, 50], Operations: ['88-38=50']
Exploring Operation: 86-10=76, Resulting Numbers: [50, 76]
Generated Node #0,1,0: 86:[50, 76] Operation: 86-10=76
Exploring Operation: 50/10=5, Resulting Numbers: [86, 5]
Generated Node #0,1,1: 86:[86, 5] Operation: 50/10=5
Exploring Operation: 50-10=40, Resulting Numbers: [86, 40]
Generated Node #0,1,2: 86:[86, 40] Operation: 50-10=40
Exploring Operation: 86-50=36, Resulting Numbers: [10, 36]
Generated Node #0,1,3: 86:[10, 36] Operation: 86-50=36
Exploring Operation: 10+86=96, Resulting Numbers: [50, 96]
Generated Node #0,1,4: 86:[50, 96] Operation: 10+86=96
Moving to Node #0,1,1
Current State: 86:[86, 5], Operations: ['88-38=50', '50/10=5']
Exploring Operation: 86*5=430, Resulting Numbers: [430]
430,86 unequal: No Solution
Exploring Operation: 86-5=81, Resulting Numbers: [81]
81,86 unequal: No Solution
Exploring Operation: 86+5=91, Resulting Numbers: [91]
91,86 unequal: No Solution
Moving to Node #0,1,2
Current State: 86:[86, 40], Operations: ['88-38=50', '50-10=40']
Exploring Operation: 86+40=126, Resulting Numbers: [126]
126,86 unequal: No Solution
Exploring Operation: 86-40=46, Resulting Numbers: [46]
46,86 unequal: No Solution
Exploring Operation: 86*40=3440, Resulting Numbers: [3440]
3440,86 unequal: No Solution
Moving to Node #0,1,3
Current State: 86:[10, 36], Operations: ['88-38=50', '86-50=36']
Exploring Operation: 10*36=360, Resulting Numbers: [360]
360,86 unequal: No Solution
Exploring Operation: 36-10=26, Resulting Numbers: [26]
26,86 unequal: No Solution
Exploring Operation: 10+36=46, Resulting Numbers: [46]
46,86 unequal: No Solution
Moving to Node #0,1,0
Current State: 86:[50, 76], Operations: ['88-38=50', '86-10=76']
Exploring Operation: 50*76=3800, Resulting Numbers: [3800]
3800,86 unequal: No Solution
Exploring Operation: 76-50=26, Resulting Numbers: [26]
26,86 unequal: No Solution
Exploring Operation: 50+76=126, Resulting Numbers: [126]
126,86 unequal: No Solution
Moving to Node #0,1,4
Current State: 86:[50, 96], Operations: ['88-38=50', '10+86=96']
Exploring Operation: 96-50=46, Resulting Numbers: [46]
46,86 unequal: No Solution
Exploring Operation: 50*96=4800, Resulting Numbers: [4800]
4800,86 unequal: No Solution
Exploring Operation: 50+96=146, Resulting Numbers: [146]
146,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
Current State: 86:[10, 88, 48], Operations: ['86-38=48']
Exploring Operation: 48-10=38, Resulting Numbers: [88, 38]
Generated Node #0,2,0: 86:[88, 38] Operation: 48-10=38
Exploring Operation: 88-48=40, Resulting Numbers: [10, 40]
Generated Node #0,2,1: 86:[10, 40] Operation: 88-48=40
Exploring Operation: 10+48=58, Resulting Numbers: [88, 58]
Generated Node #0,2,2: 86:[88, 58] Operation: 10+48=58
Exploring Operation: 10+88=98, Resulting Numbers: [48, 98]
Generated Node #0,2,3: 86:[48, 98] Operation: 10+88=98
Exploring Operation: 88-10=78, Resulting Numbers: [48, 78]
Generated Node #0,2,4: 86:[48, 78] Operation: 88-10=78
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 86:[88, 38], Operations: ['86-38=48', '48-10=38']
Exploring Operation: 88-38=50, Resulting Numbers: [50]
50,86 unequal: No Solution
Exploring Operation: 88*38=3344, Resulting Numbers: [3344]
3344,86 unequal: No Solution
Exploring Operation: 88+38=126, Resulting Numbers: [126]
126,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 86:[10, 40], Operations: ['86-38=48', '88-48=40']
Exploring Operation: 10+40=50, Resulting Numbers: [50]
50,86 unequal: No Solution
Exploring Operation: 10*40=400, Resulting Numbers: [400]
400,86 unequal: No Solution
Exploring Operation: 40-10=30, Resulting Numbers: [30]
30,86 unequal: No Solution
Exploring Operation: 40/10=4, Resulting Numbers: [4]
4,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 86:[48, 78], Operations: ['86-38=48', '88-10=78']
Exploring Operation: 48+78=126, Resulting Numbers: [126]
126,86 unequal: No Solution
Exploring Operation: 78-48=30, Resulting Numbers: [30]
30,86 unequal: No Solution
Exploring Operation: 48*78=3744, Resulting Numbers: [3744]
3744,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 86:[88, 58], Operations: ['86-38=48', '10+48=58']
Exploring Operation: 88-58=30, Resulting Numbers: [30]
30,86 unequal: No Solution
Exploring Operation: 88+58=146, Resulting Numbers: [146]
146,86 unequal: No Solution
Exploring Operation: 88*58=5104, Resulting Numbers: [5104]
5104,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 86:[48, 98], Operations: ['86-38=48', '10+88=98']
Exploring Operation: 48+98=146, Resulting Numbers: [146]
146,86 unequal: No Solution
Exploring Operation: 48*98=4704, Resulting Numbers: [4704]
4704,86 unequal: No Solution
Exploring Operation: 98-48=50, Resulting Numbers: [50]
50,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
97,
40,
70,
10
] | 99 | [
"70+10=80",
"80/40=2",
"97+2=99"
] | Current State: 99:[97, 40, 70, 10], Operations: []
Exploring Operation: 70+10=80, Resulting Numbers: [97, 40, 80]
Generated Node #2: [97, 40, 80] from Operation: 70+10=80
Current State: 99:[97, 40, 80], Operations: ['70+10=80']
Exploring Operation: 80/40=2, Resulting Numbers: [97, 2]
Generated Node #3: [97, 2] from Operation: 80/40=2
Current State: 99:[97, 2], Operations: ['70+10=80', '80/40=2']
Exploring Operation: 97+2=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[97, 40, 70, 10], Operations: []
Exploring Operation: 70-40=30, Resulting Numbers: [97, 10, 30]
Generated Node #0,0: 99:[97, 10, 30] Operation: 70-40=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[97, 10, 30], Operations: ['70-40=30']
Exploring Operation: 30/10=3, Resulting Numbers: [97, 3]
Generated Node #0,0,0: 99:[97, 3] Operation: 30/10=3
Moving to Node #0,0,0
Current State: 99:[97, 3], Operations: ['70-40=30', '30/10=3']
Exploring Operation: 97+3=100, Resulting Numbers: [100]
100,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
67,
84,
27,
90
] | 34 | [
"67+84=151",
"27+90=117",
"151-117=34"
] | Current State: 34:[67, 84, 27, 90], Operations: []
Exploring Operation: 67+84=151, Resulting Numbers: [27, 90, 151]
Generated Node #2: [27, 90, 151] from Operation: 67+84=151
Current State: 34:[27, 90, 151], Operations: ['67+84=151']
Exploring Operation: 27+90=117, Resulting Numbers: [151, 117]
Generated Node #3: [151, 117] from Operation: 27+90=117
Current State: 34:[151, 117], Operations: ['67+84=151', '27+90=117']
Exploring Operation: 151-117=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[67, 84, 27, 90], Operations: []
Exploring Operation: 90-84=6, Resulting Numbers: [67, 27, 6]
Generated Node #0,0: 34:[67, 27, 6] Operation: 90-84=6
Exploring Operation: 84-67=17, Resulting Numbers: [27, 90, 17]
Generated Node #0,1: 34:[27, 90, 17] Operation: 84-67=17
Exploring Operation: 84-27=57, Resulting Numbers: [67, 90, 57]
Generated Node #0,2: 34:[67, 90, 57] Operation: 84-27=57
Exploring Operation: 67-27=40, Resulting Numbers: [84, 90, 40]
Generated Node #0,3: 34:[84, 90, 40] Operation: 67-27=40
Exploring Operation: 90-67=23, Resulting Numbers: [84, 27, 23]
Generated Node #0,4: 34:[84, 27, 23] Operation: 90-67=23
Moving to Node #0,0
Current State: 34:[67, 27, 6], Operations: ['90-84=6']
Exploring Operation: 67-6=61, Resulting Numbers: [27, 61]
Generated Node #0,0,0: 34:[27, 61] Operation: 67-6=61
Exploring Operation: 27-6=21, Resulting Numbers: [67, 21]
Generated Node #0,0,1: 34:[67, 21] Operation: 27-6=21
Exploring Operation: 67+6=73, Resulting Numbers: [27, 73]
Generated Node #0,0,2: 34:[27, 73] Operation: 67+6=73
Exploring Operation: 27+6=33, Resulting Numbers: [67, 33]
Generated Node #0,0,3: 34:[67, 33] Operation: 27+6=33
Exploring Operation: 67-27=40, Resulting Numbers: [6, 40]
Generated Node #0,0,4: 34:[6, 40] Operation: 67-27=40
Moving to Node #0,4
Current State: 34:[84, 27, 23], Operations: ['90-67=23']
Exploring Operation: 84+23=107, Resulting Numbers: [27, 107]
Generated Node #0,4,0: 34:[27, 107] Operation: 84+23=107
Exploring Operation: 84-23=61, Resulting Numbers: [27, 61]
Generated Node #0,4,1: 34:[27, 61] Operation: 84-23=61
Exploring Operation: 84-27=57, Resulting Numbers: [23, 57]
Generated Node #0,4,2: 34:[23, 57] Operation: 84-27=57
Exploring Operation: 27+23=50, Resulting Numbers: [84, 50]
Generated Node #0,4,3: 34:[84, 50] Operation: 27+23=50
Exploring Operation: 27-23=4, Resulting Numbers: [84, 4]
Generated Node #0,4,4: 34:[84, 4] Operation: 27-23=4
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 34:[23, 57], Operations: ['90-67=23', '84-27=57']
Exploring Operation: 23*57=1311, Resulting Numbers: [1311]
1311,34 unequal: No Solution
Exploring Operation: 57-23=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[67, 84, 27, 90], Operations: []
Exploring Operation: 90-67=23, Resulting Numbers: [84, 27, 23]
Generated Node #0,4: 34:[84, 27, 23] Operation: 90-67=23
Moving to Node #0,4
Current State: 34:[84, 27, 23], Operations: ['90-67=23']
Exploring Operation: 84-27=57, Resulting Numbers: [23, 57]
Generated Node #0,4,2: 34:[23, 57] Operation: 84-27=57
Moving to Node #0,4,2
Current State: 34:[23, 57], Operations: ['90-67=23', '84-27=57']
Exploring Operation: 57-23=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
7,
13,
13,
51
] | 43 | [
"51-7=44",
"13/13=1",
"44-1=43"
] | Current State: 43:[7, 13, 13, 51], Operations: []
Exploring Operation: 51-7=44, Resulting Numbers: [13, 13, 44]
Generated Node #2: [13, 13, 44] from Operation: 51-7=44
Current State: 43:[13, 13, 44], Operations: ['51-7=44']
Exploring Operation: 13/13=1, Resulting Numbers: [44, 1]
Generated Node #3: [44, 1] from Operation: 13/13=1
Current State: 43:[44, 1], Operations: ['51-7=44', '13/13=1']
Exploring Operation: 44-1=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[7, 13, 13, 51], Operations: []
Exploring Operation: 51-7=44, Resulting Numbers: [13, 13, 44]
Generated Node #0,0: 43:[13, 13, 44] Operation: 51-7=44
Exploring Operation: 7+13=20, Resulting Numbers: [13, 51, 20]
Generated Node #0,1: 43:[13, 51, 20] Operation: 7+13=20
Exploring Operation: 13+13=26, Resulting Numbers: [7, 51, 26]
Generated Node #0,2: 43:[7, 51, 26] Operation: 13+13=26
Exploring Operation: 7+13=20, Resulting Numbers: [13, 51, 20]
Generated Node #0,3: 43:[13, 51, 20] Operation: 7+13=20
Moving to Node #0,0
Current State: 43:[13, 13, 44], Operations: ['51-7=44']
Exploring Operation: 13+13=26, Resulting Numbers: [44, 26]
Generated Node #0,0,0: 43:[44, 26] Operation: 13+13=26
Exploring Operation: 44-13=31, Resulting Numbers: [13, 31]
Generated Node #0,0,1: 43:[13, 31] Operation: 44-13=31
Exploring Operation: 13/13=1, Resulting Numbers: [44, 1]
Generated Node #0,0,2: 43:[44, 1] Operation: 13/13=1
Exploring Operation: 44-13=31, Resulting Numbers: [13, 31]
Generated Node #0,0,3: 43:[13, 31] Operation: 44-13=31
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 43:[44, 26], Operations: ['51-7=44', '13+13=26']
Exploring Operation: 44+26=70, Resulting Numbers: [70]
70,43 unequal: No Solution
Exploring Operation: 44*26=1144, Resulting Numbers: [1144]
1144,43 unequal: No Solution
Exploring Operation: 44-26=18, Resulting Numbers: [18]
18,43 unequal: No Solution
No 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: 43:[13, 31], Operations: ['51-7=44', '44-13=31']
Exploring Operation: 13+31=44, Resulting Numbers: [44]
44,43 unequal: No Solution
Exploring Operation: 13*31=403, Resulting Numbers: [403]
403,43 unequal: No Solution
Exploring Operation: 31-13=18, Resulting Numbers: [18]
18,43 unequal: No Solution
No 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: 43:[13, 31], Operations: ['51-7=44', '44-13=31']
Exploring Operation: 31-13=18, Resulting Numbers: [18]
18,43 unequal: No Solution
Exploring Operation: 13+31=44, Resulting Numbers: [44]
44,43 unequal: No Solution
Exploring Operation: 13*31=403, Resulting Numbers: [403]
403,43 unequal: No Solution
No 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: 43:[44, 1], Operations: ['51-7=44', '13/13=1']
Exploring Operation: 44*1=44, Resulting Numbers: [44]
44,43 unequal: No Solution
Exploring Operation: 44/1=44, Resulting Numbers: [44]
44,43 unequal: No Solution
Exploring Operation: 44-1=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[7, 13, 13, 51], Operations: []
Exploring Operation: 51-7=44, Resulting Numbers: [13, 13, 44]
Generated Node #0,0: 43:[13, 13, 44] Operation: 51-7=44
Moving to Node #0,0
Current State: 43:[13, 13, 44], Operations: ['51-7=44']
Exploring Operation: 13/13=1, Resulting Numbers: [44, 1]
Generated Node #0,0,2: 43:[44, 1] Operation: 13/13=1
Moving to Node #0,0,2
Current State: 43:[44, 1], Operations: ['51-7=44', '13/13=1']
Exploring Operation: 44-1=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_4 | mult_heuristic |
[
35,
42,
26,
4
] | 52 | [
"42+26=68",
"68/4=17",
"35+17=52"
] | Current State: 52:[35, 42, 26, 4], Operations: []
Exploring Operation: 42+26=68, Resulting Numbers: [35, 4, 68]
Generated Node #2: [35, 4, 68] from Operation: 42+26=68
Current State: 52:[35, 4, 68], Operations: ['42+26=68']
Exploring Operation: 68/4=17, Resulting Numbers: [35, 17]
Generated Node #3: [35, 17] from Operation: 68/4=17
Current State: 52:[35, 17], Operations: ['42+26=68', '68/4=17']
Exploring Operation: 35+17=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[35, 42, 26, 4], Operations: []
Exploring Operation: 42-35=7, Resulting Numbers: [26, 4, 7]
Generated Node #0,0: 52:[26, 4, 7] Operation: 42-35=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[26, 4, 7], Operations: ['42-35=7']
Exploring Operation: 7-4=3, Resulting Numbers: [26, 3]
Generated Node #0,0,0: 52:[26, 3] Operation: 7-4=3
Moving to Node #0,0,0
Current State: 52:[26, 3], Operations: ['42-35=7', '7-4=3']
Exploring Operation: 26+3=29, Resulting Numbers: [29]
29,52 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 |
[
61,
37,
64,
15
] | 73 | [
"61-37=24",
"64-15=49",
"24+49=73"
] | Current State: 73:[61, 37, 64, 15], Operations: []
Exploring Operation: 61-37=24, Resulting Numbers: [64, 15, 24]
Generated Node #2: [64, 15, 24] from Operation: 61-37=24
Current State: 73:[64, 15, 24], Operations: ['61-37=24']
Exploring Operation: 64-15=49, Resulting Numbers: [24, 49]
Generated Node #3: [24, 49] from Operation: 64-15=49
Current State: 73:[24, 49], Operations: ['61-37=24', '64-15=49']
Exploring Operation: 24+49=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[61, 37, 64, 15], Operations: []
Exploring Operation: 37+15=52, Resulting Numbers: [61, 64, 52]
Generated Node #0,0: 73:[61, 64, 52] Operation: 37+15=52
Exploring Operation: 64+15=79, Resulting Numbers: [61, 37, 79]
Generated Node #0,1: 73:[61, 37, 79] Operation: 64+15=79
Exploring Operation: 61-15=46, Resulting Numbers: [37, 64, 46]
Generated Node #0,2: 73:[37, 64, 46] Operation: 61-15=46
Exploring Operation: 61+15=76, Resulting Numbers: [37, 64, 76]
Generated Node #0,3: 73:[37, 64, 76] Operation: 61+15=76
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[61, 64, 52], Operations: ['37+15=52']
Exploring Operation: 61+52=113, Resulting Numbers: [64, 113]
Generated Node #0,0,0: 73:[64, 113] Operation: 61+52=113
Exploring Operation: 61-52=9, Resulting Numbers: [64, 9]
Generated Node #0,0,1: 73:[64, 9] Operation: 61-52=9
Exploring Operation: 64+52=116, Resulting Numbers: [61, 116]
Generated Node #0,0,2: 73:[61, 116] Operation: 64+52=116
Exploring Operation: 61+64=125, Resulting Numbers: [52, 125]
Generated Node #0,0,3: 73:[52, 125] Operation: 61+64=125
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 73:[64, 113], Operations: ['37+15=52', '61+52=113']
Exploring Operation: 64*113=7232, Resulting Numbers: [7232]
7232,73 unequal: No Solution
Exploring Operation: 64+113=177, Resulting Numbers: [177]
177,73 unequal: No Solution
Exploring Operation: 113-64=49, Resulting Numbers: [49]
49,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 73:[61, 116], Operations: ['37+15=52', '64+52=116']
Exploring Operation: 116-61=55, Resulting Numbers: [55]
55,73 unequal: No Solution
Exploring Operation: 61+116=177, Resulting Numbers: [177]
177,73 unequal: No Solution
Exploring Operation: 61*116=7076, Resulting Numbers: [7076]
7076,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 73:[64, 9], Operations: ['37+15=52', '61-52=9']
Exploring Operation: 64+9=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[61, 37, 64, 15], Operations: []
Exploring Operation: 37+15=52, Resulting Numbers: [61, 64, 52]
Generated Node #0,0: 73:[61, 64, 52] Operation: 37+15=52
Moving to Node #0,0
Current State: 73:[61, 64, 52], Operations: ['37+15=52']
Exploring Operation: 61-52=9, Resulting Numbers: [64, 9]
Generated Node #0,0,1: 73:[64, 9] Operation: 61-52=9
Moving to Node #0,0,1
Current State: 73:[64, 9], Operations: ['37+15=52', '61-52=9']
Exploring Operation: 64+9=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_4 | sum_heuristic |
[
8,
14,
66,
64
] | 54 | [
"14+66=80",
"80/8=10",
"64-10=54"
] | Current State: 54:[8, 14, 66, 64], Operations: []
Exploring Operation: 14+66=80, Resulting Numbers: [8, 64, 80]
Generated Node #2: [8, 64, 80] from Operation: 14+66=80
Current State: 54:[8, 64, 80], Operations: ['14+66=80']
Exploring Operation: 80/8=10, Resulting Numbers: [64, 10]
Generated Node #3: [64, 10] from Operation: 80/8=10
Current State: 54:[64, 10], Operations: ['14+66=80', '80/8=10']
Exploring Operation: 64-10=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[8, 14, 66, 64], Operations: []
Exploring Operation: 66-64=2, Resulting Numbers: [8, 14, 2]
Generated Node #0,0: 54:[8, 14, 2] Operation: 66-64=2
Moving to Node #0,0
Current State: 54:[8, 14, 2], Operations: ['66-64=2']
Exploring Operation: 14-8=6, Resulting Numbers: [2, 6]
Generated Node #0,0,0: 54:[2, 6] Operation: 14-8=6
Moving to Node #0,0,0
Current State: 54:[2, 6], Operations: ['66-64=2', '14-8=6']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,54 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
24,
58,
57,
8
] | 39 | [
"24/8=3",
"57/3=19",
"58-19=39"
] | Current State: 39:[24, 58, 57, 8], Operations: []
Exploring Operation: 24/8=3, Resulting Numbers: [58, 57, 3]
Generated Node #2: [58, 57, 3] from Operation: 24/8=3
Current State: 39:[58, 57, 3], Operations: ['24/8=3']
Exploring Operation: 57/3=19, Resulting Numbers: [58, 19]
Generated Node #3: [58, 19] from Operation: 57/3=19
Current State: 39:[58, 19], Operations: ['24/8=3', '57/3=19']
Exploring Operation: 58-19=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[24, 58, 57, 8], Operations: []
Exploring Operation: 58-24=34, Resulting Numbers: [57, 8, 34]
Generated Node #0,0: 39:[57, 8, 34] Operation: 58-24=34
Exploring Operation: 58-57=1, Resulting Numbers: [24, 8, 1]
Generated Node #0,1: 39:[24, 8, 1] Operation: 58-57=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[24, 8, 1], Operations: ['58-57=1']
Exploring Operation: 24-8=16, Resulting Numbers: [1, 16]
Generated Node #0,1,0: 39:[1, 16] Operation: 24-8=16
Exploring Operation: 24/8=3, Resulting Numbers: [1, 3]
Generated Node #0,1,1: 39:[1, 3] Operation: 24/8=3
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 39:[1, 3], Operations: ['58-57=1', '24/8=3']
Exploring Operation: 1*3=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 39:[1, 16], Operations: ['58-57=1', '24-8=16']
Exploring Operation: 1*16=16, Resulting Numbers: [16]
16,39 unequal: No Solution
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[57, 8, 34], Operations: ['58-24=34']
Exploring Operation: 57-34=23, Resulting Numbers: [8, 23]
Generated Node #0,0,0: 39:[8, 23] Operation: 57-34=23
Exploring Operation: 57-8=49, Resulting Numbers: [34, 49]
Generated Node #0,0,1: 39:[34, 49] Operation: 57-8=49
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 39:[8, 23], Operations: ['58-24=34', '57-34=23']
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,39 unequal: No Solution
Exploring Operation: 8+23=31, Resulting Numbers: [31]
31,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 39:[34, 49], Operations: ['58-24=34', '57-8=49']
Exploring Operation: 49-34=15, Resulting Numbers: [15]
15,39 unequal: No Solution
Exploring Operation: 34+49=83, Resulting Numbers: [83]
83,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
95,
80,
61,
75
] | 29 | [
"95-80=15",
"75-61=14",
"15+14=29"
] | Current State: 29:[95, 80, 61, 75], Operations: []
Exploring Operation: 95-80=15, Resulting Numbers: [61, 75, 15]
Generated Node #2: [61, 75, 15] from Operation: 95-80=15
Current State: 29:[61, 75, 15], Operations: ['95-80=15']
Exploring Operation: 75-61=14, Resulting Numbers: [15, 14]
Generated Node #3: [15, 14] from Operation: 75-61=14
Current State: 29:[15, 14], Operations: ['95-80=15', '75-61=14']
Exploring Operation: 15+14=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[95, 80, 61, 75], Operations: []
Exploring Operation: 80-61=19, Resulting Numbers: [95, 75, 19]
Generated Node #0,0: 29:[95, 75, 19] Operation: 80-61=19
Exploring Operation: 95-75=20, Resulting Numbers: [80, 61, 20]
Generated Node #0,1: 29:[80, 61, 20] Operation: 95-75=20
Exploring Operation: 95-80=15, Resulting Numbers: [61, 75, 15]
Generated Node #0,2: 29:[61, 75, 15] Operation: 95-80=15
Exploring Operation: 95-61=34, Resulting Numbers: [80, 75, 34]
Generated Node #0,3: 29:[80, 75, 34] Operation: 95-61=34
Moving to Node #0,1
Current State: 29:[80, 61, 20], Operations: ['95-75=20']
Exploring Operation: 61-20=41, Resulting Numbers: [80, 41]
Generated Node #0,1,0: 29:[80, 41] Operation: 61-20=41
Exploring Operation: 80-61=19, Resulting Numbers: [20, 19]
Generated Node #0,1,1: 29:[20, 19] Operation: 80-61=19
Exploring Operation: 80-20=60, Resulting Numbers: [61, 60]
Generated Node #0,1,2: 29:[61, 60] Operation: 80-20=60
Exploring Operation: 80/20=4, Resulting Numbers: [61, 4]
Generated Node #0,1,3: 29:[61, 4] Operation: 80/20=4
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 29:[20, 19], Operations: ['95-75=20', '80-61=19']
Exploring Operation: 20+19=39, Resulting Numbers: [39]
39,29 unequal: No Solution
Exploring Operation: 20-19=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 20*19=380, Resulting Numbers: [380]
380,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 29:[61, 4], Operations: ['95-75=20', '80/20=4']
Exploring Operation: 61-4=57, Resulting Numbers: [57]
57,29 unequal: No Solution
Exploring Operation: 61*4=244, Resulting Numbers: [244]
244,29 unequal: No Solution
Exploring Operation: 61+4=65, Resulting Numbers: [65]
65,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 29:[80, 41], Operations: ['95-75=20', '61-20=41']
Exploring Operation: 80*41=3280, Resulting Numbers: [3280]
3280,29 unequal: No Solution
Exploring Operation: 80+41=121, Resulting Numbers: [121]
121,29 unequal: No Solution
Exploring Operation: 80-41=39, Resulting Numbers: [39]
39,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 29:[61, 60], Operations: ['95-75=20', '80-20=60']
Exploring Operation: 61*60=3660, Resulting Numbers: [3660]
3660,29 unequal: No Solution
Exploring Operation: 61+60=121, Resulting Numbers: [121]
121,29 unequal: No Solution
Exploring Operation: 61-60=1, Resulting Numbers: [1]
1,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 29:[61, 75, 15], Operations: ['95-80=15']
Exploring Operation: 75-61=14, Resulting Numbers: [15, 14]
Generated Node #0,2,0: 29:[15, 14] Operation: 75-61=14
Exploring Operation: 75/15=5, Resulting Numbers: [61, 5]
Generated Node #0,2,1: 29:[61, 5] Operation: 75/15=5
Exploring Operation: 61-15=46, Resulting Numbers: [75, 46]
Generated Node #0,2,2: 29:[75, 46] Operation: 61-15=46
Exploring Operation: 75-15=60, Resulting Numbers: [61, 60]
Generated Node #0,2,3: 29:[61, 60] Operation: 75-15=60
Moving to Node #0,3
Current State: 29:[80, 75, 34], Operations: ['95-61=34']
Exploring Operation: 80+75=155, Resulting Numbers: [34, 155]
Generated Node #0,3,0: 29:[34, 155] Operation: 80+75=155
Exploring Operation: 80-75=5, Resulting Numbers: [34, 5]
Generated Node #0,3,1: 29:[34, 5] Operation: 80-75=5
Exploring Operation: 75-34=41, Resulting Numbers: [80, 41]
Generated Node #0,3,2: 29:[80, 41] Operation: 75-34=41
Exploring Operation: 80-34=46, Resulting Numbers: [75, 46]
Generated Node #0,3,3: 29:[75, 46] Operation: 80-34=46
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 29:[34, 5], Operations: ['95-61=34', '80-75=5']
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[95, 80, 61, 75], Operations: []
Exploring Operation: 95-61=34, Resulting Numbers: [80, 75, 34]
Generated Node #0,3: 29:[80, 75, 34] Operation: 95-61=34
Moving to Node #0,3
Current State: 29:[80, 75, 34], Operations: ['95-61=34']
Exploring Operation: 80-75=5, Resulting Numbers: [34, 5]
Generated Node #0,3,1: 29:[34, 5] Operation: 80-75=5
Moving to Node #0,3,1
Current State: 29:[34, 5], Operations: ['95-61=34', '80-75=5']
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.971354 | hs_4 | sum_heuristic |
[
20,
54,
12,
10
] | 65 | [
"54*10=540",
"540/12=45",
"20+45=65"
] | Current State: 65:[20, 54, 12, 10], Operations: []
Exploring Operation: 54*10=540, Resulting Numbers: [20, 12, 540]
Generated Node #2: [20, 12, 540] from Operation: 54*10=540
Current State: 65:[20, 12, 540], Operations: ['54*10=540']
Exploring Operation: 540/12=45, Resulting Numbers: [20, 45]
Generated Node #3: [20, 45] from Operation: 540/12=45
Current State: 65:[20, 45], Operations: ['54*10=540', '540/12=45']
Exploring Operation: 20+45=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[20, 54, 12, 10], Operations: []
Exploring Operation: 54+10=64, Resulting Numbers: [20, 12, 64]
Generated Node #0,0: 65:[20, 12, 64] Operation: 54+10=64
Exploring Operation: 54+12=66, Resulting Numbers: [20, 10, 66]
Generated Node #0,1: 65:[20, 10, 66] Operation: 54+12=66
Exploring Operation: 20+54=74, Resulting Numbers: [12, 10, 74]
Generated Node #0,2: 65:[12, 10, 74] Operation: 20+54=74
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[20, 12, 64], Operations: ['54+10=64']
Exploring Operation: 20-12=8, Resulting Numbers: [64, 8]
Generated Node #0,0,0: 65:[64, 8] Operation: 20-12=8
Exploring Operation: 20+12=32, Resulting Numbers: [64, 32]
Generated Node #0,0,1: 65:[64, 32] Operation: 20+12=32
Exploring Operation: 12+64=76, Resulting Numbers: [20, 76]
Generated Node #0,0,2: 65:[20, 76] Operation: 12+64=76
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 65:[64, 8], Operations: ['54+10=64', '20-12=8']
Exploring Operation: 64+8=72, Resulting Numbers: [72]
72,65 unequal: No Solution
Exploring Operation: 64/8=8, Resulting Numbers: [8]
8,65 unequal: No Solution
Exploring Operation: 64-8=56, Resulting Numbers: [56]
56,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 65:[20, 76], Operations: ['54+10=64', '12+64=76']
Exploring Operation: 20*76=1520, Resulting Numbers: [1520]
1520,65 unequal: No Solution
Exploring Operation: 76-20=56, Resulting Numbers: [56]
56,65 unequal: No Solution
Exploring Operation: 20+76=96, Resulting Numbers: [96]
96,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 65:[64, 32], Operations: ['54+10=64', '20+12=32']
Exploring Operation: 64/32=2, Resulting Numbers: [2]
2,65 unequal: No Solution
Exploring Operation: 64+32=96, Resulting Numbers: [96]
96,65 unequal: No Solution
Exploring Operation: 64-32=32, Resulting Numbers: [32]
32,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 65:[20, 10, 66], Operations: ['54+12=66']
Exploring Operation: 20/10=2, Resulting Numbers: [66, 2]
Generated Node #0,1,0: 65:[66, 2] Operation: 20/10=2
Exploring Operation: 66-10=56, Resulting Numbers: [20, 56]
Generated Node #0,1,1: 65:[20, 56] Operation: 66-10=56
Exploring Operation: 20-10=10, Resulting Numbers: [66, 10]
Generated Node #0,1,2: 65:[66, 10] Operation: 20-10=10
Moving to Node #0,1,0
Current State: 65:[66, 2], Operations: ['54+12=66', '20/10=2']
Exploring Operation: 66/2=33, Resulting Numbers: [33]
33,65 unequal: No Solution
Exploring Operation: 66+2=68, Resulting Numbers: [68]
68,65 unequal: No Solution
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,65 unequal: No Solution
Moving to Node #0,1,2
Current State: 65:[66, 10], Operations: ['54+12=66', '20-10=10']
Exploring Operation: 66*10=660, Resulting Numbers: [660]
660,65 unequal: No Solution
Exploring Operation: 66-10=56, Resulting Numbers: [56]
56,65 unequal: No Solution
Exploring Operation: 66+10=76, Resulting Numbers: [76]
76,65 unequal: No Solution
Moving to Node #0,1,1
Current State: 65:[20, 56], Operations: ['54+12=66', '66-10=56']
Exploring Operation: 56-20=36, Resulting Numbers: [36]
36,65 unequal: No Solution
Exploring Operation: 20+56=76, Resulting Numbers: [76]
76,65 unequal: No Solution
Exploring Operation: 20*56=1120, Resulting Numbers: [1120]
1120,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
Current State: 65:[12, 10, 74], Operations: ['20+54=74']
Exploring Operation: 74-10=64, Resulting Numbers: [12, 64]
Generated Node #0,2,0: 65:[12, 64] Operation: 74-10=64
Exploring Operation: 12-10=2, Resulting Numbers: [74, 2]
Generated Node #0,2,1: 65:[74, 2] Operation: 12-10=2
Exploring Operation: 74-12=62, Resulting Numbers: [10, 62]
Generated Node #0,2,2: 65:[10, 62] Operation: 74-12=62
Moving to Node #0,2,0
Current State: 65:[12, 64], Operations: ['20+54=74', '74-10=64']
Exploring Operation: 64-12=52, Resulting Numbers: [52]
52,65 unequal: No Solution
Exploring Operation: 12*64=768, Resulting Numbers: [768]
768,65 unequal: No Solution
Exploring Operation: 12+64=76, Resulting Numbers: [76]
76,65 unequal: No Solution
Moving to Node #0,2,2
Current State: 65:[10, 62], Operations: ['20+54=74', '74-12=62']
Exploring Operation: 10+62=72, Resulting Numbers: [72]
72,65 unequal: No Solution
Exploring Operation: 10*62=620, Resulting Numbers: [620]
620,65 unequal: No Solution
Exploring Operation: 62-10=52, Resulting Numbers: [52]
52,65 unequal: No Solution
Moving to Node #0,2,1
Current State: 65:[74, 2], Operations: ['20+54=74', '12-10=2']
Exploring Operation: 74/2=37, Resulting Numbers: [37]
37,65 unequal: No Solution
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,65 unequal: No Solution
Exploring Operation: 74+2=76, Resulting Numbers: [76]
76,65 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 |
[
27,
25,
63,
73
] | 53 | [
"27-25=2",
"63*2=126",
"126-73=53"
] | Current State: 53:[27, 25, 63, 73], Operations: []
Exploring Operation: 27-25=2, Resulting Numbers: [63, 73, 2]
Generated Node #2: [63, 73, 2] from Operation: 27-25=2
Current State: 53:[63, 73, 2], Operations: ['27-25=2']
Exploring Operation: 63*2=126, Resulting Numbers: [73, 126]
Generated Node #3: [73, 126] from Operation: 63*2=126
Current State: 53:[73, 126], Operations: ['27-25=2', '63*2=126']
Exploring Operation: 126-73=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[27, 25, 63, 73], Operations: []
Exploring Operation: 73-27=46, Resulting Numbers: [25, 63, 46]
Generated Node #0,0: 53:[25, 63, 46] Operation: 73-27=46
Exploring Operation: 63-25=38, Resulting Numbers: [27, 73, 38]
Generated Node #0,1: 53:[27, 73, 38] Operation: 63-25=38
Exploring Operation: 27+25=52, Resulting Numbers: [63, 73, 52]
Generated Node #0,2: 53:[63, 73, 52] Operation: 27+25=52
Exploring Operation: 73-25=48, Resulting Numbers: [27, 63, 48]
Generated Node #0,3: 53:[27, 63, 48] Operation: 73-25=48
Moving to Node #0,2
Current State: 53:[63, 73, 52], Operations: ['27+25=52']
Exploring Operation: 73-63=10, Resulting Numbers: [52, 10]
Generated Node #0,2,0: 53:[52, 10] Operation: 73-63=10
Exploring Operation: 73-52=21, Resulting Numbers: [63, 21]
Generated Node #0,2,1: 53:[63, 21] Operation: 73-52=21
Exploring Operation: 63+52=115, Resulting Numbers: [73, 115]
Generated Node #0,2,2: 53:[73, 115] Operation: 63+52=115
Exploring Operation: 63-52=11, Resulting Numbers: [73, 11]
Generated Node #0,2,3: 53:[73, 11] Operation: 63-52=11
Moving to Node #0,3
Current State: 53:[27, 63, 48], Operations: ['73-25=48']
Exploring Operation: 27+63=90, Resulting Numbers: [48, 90]
Generated Node #0,3,0: 53:[48, 90] Operation: 27+63=90
Exploring Operation: 27+48=75, Resulting Numbers: [63, 75]
Generated Node #0,3,1: 53:[63, 75] Operation: 27+48=75
Exploring Operation: 63-27=36, Resulting Numbers: [48, 36]
Generated Node #0,3,2: 53:[48, 36] Operation: 63-27=36
Exploring Operation: 48-27=21, Resulting Numbers: [63, 21]
Generated Node #0,3,3: 53:[63, 21] Operation: 48-27=21
Moving to Node #0,0
Current State: 53:[25, 63, 46], Operations: ['73-27=46']
Exploring Operation: 25+63=88, Resulting Numbers: [46, 88]
Generated Node #0,0,0: 53:[46, 88] Operation: 25+63=88
Exploring Operation: 46-25=21, Resulting Numbers: [63, 21]
Generated Node #0,0,1: 53:[63, 21] Operation: 46-25=21
Exploring Operation: 25+46=71, Resulting Numbers: [63, 71]
Generated Node #0,0,2: 53:[63, 71] Operation: 25+46=71
Exploring Operation: 63-25=38, Resulting Numbers: [46, 38]
Generated Node #0,0,3: 53:[46, 38] Operation: 63-25=38
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 53:[46, 38], Operations: ['73-27=46', '63-25=38']
Exploring Operation: 46+38=84, Resulting Numbers: [84]
84,53 unequal: No Solution
Exploring Operation: 46-38=8, Resulting Numbers: [8]
8,53 unequal: No Solution
Exploring Operation: 46*38=1748, Resulting Numbers: [1748]
1748,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 53:[63, 71], Operations: ['73-27=46', '25+46=71']
Exploring Operation: 63+71=134, Resulting Numbers: [134]
134,53 unequal: No Solution
Exploring Operation: 63*71=4473, Resulting Numbers: [4473]
4473,53 unequal: No Solution
Exploring Operation: 71-63=8, Resulting Numbers: [8]
8,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 53:[46, 88], Operations: ['73-27=46', '25+63=88']
Exploring Operation: 46+88=134, Resulting Numbers: [134]
134,53 unequal: No Solution
Exploring Operation: 88-46=42, Resulting Numbers: [42]
42,53 unequal: No Solution
Exploring Operation: 46*88=4048, Resulting Numbers: [4048]
4048,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 53:[63, 21], Operations: ['73-27=46', '46-25=21']
Exploring Operation: 63-21=42, Resulting Numbers: [42]
42,53 unequal: No Solution
Exploring Operation: 63*21=1323, Resulting Numbers: [1323]
1323,53 unequal: No Solution
Exploring Operation: 63+21=84, Resulting Numbers: [84]
84,53 unequal: No Solution
Exploring Operation: 63/21=3, Resulting Numbers: [3]
3,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 53:[27, 73, 38], Operations: ['63-25=38']
Exploring Operation: 27+73=100, Resulting Numbers: [38, 100]
Generated Node #0,1,0: 53:[38, 100] Operation: 27+73=100
Exploring Operation: 27+38=65, Resulting Numbers: [73, 65]
Generated Node #0,1,1: 53:[73, 65] Operation: 27+38=65
Exploring Operation: 73-38=35, Resulting Numbers: [27, 35]
Generated Node #0,1,2: 53:[27, 35] Operation: 73-38=35
Exploring Operation: 73-27=46, Resulting Numbers: [38, 46]
Generated Node #0,1,3: 53:[38, 46] Operation: 73-27=46
Moving to Node #0,3,2
Current State: 53:[48, 36], Operations: ['73-25=48', '63-27=36']
Exploring Operation: 48*36=1728, Resulting Numbers: [1728]
1728,53 unequal: No Solution
Exploring Operation: 48-36=12, Resulting Numbers: [12]
12,53 unequal: No Solution
Exploring Operation: 48+36=84, Resulting Numbers: [84]
84,53 unequal: No Solution
Moving to Node #0,1,3
Current State: 53:[38, 46], Operations: ['63-25=38', '73-27=46']
Exploring Operation: 38+46=84, Resulting Numbers: [84]
84,53 unequal: No Solution
Exploring Operation: 46-38=8, Resulting Numbers: [8]
8,53 unequal: No Solution
Exploring Operation: 38*46=1748, Resulting Numbers: [1748]
1748,53 unequal: No Solution
Moving to Node #0,3,1
Current State: 53:[63, 75], Operations: ['73-25=48', '27+48=75']
Exploring Operation: 63*75=4725, Resulting Numbers: [4725]
4725,53 unequal: No Solution
Exploring Operation: 75-63=12, Resulting Numbers: [12]
12,53 unequal: No Solution
Exploring Operation: 63+75=138, Resulting Numbers: [138]
138,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[73, 65], Operations: ['63-25=38', '27+38=65']
Exploring Operation: 73+65=138, Resulting Numbers: [138]
138,53 unequal: No Solution
Exploring Operation: 73*65=4745, Resulting Numbers: [4745]
4745,53 unequal: No Solution
Exploring Operation: 73-65=8, Resulting Numbers: [8]
8,53 unequal: No Solution
Moving to Node #0,3,0
Current State: 53:[48, 90], Operations: ['73-25=48', '27+63=90']
Exploring Operation: 48+90=138, Resulting Numbers: [138]
138,53 unequal: No Solution
Exploring Operation: 48*90=4320, Resulting Numbers: [4320]
4320,53 unequal: No Solution
Exploring Operation: 90-48=42, Resulting Numbers: [42]
42,53 unequal: No Solution
Moving to Node #0,2,1
Current State: 53:[63, 21], Operations: ['27+25=52', '73-52=21']
Exploring Operation: 63+21=84, Resulting Numbers: [84]
84,53 unequal: No Solution
Exploring Operation: 63-21=42, Resulting Numbers: [42]
42,53 unequal: No Solution
Exploring Operation: 63*21=1323, Resulting Numbers: [1323]
1323,53 unequal: No Solution
Exploring Operation: 63/21=3, Resulting Numbers: [3]
3,53 unequal: No Solution
Moving to Node #0,3,3
Current State: 53:[63, 21], Operations: ['73-25=48', '48-27=21']
Exploring Operation: 63-21=42, Resulting Numbers: [42]
42,53 unequal: No Solution
Exploring Operation: 63*21=1323, Resulting Numbers: [1323]
1323,53 unequal: No Solution
Exploring Operation: 63+21=84, Resulting Numbers: [84]
84,53 unequal: No Solution
Exploring Operation: 63/21=3, Resulting Numbers: [3]
3,53 unequal: No Solution
Moving to Node #0,2,0
Current State: 53:[52, 10], Operations: ['27+25=52', '73-63=10']
Exploring Operation: 52+10=62, Resulting Numbers: [62]
62,53 unequal: No Solution
Exploring Operation: 52-10=42, Resulting Numbers: [42]
42,53 unequal: No Solution
Exploring Operation: 52*10=520, Resulting Numbers: [520]
520,53 unequal: No Solution
Moving to Node #0,1,2
Current State: 53:[27, 35], Operations: ['63-25=38', '73-38=35']
Exploring Operation: 35-27=8, Resulting Numbers: [8]
8,53 unequal: No Solution
Exploring Operation: 27*35=945, Resulting Numbers: [945]
945,53 unequal: No Solution
Exploring Operation: 27+35=62, Resulting Numbers: [62]
62,53 unequal: No Solution
Moving to Node #0,2,3
Current State: 53:[73, 11], Operations: ['27+25=52', '63-52=11']
Exploring Operation: 73-11=62, Resulting Numbers: [62]
62,53 unequal: No Solution
Exploring Operation: 73+11=84, Resulting Numbers: [84]
84,53 unequal: No Solution
Exploring Operation: 73*11=803, Resulting Numbers: [803]
803,53 unequal: No Solution
Moving to Node #0,1,0
Current State: 53:[38, 100], Operations: ['63-25=38', '27+73=100']
Exploring Operation: 38+100=138, Resulting Numbers: [138]
138,53 unequal: No Solution
Exploring Operation: 38*100=3800, Resulting Numbers: [3800]
3800,53 unequal: No Solution
Exploring Operation: 100-38=62, Resulting Numbers: [62]
62,53 unequal: No Solution
Moving to Node #0,2,2
Current State: 53:[73, 115], Operations: ['27+25=52', '63+52=115']
Exploring Operation: 73*115=8395, Resulting Numbers: [8395]
8395,53 unequal: No Solution
Exploring Operation: 73+115=188, Resulting Numbers: [188]
188,53 unequal: No Solution
Exploring Operation: 115-73=42, Resulting Numbers: [42]
42,53 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
78,
44,
2,
72
] | 20 | [
"44+72=116",
"116/2=58",
"78-58=20"
] | Current State: 20:[78, 44, 2, 72], Operations: []
Exploring Operation: 44+72=116, Resulting Numbers: [78, 2, 116]
Generated Node #2: [78, 2, 116] from Operation: 44+72=116
Current State: 20:[78, 2, 116], Operations: ['44+72=116']
Exploring Operation: 116/2=58, Resulting Numbers: [78, 58]
Generated Node #3: [78, 58] from Operation: 116/2=58
Current State: 20:[78, 58], Operations: ['44+72=116', '116/2=58']
Exploring Operation: 78-58=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[78, 44, 2, 72], Operations: []
Exploring Operation: 78-72=6, Resulting Numbers: [44, 2, 6]
Generated Node #0,0: 20:[44, 2, 6] Operation: 78-72=6
Exploring Operation: 78-44=34, Resulting Numbers: [2, 72, 34]
Generated Node #0,1: 20:[2, 72, 34] Operation: 78-44=34
Exploring Operation: 72-44=28, Resulting Numbers: [78, 2, 28]
Generated Node #0,2: 20:[78, 2, 28] Operation: 72-44=28
Exploring Operation: 78/2=39, Resulting Numbers: [44, 72, 39]
Generated Node #0,3: 20:[44, 72, 39] Operation: 78/2=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[44, 2, 6], Operations: ['78-72=6']
Exploring Operation: 44-6=38, Resulting Numbers: [2, 38]
Generated Node #0,0,0: 20:[2, 38] Operation: 44-6=38
Exploring Operation: 6-2=4, Resulting Numbers: [44, 4]
Generated Node #0,0,1: 20:[44, 4] Operation: 6-2=4
Exploring Operation: 44/2=22, Resulting Numbers: [6, 22]
Generated Node #0,0,2: 20:[6, 22] Operation: 44/2=22
Exploring Operation: 44-2=42, Resulting Numbers: [6, 42]
Generated Node #0,0,3: 20:[6, 42] Operation: 44-2=42
Moving to Node #0,0,2
Current State: 20:[6, 22], Operations: ['78-72=6', '44/2=22']
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,20 unequal: No Solution
Exploring Operation: 6*22=132, Resulting Numbers: [132]
132,20 unequal: No Solution
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,20 unequal: No Solution
Moving to Node #0,0,0
Current State: 20:[2, 38], Operations: ['78-72=6', '44-6=38']
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,20 unequal: No Solution
Exploring Operation: 2+38=40, Resulting Numbers: [40]
40,20 unequal: No Solution
Exploring Operation: 2*38=76, Resulting Numbers: [76]
76,20 unequal: No Solution
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,20 unequal: No Solution
Moving to Node #0,0,3
Current State: 20:[6, 42], Operations: ['78-72=6', '44-2=42']
Exploring Operation: 42/6=7, Resulting Numbers: [7]
7,20 unequal: No Solution
Exploring Operation: 6*42=252, Resulting Numbers: [252]
252,20 unequal: No Solution
Exploring Operation: 6+42=48, Resulting Numbers: [48]
48,20 unequal: No Solution
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,20 unequal: No Solution
Moving to Node #0,0,1
Current State: 20:[44, 4], Operations: ['78-72=6', '6-2=4']
Exploring Operation: 44*4=176, Resulting Numbers: [176]
176,20 unequal: No Solution
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,20 unequal: No Solution
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,20 unequal: No Solution
Exploring Operation: 44+4=48, Resulting Numbers: [48]
48,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 20:[2, 72, 34], Operations: ['78-44=34']
Exploring Operation: 72-34=38, Resulting Numbers: [2, 38]
Generated Node #0,1,0: 20:[2, 38] Operation: 72-34=38
Exploring Operation: 72-2=70, Resulting Numbers: [34, 70]
Generated Node #0,1,1: 20:[34, 70] Operation: 72-2=70
Exploring Operation: 34/2=17, Resulting Numbers: [72, 17]
Generated Node #0,1,2: 20:[72, 17] Operation: 34/2=17
Exploring Operation: 72/2=36, Resulting Numbers: [34, 36]
Generated Node #0,1,3: 20:[34, 36] Operation: 72/2=36
Moving to Node #0,1,0
Current State: 20:[2, 38], Operations: ['78-44=34', '72-34=38']
Exploring Operation: 2*38=76, Resulting Numbers: [76]
76,20 unequal: No Solution
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,20 unequal: No Solution
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,20 unequal: No Solution
Exploring Operation: 2+38=40, Resulting Numbers: [40]
40,20 unequal: No Solution
Moving to Node #0,1,3
Current State: 20:[34, 36], Operations: ['78-44=34', '72/2=36']
Exploring Operation: 34+36=70, Resulting Numbers: [70]
70,20 unequal: No Solution
Exploring Operation: 34*36=1224, Resulting Numbers: [1224]
1224,20 unequal: No Solution
Exploring Operation: 36-34=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Moving to Node #0,1,2
Current State: 20:[72, 17], Operations: ['78-44=34', '34/2=17']
Exploring Operation: 72*17=1224, Resulting Numbers: [1224]
1224,20 unequal: No Solution
Exploring Operation: 72+17=89, Resulting Numbers: [89]
89,20 unequal: No Solution
Exploring Operation: 72-17=55, Resulting Numbers: [55]
55,20 unequal: No Solution
Moving to Node #0,1,1
Current State: 20:[34, 70], Operations: ['78-44=34', '72-2=70']
Exploring Operation: 34*70=2380, Resulting Numbers: [2380]
2380,20 unequal: No Solution
Exploring Operation: 70-34=36, Resulting Numbers: [36]
36,20 unequal: No Solution
Exploring Operation: 34+70=104, Resulting Numbers: [104]
104,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
Current State: 20:[78, 2, 28], Operations: ['72-44=28']
Exploring Operation: 78-28=50, Resulting Numbers: [2, 50]
Generated Node #0,2,0: 20:[2, 50] Operation: 78-28=50
Exploring Operation: 28/2=14, Resulting Numbers: [78, 14]
Generated Node #0,2,1: 20:[78, 14] Operation: 28/2=14
Exploring Operation: 78-2=76, Resulting Numbers: [28, 76]
Generated Node #0,2,2: 20:[28, 76] Operation: 78-2=76
Exploring Operation: 78/2=39, Resulting Numbers: [28, 39]
Generated Node #0,2,3: 20:[28, 39] Operation: 78/2=39
Moving to Node #0,2,3
Current State: 20:[28, 39], Operations: ['72-44=28', '78/2=39']
Exploring Operation: 28+39=67, Resulting Numbers: [67]
67,20 unequal: No Solution
Exploring Operation: 28*39=1092, Resulting Numbers: [1092]
1092,20 unequal: No Solution
Exploring Operation: 39-28=11, Resulting Numbers: [11]
11,20 unequal: No Solution
Moving to Node #0,2,0
Current State: 20:[2, 50], Operations: ['72-44=28', '78-28=50']
Exploring Operation: 2+50=52, Resulting Numbers: [52]
52,20 unequal: No Solution
Exploring Operation: 2*50=100, Resulting Numbers: [100]
100,20 unequal: No Solution
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,20 unequal: No Solution
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,20 unequal: No Solution
Moving to Node #0,2,1
Current State: 20:[78, 14], Operations: ['72-44=28', '28/2=14']
Exploring Operation: 78+14=92, Resulting Numbers: [92]
92,20 unequal: No Solution
Exploring Operation: 78*14=1092, Resulting Numbers: [1092]
1092,20 unequal: No Solution
Exploring Operation: 78-14=64, Resulting Numbers: [64]
64,20 unequal: No Solution
Moving to Node #0,2,2
Current State: 20:[28, 76], Operations: ['72-44=28', '78-2=76']
Exploring Operation: 76-28=48, Resulting Numbers: [48]
48,20 unequal: No Solution
Exploring Operation: 28*76=2128, Resulting Numbers: [2128]
2128,20 unequal: No Solution
Exploring Operation: 28+76=104, Resulting Numbers: [104]
104,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,3
Current State: 20:[44, 72, 39], Operations: ['78/2=39']
Exploring Operation: 72-44=28, Resulting Numbers: [39, 28]
Generated Node #0,3,0: 20:[39, 28] Operation: 72-44=28
Exploring Operation: 44+72=116, Resulting Numbers: [39, 116]
Generated Node #0,3,1: 20:[39, 116] Operation: 44+72=116
Exploring Operation: 44-39=5, Resulting Numbers: [72, 5]
Generated Node #0,3,2: 20:[72, 5] Operation: 44-39=5
Exploring Operation: 72-39=33, Resulting Numbers: [44, 33]
Generated Node #0,3,3: 20:[44, 33] Operation: 72-39=33
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 20:[39, 28], Operations: ['78/2=39', '72-44=28']
Exploring Operation: 39+28=67, Resulting Numbers: [67]
67,20 unequal: No Solution
Exploring Operation: 39-28=11, Resulting Numbers: [11]
11,20 unequal: No Solution
Exploring Operation: 39*28=1092, Resulting Numbers: [1092]
1092,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 20:[44, 33], Operations: ['78/2=39', '72-39=33']
Exploring Operation: 44-33=11, Resulting Numbers: [11]
11,20 unequal: No Solution
Exploring Operation: 44+33=77, Resulting Numbers: [77]
77,20 unequal: No Solution
Exploring Operation: 44*33=1452, Resulting Numbers: [1452]
1452,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 20:[72, 5], Operations: ['78/2=39', '44-39=5']
Exploring Operation: 72+5=77, Resulting Numbers: [77]
77,20 unequal: No Solution
Exploring Operation: 72*5=360, Resulting Numbers: [360]
360,20 unequal: No Solution
Exploring Operation: 72-5=67, Resulting Numbers: [67]
67,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 20:[39, 116], Operations: ['78/2=39', '44+72=116']
Exploring Operation: 39*116=4524, Resulting Numbers: [4524]
4524,20 unequal: No Solution
Exploring Operation: 39+116=155, Resulting Numbers: [155]
155,20 unequal: No Solution
Exploring Operation: 116-39=77, Resulting Numbers: [77]
77,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
76,
39,
14,
87
] | 67 | [
"39+87=126",
"126/14=9",
"76-9=67"
] | Current State: 67:[76, 39, 14, 87], Operations: []
Exploring Operation: 39+87=126, Resulting Numbers: [76, 14, 126]
Generated Node #2: [76, 14, 126] from Operation: 39+87=126
Current State: 67:[76, 14, 126], Operations: ['39+87=126']
Exploring Operation: 126/14=9, Resulting Numbers: [76, 9]
Generated Node #3: [76, 9] from Operation: 126/14=9
Current State: 67:[76, 9], Operations: ['39+87=126', '126/14=9']
Exploring Operation: 76-9=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[76, 39, 14, 87], Operations: []
Exploring Operation: 39+14=53, Resulting Numbers: [76, 87, 53]
Generated Node #0,0: 67:[76, 87, 53] Operation: 39+14=53
Exploring Operation: 87-14=73, Resulting Numbers: [76, 39, 73]
Generated Node #0,1: 67:[76, 39, 73] Operation: 87-14=73
Exploring Operation: 76+14=90, Resulting Numbers: [39, 87, 90]
Generated Node #0,2: 67:[39, 87, 90] Operation: 76+14=90
Exploring Operation: 76-14=62, Resulting Numbers: [39, 87, 62]
Generated Node #0,3: 67:[39, 87, 62] Operation: 76-14=62
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[76, 87, 53], Operations: ['39+14=53']
Exploring Operation: 76+53=129, Resulting Numbers: [87, 129]
Generated Node #0,0,0: 67:[87, 129] Operation: 76+53=129
Exploring Operation: 87-53=34, Resulting Numbers: [76, 34]
Generated Node #0,0,1: 67:[76, 34] Operation: 87-53=34
Exploring Operation: 76-53=23, Resulting Numbers: [87, 23]
Generated Node #0,0,2: 67:[87, 23] Operation: 76-53=23
Exploring Operation: 87-76=11, Resulting Numbers: [53, 11]
Generated Node #0,0,3: 67:[53, 11] Operation: 87-76=11
Moving to Node #0,0,1
Current State: 67:[76, 34], Operations: ['39+14=53', '87-53=34']
Exploring Operation: 76+34=110, Resulting Numbers: [110]
110,67 unequal: No Solution
Exploring Operation: 76-34=42, Resulting Numbers: [42]
42,67 unequal: No Solution
Exploring Operation: 76*34=2584, Resulting Numbers: [2584]
2584,67 unequal: No Solution
Moving to Node #0,0,2
Current State: 67:[87, 23], Operations: ['39+14=53', '76-53=23']
Exploring Operation: 87*23=2001, Resulting Numbers: [2001]
2001,67 unequal: No Solution
Exploring Operation: 87+23=110, Resulting Numbers: [110]
110,67 unequal: No Solution
Exploring Operation: 87-23=64, Resulting Numbers: [64]
64,67 unequal: No Solution
Moving to Node #0,0,3
Current State: 67:[53, 11], Operations: ['39+14=53', '87-76=11']
Exploring Operation: 53+11=64, Resulting Numbers: [64]
64,67 unequal: No Solution
Exploring Operation: 53*11=583, Resulting Numbers: [583]
583,67 unequal: No Solution
Exploring Operation: 53-11=42, Resulting Numbers: [42]
42,67 unequal: No Solution
Moving to Node #0,0,0
Current State: 67:[87, 129], Operations: ['39+14=53', '76+53=129']
Exploring Operation: 87+129=216, Resulting Numbers: [216]
216,67 unequal: No Solution
Exploring Operation: 129-87=42, Resulting Numbers: [42]
42,67 unequal: No Solution
Exploring Operation: 87*129=11223, Resulting Numbers: [11223]
11223,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[76, 39, 73], Operations: ['87-14=73']
Exploring Operation: 73-39=34, Resulting Numbers: [76, 34]
Generated Node #0,1,0: 67:[76, 34] Operation: 73-39=34
Exploring Operation: 76+39=115, Resulting Numbers: [73, 115]
Generated Node #0,1,1: 67:[73, 115] Operation: 76+39=115
Exploring Operation: 76-39=37, Resulting Numbers: [73, 37]
Generated Node #0,1,2: 67:[73, 37] Operation: 76-39=37
Exploring Operation: 39+73=112, Resulting Numbers: [76, 112]
Generated Node #0,1,3: 67:[76, 112] Operation: 39+73=112
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 67:[73, 37], Operations: ['87-14=73', '76-39=37']
Exploring Operation: 73-37=36, Resulting Numbers: [36]
36,67 unequal: No Solution
Exploring Operation: 73*37=2701, Resulting Numbers: [2701]
2701,67 unequal: No Solution
Exploring Operation: 73+37=110, Resulting Numbers: [110]
110,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 67:[76, 34], Operations: ['87-14=73', '73-39=34']
Exploring Operation: 76-34=42, Resulting Numbers: [42]
42,67 unequal: No Solution
Exploring Operation: 76*34=2584, Resulting Numbers: [2584]
2584,67 unequal: No Solution
Exploring Operation: 76+34=110, Resulting Numbers: [110]
110,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 67:[73, 115], Operations: ['87-14=73', '76+39=115']
Exploring Operation: 115-73=42, Resulting Numbers: [42]
42,67 unequal: No Solution
Exploring Operation: 73+115=188, Resulting Numbers: [188]
188,67 unequal: No Solution
Exploring Operation: 73*115=8395, Resulting Numbers: [8395]
8395,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 67:[76, 112], Operations: ['87-14=73', '39+73=112']
Exploring Operation: 76+112=188, Resulting Numbers: [188]
188,67 unequal: No Solution
Exploring Operation: 112-76=36, Resulting Numbers: [36]
36,67 unequal: No Solution
Exploring Operation: 76*112=8512, Resulting Numbers: [8512]
8512,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 67:[39, 87, 62], Operations: ['76-14=62']
Exploring Operation: 39+62=101, Resulting Numbers: [87, 101]
Generated Node #0,3,0: 67:[87, 101] Operation: 39+62=101
Exploring Operation: 62-39=23, Resulting Numbers: [87, 23]
Generated Node #0,3,1: 67:[87, 23] Operation: 62-39=23
Exploring Operation: 39+87=126, Resulting Numbers: [62, 126]
Generated Node #0,3,2: 67:[62, 126] Operation: 39+87=126
Exploring Operation: 87-39=48, Resulting Numbers: [62, 48]
Generated Node #0,3,3: 67:[62, 48] Operation: 87-39=48
Moving to Node #0,3,3
Current State: 67:[62, 48], Operations: ['76-14=62', '87-39=48']
Exploring Operation: 62*48=2976, Resulting Numbers: [2976]
2976,67 unequal: No Solution
Exploring Operation: 62-48=14, Resulting Numbers: [14]
14,67 unequal: No Solution
Exploring Operation: 62+48=110, Resulting Numbers: [110]
110,67 unequal: No Solution
Moving to Node #0,3,0
Current State: 67:[87, 101], Operations: ['76-14=62', '39+62=101']
Exploring Operation: 101-87=14, Resulting Numbers: [14]
14,67 unequal: No Solution
Exploring Operation: 87*101=8787, Resulting Numbers: [8787]
8787,67 unequal: No Solution
Exploring Operation: 87+101=188, Resulting Numbers: [188]
188,67 unequal: No Solution
Moving to Node #0,3,2
Current State: 67:[62, 126], Operations: ['76-14=62', '39+87=126']
Exploring Operation: 62+126=188, Resulting Numbers: [188]
188,67 unequal: No Solution
Exploring Operation: 126-62=64, Resulting Numbers: [64]
64,67 unequal: No Solution
Exploring Operation: 62*126=7812, Resulting Numbers: [7812]
7812,67 unequal: No Solution
Moving to Node #0,3,1
Current State: 67:[87, 23], Operations: ['76-14=62', '62-39=23']
Exploring Operation: 87-23=64, Resulting Numbers: [64]
64,67 unequal: No Solution
Exploring Operation: 87+23=110, Resulting Numbers: [110]
110,67 unequal: No Solution
Exploring Operation: 87*23=2001, Resulting Numbers: [2001]
2001,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 67:[39, 87, 90], Operations: ['76+14=90']
Exploring Operation: 90-39=51, Resulting Numbers: [87, 51]
Generated Node #0,2,0: 67:[87, 51] Operation: 90-39=51
Exploring Operation: 39+90=129, Resulting Numbers: [87, 129]
Generated Node #0,2,1: 67:[87, 129] Operation: 39+90=129
Exploring Operation: 87-39=48, Resulting Numbers: [90, 48]
Generated Node #0,2,2: 67:[90, 48] Operation: 87-39=48
Exploring Operation: 39+87=126, Resulting Numbers: [90, 126]
Generated Node #0,2,3: 67:[90, 126] Operation: 39+87=126
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 67:[87, 51], Operations: ['76+14=90', '90-39=51']
Exploring Operation: 87+51=138, Resulting Numbers: [138]
138,67 unequal: No Solution
Exploring Operation: 87*51=4437, Resulting Numbers: [4437]
4437,67 unequal: No Solution
Exploring Operation: 87-51=36, Resulting Numbers: [36]
36,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 67:[90, 48], Operations: ['76+14=90', '87-39=48']
Exploring Operation: 90*48=4320, Resulting Numbers: [4320]
4320,67 unequal: No Solution
Exploring Operation: 90+48=138, Resulting Numbers: [138]
138,67 unequal: No Solution
Exploring Operation: 90-48=42, Resulting Numbers: [42]
42,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 67:[87, 129], Operations: ['76+14=90', '39+90=129']
Exploring Operation: 129-87=42, Resulting Numbers: [42]
42,67 unequal: No Solution
Exploring Operation: 87*129=11223, Resulting Numbers: [11223]
11223,67 unequal: No Solution
Exploring Operation: 87+129=216, Resulting Numbers: [216]
216,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 67:[90, 126], Operations: ['76+14=90', '39+87=126']
Exploring Operation: 126-90=36, Resulting Numbers: [36]
36,67 unequal: No Solution
Exploring Operation: 90*126=11340, Resulting Numbers: [11340]
11340,67 unequal: No Solution
Exploring Operation: 90+126=216, Resulting Numbers: [216]
216,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
64,
72,
28,
64
] | 36 | [
"72-64=8",
"64/8=8",
"28+8=36"
] | Current State: 36:[64, 72, 28, 64], Operations: []
Exploring Operation: 72-64=8, Resulting Numbers: [28, 8]
Generated Node #2: [28, 8] from Operation: 72-64=8
Current State: 36:[28, 8], Operations: ['72-64=8']
Exploring Operation: 64/8=8, Resulting Numbers: [28, 8]
Generated Node #3: [28, 8] from Operation: 64/8=8
Current State: 36:[28, 8], Operations: ['72-64=8', '64/8=8']
Exploring Operation: 28+8=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[64, 72, 28, 64], Operations: []
Exploring Operation: 72-64=8, Resulting Numbers: [28, 64, 8]
Generated Node #0,0: 36:[28, 64, 8] Operation: 72-64=8
Exploring Operation: 64/64=1, Resulting Numbers: [72, 28, 1]
Generated Node #0,1: 36:[72, 28, 1] Operation: 64/64=1
Exploring Operation: 72-64=8, Resulting Numbers: [64, 28, 8]
Generated Node #0,2: 36:[64, 28, 8] Operation: 72-64=8
Exploring Operation: 64-64=0, Resulting Numbers: [72, 28, 0]
Generated Node #0,3: 36:[72, 28, 0] Operation: 64-64=0
Moving to Node #0,0
Current State: 36:[28, 64, 8], Operations: ['72-64=8']
Exploring Operation: 64/8=8, Resulting Numbers: [28, 8]
Generated Node #0,0,0: 36:[28, 8] Operation: 64/8=8
Exploring Operation: 28+8=36, Resulting Numbers: [64, 36]
Generated Node #0,0,1: 36:[64, 36] Operation: 28+8=36
Exploring Operation: 64-8=56, Resulting Numbers: [28, 56]
Generated Node #0,0,2: 36:[28, 56] Operation: 64-8=56
Exploring Operation: 64-28=36, Resulting Numbers: [8, 36]
Generated Node #0,0,3: 36:[8, 36] Operation: 64-28=36
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 36:[8, 36], Operations: ['72-64=8', '64-28=36']
Exploring Operation: 8+36=44, Resulting Numbers: [44]
44,36 unequal: No Solution
Exploring Operation: 8*36=288, Resulting Numbers: [288]
288,36 unequal: No Solution
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,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,0
Current State: 36:[28, 8], Operations: ['72-64=8', '64/8=8']
Exploring Operation: 28+8=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[64, 72, 28, 64], Operations: []
Exploring Operation: 72-64=8, Resulting Numbers: [28, 64, 8]
Generated Node #0,0: 36:[28, 64, 8] Operation: 72-64=8
Moving to Node #0,0
Current State: 36:[28, 64, 8], Operations: ['72-64=8']
Exploring Operation: 64/8=8, Resulting Numbers: [28, 8]
Generated Node #0,0,0: 36:[28, 8] Operation: 64/8=8
Moving to Node #0,0,0
Current State: 36:[28, 8], Operations: ['72-64=8', '64/8=8']
Exploring Operation: 28+8=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
42,
1,
75,
59
] | 26 | [
"42*1=42",
"75-59=16",
"42-16=26"
] | Current State: 26:[42, 1, 75, 59], Operations: []
Exploring Operation: 42*1=42, Resulting Numbers: [75, 59, 42]
Generated Node #2: [75, 59, 42] from Operation: 42*1=42
Current State: 26:[75, 59, 42], Operations: ['42*1=42']
Exploring Operation: 75-59=16, Resulting Numbers: [42, 16]
Generated Node #3: [42, 16] from Operation: 75-59=16
Current State: 26:[42, 16], Operations: ['42*1=42', '75-59=16']
Exploring Operation: 42-16=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[42, 1, 75, 59], Operations: []
Exploring Operation: 75-59=16, Resulting Numbers: [42, 1, 16]
Generated Node #0,0: 26:[42, 1, 16] Operation: 75-59=16
Exploring Operation: 59-42=17, Resulting Numbers: [1, 75, 17]
Generated Node #0,1: 26:[1, 75, 17] Operation: 59-42=17
Exploring Operation: 75-1=74, Resulting Numbers: [42, 59, 74]
Generated Node #0,2: 26:[42, 59, 74] Operation: 75-1=74
Exploring Operation: 75-42=33, Resulting Numbers: [1, 59, 33]
Generated Node #0,3: 26:[1, 59, 33] Operation: 75-42=33
Exploring Operation: 42-1=41, Resulting Numbers: [75, 59, 41]
Generated Node #0,4: 26:[75, 59, 41] Operation: 42-1=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[42, 1, 16], Operations: ['75-59=16']
Exploring Operation: 16-1=15, Resulting Numbers: [42, 15]
Generated Node #0,0,0: 26:[42, 15] Operation: 16-1=15
Exploring Operation: 42-16=26, Resulting Numbers: [1, 26]
Generated Node #0,0,1: 26:[1, 26] Operation: 42-16=26
Exploring Operation: 42*1=42, Resulting Numbers: [16, 42]
Generated Node #0,0,2: 26:[16, 42] Operation: 42*1=42
Exploring Operation: 42/1=42, Resulting Numbers: [16, 42]
Generated Node #0,0,3: 26:[16, 42] Operation: 42/1=42
Exploring Operation: 42-1=41, Resulting Numbers: [16, 41]
Generated Node #0,0,4: 26:[16, 41] Operation: 42-1=41
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 26:[1, 26], Operations: ['75-59=16', '42-16=26']
Exploring Operation: 1*26=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[42, 1, 75, 59], Operations: []
Exploring Operation: 75-59=16, Resulting Numbers: [42, 1, 16]
Generated Node #0,0: 26:[42, 1, 16] Operation: 75-59=16
Moving to Node #0,0
Current State: 26:[42, 1, 16], Operations: ['75-59=16']
Exploring Operation: 42-16=26, Resulting Numbers: [1, 26]
Generated Node #0,0,1: 26:[1, 26] Operation: 42-16=26
Moving to Node #0,0,1
Current State: 26:[1, 26], Operations: ['75-59=16', '42-16=26']
Exploring Operation: 1*26=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
2,
16,
56,
68
] | 70 | [
"16+56=72",
"68+72=140",
"140/2=70"
] | Current State: 70:[2, 16, 56, 68], Operations: []
Exploring Operation: 16+56=72, Resulting Numbers: [2, 68, 72]
Generated Node #2: [2, 68, 72] from Operation: 16+56=72
Current State: 70:[2, 68, 72], Operations: ['16+56=72']
Exploring Operation: 68+72=140, Resulting Numbers: [2, 140]
Generated Node #3: [2, 140] from Operation: 68+72=140
Current State: 70:[2, 140], Operations: ['16+56=72', '68+72=140']
Exploring Operation: 140/2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[2, 16, 56, 68], Operations: []
Exploring Operation: 16+56=72, Resulting Numbers: [2, 68, 72]
Generated Node #0,0: 70:[2, 68, 72] Operation: 16+56=72
Exploring Operation: 68-56=12, Resulting Numbers: [2, 16, 12]
Generated Node #0,1: 70:[2, 16, 12] Operation: 68-56=12
Exploring Operation: 56-16=40, Resulting Numbers: [2, 68, 40]
Generated Node #0,2: 70:[2, 68, 40] Operation: 56-16=40
Moving to Node #0,0
Current State: 70:[2, 68, 72], Operations: ['16+56=72']
Exploring Operation: 72-68=4, Resulting Numbers: [2, 4]
Generated Node #0,0,0: 70:[2, 4] Operation: 72-68=4
Exploring Operation: 2+68=70, Resulting Numbers: [72, 70]
Generated Node #0,0,1: 70:[72, 70] Operation: 2+68=70
Exploring Operation: 72-2=70, Resulting Numbers: [68, 70]
Generated Node #0,0,2: 70:[68, 70] Operation: 72-2=70
Moving to Node #0,1
Current State: 70:[2, 16, 12], Operations: ['68-56=12']
Exploring Operation: 16-2=14, Resulting Numbers: [12, 14]
Generated Node #0,1,0: 70:[12, 14] Operation: 16-2=14
Exploring Operation: 2+12=14, Resulting Numbers: [16, 14]
Generated Node #0,1,1: 70:[16, 14] Operation: 2+12=14
Exploring Operation: 16-12=4, Resulting Numbers: [2, 4]
Generated Node #0,1,2: 70:[2, 4] Operation: 16-12=4
Moving to Node #0,2
Current State: 70:[2, 68, 40], Operations: ['56-16=40']
Exploring Operation: 68/2=34, Resulting Numbers: [40, 34]
Generated Node #0,2,0: 70:[40, 34] Operation: 68/2=34
Exploring Operation: 2+68=70, Resulting Numbers: [40, 70]
Generated Node #0,2,1: 70:[40, 70] Operation: 2+68=70
Exploring Operation: 40-2=38, Resulting Numbers: [68, 38]
Generated Node #0,2,2: 70:[68, 38] Operation: 40-2=38
Moving to Node #0,0,0
Current State: 70:[2, 4], Operations: ['16+56=72', '72-68=4']
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Moving to Node #0,1,2
Current State: 70:[2, 4], Operations: ['68-56=12', '16-12=4']
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Moving to Node #0,0,2
Current State: 70:[68, 70], Operations: ['16+56=72', '72-2=70']
Exploring Operation: 68*70=4760, Resulting Numbers: [4760]
4760,70 unequal: No Solution
Exploring Operation: 68+70=138, Resulting Numbers: [138]
138,70 unequal: No Solution
Exploring Operation: 70-68=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Moving to Node #0,1,1
Current State: 70:[16, 14], Operations: ['68-56=12', '2+12=14']
Exploring Operation: 16*14=224, Resulting Numbers: [224]
224,70 unequal: No Solution
Exploring Operation: 16+14=30, Resulting Numbers: [30]
30,70 unequal: No Solution
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Moving to Node #0,1,0
Current State: 70:[12, 14], Operations: ['68-56=12', '16-2=14']
Exploring Operation: 12*14=168, Resulting Numbers: [168]
168,70 unequal: No Solution
Exploring Operation: 12+14=26, Resulting Numbers: [26]
26,70 unequal: No Solution
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Moving to Node #0,0,1
Current State: 70:[72, 70], Operations: ['16+56=72', '2+68=70']
Exploring Operation: 72*70=5040, Resulting Numbers: [5040]
5040,70 unequal: No Solution
Exploring Operation: 72-70=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Exploring Operation: 72+70=142, Resulting Numbers: [142]
142,70 unequal: No Solution
Moving to Node #0,2,2
Current State: 70:[68, 38], Operations: ['56-16=40', '40-2=38']
Exploring Operation: 68*38=2584, Resulting Numbers: [2584]
2584,70 unequal: No Solution
Exploring Operation: 68-38=30, Resulting Numbers: [30]
30,70 unequal: No Solution
Exploring Operation: 68+38=106, Resulting Numbers: [106]
106,70 unequal: No Solution
Moving to Node #0,2,1
Current State: 70:[40, 70], Operations: ['56-16=40', '2+68=70']
Exploring Operation: 40+70=110, Resulting Numbers: [110]
110,70 unequal: No Solution
Exploring Operation: 70-40=30, Resulting Numbers: [30]
30,70 unequal: No Solution
Exploring Operation: 40*70=2800, Resulting Numbers: [2800]
2800,70 unequal: No Solution
Moving to Node #0,2,0
Current State: 70:[40, 34], Operations: ['56-16=40', '68/2=34']
Exploring Operation: 40*34=1360, Resulting Numbers: [1360]
1360,70 unequal: No Solution
Exploring Operation: 40+34=74, Resulting Numbers: [74]
74,70 unequal: No Solution
Exploring Operation: 40-34=6, Resulting Numbers: [6]
6,70 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
44,
52,
31,
90
] | 67 | [
"52-44=8",
"90-31=59",
"8+59=67"
] | Current State: 67:[44, 52, 31, 90], Operations: []
Exploring Operation: 52-44=8, Resulting Numbers: [31, 90, 8]
Generated Node #2: [31, 90, 8] from Operation: 52-44=8
Current State: 67:[31, 90, 8], Operations: ['52-44=8']
Exploring Operation: 90-31=59, Resulting Numbers: [8, 59]
Generated Node #3: [8, 59] from Operation: 90-31=59
Current State: 67:[8, 59], Operations: ['52-44=8', '90-31=59']
Exploring Operation: 8+59=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[44, 52, 31, 90], Operations: []
Exploring Operation: 52+31=83, Resulting Numbers: [44, 90, 83]
Generated Node #0,0: 67:[44, 90, 83] Operation: 52+31=83
Exploring Operation: 90-31=59, Resulting Numbers: [44, 52, 59]
Generated Node #0,1: 67:[44, 52, 59] Operation: 90-31=59
Exploring Operation: 44+31=75, Resulting Numbers: [52, 90, 75]
Generated Node #0,2: 67:[52, 90, 75] Operation: 44+31=75
Exploring Operation: 90-44=46, Resulting Numbers: [52, 31, 46]
Generated Node #0,3: 67:[52, 31, 46] Operation: 90-44=46
Moving to Node #0,1
Current State: 67:[44, 52, 59], Operations: ['90-31=59']
Exploring Operation: 52-44=8, Resulting Numbers: [59, 8]
Generated Node #0,1,0: 67:[59, 8] Operation: 52-44=8
Exploring Operation: 44+52=96, Resulting Numbers: [59, 96]
Generated Node #0,1,1: 67:[59, 96] Operation: 44+52=96
Exploring Operation: 59-44=15, Resulting Numbers: [52, 15]
Generated Node #0,1,2: 67:[52, 15] Operation: 59-44=15
Exploring Operation: 44+59=103, Resulting Numbers: [52, 103]
Generated Node #0,1,3: 67:[52, 103] Operation: 44+59=103
Moving to Node #0,2
Current State: 67:[52, 90, 75], Operations: ['44+31=75']
Exploring Operation: 90-75=15, Resulting Numbers: [52, 15]
Generated Node #0,2,0: 67:[52, 15] Operation: 90-75=15
Exploring Operation: 52+90=142, Resulting Numbers: [75, 142]
Generated Node #0,2,1: 67:[75, 142] Operation: 52+90=142
Exploring Operation: 75-52=23, Resulting Numbers: [90, 23]
Generated Node #0,2,2: 67:[90, 23] Operation: 75-52=23
Exploring Operation: 90-52=38, Resulting Numbers: [75, 38]
Generated Node #0,2,3: 67:[75, 38] Operation: 90-52=38
Moving to Node #0,0
Current State: 67:[44, 90, 83], Operations: ['52+31=83']
Exploring Operation: 44+90=134, Resulting Numbers: [83, 134]
Generated Node #0,0,0: 67:[83, 134] Operation: 44+90=134
Exploring Operation: 90-44=46, Resulting Numbers: [83, 46]
Generated Node #0,0,1: 67:[83, 46] Operation: 90-44=46
Exploring Operation: 44+83=127, Resulting Numbers: [90, 127]
Generated Node #0,0,2: 67:[90, 127] Operation: 44+83=127
Exploring Operation: 83-44=39, Resulting Numbers: [90, 39]
Generated Node #0,0,3: 67:[90, 39] Operation: 83-44=39
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 67:[83, 46], Operations: ['52+31=83', '90-44=46']
Exploring Operation: 83-46=37, Resulting Numbers: [37]
37,67 unequal: No Solution
Exploring Operation: 83+46=129, Resulting Numbers: [129]
129,67 unequal: No Solution
Exploring Operation: 83*46=3818, Resulting Numbers: [3818]
3818,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 67:[90, 39], Operations: ['52+31=83', '83-44=39']
Exploring Operation: 90+39=129, Resulting Numbers: [129]
129,67 unequal: No Solution
Exploring Operation: 90-39=51, Resulting Numbers: [51]
51,67 unequal: No Solution
Exploring Operation: 90*39=3510, Resulting Numbers: [3510]
3510,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 67:[83, 134], Operations: ['52+31=83', '44+90=134']
Exploring Operation: 83+134=217, Resulting Numbers: [217]
217,67 unequal: No Solution
Exploring Operation: 83*134=11122, Resulting Numbers: [11122]
11122,67 unequal: No Solution
Exploring Operation: 134-83=51, Resulting Numbers: [51]
51,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 67:[90, 127], Operations: ['52+31=83', '44+83=127']
Exploring Operation: 90+127=217, Resulting Numbers: [217]
217,67 unequal: No Solution
Exploring Operation: 90*127=11430, Resulting Numbers: [11430]
11430,67 unequal: No Solution
Exploring Operation: 127-90=37, Resulting Numbers: [37]
37,67 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: 67:[52, 31, 46], Operations: ['90-44=46']
Exploring Operation: 52+46=98, Resulting Numbers: [31, 98]
Generated Node #0,3,0: 67:[31, 98] Operation: 52+46=98
Exploring Operation: 52-31=21, Resulting Numbers: [46, 21]
Generated Node #0,3,1: 67:[46, 21] Operation: 52-31=21
Exploring Operation: 52+31=83, Resulting Numbers: [46, 83]
Generated Node #0,3,2: 67:[46, 83] Operation: 52+31=83
Exploring Operation: 31+46=77, Resulting Numbers: [52, 77]
Generated Node #0,3,3: 67:[52, 77] Operation: 31+46=77
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 67:[52, 77], Operations: ['90-44=46', '31+46=77']
Exploring Operation: 52*77=4004, Resulting Numbers: [4004]
4004,67 unequal: No Solution
Exploring Operation: 77-52=25, Resulting Numbers: [25]
25,67 unequal: No Solution
Exploring Operation: 52+77=129, Resulting Numbers: [129]
129,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 67:[46, 83], Operations: ['90-44=46', '52+31=83']
Exploring Operation: 46+83=129, Resulting Numbers: [129]
129,67 unequal: No Solution
Exploring Operation: 83-46=37, Resulting Numbers: [37]
37,67 unequal: No Solution
Exploring Operation: 46*83=3818, Resulting Numbers: [3818]
3818,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 67:[31, 98], Operations: ['90-44=46', '52+46=98']
Exploring Operation: 31+98=129, Resulting Numbers: [129]
129,67 unequal: No Solution
Exploring Operation: 31*98=3038, Resulting Numbers: [3038]
3038,67 unequal: No Solution
Exploring Operation: 98-31=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[44, 52, 31, 90], Operations: []
Exploring Operation: 90-44=46, Resulting Numbers: [52, 31, 46]
Generated Node #0,3: 67:[52, 31, 46] Operation: 90-44=46
Moving to Node #0,3
Current State: 67:[52, 31, 46], Operations: ['90-44=46']
Exploring Operation: 52+46=98, Resulting Numbers: [31, 98]
Generated Node #0,3,0: 67:[31, 98] Operation: 52+46=98
Moving to Node #0,3,0
Current State: 67:[31, 98], Operations: ['90-44=46', '52+46=98']
Exploring Operation: 98-31=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 1
| 0.960938 | hs_4 | mult_heuristic |
[
42,
62,
86,
56
] | 79 | [
"62-56=6",
"42/6=7",
"86-7=79"
] | Current State: 79:[42, 62, 86, 56], Operations: []
Exploring Operation: 62-56=6, Resulting Numbers: [42, 86, 6]
Generated Node #2: [42, 86, 6] from Operation: 62-56=6
Current State: 79:[42, 86, 6], Operations: ['62-56=6']
Exploring Operation: 42/6=7, Resulting Numbers: [86, 7]
Generated Node #3: [86, 7] from Operation: 42/6=7
Current State: 79:[86, 7], Operations: ['62-56=6', '42/6=7']
Exploring Operation: 86-7=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[42, 62, 86, 56], Operations: []
Exploring Operation: 42+62=104, Resulting Numbers: [86, 56, 104]
Generated Node #0,0: 79:[86, 56, 104] Operation: 42+62=104
Exploring Operation: 42+56=98, Resulting Numbers: [62, 86, 98]
Generated Node #0,1: 79:[62, 86, 98] Operation: 42+56=98
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[62, 86, 98], Operations: ['42+56=98']
Exploring Operation: 98-62=36, Resulting Numbers: [86, 36]
Generated Node #0,1,0: 79:[86, 36] Operation: 98-62=36
Exploring Operation: 86-62=24, Resulting Numbers: [98, 24]
Generated Node #0,1,1: 79:[98, 24] Operation: 86-62=24
Moving to Node #0,1,0
Current State: 79:[86, 36], Operations: ['42+56=98', '98-62=36']
Exploring Operation: 86+36=122, Resulting Numbers: [122]
122,79 unequal: No Solution
Exploring Operation: 86-36=50, Resulting Numbers: [50]
50,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[98, 24], Operations: ['42+56=98', '86-62=24']
Exploring Operation: 98-24=74, Resulting Numbers: [74]
74,79 unequal: No Solution
Exploring Operation: 98+24=122, Resulting Numbers: [122]
122,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[86, 56, 104], Operations: ['42+62=104']
Exploring Operation: 104-56=48, Resulting Numbers: [86, 48]
Generated Node #0,0,0: 79:[86, 48] Operation: 104-56=48
Exploring Operation: 86-56=30, Resulting Numbers: [104, 30]
Generated Node #0,0,1: 79:[104, 30] Operation: 86-56=30
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[86, 48], Operations: ['42+62=104', '104-56=48']
Exploring Operation: 86-48=38, Resulting Numbers: [38]
38,79 unequal: No Solution
Exploring Operation: 86+48=134, Resulting Numbers: [134]
134,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 79:[104, 30], Operations: ['42+62=104', '86-56=30']
Exploring Operation: 104+30=134, Resulting Numbers: [134]
134,79 unequal: No Solution
Exploring Operation: 104-30=74, Resulting Numbers: [74]
74,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
19,
46,
27,
56
] | 55 | [
"46-19=27",
"27/27=1",
"56-1=55"
] | Current State: 55:[19, 46, 27, 56], Operations: []
Exploring Operation: 46-19=27, Resulting Numbers: [27, 56, 27]
Generated Node #2: [27, 56, 27] from Operation: 46-19=27
Current State: 55:[27, 56, 27], Operations: ['46-19=27']
Exploring Operation: 27/27=1, Resulting Numbers: [56, 1]
Generated Node #3: [56, 1] from Operation: 27/27=1
Current State: 55:[56, 1], Operations: ['46-19=27', '27/27=1']
Exploring Operation: 56-1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[19, 46, 27, 56], Operations: []
Exploring Operation: 46-27=19, Resulting Numbers: [19, 56, 19]
Generated Node #0,0: 55:[19, 56, 19] Operation: 46-27=19
Exploring Operation: 19+27=46, Resulting Numbers: [46, 56, 46]
Generated Node #0,1: 55:[46, 56, 46] Operation: 19+27=46
Exploring Operation: 27-19=8, Resulting Numbers: [46, 56, 8]
Generated Node #0,2: 55:[46, 56, 8] Operation: 27-19=8
Moving to Node #0,2
Current State: 55:[46, 56, 8], Operations: ['27-19=8']
Exploring Operation: 46+8=54, Resulting Numbers: [56, 54]
Generated Node #0,2,0: 55:[56, 54] Operation: 46+8=54
Exploring Operation: 56/8=7, Resulting Numbers: [46, 7]
Generated Node #0,2,1: 55:[46, 7] Operation: 56/8=7
Exploring Operation: 56-46=10, Resulting Numbers: [8, 10]
Generated Node #0,2,2: 55:[8, 10] Operation: 56-46=10
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 55:[56, 54], Operations: ['27-19=8', '46+8=54']
Exploring Operation: 56*54=3024, Resulting Numbers: [3024]
3024,55 unequal: No Solution
Exploring Operation: 56-54=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Exploring Operation: 56+54=110, Resulting Numbers: [110]
110,55 unequal: No Solution
No 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: 55:[8, 10], Operations: ['27-19=8', '56-46=10']
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Exploring Operation: 8*10=80, Resulting Numbers: [80]
80,55 unequal: No Solution
Exploring Operation: 8+10=18, Resulting Numbers: [18]
18,55 unequal: No Solution
No 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: 55:[46, 7], Operations: ['27-19=8', '56/8=7']
Exploring Operation: 46-7=39, Resulting Numbers: [39]
39,55 unequal: No Solution
Exploring Operation: 46+7=53, Resulting Numbers: [53]
53,55 unequal: No Solution
Exploring Operation: 46*7=322, Resulting Numbers: [322]
322,55 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: 55:[19, 56, 19], Operations: ['46-27=19']
Exploring Operation: 19+19=38, Resulting Numbers: [56, 38]
Generated Node #0,0,0: 55:[56, 38] Operation: 19+19=38
Exploring Operation: 19/19=1, Resulting Numbers: [56, 1]
Generated Node #0,0,1: 55:[56, 1] Operation: 19/19=1
Exploring Operation: 19-19=0, Resulting Numbers: [56, 0]
Generated Node #0,0,2: 55:[56, 0] Operation: 19-19=0
Moving to Node #0,1
Current State: 55:[46, 56, 46], Operations: ['19+27=46']
Exploring Operation: 46-46=0, Resulting Numbers: [56, 0]
Generated Node #0,1,0: 55:[56, 0] Operation: 46-46=0
Exploring Operation: 56-46=10, Resulting Numbers: [46, 10]
Generated Node #0,1,1: 55:[46, 10] Operation: 56-46=10
Exploring Operation: 46/46=1, Resulting Numbers: [56, 1]
Generated Node #0,1,2: 55:[56, 1] Operation: 46/46=1
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 55:[56, 1], Operations: ['19+27=46', '46/46=1']
Exploring Operation: 56/1=56, Resulting Numbers: [56]
56,55 unequal: No Solution
Exploring Operation: 56*1=56, Resulting Numbers: [56]
56,55 unequal: No Solution
Exploring Operation: 56-1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[19, 46, 27, 56], Operations: []
Exploring Operation: 19+27=46, Resulting Numbers: [46, 56, 46]
Generated Node #0,1: 55:[46, 56, 46] Operation: 19+27=46
Moving to Node #0,1
Current State: 55:[46, 56, 46], Operations: ['19+27=46']
Exploring Operation: 46/46=1, Resulting Numbers: [56, 1]
Generated Node #0,1,2: 55:[56, 1] Operation: 46/46=1
Moving to Node #0,1,2
Current State: 55:[56, 1], Operations: ['19+27=46', '46/46=1']
Exploring Operation: 56-1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.975694 | hs_3 | sum_heuristic |
[
21,
33,
86,
6
] | 34 | [
"33+86=119",
"6*119=714",
"714/21=34"
] | Current State: 34:[21, 33, 86, 6], Operations: []
Exploring Operation: 33+86=119, Resulting Numbers: [21, 6, 119]
Generated Node #2: [21, 6, 119] from Operation: 33+86=119
Current State: 34:[21, 6, 119], Operations: ['33+86=119']
Exploring Operation: 6*119=714, Resulting Numbers: [21, 714]
Generated Node #3: [21, 714] from Operation: 6*119=714
Current State: 34:[21, 714], Operations: ['33+86=119', '6*119=714']
Exploring Operation: 714/21=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[21, 33, 86, 6], Operations: []
Exploring Operation: 86-21=65, Resulting Numbers: [33, 6, 65]
Generated Node #0,0: 34:[33, 6, 65] Operation: 86-21=65
Exploring Operation: 86-33=53, Resulting Numbers: [21, 6, 53]
Generated Node #0,1: 34:[21, 6, 53] Operation: 86-33=53
Exploring Operation: 86-6=80, Resulting Numbers: [21, 33, 80]
Generated Node #0,2: 34:[21, 33, 80] Operation: 86-6=80
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[21, 6, 53], Operations: ['86-33=53']
Exploring Operation: 53-21=32, Resulting Numbers: [6, 32]
Generated Node #0,1,0: 34:[6, 32] Operation: 53-21=32
Exploring Operation: 53-6=47, Resulting Numbers: [21, 47]
Generated Node #0,1,1: 34:[21, 47] Operation: 53-6=47
Exploring Operation: 21-6=15, Resulting Numbers: [53, 15]
Generated Node #0,1,2: 34:[53, 15] Operation: 21-6=15
Moving to Node #0,1,0
Current State: 34:[6, 32], Operations: ['86-33=53', '53-21=32']
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,34 unequal: No Solution
Exploring Operation: 6*32=192, Resulting Numbers: [192]
192,34 unequal: No Solution
Exploring Operation: 6+32=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Moving to Node #0,1,1
Current State: 34:[21, 47], Operations: ['86-33=53', '53-6=47']
Exploring Operation: 21+47=68, Resulting Numbers: [68]
68,34 unequal: No Solution
Exploring Operation: 21*47=987, Resulting Numbers: [987]
987,34 unequal: No Solution
Exploring Operation: 47-21=26, Resulting Numbers: [26]
26,34 unequal: No Solution
Moving to Node #0,1,2
Current State: 34:[53, 15], Operations: ['86-33=53', '21-6=15']
Exploring Operation: 53*15=795, Resulting Numbers: [795]
795,34 unequal: No Solution
Exploring Operation: 53+15=68, Resulting Numbers: [68]
68,34 unequal: No Solution
Exploring Operation: 53-15=38, Resulting Numbers: [38]
38,34 unequal: No Solution
No 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: 34:[33, 6, 65], Operations: ['86-21=65']
Exploring Operation: 65-33=32, Resulting Numbers: [6, 32]
Generated Node #0,0,0: 34:[6, 32] Operation: 65-33=32
Exploring Operation: 33+6=39, Resulting Numbers: [65, 39]
Generated Node #0,0,1: 34:[65, 39] Operation: 33+6=39
Exploring Operation: 65-6=59, Resulting Numbers: [33, 59]
Generated Node #0,0,2: 34:[33, 59] Operation: 65-6=59
Moving to Node #0,0,0
Current State: 34:[6, 32], Operations: ['86-21=65', '65-33=32']
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,34 unequal: No Solution
Exploring Operation: 6*32=192, Resulting Numbers: [192]
192,34 unequal: No Solution
Exploring Operation: 6+32=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Moving to Node #0,0,2
Current State: 34:[33, 59], Operations: ['86-21=65', '65-6=59']
Exploring Operation: 59-33=26, Resulting Numbers: [26]
26,34 unequal: No Solution
Exploring Operation: 33*59=1947, Resulting Numbers: [1947]
1947,34 unequal: No Solution
Exploring Operation: 33+59=92, Resulting Numbers: [92]
92,34 unequal: No Solution
Moving to Node #0,0,1
Current State: 34:[65, 39], Operations: ['86-21=65', '33+6=39']
Exploring Operation: 65+39=104, Resulting Numbers: [104]
104,34 unequal: No Solution
Exploring Operation: 65-39=26, Resulting Numbers: [26]
26,34 unequal: No Solution
Exploring Operation: 65*39=2535, Resulting Numbers: [2535]
2535,34 unequal: No Solution
No 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: 34:[21, 33, 80], Operations: ['86-6=80']
Exploring Operation: 33-21=12, Resulting Numbers: [80, 12]
Generated Node #0,2,0: 34:[80, 12] Operation: 33-21=12
Exploring Operation: 80-21=59, Resulting Numbers: [33, 59]
Generated Node #0,2,1: 34:[33, 59] Operation: 80-21=59
Exploring Operation: 80-33=47, Resulting Numbers: [21, 47]
Generated Node #0,2,2: 34:[21, 47] Operation: 80-33=47
Moving to Node #0,2,2
Current State: 34:[21, 47], Operations: ['86-6=80', '80-33=47']
Exploring Operation: 21+47=68, Resulting Numbers: [68]
68,34 unequal: No Solution
Exploring Operation: 47-21=26, Resulting Numbers: [26]
26,34 unequal: No Solution
Exploring Operation: 21*47=987, Resulting Numbers: [987]
987,34 unequal: No Solution
Moving to Node #0,2,1
Current State: 34:[33, 59], Operations: ['86-6=80', '80-21=59']
Exploring Operation: 33+59=92, Resulting Numbers: [92]
92,34 unequal: No Solution
Exploring Operation: 33*59=1947, Resulting Numbers: [1947]
1947,34 unequal: No Solution
Exploring Operation: 59-33=26, Resulting Numbers: [26]
26,34 unequal: No Solution
Moving to Node #0,2,0
Current State: 34:[80, 12], Operations: ['86-6=80', '33-21=12']
Exploring Operation: 80+12=92, Resulting Numbers: [92]
92,34 unequal: No Solution
Exploring Operation: 80*12=960, Resulting Numbers: [960]
960,34 unequal: No Solution
Exploring Operation: 80-12=68, Resulting Numbers: [68]
68,34 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 |
[
31,
23,
2,
66
] | 70 | [
"31-23=8",
"8/2=4",
"66+4=70"
] | Current State: 70:[31, 23, 2, 66], Operations: []
Exploring Operation: 31-23=8, Resulting Numbers: [2, 66, 8]
Generated Node #2: [2, 66, 8] from Operation: 31-23=8
Current State: 70:[2, 66, 8], Operations: ['31-23=8']
Exploring Operation: 8/2=4, Resulting Numbers: [66, 4]
Generated Node #3: [66, 4] from Operation: 8/2=4
Current State: 70:[66, 4], Operations: ['31-23=8', '8/2=4']
Exploring Operation: 66+4=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[31, 23, 2, 66], Operations: []
Exploring Operation: 31-23=8, Resulting Numbers: [2, 66, 8]
Generated Node #0,0: 70:[2, 66, 8] Operation: 31-23=8
Exploring Operation: 66-31=35, Resulting Numbers: [23, 2, 35]
Generated Node #0,1: 70:[23, 2, 35] Operation: 66-31=35
Moving to Node #0,0
Current State: 70:[2, 66, 8], Operations: ['31-23=8']
Exploring Operation: 66/2=33, Resulting Numbers: [8, 33]
Generated Node #0,0,0: 70:[8, 33] Operation: 66/2=33
Exploring Operation: 2+66=68, Resulting Numbers: [8, 68]
Generated Node #0,0,1: 70:[8, 68] Operation: 2+66=68
Moving to Node #0,1
Current State: 70:[23, 2, 35], Operations: ['66-31=35']
Exploring Operation: 35-23=12, Resulting Numbers: [2, 12]
Generated Node #0,1,0: 70:[2, 12] Operation: 35-23=12
Exploring Operation: 23-2=21, Resulting Numbers: [35, 21]
Generated Node #0,1,1: 70:[35, 21] Operation: 23-2=21
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 70:[2, 12], Operations: ['66-31=35', '35-23=12']
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,70 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,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,1,1
Current State: 70:[35, 21], Operations: ['66-31=35', '23-2=21']
Exploring Operation: 35-21=14, Resulting Numbers: [14]
14,70 unequal: No Solution
Exploring Operation: 35+21=56, Resulting Numbers: [56]
56,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 70:[8, 33], Operations: ['31-23=8', '66/2=33']
Exploring Operation: 8+33=41, Resulting Numbers: [41]
41,70 unequal: No Solution
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,70 unequal: No Solution
Moving to Node #0,0,1
Current State: 70:[8, 68], Operations: ['31-23=8', '2+66=68']
Exploring Operation: 68-8=60, Resulting Numbers: [60]
60,70 unequal: No Solution
Exploring Operation: 8+68=76, Resulting Numbers: [76]
76,70 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
30,
18,
65,
41
] | 40 | [
"65-41=24",
"30*24=720",
"720/18=40"
] | Current State: 40:[30, 18, 65, 41], Operations: []
Exploring Operation: 65-41=24, Resulting Numbers: [30, 18, 24]
Generated Node #2: [30, 18, 24] from Operation: 65-41=24
Current State: 40:[30, 18, 24], Operations: ['65-41=24']
Exploring Operation: 30*24=720, Resulting Numbers: [18, 720]
Generated Node #3: [18, 720] from Operation: 30*24=720
Current State: 40:[18, 720], Operations: ['65-41=24', '30*24=720']
Exploring Operation: 720/18=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[30, 18, 65, 41], Operations: []
Exploring Operation: 65-30=35, Resulting Numbers: [18, 41, 35]
Generated Node #0,0: 40:[18, 41, 35] Operation: 65-30=35
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[18, 41, 35], Operations: ['65-30=35']
Exploring Operation: 41-35=6, Resulting Numbers: [18, 6]
Generated Node #0,0,0: 40:[18, 6] Operation: 41-35=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 40:[18, 6], Operations: ['65-30=35', '41-35=6']
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
56,
17,
80,
63
] | 22 | [
"56-17=39",
"80-63=17",
"39-17=22"
] | Current State: 22:[56, 17, 80, 63], Operations: []
Exploring Operation: 56-17=39, Resulting Numbers: [80, 63, 39]
Generated Node #2: [80, 63, 39] from Operation: 56-17=39
Current State: 22:[80, 63, 39], Operations: ['56-17=39']
Exploring Operation: 80-63=17, Resulting Numbers: [39, 17]
Generated Node #3: [39, 17] from Operation: 80-63=17
Current State: 22:[39, 17], Operations: ['56-17=39', '80-63=17']
Exploring Operation: 39-17=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[56, 17, 80, 63], Operations: []
Exploring Operation: 80-63=17, Resulting Numbers: [56, 17, 17]
Generated Node #0,0: 22:[56, 17, 17] Operation: 80-63=17
Moving to Node #0,0
Current State: 22:[56, 17, 17], Operations: ['80-63=17']
Exploring Operation: 56-17=39, Resulting Numbers: [17, 39]
Generated Node #0,0,0: 22:[17, 39] Operation: 56-17=39
Moving to Node #0,0,0
Current State: 22:[17, 39], Operations: ['80-63=17', '56-17=39']
Exploring Operation: 39-17=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[56, 17, 80, 63], Operations: []
Exploring Operation: 80-63=17, Resulting Numbers: [56, 17, 17]
Generated Node #0,0: 22:[56, 17, 17] Operation: 80-63=17
Moving to Node #0,0
Current State: 22:[56, 17, 17], Operations: ['80-63=17']
Exploring Operation: 56-17=39, Resulting Numbers: [17, 39]
Generated Node #0,0,0: 22:[17, 39] Operation: 56-17=39
Moving to Node #0,0,0
Current State: 22:[17, 39], Operations: ['80-63=17', '56-17=39']
Exploring Operation: 39-17=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
32,
54,
66,
2
] | 77 | [
"54-32=22",
"22/2=11",
"66+11=77"
] | Current State: 77:[32, 54, 66, 2], Operations: []
Exploring Operation: 54-32=22, Resulting Numbers: [66, 2, 22]
Generated Node #2: [66, 2, 22] from Operation: 54-32=22
Current State: 77:[66, 2, 22], Operations: ['54-32=22']
Exploring Operation: 22/2=11, Resulting Numbers: [66, 11]
Generated Node #3: [66, 11] from Operation: 22/2=11
Current State: 77:[66, 11], Operations: ['54-32=22', '22/2=11']
Exploring Operation: 66+11=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[32, 54, 66, 2], Operations: []
Exploring Operation: 54-32=22, Resulting Numbers: [66, 2, 22]
Generated Node #0,0: 77:[66, 2, 22] Operation: 54-32=22
Exploring Operation: 66-54=12, Resulting Numbers: [32, 2, 12]
Generated Node #0,1: 77:[32, 2, 12] Operation: 66-54=12
Exploring Operation: 32+54=86, Resulting Numbers: [66, 2, 86]
Generated Node #0,2: 77:[66, 2, 86] Operation: 32+54=86
Exploring Operation: 32/2=16, Resulting Numbers: [54, 66, 16]
Generated Node #0,3: 77:[54, 66, 16] Operation: 32/2=16
Start Sub Search at level 1: Moving to Node #0,2
Current State: 77:[66, 2, 86], Operations: ['32+54=86']
Exploring Operation: 86-66=20, Resulting Numbers: [2, 20]
Generated Node #0,2,0: 77:[2, 20] Operation: 86-66=20
Exploring Operation: 66+2=68, Resulting Numbers: [86, 68]
Generated Node #0,2,1: 77:[86, 68] Operation: 66+2=68
Exploring Operation: 66-2=64, Resulting Numbers: [86, 64]
Generated Node #0,2,2: 77:[86, 64] Operation: 66-2=64
Exploring Operation: 86-2=84, Resulting Numbers: [66, 84]
Generated Node #0,2,3: 77:[66, 84] Operation: 86-2=84
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 77:[2, 20], Operations: ['32+54=86', '86-66=20']
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,77 unequal: No Solution
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,77 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,77 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,77 unequal: No Solution
No 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: 77:[86, 68], Operations: ['32+54=86', '66+2=68']
Exploring Operation: 86*68=5848, Resulting Numbers: [5848]
5848,77 unequal: No Solution
Exploring Operation: 86-68=18, Resulting Numbers: [18]
18,77 unequal: No Solution
Exploring Operation: 86+68=154, Resulting Numbers: [154]
154,77 unequal: No Solution
No 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: 77:[66, 84], Operations: ['32+54=86', '86-2=84']
Exploring Operation: 66+84=150, Resulting Numbers: [150]
150,77 unequal: No Solution
Exploring Operation: 84-66=18, Resulting Numbers: [18]
18,77 unequal: No Solution
Exploring Operation: 66*84=5544, Resulting Numbers: [5544]
5544,77 unequal: No Solution
No 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: 77:[86, 64], Operations: ['32+54=86', '66-2=64']
Exploring Operation: 86*64=5504, Resulting Numbers: [5504]
5504,77 unequal: No Solution
Exploring Operation: 86+64=150, Resulting Numbers: [150]
150,77 unequal: No Solution
Exploring Operation: 86-64=22, Resulting Numbers: [22]
22,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[66, 2, 22], Operations: ['54-32=22']
Exploring Operation: 22/2=11, Resulting Numbers: [66, 11]
Generated Node #0,0,0: 77:[66, 11] Operation: 22/2=11
Exploring Operation: 66+2=68, Resulting Numbers: [22, 68]
Generated Node #0,0,1: 77:[22, 68] Operation: 66+2=68
Exploring Operation: 66/22=3, Resulting Numbers: [2, 3]
Generated Node #0,0,2: 77:[2, 3] Operation: 66/22=3
Exploring Operation: 66+22=88, Resulting Numbers: [2, 88]
Generated Node #0,0,3: 77:[2, 88] Operation: 66+22=88
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 77:[2, 3], Operations: ['54-32=22', '66/22=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,77 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,77 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,77 unequal: No Solution
No 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: 77:[66, 11], Operations: ['54-32=22', '22/2=11']
Exploring Operation: 66/11=6, Resulting Numbers: [6]
6,77 unequal: No Solution
Exploring Operation: 66*11=726, Resulting Numbers: [726]
726,77 unequal: No Solution
Exploring Operation: 66+11=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[32, 54, 66, 2], Operations: []
Exploring Operation: 54-32=22, Resulting Numbers: [66, 2, 22]
Generated Node #0,0: 77:[66, 2, 22] Operation: 54-32=22
Moving to Node #0,0
Current State: 77:[66, 2, 22], Operations: ['54-32=22']
Exploring Operation: 22/2=11, Resulting Numbers: [66, 11]
Generated Node #0,0,0: 77:[66, 11] Operation: 22/2=11
Moving to Node #0,0,0
Current State: 77:[66, 11], Operations: ['54-32=22', '22/2=11']
Exploring Operation: 66+11=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.969618 | hs_4 | mult_heuristic |
[
11,
8,
14,
66
] | 16 | [
"66/11=6",
"8+14=22",
"22-6=16"
] | Current State: 16:[11, 8, 14, 66], Operations: []
Exploring Operation: 66/11=6, Resulting Numbers: [8, 14, 6]
Generated Node #2: [8, 14, 6] from Operation: 66/11=6
Current State: 16:[8, 14, 6], Operations: ['66/11=6']
Exploring Operation: 8+14=22, Resulting Numbers: [6, 22]
Generated Node #3: [6, 22] from Operation: 8+14=22
Current State: 16:[6, 22], Operations: ['66/11=6', '8+14=22']
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[11, 8, 14, 66], Operations: []
Exploring Operation: 66-8=58, Resulting Numbers: [11, 14, 58]
Generated Node #0,0: 16:[11, 14, 58] Operation: 66-8=58
Exploring Operation: 66-11=55, Resulting Numbers: [8, 14, 55]
Generated Node #0,1: 16:[8, 14, 55] Operation: 66-11=55
Exploring Operation: 66/11=6, Resulting Numbers: [8, 14, 6]
Generated Node #0,2: 16:[8, 14, 6] Operation: 66/11=6
Exploring Operation: 14-11=3, Resulting Numbers: [8, 66, 3]
Generated Node #0,3: 16:[8, 66, 3] Operation: 14-11=3
Exploring Operation: 66-14=52, Resulting Numbers: [11, 8, 52]
Generated Node #0,4: 16:[11, 8, 52] Operation: 66-14=52
Start Sub Search at level 1: Moving to Node #0,2
Current State: 16:[8, 14, 6], Operations: ['66/11=6']
Exploring Operation: 8+6=14, Resulting Numbers: [14, 14]
Generated Node #0,2,0: 16:[14, 14] Operation: 8+6=14
Exploring Operation: 14-8=6, Resulting Numbers: [6, 6]
Generated Node #0,2,1: 16:[6, 6] Operation: 14-8=6
Exploring Operation: 14-6=8, Resulting Numbers: [8, 8]
Generated Node #0,2,2: 16:[8, 8] Operation: 14-6=8
Exploring Operation: 8-6=2, Resulting Numbers: [14, 2]
Generated Node #0,2,3: 16:[14, 2] Operation: 8-6=2
Exploring Operation: 14+6=20, Resulting Numbers: [8, 20]
Generated Node #0,2,4: 16:[8, 20] Operation: 14+6=20
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 16:[8, 8], Operations: ['66/11=6', '14-6=8']
Exploring Operation: 8-8=0, Resulting Numbers: [0]
0,16 unequal: No Solution
Exploring Operation: 8/8=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 8*8=64, Resulting Numbers: [64]
64,16 unequal: No Solution
Exploring Operation: 8+8=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[11, 8, 14, 66], Operations: []
Exploring Operation: 66/11=6, Resulting Numbers: [8, 14, 6]
Generated Node #0,2: 16:[8, 14, 6] Operation: 66/11=6
Moving to Node #0,2
Current State: 16:[8, 14, 6], Operations: ['66/11=6']
Exploring Operation: 14-6=8, Resulting Numbers: [8, 8]
Generated Node #0,2,2: 16:[8, 8] Operation: 14-6=8
Moving to Node #0,2,2
Current State: 16:[8, 8], Operations: ['66/11=6', '14-6=8']
Exploring Operation: 8+8=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
46,
63,
49,
71
] | 87 | [
"46+63=109",
"71-49=22",
"109-22=87"
] | Current State: 87:[46, 63, 49, 71], Operations: []
Exploring Operation: 46+63=109, Resulting Numbers: [49, 71, 109]
Generated Node #2: [49, 71, 109] from Operation: 46+63=109
Current State: 87:[49, 71, 109], Operations: ['46+63=109']
Exploring Operation: 71-49=22, Resulting Numbers: [109, 22]
Generated Node #3: [109, 22] from Operation: 71-49=22
Current State: 87:[109, 22], Operations: ['46+63=109', '71-49=22']
Exploring Operation: 109-22=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[46, 63, 49, 71], Operations: []
Exploring Operation: 49-46=3, Resulting Numbers: [63, 71, 3]
Generated Node #0,0: 87:[63, 71, 3] Operation: 49-46=3
Exploring Operation: 63-49=14, Resulting Numbers: [46, 71, 14]
Generated Node #0,1: 87:[46, 71, 14] Operation: 63-49=14
Exploring Operation: 63-46=17, Resulting Numbers: [49, 71, 17]
Generated Node #0,2: 87:[49, 71, 17] Operation: 63-46=17
Exploring Operation: 71-63=8, Resulting Numbers: [46, 49, 8]
Generated Node #0,3: 87:[46, 49, 8] Operation: 71-63=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[63, 71, 3], Operations: ['49-46=3']
Exploring Operation: 63+3=66, Resulting Numbers: [71, 66]
Generated Node #0,0,0: 87:[71, 66] Operation: 63+3=66
Exploring Operation: 71-63=8, Resulting Numbers: [3, 8]
Generated Node #0,0,1: 87:[3, 8] Operation: 71-63=8
Exploring Operation: 71+3=74, Resulting Numbers: [63, 74]
Generated Node #0,0,2: 87:[63, 74] Operation: 71+3=74
Exploring Operation: 63/3=21, Resulting Numbers: [71, 21]
Generated Node #0,0,3: 87:[71, 21] Operation: 63/3=21
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 87:[3, 8], Operations: ['49-46=3', '71-63=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,87 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,87 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 87:[71, 21], Operations: ['49-46=3', '63/3=21']
Exploring Operation: 71-21=50, Resulting Numbers: [50]
50,87 unequal: No Solution
Exploring Operation: 71+21=92, Resulting Numbers: [92]
92,87 unequal: No Solution
Exploring Operation: 71*21=1491, Resulting Numbers: [1491]
1491,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 87:[71, 66], Operations: ['49-46=3', '63+3=66']
Exploring Operation: 71+66=137, Resulting Numbers: [137]
137,87 unequal: No Solution
Exploring Operation: 71-66=5, Resulting Numbers: [5]
5,87 unequal: No Solution
Exploring Operation: 71*66=4686, Resulting Numbers: [4686]
4686,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 87:[63, 74], Operations: ['49-46=3', '71+3=74']
Exploring Operation: 63+74=137, Resulting Numbers: [137]
137,87 unequal: No Solution
Exploring Operation: 63*74=4662, Resulting Numbers: [4662]
4662,87 unequal: No Solution
Exploring Operation: 74-63=11, Resulting Numbers: [11]
11,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 87:[46, 49, 8], Operations: ['71-63=8']
Exploring Operation: 46-8=38, Resulting Numbers: [49, 38]
Generated Node #0,3,0: 87:[49, 38] Operation: 46-8=38
Exploring Operation: 49-8=41, Resulting Numbers: [46, 41]
Generated Node #0,3,1: 87:[46, 41] Operation: 49-8=41
Exploring Operation: 49-46=3, Resulting Numbers: [8, 3]
Generated Node #0,3,2: 87:[8, 3] Operation: 49-46=3
Exploring Operation: 46+49=95, Resulting Numbers: [8, 95]
Generated Node #0,3,3: 87:[8, 95] Operation: 46+49=95
Moving to Node #0,3,2
Current State: 87:[8, 3], Operations: ['71-63=8', '49-46=3']
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,87 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,87 unequal: No Solution
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,87 unequal: No Solution
Moving to Node #0,3,3
Current State: 87:[8, 95], Operations: ['71-63=8', '46+49=95']
Exploring Operation: 8+95=103, Resulting Numbers: [103]
103,87 unequal: No Solution
Exploring Operation: 8*95=760, Resulting Numbers: [760]
760,87 unequal: No Solution
Exploring Operation: 95-8=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[46, 63, 49, 71], Operations: []
Exploring Operation: 71-63=8, Resulting Numbers: [46, 49, 8]
Generated Node #0,3: 87:[46, 49, 8] Operation: 71-63=8
Moving to Node #0,3
Current State: 87:[46, 49, 8], Operations: ['71-63=8']
Exploring Operation: 46+49=95, Resulting Numbers: [8, 95]
Generated Node #0,3,3: 87:[8, 95] Operation: 46+49=95
Moving to Node #0,3,3
Current State: 87:[8, 95], Operations: ['71-63=8', '46+49=95']
Exploring Operation: 95-8=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.970486 | hs_4 | sum_heuristic |
[
77,
82,
9,
11
] | 84 | [
"77/11=7",
"82+9=91",
"91-7=84"
] | Current State: 84:[77, 82, 9, 11], Operations: []
Exploring Operation: 77/11=7, Resulting Numbers: [82, 9, 7]
Generated Node #2: [82, 9, 7] from Operation: 77/11=7
Current State: 84:[82, 9, 7], Operations: ['77/11=7']
Exploring Operation: 82+9=91, Resulting Numbers: [7, 91]
Generated Node #3: [7, 91] from Operation: 82+9=91
Current State: 84:[7, 91], Operations: ['77/11=7', '82+9=91']
Exploring Operation: 91-7=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[77, 82, 9, 11], Operations: []
Exploring Operation: 77+9=86, Resulting Numbers: [82, 11, 86]
Generated Node #0,0: 84:[82, 11, 86] Operation: 77+9=86
Exploring Operation: 82-77=5, Resulting Numbers: [9, 11, 5]
Generated Node #0,1: 84:[9, 11, 5] Operation: 82-77=5
Exploring Operation: 77/11=7, Resulting Numbers: [82, 9, 7]
Generated Node #0,2: 84:[82, 9, 7] Operation: 77/11=7
Moving to Node #0,1
Current State: 84:[9, 11, 5], Operations: ['82-77=5']
Exploring Operation: 9+5=14, Resulting Numbers: [11, 14]
Generated Node #0,1,0: 84:[11, 14] Operation: 9+5=14
Exploring Operation: 9-5=4, Resulting Numbers: [11, 4]
Generated Node #0,1,1: 84:[11, 4] Operation: 9-5=4
Exploring Operation: 11-9=2, Resulting Numbers: [5, 2]
Generated Node #0,1,2: 84:[5, 2] Operation: 11-9=2
Moving to Node #0,2
Current State: 84:[82, 9, 7], Operations: ['77/11=7']
Exploring Operation: 82+9=91, Resulting Numbers: [7, 91]
Generated Node #0,2,0: 84:[7, 91] Operation: 82+9=91
Exploring Operation: 9-7=2, Resulting Numbers: [82, 2]
Generated Node #0,2,1: 84:[82, 2] Operation: 9-7=2
Exploring Operation: 9+7=16, Resulting Numbers: [82, 16]
Generated Node #0,2,2: 84:[82, 16] Operation: 9+7=16
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 84:[82, 2], Operations: ['77/11=7', '9-7=2']
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,84 unequal: No Solution
Exploring Operation: 82+2=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[77, 82, 9, 11], Operations: []
Exploring Operation: 77/11=7, Resulting Numbers: [82, 9, 7]
Generated Node #0,2: 84:[82, 9, 7] Operation: 77/11=7
Moving to Node #0,2
Current State: 84:[82, 9, 7], Operations: ['77/11=7']
Exploring Operation: 9-7=2, Resulting Numbers: [82, 2]
Generated Node #0,2,1: 84:[82, 2] Operation: 9-7=2
Moving to Node #0,2,1
Current State: 84:[82, 2], Operations: ['77/11=7', '9-7=2']
Exploring Operation: 82+2=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | sum_heuristic |
[
42,
90,
7,
6
] | 98 | [
"90*7=630",
"630-42=588",
"588/6=98"
] | Current State: 98:[42, 90, 7, 6], Operations: []
Exploring Operation: 90*7=630, Resulting Numbers: [42, 6, 630]
Generated Node #2: [42, 6, 630] from Operation: 90*7=630
Current State: 98:[42, 6, 630], Operations: ['90*7=630']
Exploring Operation: 630-42=588, Resulting Numbers: [6, 588]
Generated Node #3: [6, 588] from Operation: 630-42=588
Current State: 98:[6, 588], Operations: ['90*7=630', '630-42=588']
Exploring Operation: 588/6=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[42, 90, 7, 6], Operations: []
Exploring Operation: 90-42=48, Resulting Numbers: [7, 6, 48]
Generated Node #0,0: 98:[7, 6, 48] Operation: 90-42=48
Exploring Operation: 42+6=48, Resulting Numbers: [90, 7, 48]
Generated Node #0,1: 98:[90, 7, 48] Operation: 42+6=48
Exploring Operation: 90/6=15, Resulting Numbers: [42, 7, 15]
Generated Node #0,2: 98:[42, 7, 15] Operation: 90/6=15
Exploring Operation: 42+7=49, Resulting Numbers: [90, 6, 49]
Generated Node #0,3: 98:[90, 6, 49] Operation: 42+7=49
Exploring Operation: 42/6=7, Resulting Numbers: [90, 7, 7]
Generated Node #0,4: 98:[90, 7, 7] Operation: 42/6=7
Moving to Node #0,0
Current State: 98:[7, 6, 48], Operations: ['90-42=48']
Exploring Operation: 7+48=55, Resulting Numbers: [6, 55]
Generated Node #0,0,0: 98:[6, 55] Operation: 7+48=55
Exploring Operation: 6+48=54, Resulting Numbers: [7, 54]
Generated Node #0,0,1: 98:[7, 54] Operation: 6+48=54
Exploring Operation: 7+6=13, Resulting Numbers: [48, 13]
Generated Node #0,0,2: 98:[48, 13] Operation: 7+6=13
Exploring Operation: 48/6=8, Resulting Numbers: [7, 8]
Generated Node #0,0,3: 98:[7, 8] Operation: 48/6=8
Exploring Operation: 7-6=1, Resulting Numbers: [48, 1]
Generated Node #0,0,4: 98:[48, 1] Operation: 7-6=1
Moving to Node #0,4
Current State: 98:[90, 7, 7], Operations: ['42/6=7']
Exploring Operation: 90+7=97, Resulting Numbers: [7, 97]
Generated Node #0,4,0: 98:[7, 97] Operation: 90+7=97
Exploring Operation: 7+7=14, Resulting Numbers: [90, 14]
Generated Node #0,4,1: 98:[90, 14] Operation: 7+7=14
Exploring Operation: 7*7=49, Resulting Numbers: [90, 49]
Generated Node #0,4,2: 98:[90, 49] Operation: 7*7=49
Exploring Operation: 90+7=97, Resulting Numbers: [7, 97]
Generated Node #0,4,3: 98:[7, 97] Operation: 90+7=97
Exploring Operation: 7/7=1, Resulting Numbers: [90, 1]
Generated Node #0,4,4: 98:[90, 1] Operation: 7/7=1
Moving to Node #0,2
Current State: 98:[42, 7, 15], Operations: ['90/6=15']
Exploring Operation: 15-7=8, Resulting Numbers: [42, 8]
Generated Node #0,2,0: 98:[42, 8] Operation: 15-7=8
Exploring Operation: 42+7=49, Resulting Numbers: [15, 49]
Generated Node #0,2,1: 98:[15, 49] Operation: 42+7=49
Exploring Operation: 42+15=57, Resulting Numbers: [7, 57]
Generated Node #0,2,2: 98:[7, 57] Operation: 42+15=57
Exploring Operation: 42/7=6, Resulting Numbers: [15, 6]
Generated Node #0,2,3: 98:[15, 6] Operation: 42/7=6
Exploring Operation: 42-15=27, Resulting Numbers: [7, 27]
Generated Node #0,2,4: 98:[7, 27] Operation: 42-15=27
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 98:[15, 49], Operations: ['90/6=15', '42+7=49']
Exploring Operation: 15*49=735, Resulting Numbers: [735]
735,98 unequal: No Solution
Exploring Operation: 15+49=64, Resulting Numbers: [64]
64,98 unequal: No Solution
Exploring Operation: 49-15=34, Resulting Numbers: [34]
34,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 98:[15, 6], Operations: ['90/6=15', '42/7=6']
Exploring Operation: 15+6=21, Resulting Numbers: [21]
21,98 unequal: No Solution
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,98 unequal: No Solution
Exploring Operation: 15*6=90, Resulting Numbers: [90]
90,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 98:[42, 8], Operations: ['90/6=15', '15-7=8']
Exploring Operation: 42+8=50, Resulting Numbers: [50]
50,98 unequal: No Solution
Exploring Operation: 42*8=336, Resulting Numbers: [336]
336,98 unequal: No Solution
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 98:[7, 57], Operations: ['90/6=15', '42+15=57']
Exploring Operation: 7+57=64, Resulting Numbers: [64]
64,98 unequal: No Solution
Exploring Operation: 7*57=399, Resulting Numbers: [399]
399,98 unequal: No Solution
Exploring Operation: 57-7=50, Resulting Numbers: [50]
50,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 98:[7, 27], Operations: ['90/6=15', '42-15=27']
Exploring Operation: 7+27=34, Resulting Numbers: [34]
34,98 unequal: No Solution
Exploring Operation: 7*27=189, Resulting Numbers: [189]
189,98 unequal: No Solution
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,98 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: 98:[90, 7, 48], Operations: ['42+6=48']
Exploring Operation: 7+48=55, Resulting Numbers: [90, 55]
Generated Node #0,1,0: 98:[90, 55] Operation: 7+48=55
Exploring Operation: 90+7=97, Resulting Numbers: [48, 97]
Generated Node #0,1,1: 98:[48, 97] Operation: 90+7=97
Exploring Operation: 90-7=83, Resulting Numbers: [48, 83]
Generated Node #0,1,2: 98:[48, 83] Operation: 90-7=83
Exploring Operation: 90-48=42, Resulting Numbers: [7, 42]
Generated Node #0,1,3: 98:[7, 42] Operation: 90-48=42
Exploring Operation: 48-7=41, Resulting Numbers: [90, 41]
Generated Node #0,1,4: 98:[90, 41] Operation: 48-7=41
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 98:[48, 97], Operations: ['42+6=48', '90+7=97']
Exploring Operation: 48*97=4656, Resulting Numbers: [4656]
4656,98 unequal: No Solution
Exploring Operation: 97-48=49, Resulting Numbers: [49]
49,98 unequal: No Solution
Exploring Operation: 48+97=145, Resulting Numbers: [145]
145,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 98:[7, 42], Operations: ['42+6=48', '90-48=42']
Exploring Operation: 7+42=49, Resulting Numbers: [49]
49,98 unequal: No Solution
Exploring Operation: 7*42=294, Resulting Numbers: [294]
294,98 unequal: No Solution
Exploring Operation: 42/7=6, Resulting Numbers: [6]
6,98 unequal: No Solution
Exploring Operation: 42-7=35, Resulting Numbers: [35]
35,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 98:[90, 55], Operations: ['42+6=48', '7+48=55']
Exploring Operation: 90-55=35, Resulting Numbers: [35]
35,98 unequal: No Solution
Exploring Operation: 90+55=145, Resulting Numbers: [145]
145,98 unequal: No Solution
Exploring Operation: 90*55=4950, Resulting Numbers: [4950]
4950,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 98:[48, 83], Operations: ['42+6=48', '90-7=83']
Exploring Operation: 48+83=131, Resulting Numbers: [131]
131,98 unequal: No Solution
Exploring Operation: 48*83=3984, Resulting Numbers: [3984]
3984,98 unequal: No Solution
Exploring Operation: 83-48=35, Resulting Numbers: [35]
35,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 98:[90, 41], Operations: ['42+6=48', '48-7=41']
Exploring Operation: 90*41=3690, Resulting Numbers: [3690]
3690,98 unequal: No Solution
Exploring Operation: 90+41=131, Resulting Numbers: [131]
131,98 unequal: No Solution
Exploring Operation: 90-41=49, Resulting Numbers: [49]
49,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 98:[90, 6, 49], Operations: ['42+7=49']
Exploring Operation: 90-49=41, Resulting Numbers: [6, 41]
Generated Node #0,3,0: 98:[6, 41] Operation: 90-49=41
Exploring Operation: 6+49=55, Resulting Numbers: [90, 55]
Generated Node #0,3,1: 98:[90, 55] Operation: 6+49=55
Exploring Operation: 90/6=15, Resulting Numbers: [49, 15]
Generated Node #0,3,2: 98:[49, 15] Operation: 90/6=15
Exploring Operation: 90-6=84, Resulting Numbers: [49, 84]
Generated Node #0,3,3: 98:[49, 84] Operation: 90-6=84
Exploring Operation: 90+6=96, Resulting Numbers: [49, 96]
Generated Node #0,3,4: 98:[49, 96] Operation: 90+6=96
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 98:[49, 15], Operations: ['42+7=49', '90/6=15']
Exploring Operation: 49+15=64, Resulting Numbers: [64]
64,98 unequal: No Solution
Exploring Operation: 49-15=34, Resulting Numbers: [34]
34,98 unequal: No Solution
Exploring Operation: 49*15=735, Resulting Numbers: [735]
735,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 98:[49, 96], Operations: ['42+7=49', '90+6=96']
Exploring Operation: 49+96=145, Resulting Numbers: [145]
145,98 unequal: No Solution
Exploring Operation: 96-49=47, Resulting Numbers: [47]
47,98 unequal: No Solution
Exploring Operation: 49*96=4704, Resulting Numbers: [4704]
4704,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 98:[6, 41], Operations: ['42+7=49', '90-49=41']
Exploring Operation: 6*41=246, Resulting Numbers: [246]
246,98 unequal: No Solution
Exploring Operation: 41-6=35, Resulting Numbers: [35]
35,98 unequal: No Solution
Exploring Operation: 6+41=47, Resulting Numbers: [47]
47,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 98:[90, 55], Operations: ['42+7=49', '6+49=55']
Exploring Operation: 90+55=145, Resulting Numbers: [145]
145,98 unequal: No Solution
Exploring Operation: 90*55=4950, Resulting Numbers: [4950]
4950,98 unequal: No Solution
Exploring Operation: 90-55=35, Resulting Numbers: [35]
35,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 98:[49, 84], Operations: ['42+7=49', '90-6=84']
Exploring Operation: 84-49=35, Resulting Numbers: [35]
35,98 unequal: No Solution
Exploring Operation: 49*84=4116, Resulting Numbers: [4116]
4116,98 unequal: No Solution
Exploring Operation: 49+84=133, Resulting Numbers: [133]
133,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,3
Current State: 98:[7, 8], Operations: ['90-42=48', '48/6=8']
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,98 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,98 unequal: No Solution
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,98 unequal: No Solution
Moving to Node #0,4,0
Current State: 98:[7, 97], Operations: ['42/6=7', '90+7=97']
Exploring Operation: 7+97=104, Resulting Numbers: [104]
104,98 unequal: No Solution
Exploring Operation: 7*97=679, Resulting Numbers: [679]
679,98 unequal: No Solution
Exploring Operation: 97-7=90, Resulting Numbers: [90]
90,98 unequal: No Solution
Moving to Node #0,4,3
Current State: 98:[7, 97], Operations: ['42/6=7', '90+7=97']
Exploring Operation: 7+97=104, Resulting Numbers: [104]
104,98 unequal: No Solution
Exploring Operation: 7*97=679, Resulting Numbers: [679]
679,98 unequal: No Solution
Exploring Operation: 97-7=90, Resulting Numbers: [90]
90,98 unequal: No Solution
Moving to Node #0,0,4
Current State: 98:[48, 1], Operations: ['90-42=48', '7-6=1']
Exploring Operation: 48*1=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Exploring Operation: 48+1=49, Resulting Numbers: [49]
49,98 unequal: No Solution
Exploring Operation: 48-1=47, Resulting Numbers: [47]
47,98 unequal: No Solution
Exploring Operation: 48/1=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Moving to Node #0,0,2
Current State: 98:[48, 13], Operations: ['90-42=48', '7+6=13']
Exploring Operation: 48*13=624, Resulting Numbers: [624]
624,98 unequal: No Solution
Exploring Operation: 48-13=35, Resulting Numbers: [35]
35,98 unequal: No Solution
Exploring Operation: 48+13=61, Resulting Numbers: [61]
61,98 unequal: No Solution
Moving to Node #0,0,1
Current State: 98:[7, 54], Operations: ['90-42=48', '6+48=54']
Exploring Operation: 7*54=378, Resulting Numbers: [378]
378,98 unequal: No Solution
Exploring Operation: 54-7=47, Resulting Numbers: [47]
47,98 unequal: No Solution
Exploring Operation: 7+54=61, Resulting Numbers: [61]
61,98 unequal: No Solution
Moving to Node #0,0,0
Current State: 98:[6, 55], Operations: ['90-42=48', '7+48=55']
Exploring Operation: 6+55=61, Resulting Numbers: [61]
61,98 unequal: No Solution
Exploring Operation: 55-6=49, Resulting Numbers: [49]
49,98 unequal: No Solution
Exploring Operation: 6*55=330, Resulting Numbers: [330]
330,98 unequal: No Solution
Moving to Node #0,4,2
Current State: 98:[90, 49], Operations: ['42/6=7', '7*7=49']
Exploring Operation: 90-49=41, Resulting Numbers: [41]
41,98 unequal: No Solution
Exploring Operation: 90+49=139, Resulting Numbers: [139]
139,98 unequal: No Solution
Exploring Operation: 90*49=4410, Resulting Numbers: [4410]
4410,98 unequal: No Solution
Moving to Node #0,4,1
Current State: 98:[90, 14], Operations: ['42/6=7', '7+7=14']
Exploring Operation: 90*14=1260, Resulting Numbers: [1260]
1260,98 unequal: No Solution
Exploring Operation: 90+14=104, Resulting Numbers: [104]
104,98 unequal: No Solution
Exploring Operation: 90-14=76, Resulting Numbers: [76]
76,98 unequal: No Solution
Moving to Node #0,4,4
Current State: 98:[90, 1], Operations: ['42/6=7', '7/7=1']
Exploring Operation: 90*1=90, Resulting Numbers: [90]
90,98 unequal: No Solution
Exploring Operation: 90/1=90, Resulting Numbers: [90]
90,98 unequal: No Solution
Exploring Operation: 90-1=89, Resulting Numbers: [89]
89,98 unequal: No Solution
Exploring Operation: 90+1=91, Resulting Numbers: [91]
91,98 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
39,
52,
4,
68
] | 92 | [
"39+52=91",
"91-68=23",
"4*23=92"
] | Current State: 92:[39, 52, 4, 68], Operations: []
Exploring Operation: 39+52=91, Resulting Numbers: [4, 68, 91]
Generated Node #2: [4, 68, 91] from Operation: 39+52=91
Current State: 92:[4, 68, 91], Operations: ['39+52=91']
Exploring Operation: 91-68=23, Resulting Numbers: [4, 23]
Generated Node #3: [4, 23] from Operation: 91-68=23
Current State: 92:[4, 23], Operations: ['39+52=91', '91-68=23']
Exploring Operation: 4*23=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[39, 52, 4, 68], Operations: []
Exploring Operation: 68/4=17, Resulting Numbers: [39, 52, 17]
Generated Node #0,0: 92:[39, 52, 17] Operation: 68/4=17
Exploring Operation: 68-39=29, Resulting Numbers: [52, 4, 29]
Generated Node #0,1: 92:[52, 4, 29] Operation: 68-39=29
Exploring Operation: 68-52=16, Resulting Numbers: [39, 4, 16]
Generated Node #0,2: 92:[39, 4, 16] Operation: 68-52=16
Exploring Operation: 39+68=107, Resulting Numbers: [52, 4, 107]
Generated Node #0,3: 92:[52, 4, 107] Operation: 39+68=107
Moving to Node #0,1
Current State: 92:[52, 4, 29], Operations: ['68-39=29']
Exploring Operation: 52-4=48, Resulting Numbers: [29, 48]
Generated Node #0,1,0: 92:[29, 48] Operation: 52-4=48
Exploring Operation: 52+29=81, Resulting Numbers: [4, 81]
Generated Node #0,1,1: 92:[4, 81] Operation: 52+29=81
Exploring Operation: 52-29=23, Resulting Numbers: [4, 23]
Generated Node #0,1,2: 92:[4, 23] Operation: 52-29=23
Exploring Operation: 29-4=25, Resulting Numbers: [52, 25]
Generated Node #0,1,3: 92:[52, 25] Operation: 29-4=25
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 92:[4, 23], Operations: ['68-39=29', '52-29=23']
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 4+23=27, Resulting Numbers: [27]
27,92 unequal: No Solution
Exploring Operation: 4*23=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[39, 52, 4, 68], Operations: []
Exploring Operation: 68-39=29, Resulting Numbers: [52, 4, 29]
Generated Node #0,1: 92:[52, 4, 29] Operation: 68-39=29
Moving to Node #0,1
Current State: 92:[52, 4, 29], Operations: ['68-39=29']
Exploring Operation: 52-29=23, Resulting Numbers: [4, 23]
Generated Node #0,1,2: 92:[4, 23] Operation: 52-29=23
Moving to Node #0,1,2
Current State: 92:[4, 23], Operations: ['68-39=29', '52-29=23']
Exploring Operation: 4*23=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
4,
29,
5,
19
] | 30 | [
"29-4=25",
"25-19=6",
"5*6=30"
] | Current State: 30:[4, 29, 5, 19], Operations: []
Exploring Operation: 29-4=25, Resulting Numbers: [5, 19, 25]
Generated Node #2: [5, 19, 25] from Operation: 29-4=25
Current State: 30:[5, 19, 25], Operations: ['29-4=25']
Exploring Operation: 25-19=6, Resulting Numbers: [5, 6]
Generated Node #3: [5, 6] from Operation: 25-19=6
Current State: 30:[5, 6], Operations: ['29-4=25', '25-19=6']
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[4, 29, 5, 19], Operations: []
Exploring Operation: 29-19=10, Resulting Numbers: [4, 5, 10]
Generated Node #0,0: 30:[4, 5, 10] Operation: 29-19=10
Exploring Operation: 19-4=15, Resulting Numbers: [29, 5, 15]
Generated Node #0,1: 30:[29, 5, 15] Operation: 19-4=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[4, 5, 10], Operations: ['29-19=10']
Exploring Operation: 10-4=6, Resulting Numbers: [5, 6]
Generated Node #0,0,0: 30:[5, 6] Operation: 10-4=6
Exploring Operation: 4+5=9, Resulting Numbers: [10, 9]
Generated Node #0,0,1: 30:[10, 9] Operation: 4+5=9
Moving to Node #0,0,0
Current State: 30:[5, 6], Operations: ['29-19=10', '10-4=6']
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,30 unequal: No Solution
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[4, 29, 5, 19], Operations: []
Exploring Operation: 29-19=10, Resulting Numbers: [4, 5, 10]
Generated Node #0,0: 30:[4, 5, 10] Operation: 29-19=10
Moving to Node #0,0
Current State: 30:[4, 5, 10], Operations: ['29-19=10']
Exploring Operation: 10-4=6, Resulting Numbers: [5, 6]
Generated Node #0,0,0: 30:[5, 6] Operation: 10-4=6
Moving to Node #0,0,0
Current State: 30:[5, 6], Operations: ['29-19=10', '10-4=6']
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
70,
59,
89,
51
] | 61 | [
"89+51=140",
"140/70=2",
"59+2=61"
] | Current State: 61:[70, 59, 89, 51], Operations: []
Exploring Operation: 89+51=140, Resulting Numbers: [70, 59, 140]
Generated Node #2: [70, 59, 140] from Operation: 89+51=140
Current State: 61:[70, 59, 140], Operations: ['89+51=140']
Exploring Operation: 140/70=2, Resulting Numbers: [59, 2]
Generated Node #3: [59, 2] from Operation: 140/70=2
Current State: 61:[59, 2], Operations: ['89+51=140', '140/70=2']
Exploring Operation: 59+2=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[70, 59, 89, 51], Operations: []
Exploring Operation: 89-51=38, Resulting Numbers: [70, 59, 38]
Generated Node #0,0: 61:[70, 59, 38] Operation: 89-51=38
Moving to Node #0,0
Current State: 61:[70, 59, 38], Operations: ['89-51=38']
Exploring Operation: 70-38=32, Resulting Numbers: [59, 32]
Generated Node #0,0,0: 61:[59, 32] Operation: 70-38=32
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[59, 32], Operations: ['89-51=38', '70-38=32']
Exploring Operation: 59+32=91, Resulting Numbers: [91]
91,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
34,
22,
14,
47
] | 43 | [
"34+22=56",
"56/14=4",
"47-4=43"
] | Current State: 43:[34, 22, 14, 47], Operations: []
Exploring Operation: 34+22=56, Resulting Numbers: [14, 47, 56]
Generated Node #2: [14, 47, 56] from Operation: 34+22=56
Current State: 43:[14, 47, 56], Operations: ['34+22=56']
Exploring Operation: 56/14=4, Resulting Numbers: [47, 4]
Generated Node #3: [47, 4] from Operation: 56/14=4
Current State: 43:[47, 4], Operations: ['34+22=56', '56/14=4']
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[34, 22, 14, 47], Operations: []
Exploring Operation: 22+14=36, Resulting Numbers: [34, 47, 36]
Generated Node #0,0: 43:[34, 47, 36] Operation: 22+14=36
Moving to Node #0,0
Current State: 43:[34, 47, 36], Operations: ['22+14=36']
Exploring Operation: 34+36=70, Resulting Numbers: [47, 70]
Generated Node #0,0,0: 43:[47, 70] Operation: 34+36=70
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 43:[47, 70], Operations: ['22+14=36', '34+36=70']
Exploring Operation: 70-47=23, Resulting Numbers: [23]
23,43 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 |
[
54,
70,
43,
19
] | 100 | [
"54+70=124",
"43-19=24",
"124-24=100"
] | Current State: 100:[54, 70, 43, 19], Operations: []
Exploring Operation: 54+70=124, Resulting Numbers: [43, 19, 124]
Generated Node #2: [43, 19, 124] from Operation: 54+70=124
Current State: 100:[43, 19, 124], Operations: ['54+70=124']
Exploring Operation: 43-19=24, Resulting Numbers: [124, 24]
Generated Node #3: [124, 24] from Operation: 43-19=24
Current State: 100:[124, 24], Operations: ['54+70=124', '43-19=24']
Exploring Operation: 124-24=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[54, 70, 43, 19], Operations: []
Exploring Operation: 70-19=51, Resulting Numbers: [54, 43, 51]
Generated Node #0,0: 100:[54, 43, 51] Operation: 70-19=51
Exploring Operation: 70-54=16, Resulting Numbers: [43, 19, 16]
Generated Node #0,1: 100:[43, 19, 16] Operation: 70-54=16
Exploring Operation: 70-43=27, Resulting Numbers: [54, 19, 27]
Generated Node #0,2: 100:[54, 19, 27] Operation: 70-43=27
Start Sub Search at level 1: Moving to Node #0,2
Current State: 100:[54, 19, 27], Operations: ['70-43=27']
Exploring Operation: 27-19=8, Resulting Numbers: [54, 8]
Generated Node #0,2,0: 100:[54, 8] Operation: 27-19=8
Exploring Operation: 54/27=2, Resulting Numbers: [19, 2]
Generated Node #0,2,1: 100:[19, 2] Operation: 54/27=2
Exploring Operation: 54-27=27, Resulting Numbers: [19, 27]
Generated Node #0,2,2: 100:[19, 27] Operation: 54-27=27
Moving to Node #0,2,1
Current State: 100:[19, 2], Operations: ['70-43=27', '54/27=2']
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,100 unequal: No Solution
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,100 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,100 unequal: No Solution
Moving to Node #0,2,2
Current State: 100:[19, 27], Operations: ['70-43=27', '54-27=27']
Exploring Operation: 19+27=46, Resulting Numbers: [46]
46,100 unequal: No Solution
Exploring Operation: 27-19=8, Resulting Numbers: [8]
8,100 unequal: No Solution
Exploring Operation: 19*27=513, Resulting Numbers: [513]
513,100 unequal: No Solution
Moving to Node #0,2,0
Current State: 100:[54, 8], Operations: ['70-43=27', '27-19=8']
Exploring Operation: 54*8=432, Resulting Numbers: [432]
432,100 unequal: No Solution
Exploring Operation: 54-8=46, Resulting Numbers: [46]
46,100 unequal: No Solution
Exploring Operation: 54+8=62, Resulting Numbers: [62]
62,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[54, 43, 51], Operations: ['70-19=51']
Exploring Operation: 54-43=11, Resulting Numbers: [51, 11]
Generated Node #0,0,0: 100:[51, 11] Operation: 54-43=11
Exploring Operation: 54+43=97, Resulting Numbers: [51, 97]
Generated Node #0,0,1: 100:[51, 97] Operation: 54+43=97
Exploring Operation: 51-43=8, Resulting Numbers: [54, 8]
Generated Node #0,0,2: 100:[54, 8] Operation: 51-43=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 100:[51, 11], Operations: ['70-19=51', '54-43=11']
Exploring Operation: 51+11=62, Resulting Numbers: [62]
62,100 unequal: No Solution
Exploring Operation: 51-11=40, Resulting Numbers: [40]
40,100 unequal: No Solution
Exploring Operation: 51*11=561, Resulting Numbers: [561]
561,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,0,1
Current State: 100:[51, 97], Operations: ['70-19=51', '54+43=97']
Exploring Operation: 97-51=46, Resulting Numbers: [46]
46,100 unequal: No Solution
Exploring Operation: 51+97=148, Resulting Numbers: [148]
148,100 unequal: No Solution
Exploring Operation: 51*97=4947, Resulting Numbers: [4947]
4947,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,0,2
Current State: 100:[54, 8], Operations: ['70-19=51', '51-43=8']
Exploring Operation: 54-8=46, Resulting Numbers: [46]
46,100 unequal: No Solution
Exploring Operation: 54*8=432, Resulting Numbers: [432]
432,100 unequal: No Solution
Exploring Operation: 54+8=62, Resulting Numbers: [62]
62,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,1
Current State: 100:[43, 19, 16], Operations: ['70-54=16']
Exploring Operation: 19-16=3, Resulting Numbers: [43, 3]
Generated Node #0,1,0: 100:[43, 3] Operation: 19-16=3
Exploring Operation: 43-19=24, Resulting Numbers: [16, 24]
Generated Node #0,1,1: 100:[16, 24] Operation: 43-19=24
Exploring Operation: 43-16=27, Resulting Numbers: [19, 27]
Generated Node #0,1,2: 100:[19, 27] Operation: 43-16=27
Moving to Node #0,1,2
Current State: 100:[19, 27], Operations: ['70-54=16', '43-16=27']
Exploring Operation: 19+27=46, Resulting Numbers: [46]
46,100 unequal: No Solution
Exploring Operation: 19*27=513, Resulting Numbers: [513]
513,100 unequal: No Solution
Exploring Operation: 27-19=8, Resulting Numbers: [8]
8,100 unequal: No Solution
Moving to Node #0,1,1
Current State: 100:[16, 24], Operations: ['70-54=16', '43-19=24']
Exploring Operation: 16+24=40, Resulting Numbers: [40]
40,100 unequal: No Solution
Exploring Operation: 24-16=8, Resulting Numbers: [8]
8,100 unequal: No Solution
Exploring Operation: 16*24=384, Resulting Numbers: [384]
384,100 unequal: No Solution
Moving to Node #0,1,0
Current State: 100:[43, 3], Operations: ['70-54=16', '19-16=3']
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,100 unequal: No Solution
Exploring Operation: 43*3=129, Resulting Numbers: [129]
129,100 unequal: No Solution
Exploring Operation: 43+3=46, Resulting Numbers: [46]
46,100 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 |
[
89,
32,
1,
16
] | 41 | [
"89-32=57",
"1*16=16",
"57-16=41"
] | Current State: 41:[89, 32, 1, 16], Operations: []
Exploring Operation: 89-32=57, Resulting Numbers: [1, 16, 57]
Generated Node #2: [1, 16, 57] from Operation: 89-32=57
Current State: 41:[1, 16, 57], Operations: ['89-32=57']
Exploring Operation: 1*16=16, Resulting Numbers: [57, 16]
Generated Node #3: [57, 16] from Operation: 1*16=16
Current State: 41:[57, 16], Operations: ['89-32=57', '1*16=16']
Exploring Operation: 57-16=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[89, 32, 1, 16], Operations: []
Exploring Operation: 89-16=73, Resulting Numbers: [32, 1, 73]
Generated Node #0,0: 41:[32, 1, 73] Operation: 89-16=73
Exploring Operation: 1+16=17, Resulting Numbers: [89, 32, 17]
Generated Node #0,1: 41:[89, 32, 17] Operation: 1+16=17
Exploring Operation: 32+1=33, Resulting Numbers: [89, 16, 33]
Generated Node #0,2: 41:[89, 16, 33] Operation: 32+1=33
Exploring Operation: 89-32=57, Resulting Numbers: [1, 16, 57]
Generated Node #0,3: 41:[1, 16, 57] Operation: 89-32=57
Exploring Operation: 89-1=88, Resulting Numbers: [32, 16, 88]
Generated Node #0,4: 41:[32, 16, 88] Operation: 89-1=88
Moving to Node #0,0
Current State: 41:[32, 1, 73], Operations: ['89-16=73']
Exploring Operation: 73-1=72, Resulting Numbers: [32, 72]
Generated Node #0,0,0: 41:[32, 72] Operation: 73-1=72
Exploring Operation: 73-32=41, Resulting Numbers: [1, 41]
Generated Node #0,0,1: 41:[1, 41] Operation: 73-32=41
Exploring Operation: 32+1=33, Resulting Numbers: [73, 33]
Generated Node #0,0,2: 41:[73, 33] Operation: 32+1=33
Exploring Operation: 32*1=32, Resulting Numbers: [73, 32]
Generated Node #0,0,3: 41:[73, 32] Operation: 32*1=32
Exploring Operation: 32/1=32, Resulting Numbers: [73, 32]
Generated Node #0,0,4: 41:[73, 32] Operation: 32/1=32
Moving to Node #0,2
Current State: 41:[89, 16, 33], Operations: ['32+1=33']
Exploring Operation: 89-33=56, Resulting Numbers: [16, 56]
Generated Node #0,2,0: 41:[16, 56] Operation: 89-33=56
Exploring Operation: 16+33=49, Resulting Numbers: [89, 49]
Generated Node #0,2,1: 41:[89, 49] Operation: 16+33=49
Exploring Operation: 89+16=105, Resulting Numbers: [33, 105]
Generated Node #0,2,2: 41:[33, 105] Operation: 89+16=105
Exploring Operation: 33-16=17, Resulting Numbers: [89, 17]
Generated Node #0,2,3: 41:[89, 17] Operation: 33-16=17
Exploring Operation: 89-16=73, Resulting Numbers: [33, 73]
Generated Node #0,2,4: 41:[33, 73] Operation: 89-16=73
Moving to Node #0,4
Current State: 41:[32, 16, 88], Operations: ['89-1=88']
Exploring Operation: 32+16=48, Resulting Numbers: [88, 48]
Generated Node #0,4,0: 41:[88, 48] Operation: 32+16=48
Exploring Operation: 32-16=16, Resulting Numbers: [88, 16]
Generated Node #0,4,1: 41:[88, 16] Operation: 32-16=16
Exploring Operation: 16+88=104, Resulting Numbers: [32, 104]
Generated Node #0,4,2: 41:[32, 104] Operation: 16+88=104
Exploring Operation: 88-32=56, Resulting Numbers: [16, 56]
Generated Node #0,4,3: 41:[16, 56] Operation: 88-32=56
Exploring Operation: 88-16=72, Resulting Numbers: [32, 72]
Generated Node #0,4,4: 41:[32, 72] Operation: 88-16=72
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 41:[16, 56], Operations: ['89-1=88', '88-32=56']
Exploring Operation: 16*56=896, Resulting Numbers: [896]
896,41 unequal: No Solution
Exploring Operation: 56-16=40, Resulting Numbers: [40]
40,41 unequal: No Solution
Exploring Operation: 16+56=72, Resulting Numbers: [72]
72,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 41:[32, 72], Operations: ['89-1=88', '88-16=72']
Exploring Operation: 32+72=104, Resulting Numbers: [104]
104,41 unequal: No Solution
Exploring Operation: 72-32=40, Resulting Numbers: [40]
40,41 unequal: No Solution
Exploring Operation: 32*72=2304, Resulting Numbers: [2304]
2304,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 41:[88, 48], Operations: ['89-1=88', '32+16=48']
Exploring Operation: 88*48=4224, Resulting Numbers: [4224]
4224,41 unequal: No Solution
Exploring Operation: 88+48=136, Resulting Numbers: [136]
136,41 unequal: No Solution
Exploring Operation: 88-48=40, Resulting Numbers: [40]
40,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 41:[88, 16], Operations: ['89-1=88', '32-16=16']
Exploring Operation: 88*16=1408, Resulting Numbers: [1408]
1408,41 unequal: No Solution
Exploring Operation: 88-16=72, Resulting Numbers: [72]
72,41 unequal: No Solution
Exploring Operation: 88+16=104, Resulting Numbers: [104]
104,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 41:[32, 104], Operations: ['89-1=88', '16+88=104']
Exploring Operation: 32*104=3328, Resulting Numbers: [3328]
3328,41 unequal: No Solution
Exploring Operation: 32+104=136, Resulting Numbers: [136]
136,41 unequal: No Solution
Exploring Operation: 104-32=72, Resulting Numbers: [72]
72,41 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: 41:[89, 32, 17], Operations: ['1+16=17']
Exploring Operation: 89+17=106, Resulting Numbers: [32, 106]
Generated Node #0,1,0: 41:[32, 106] Operation: 89+17=106
Exploring Operation: 32-17=15, Resulting Numbers: [89, 15]
Generated Node #0,1,1: 41:[89, 15] Operation: 32-17=15
Exploring Operation: 89-17=72, Resulting Numbers: [32, 72]
Generated Node #0,1,2: 41:[32, 72] Operation: 89-17=72
Exploring Operation: 89-32=57, Resulting Numbers: [17, 57]
Generated Node #0,1,3: 41:[17, 57] Operation: 89-32=57
Exploring Operation: 32+17=49, Resulting Numbers: [89, 49]
Generated Node #0,1,4: 41:[89, 49] Operation: 32+17=49
Moving to Node #0,3
Current State: 41:[1, 16, 57], Operations: ['89-32=57']
Exploring Operation: 57-16=41, Resulting Numbers: [1, 41]
Generated Node #0,3,0: 41:[1, 41] Operation: 57-16=41
Exploring Operation: 16/1=16, Resulting Numbers: [57, 16]
Generated Node #0,3,1: 41:[57, 16] Operation: 16/1=16
Exploring Operation: 1+16=17, Resulting Numbers: [57, 17]
Generated Node #0,3,2: 41:[57, 17] Operation: 1+16=17
Exploring Operation: 1*16=16, Resulting Numbers: [57, 16]
Generated Node #0,3,3: 41:[57, 16] Operation: 1*16=16
Exploring Operation: 57-1=56, Resulting Numbers: [16, 56]
Generated Node #0,3,4: 41:[16, 56] Operation: 57-1=56
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 41:[1, 41], Operations: ['89-32=57', '57-16=41']
Exploring Operation: 1*41=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[89, 32, 1, 16], Operations: []
Exploring Operation: 89-32=57, Resulting Numbers: [1, 16, 57]
Generated Node #0,3: 41:[1, 16, 57] Operation: 89-32=57
Moving to Node #0,3
Current State: 41:[1, 16, 57], Operations: ['89-32=57']
Exploring Operation: 57-16=41, Resulting Numbers: [1, 41]
Generated Node #0,3,0: 41:[1, 41] Operation: 57-16=41
Moving to Node #0,3,0
Current State: 41:[1, 41], Operations: ['89-32=57', '57-16=41']
Exploring Operation: 1*41=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.956597 | hs_5 | mult_heuristic |
[
37,
6,
90,
2
] | 79 | [
"90-6=84",
"84/2=42",
"37+42=79"
] | Current State: 79:[37, 6, 90, 2], Operations: []
Exploring Operation: 90-6=84, Resulting Numbers: [37, 2, 84]
Generated Node #2: [37, 2, 84] from Operation: 90-6=84
Current State: 79:[37, 2, 84], Operations: ['90-6=84']
Exploring Operation: 84/2=42, Resulting Numbers: [37, 42]
Generated Node #3: [37, 42] from Operation: 84/2=42
Current State: 79:[37, 42], Operations: ['90-6=84', '84/2=42']
Exploring Operation: 37+42=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[37, 6, 90, 2], Operations: []
Exploring Operation: 37*2=74, Resulting Numbers: [6, 90, 74]
Generated Node #0,0: 79:[6, 90, 74] Operation: 37*2=74
Exploring Operation: 37+2=39, Resulting Numbers: [6, 90, 39]
Generated Node #0,1: 79:[6, 90, 39] Operation: 37+2=39
Exploring Operation: 6*2=12, Resulting Numbers: [37, 90, 12]
Generated Node #0,2: 79:[37, 90, 12] Operation: 6*2=12
Exploring Operation: 90-6=84, Resulting Numbers: [37, 2, 84]
Generated Node #0,3: 79:[37, 2, 84] Operation: 90-6=84
Exploring Operation: 37+6=43, Resulting Numbers: [90, 2, 43]
Generated Node #0,4: 79:[90, 2, 43] Operation: 37+6=43
Moving to Node #0,0
Current State: 79:[6, 90, 74], Operations: ['37*2=74']
Exploring Operation: 6+90=96, Resulting Numbers: [74, 96]
Generated Node #0,0,0: 79:[74, 96] Operation: 6+90=96
Exploring Operation: 6+74=80, Resulting Numbers: [90, 80]
Generated Node #0,0,1: 79:[90, 80] Operation: 6+74=80
Exploring Operation: 90/6=15, Resulting Numbers: [74, 15]
Generated Node #0,0,2: 79:[74, 15] Operation: 90/6=15
Exploring Operation: 90-6=84, Resulting Numbers: [74, 84]
Generated Node #0,0,3: 79:[74, 84] Operation: 90-6=84
Exploring Operation: 74-6=68, Resulting Numbers: [90, 68]
Generated Node #0,0,4: 79:[90, 68] Operation: 74-6=68
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 79:[74, 84], Operations: ['37*2=74', '90-6=84']
Exploring Operation: 74+84=158, Resulting Numbers: [158]
158,79 unequal: No Solution
Exploring Operation: 84-74=10, Resulting Numbers: [10]
10,79 unequal: No Solution
Exploring Operation: 74*84=6216, Resulting Numbers: [6216]
6216,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 79:[90, 80], Operations: ['37*2=74', '6+74=80']
Exploring Operation: 90-80=10, Resulting Numbers: [10]
10,79 unequal: No Solution
Exploring Operation: 90*80=7200, Resulting Numbers: [7200]
7200,79 unequal: No Solution
Exploring Operation: 90+80=170, Resulting Numbers: [170]
170,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 79:[74, 96], Operations: ['37*2=74', '6+90=96']
Exploring Operation: 96-74=22, Resulting Numbers: [22]
22,79 unequal: No Solution
Exploring Operation: 74+96=170, Resulting Numbers: [170]
170,79 unequal: No Solution
Exploring Operation: 74*96=7104, Resulting Numbers: [7104]
7104,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 79:[90, 68], Operations: ['37*2=74', '74-6=68']
Exploring Operation: 90+68=158, Resulting Numbers: [158]
158,79 unequal: No Solution
Exploring Operation: 90-68=22, Resulting Numbers: [22]
22,79 unequal: No Solution
Exploring Operation: 90*68=6120, Resulting Numbers: [6120]
6120,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 79:[74, 15], Operations: ['37*2=74', '90/6=15']
Exploring Operation: 74-15=59, Resulting Numbers: [59]
59,79 unequal: No Solution
Exploring Operation: 74+15=89, Resulting Numbers: [89]
89,79 unequal: No Solution
Exploring Operation: 74*15=1110, Resulting Numbers: [1110]
1110,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 79:[37, 90, 12], Operations: ['6*2=12']
Exploring Operation: 37-12=25, Resulting Numbers: [90, 25]
Generated Node #0,2,0: 79:[90, 25] Operation: 37-12=25
Exploring Operation: 37+12=49, Resulting Numbers: [90, 49]
Generated Node #0,2,1: 79:[90, 49] Operation: 37+12=49
Exploring Operation: 90-37=53, Resulting Numbers: [12, 53]
Generated Node #0,2,2: 79:[12, 53] Operation: 90-37=53
Exploring Operation: 90-12=78, Resulting Numbers: [37, 78]
Generated Node #0,2,3: 79:[37, 78] Operation: 90-12=78
Exploring Operation: 90+12=102, Resulting Numbers: [37, 102]
Generated Node #0,2,4: 79:[37, 102] Operation: 90+12=102
Moving to Node #0,1
Current State: 79:[6, 90, 39], Operations: ['37+2=39']
Exploring Operation: 6+90=96, Resulting Numbers: [39, 96]
Generated Node #0,1,0: 79:[39, 96] Operation: 6+90=96
Exploring Operation: 39-6=33, Resulting Numbers: [90, 33]
Generated Node #0,1,1: 79:[90, 33] Operation: 39-6=33
Exploring Operation: 6+39=45, Resulting Numbers: [90, 45]
Generated Node #0,1,2: 79:[90, 45] Operation: 6+39=45
Exploring Operation: 90-6=84, Resulting Numbers: [39, 84]
Generated Node #0,1,3: 79:[39, 84] Operation: 90-6=84
Exploring Operation: 90-39=51, Resulting Numbers: [6, 51]
Generated Node #0,1,4: 79:[6, 51] Operation: 90-39=51
Moving to Node #0,3
Current State: 79:[37, 2, 84], Operations: ['90-6=84']
Exploring Operation: 84-2=82, Resulting Numbers: [37, 82]
Generated Node #0,3,0: 79:[37, 82] Operation: 84-2=82
Exploring Operation: 37-2=35, Resulting Numbers: [84, 35]
Generated Node #0,3,1: 79:[84, 35] Operation: 37-2=35
Exploring Operation: 37+2=39, Resulting Numbers: [84, 39]
Generated Node #0,3,2: 79:[84, 39] Operation: 37+2=39
Exploring Operation: 2+84=86, Resulting Numbers: [37, 86]
Generated Node #0,3,3: 79:[37, 86] Operation: 2+84=86
Exploring Operation: 37*2=74, Resulting Numbers: [84, 74]
Generated Node #0,3,4: 79:[84, 74] Operation: 37*2=74
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 79:[84, 74], Operations: ['90-6=84', '37*2=74']
Exploring Operation: 84*74=6216, Resulting Numbers: [6216]
6216,79 unequal: No Solution
Exploring Operation: 84+74=158, Resulting Numbers: [158]
158,79 unequal: No Solution
Exploring Operation: 84-74=10, Resulting Numbers: [10]
10,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 79:[37, 82], Operations: ['90-6=84', '84-2=82']
Exploring Operation: 82-37=45, Resulting Numbers: [45]
45,79 unequal: No Solution
Exploring Operation: 37+82=119, Resulting Numbers: [119]
119,79 unequal: No Solution
Exploring Operation: 37*82=3034, Resulting Numbers: [3034]
3034,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 79:[84, 39], Operations: ['90-6=84', '37+2=39']
Exploring Operation: 84-39=45, Resulting Numbers: [45]
45,79 unequal: No Solution
Exploring Operation: 84+39=123, Resulting Numbers: [123]
123,79 unequal: No Solution
Exploring Operation: 84*39=3276, Resulting Numbers: [3276]
3276,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 79:[84, 35], Operations: ['90-6=84', '37-2=35']
Exploring Operation: 84*35=2940, Resulting Numbers: [2940]
2940,79 unequal: No Solution
Exploring Operation: 84+35=119, Resulting Numbers: [119]
119,79 unequal: No Solution
Exploring Operation: 84-35=49, Resulting Numbers: [49]
49,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 79:[37, 86], Operations: ['90-6=84', '2+84=86']
Exploring Operation: 37*86=3182, Resulting Numbers: [3182]
3182,79 unequal: No Solution
Exploring Operation: 37+86=123, Resulting Numbers: [123]
123,79 unequal: No Solution
Exploring Operation: 86-37=49, Resulting Numbers: [49]
49,79 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: 79:[90, 2, 43], Operations: ['37+6=43']
Exploring Operation: 90-2=88, Resulting Numbers: [43, 88]
Generated Node #0,4,0: 79:[43, 88] Operation: 90-2=88
Exploring Operation: 43-2=41, Resulting Numbers: [90, 41]
Generated Node #0,4,1: 79:[90, 41] Operation: 43-2=41
Exploring Operation: 2+43=45, Resulting Numbers: [90, 45]
Generated Node #0,4,2: 79:[90, 45] Operation: 2+43=45
Exploring Operation: 2*43=86, Resulting Numbers: [90, 86]
Generated Node #0,4,3: 79:[90, 86] Operation: 2*43=86
Exploring Operation: 90+2=92, Resulting Numbers: [43, 92]
Generated Node #0,4,4: 79:[43, 92] Operation: 90+2=92
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 79:[90, 86], Operations: ['37+6=43', '2*43=86']
Exploring Operation: 90-86=4, Resulting Numbers: [4]
4,79 unequal: No Solution
Exploring Operation: 90+86=176, Resulting Numbers: [176]
176,79 unequal: No Solution
Exploring Operation: 90*86=7740, Resulting Numbers: [7740]
7740,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 79:[43, 88], Operations: ['37+6=43', '90-2=88']
Exploring Operation: 43*88=3784, Resulting Numbers: [3784]
3784,79 unequal: No Solution
Exploring Operation: 43+88=131, Resulting Numbers: [131]
131,79 unequal: No Solution
Exploring Operation: 88-43=45, Resulting Numbers: [45]
45,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 79:[90, 45], Operations: ['37+6=43', '2+43=45']
Exploring Operation: 90/45=2, Resulting Numbers: [2]
2,79 unequal: No Solution
Exploring Operation: 90+45=135, Resulting Numbers: [135]
135,79 unequal: No Solution
Exploring Operation: 90-45=45, Resulting Numbers: [45]
45,79 unequal: No Solution
Exploring Operation: 90*45=4050, Resulting Numbers: [4050]
4050,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 79:[90, 41], Operations: ['37+6=43', '43-2=41']
Exploring Operation: 90+41=131, Resulting Numbers: [131]
131,79 unequal: No Solution
Exploring Operation: 90*41=3690, Resulting Numbers: [3690]
3690,79 unequal: No Solution
Exploring Operation: 90-41=49, Resulting Numbers: [49]
49,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 79:[43, 92], Operations: ['37+6=43', '90+2=92']
Exploring Operation: 92-43=49, Resulting Numbers: [49]
49,79 unequal: No Solution
Exploring Operation: 43+92=135, Resulting Numbers: [135]
135,79 unequal: No Solution
Exploring Operation: 43*92=3956, Resulting Numbers: [3956]
3956,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 79:[90, 49], Operations: ['6*2=12', '37+12=49']
Exploring Operation: 90-49=41, Resulting Numbers: [41]
41,79 unequal: No Solution
Exploring Operation: 90*49=4410, Resulting Numbers: [4410]
4410,79 unequal: No Solution
Exploring Operation: 90+49=139, Resulting Numbers: [139]
139,79 unequal: No Solution
Moving to Node #0,2,3
Current State: 79:[37, 78], Operations: ['6*2=12', '90-12=78']
Exploring Operation: 37*78=2886, Resulting Numbers: [2886]
2886,79 unequal: No Solution
Exploring Operation: 37+78=115, Resulting Numbers: [115]
115,79 unequal: No Solution
Exploring Operation: 78-37=41, Resulting Numbers: [41]
41,79 unequal: No Solution
Moving to Node #0,1,2
Current State: 79:[90, 45], Operations: ['37+2=39', '6+39=45']
Exploring Operation: 90+45=135, Resulting Numbers: [135]
135,79 unequal: No Solution
Exploring Operation: 90*45=4050, Resulting Numbers: [4050]
4050,79 unequal: No Solution
Exploring Operation: 90/45=2, Resulting Numbers: [2]
2,79 unequal: No Solution
Exploring Operation: 90-45=45, Resulting Numbers: [45]
45,79 unequal: No Solution
Moving to Node #0,1,3
Current State: 79:[39, 84], Operations: ['37+2=39', '90-6=84']
Exploring Operation: 39*84=3276, Resulting Numbers: [3276]
3276,79 unequal: No Solution
Exploring Operation: 84-39=45, Resulting Numbers: [45]
45,79 unequal: No Solution
Exploring Operation: 39+84=123, Resulting Numbers: [123]
123,79 unequal: No Solution
Moving to Node #0,1,0
Current State: 79:[39, 96], Operations: ['37+2=39', '6+90=96']
Exploring Operation: 96-39=57, Resulting Numbers: [57]
57,79 unequal: No Solution
Exploring Operation: 39*96=3744, Resulting Numbers: [3744]
3744,79 unequal: No Solution
Exploring Operation: 39+96=135, Resulting Numbers: [135]
135,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[90, 33], Operations: ['37+2=39', '39-6=33']
Exploring Operation: 90+33=123, Resulting Numbers: [123]
123,79 unequal: No Solution
Exploring Operation: 90-33=57, Resulting Numbers: [57]
57,79 unequal: No Solution
Exploring Operation: 90*33=2970, Resulting Numbers: [2970]
2970,79 unequal: No Solution
Moving to Node #0,2,0
Current State: 79:[90, 25], Operations: ['6*2=12', '37-12=25']
Exploring Operation: 90-25=65, Resulting Numbers: [65]
65,79 unequal: No Solution
Exploring Operation: 90*25=2250, Resulting Numbers: [2250]
2250,79 unequal: No Solution
Exploring Operation: 90+25=115, Resulting Numbers: [115]
115,79 unequal: No Solution
Moving to Node #0,2,4
Current State: 79:[37, 102], Operations: ['6*2=12', '90+12=102']
Exploring Operation: 37*102=3774, Resulting Numbers: [3774]
3774,79 unequal: No Solution
Exploring Operation: 37+102=139, Resulting Numbers: [139]
139,79 unequal: No Solution
Exploring Operation: 102-37=65, Resulting Numbers: [65]
65,79 unequal: No Solution
Moving to Node #0,2,2
Current State: 79:[12, 53], Operations: ['6*2=12', '90-37=53']
Exploring Operation: 12*53=636, Resulting Numbers: [636]
636,79 unequal: No Solution
Exploring Operation: 53-12=41, Resulting Numbers: [41]
41,79 unequal: No Solution
Exploring Operation: 12+53=65, Resulting Numbers: [65]
65,79 unequal: No Solution
Moving to Node #0,1,4
Current State: 79:[6, 51], Operations: ['37+2=39', '90-39=51']
Exploring Operation: 6*51=306, Resulting Numbers: [306]
306,79 unequal: No Solution
Exploring Operation: 6+51=57, Resulting Numbers: [57]
57,79 unequal: No Solution
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,79 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
96,
42,
22,
2
] | 79 | [
"96-22=74",
"74/2=37",
"42+37=79"
] | Current State: 79:[96, 42, 22, 2], Operations: []
Exploring Operation: 96-22=74, Resulting Numbers: [42, 2, 74]
Generated Node #2: [42, 2, 74] from Operation: 96-22=74
Current State: 79:[42, 2, 74], Operations: ['96-22=74']
Exploring Operation: 74/2=37, Resulting Numbers: [42, 37]
Generated Node #3: [42, 37] from Operation: 74/2=37
Current State: 79:[42, 37], Operations: ['96-22=74', '74/2=37']
Exploring Operation: 42+37=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[96, 42, 22, 2], Operations: []
Exploring Operation: 22*2=44, Resulting Numbers: [96, 42, 44]
Generated Node #0,0: 79:[96, 42, 44] Operation: 22*2=44
Exploring Operation: 96-2=94, Resulting Numbers: [42, 22, 94]
Generated Node #0,1: 79:[42, 22, 94] Operation: 96-2=94
Exploring Operation: 42+22=64, Resulting Numbers: [96, 2, 64]
Generated Node #0,2: 79:[96, 2, 64] Operation: 42+22=64
Exploring Operation: 42*2=84, Resulting Numbers: [96, 22, 84]
Generated Node #0,3: 79:[96, 22, 84] Operation: 42*2=84
Exploring Operation: 42+2=44, Resulting Numbers: [96, 22, 44]
Generated Node #0,4: 79:[96, 22, 44] Operation: 42+2=44
Moving to Node #0,3
Current State: 79:[96, 22, 84], Operations: ['42*2=84']
Exploring Operation: 22+84=106, Resulting Numbers: [96, 106]
Generated Node #0,3,0: 79:[96, 106] Operation: 22+84=106
Exploring Operation: 96+22=118, Resulting Numbers: [84, 118]
Generated Node #0,3,1: 79:[84, 118] Operation: 96+22=118
Exploring Operation: 96-22=74, Resulting Numbers: [84, 74]
Generated Node #0,3,2: 79:[84, 74] Operation: 96-22=74
Exploring Operation: 84-22=62, Resulting Numbers: [96, 62]
Generated Node #0,3,3: 79:[96, 62] Operation: 84-22=62
Exploring Operation: 96-84=12, Resulting Numbers: [22, 12]
Generated Node #0,3,4: 79:[22, 12] Operation: 96-84=12
Moving to Node #0,0
Current State: 79:[96, 42, 44], Operations: ['22*2=44']
Exploring Operation: 96-44=52, Resulting Numbers: [42, 52]
Generated Node #0,0,0: 79:[42, 52] Operation: 96-44=52
Exploring Operation: 96+42=138, Resulting Numbers: [44, 138]
Generated Node #0,0,1: 79:[44, 138] Operation: 96+42=138
Exploring Operation: 44-42=2, Resulting Numbers: [96, 2]
Generated Node #0,0,2: 79:[96, 2] Operation: 44-42=2
Exploring Operation: 42+44=86, Resulting Numbers: [96, 86]
Generated Node #0,0,3: 79:[96, 86] Operation: 42+44=86
Exploring Operation: 96-42=54, Resulting Numbers: [44, 54]
Generated Node #0,0,4: 79:[44, 54] Operation: 96-42=54
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 79:[96, 86], Operations: ['22*2=44', '42+44=86']
Exploring Operation: 96*86=8256, Resulting Numbers: [8256]
8256,79 unequal: No Solution
Exploring Operation: 96-86=10, Resulting Numbers: [10]
10,79 unequal: No Solution
Exploring Operation: 96+86=182, Resulting Numbers: [182]
182,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 79:[44, 54], Operations: ['22*2=44', '96-42=54']
Exploring Operation: 44*54=2376, Resulting Numbers: [2376]
2376,79 unequal: No Solution
Exploring Operation: 44+54=98, Resulting Numbers: [98]
98,79 unequal: No Solution
Exploring Operation: 54-44=10, Resulting Numbers: [10]
10,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 79:[42, 52], Operations: ['22*2=44', '96-44=52']
Exploring Operation: 42*52=2184, Resulting Numbers: [2184]
2184,79 unequal: No Solution
Exploring Operation: 52-42=10, Resulting Numbers: [10]
10,79 unequal: No Solution
Exploring Operation: 42+52=94, Resulting Numbers: [94]
94,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 79:[44, 138], Operations: ['22*2=44', '96+42=138']
Exploring Operation: 138-44=94, Resulting Numbers: [94]
94,79 unequal: No Solution
Exploring Operation: 44*138=6072, Resulting Numbers: [6072]
6072,79 unequal: No Solution
Exploring Operation: 44+138=182, Resulting Numbers: [182]
182,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 79:[96, 2], Operations: ['22*2=44', '44-42=2']
Exploring Operation: 96/2=48, Resulting Numbers: [48]
48,79 unequal: No Solution
Exploring Operation: 96*2=192, Resulting Numbers: [192]
192,79 unequal: No Solution
Exploring Operation: 96+2=98, Resulting Numbers: [98]
98,79 unequal: No Solution
Exploring Operation: 96-2=94, Resulting Numbers: [94]
94,79 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: 79:[42, 22, 94], Operations: ['96-2=94']
Exploring Operation: 42+22=64, Resulting Numbers: [94, 64]
Generated Node #0,1,0: 79:[94, 64] Operation: 42+22=64
Exploring Operation: 42-22=20, Resulting Numbers: [94, 20]
Generated Node #0,1,1: 79:[94, 20] Operation: 42-22=20
Exploring Operation: 94-42=52, Resulting Numbers: [22, 52]
Generated Node #0,1,2: 79:[22, 52] Operation: 94-42=52
Exploring Operation: 94-22=72, Resulting Numbers: [42, 72]
Generated Node #0,1,3: 79:[42, 72] Operation: 94-22=72
Exploring Operation: 22+94=116, Resulting Numbers: [42, 116]
Generated Node #0,1,4: 79:[42, 116] Operation: 22+94=116
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 79:[94, 64], Operations: ['96-2=94', '42+22=64']
Exploring Operation: 94-64=30, Resulting Numbers: [30]
30,79 unequal: No Solution
Exploring Operation: 94*64=6016, Resulting Numbers: [6016]
6016,79 unequal: No Solution
Exploring Operation: 94+64=158, Resulting Numbers: [158]
158,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 79:[42, 72], Operations: ['96-2=94', '94-22=72']
Exploring Operation: 42*72=3024, Resulting Numbers: [3024]
3024,79 unequal: No Solution
Exploring Operation: 72-42=30, Resulting Numbers: [30]
30,79 unequal: No Solution
Exploring Operation: 42+72=114, Resulting Numbers: [114]
114,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 79:[94, 20], Operations: ['96-2=94', '42-22=20']
Exploring Operation: 94+20=114, Resulting Numbers: [114]
114,79 unequal: No Solution
Exploring Operation: 94*20=1880, Resulting Numbers: [1880]
1880,79 unequal: No Solution
Exploring Operation: 94-20=74, Resulting Numbers: [74]
74,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 79:[42, 116], Operations: ['96-2=94', '22+94=116']
Exploring Operation: 42*116=4872, Resulting Numbers: [4872]
4872,79 unequal: No Solution
Exploring Operation: 42+116=158, Resulting Numbers: [158]
158,79 unequal: No Solution
Exploring Operation: 116-42=74, Resulting Numbers: [74]
74,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 79:[22, 52], Operations: ['96-2=94', '94-42=52']
Exploring Operation: 52-22=30, Resulting Numbers: [30]
30,79 unequal: No Solution
Exploring Operation: 22*52=1144, Resulting Numbers: [1144]
1144,79 unequal: No Solution
Exploring Operation: 22+52=74, Resulting Numbers: [74]
74,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 79:[96, 2, 64], Operations: ['42+22=64']
Exploring Operation: 96-2=94, Resulting Numbers: [64, 94]
Generated Node #0,2,0: 79:[64, 94] Operation: 96-2=94
Exploring Operation: 2+64=66, Resulting Numbers: [96, 66]
Generated Node #0,2,1: 79:[96, 66] Operation: 2+64=66
Exploring Operation: 64-2=62, Resulting Numbers: [96, 62]
Generated Node #0,2,2: 79:[96, 62] Operation: 64-2=62
Exploring Operation: 96+2=98, Resulting Numbers: [64, 98]
Generated Node #0,2,3: 79:[64, 98] Operation: 96+2=98
Exploring Operation: 96/2=48, Resulting Numbers: [64, 48]
Generated Node #0,2,4: 79:[64, 48] Operation: 96/2=48
Moving to Node #0,4
Current State: 79:[96, 22, 44], Operations: ['42+2=44']
Exploring Operation: 96-44=52, Resulting Numbers: [22, 52]
Generated Node #0,4,0: 79:[22, 52] Operation: 96-44=52
Exploring Operation: 44-22=22, Resulting Numbers: [96, 22]
Generated Node #0,4,1: 79:[96, 22] Operation: 44-22=22
Exploring Operation: 22+44=66, Resulting Numbers: [96, 66]
Generated Node #0,4,2: 79:[96, 66] Operation: 22+44=66
Exploring Operation: 96-22=74, Resulting Numbers: [44, 74]
Generated Node #0,4,3: 79:[44, 74] Operation: 96-22=74
Exploring Operation: 96+22=118, Resulting Numbers: [44, 118]
Generated Node #0,4,4: 79:[44, 118] Operation: 96+22=118
Moving to Node #0,3,2
Current State: 79:[84, 74], Operations: ['42*2=84', '96-22=74']
Exploring Operation: 84+74=158, Resulting Numbers: [158]
158,79 unequal: No Solution
Exploring Operation: 84-74=10, Resulting Numbers: [10]
10,79 unequal: No Solution
Exploring Operation: 84*74=6216, Resulting Numbers: [6216]
6216,79 unequal: No Solution
Moving to Node #0,2,0
Current State: 79:[64, 94], Operations: ['42+22=64', '96-2=94']
Exploring Operation: 94-64=30, Resulting Numbers: [30]
30,79 unequal: No Solution
Exploring Operation: 64+94=158, Resulting Numbers: [158]
158,79 unequal: No Solution
Exploring Operation: 64*94=6016, Resulting Numbers: [6016]
6016,79 unequal: No Solution
Moving to Node #0,2,1
Current State: 79:[96, 66], Operations: ['42+22=64', '2+64=66']
Exploring Operation: 96*66=6336, Resulting Numbers: [6336]
6336,79 unequal: No Solution
Exploring Operation: 96-66=30, Resulting Numbers: [30]
30,79 unequal: No Solution
Exploring Operation: 96+66=162, Resulting Numbers: [162]
162,79 unequal: No Solution
Moving to Node #0,4,2
Current State: 79:[96, 66], Operations: ['42+2=44', '22+44=66']
Exploring Operation: 96+66=162, Resulting Numbers: [162]
162,79 unequal: No Solution
Exploring Operation: 96-66=30, Resulting Numbers: [30]
30,79 unequal: No Solution
Exploring Operation: 96*66=6336, Resulting Numbers: [6336]
6336,79 unequal: No Solution
Moving to Node #0,3,3
Current State: 79:[96, 62], Operations: ['42*2=84', '84-22=62']
Exploring Operation: 96-62=34, Resulting Numbers: [34]
34,79 unequal: No Solution
Exploring Operation: 96+62=158, Resulting Numbers: [158]
158,79 unequal: No Solution
Exploring Operation: 96*62=5952, Resulting Numbers: [5952]
5952,79 unequal: No Solution
Moving to Node #0,2,2
Current State: 79:[96, 62], Operations: ['42+22=64', '64-2=62']
Exploring Operation: 96+62=158, Resulting Numbers: [158]
158,79 unequal: No Solution
Exploring Operation: 96*62=5952, Resulting Numbers: [5952]
5952,79 unequal: No Solution
Exploring Operation: 96-62=34, Resulting Numbers: [34]
34,79 unequal: No Solution
Moving to Node #0,2,3
Current State: 79:[64, 98], Operations: ['42+22=64', '96+2=98']
Exploring Operation: 64*98=6272, Resulting Numbers: [6272]
6272,79 unequal: No Solution
Exploring Operation: 64+98=162, Resulting Numbers: [162]
162,79 unequal: No Solution
Exploring Operation: 98-64=34, Resulting Numbers: [34]
34,79 unequal: No Solution
Moving to Node #0,4,3
Current State: 79:[44, 74], Operations: ['42+2=44', '96-22=74']
Exploring Operation: 44+74=118, Resulting Numbers: [118]
118,79 unequal: No Solution
Exploring Operation: 44*74=3256, Resulting Numbers: [3256]
3256,79 unequal: No Solution
Exploring Operation: 74-44=30, Resulting Numbers: [30]
30,79 unequal: No Solution
Moving to Node #0,3,0
Current State: 79:[96, 106], Operations: ['42*2=84', '22+84=106']
Exploring Operation: 96*106=10176, Resulting Numbers: [10176]
10176,79 unequal: No Solution
Exploring Operation: 106-96=10, Resulting Numbers: [10]
10,79 unequal: No Solution
Exploring Operation: 96+106=202, Resulting Numbers: [202]
202,79 unequal: No Solution
Moving to Node #0,3,1
Current State: 79:[84, 118], Operations: ['42*2=84', '96+22=118']
Exploring Operation: 84+118=202, Resulting Numbers: [202]
202,79 unequal: No Solution
Exploring Operation: 84*118=9912, Resulting Numbers: [9912]
9912,79 unequal: No Solution
Exploring Operation: 118-84=34, Resulting Numbers: [34]
34,79 unequal: No Solution
Moving to Node #0,2,4
Current State: 79:[64, 48], Operations: ['42+22=64', '96/2=48']
Exploring Operation: 64*48=3072, Resulting Numbers: [3072]
3072,79 unequal: No Solution
Exploring Operation: 64+48=112, Resulting Numbers: [112]
112,79 unequal: No Solution
Exploring Operation: 64-48=16, Resulting Numbers: [16]
16,79 unequal: No Solution
Moving to Node #0,4,4
Current State: 79:[44, 118], Operations: ['42+2=44', '96+22=118']
Exploring Operation: 44+118=162, Resulting Numbers: [162]
162,79 unequal: No Solution
Exploring Operation: 44*118=5192, Resulting Numbers: [5192]
5192,79 unequal: No Solution
Exploring Operation: 118-44=74, Resulting Numbers: [74]
74,79 unequal: No Solution
Moving to Node #0,4,1
Current State: 79:[96, 22], Operations: ['42+2=44', '44-22=22']
Exploring Operation: 96+22=118, Resulting Numbers: [118]
118,79 unequal: No Solution
Exploring Operation: 96*22=2112, Resulting Numbers: [2112]
2112,79 unequal: No Solution
Exploring Operation: 96-22=74, Resulting Numbers: [74]
74,79 unequal: No Solution
Moving to Node #0,4,0
Current State: 79:[22, 52], Operations: ['42+2=44', '96-44=52']
Exploring Operation: 52-22=30, Resulting Numbers: [30]
30,79 unequal: No Solution
Exploring Operation: 22*52=1144, Resulting Numbers: [1144]
1144,79 unequal: No Solution
Exploring Operation: 22+52=74, Resulting Numbers: [74]
74,79 unequal: No Solution
Moving to Node #0,3,4
Current State: 79:[22, 12], Operations: ['42*2=84', '96-84=12']
Exploring Operation: 22+12=34, Resulting Numbers: [34]
34,79 unequal: No Solution
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,79 unequal: No Solution
Exploring Operation: 22*12=264, Resulting Numbers: [264]
264,79 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
1,
18,
2,
82
] | 97 | [
"18-1=17",
"82-2=80",
"17+80=97"
] | Current State: 97:[1, 18, 2, 82], Operations: []
Exploring Operation: 18-1=17, Resulting Numbers: [2, 82, 17]
Generated Node #2: [2, 82, 17] from Operation: 18-1=17
Current State: 97:[2, 82, 17], Operations: ['18-1=17']
Exploring Operation: 82-2=80, Resulting Numbers: [17, 80]
Generated Node #3: [17, 80] from Operation: 82-2=80
Current State: 97:[17, 80], Operations: ['18-1=17', '82-2=80']
Exploring Operation: 17+80=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[1, 18, 2, 82], Operations: []
Exploring Operation: 18*2=36, Resulting Numbers: [1, 82, 36]
Generated Node #0,0: 97:[1, 82, 36] Operation: 18*2=36
Exploring Operation: 1+18=19, Resulting Numbers: [2, 82, 19]
Generated Node #0,1: 97:[2, 82, 19] Operation: 1+18=19
Exploring Operation: 1+82=83, Resulting Numbers: [18, 2, 83]
Generated Node #0,2: 97:[18, 2, 83] Operation: 1+82=83
Exploring Operation: 1+2=3, Resulting Numbers: [18, 82, 3]
Generated Node #0,3: 97:[18, 82, 3] Operation: 1+2=3
Moving to Node #0,0
Current State: 97:[1, 82, 36], Operations: ['18*2=36']
Exploring Operation: 1+82=83, Resulting Numbers: [36, 83]
Generated Node #0,0,0: 97:[36, 83] Operation: 1+82=83
Exploring Operation: 1+36=37, Resulting Numbers: [82, 37]
Generated Node #0,0,1: 97:[82, 37] Operation: 1+36=37
Exploring Operation: 82/1=82, Resulting Numbers: [36, 82]
Generated Node #0,0,2: 97:[36, 82] Operation: 82/1=82
Exploring Operation: 1*82=82, Resulting Numbers: [36, 82]
Generated Node #0,0,3: 97:[36, 82] Operation: 1*82=82
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[36, 83], Operations: ['18*2=36', '1+82=83']
Exploring Operation: 36+83=119, Resulting Numbers: [119]
119,97 unequal: No Solution
Exploring Operation: 83-36=47, Resulting Numbers: [47]
47,97 unequal: No Solution
Exploring Operation: 36*83=2988, Resulting Numbers: [2988]
2988,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:[82, 37], Operations: ['18*2=36', '1+36=37']
Exploring Operation: 82-37=45, Resulting Numbers: [45]
45,97 unequal: No Solution
Exploring Operation: 82*37=3034, Resulting Numbers: [3034]
3034,97 unequal: No Solution
Exploring Operation: 82+37=119, Resulting Numbers: [119]
119,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 97:[36, 82], Operations: ['18*2=36', '82/1=82']
Exploring Operation: 36*82=2952, Resulting Numbers: [2952]
2952,97 unequal: No Solution
Exploring Operation: 36+82=118, Resulting Numbers: [118]
118,97 unequal: No Solution
Exploring Operation: 82-36=46, Resulting Numbers: [46]
46,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 97:[36, 82], Operations: ['18*2=36', '1*82=82']
Exploring Operation: 36*82=2952, Resulting Numbers: [2952]
2952,97 unequal: No Solution
Exploring Operation: 82-36=46, Resulting Numbers: [46]
46,97 unequal: No Solution
Exploring Operation: 36+82=118, Resulting Numbers: [118]
118,97 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: 97:[18, 2, 83], Operations: ['1+82=83']
Exploring Operation: 18*2=36, Resulting Numbers: [83, 36]
Generated Node #0,2,0: 97:[83, 36] Operation: 18*2=36
Exploring Operation: 2+83=85, Resulting Numbers: [18, 85]
Generated Node #0,2,1: 97:[18, 85] Operation: 2+83=85
Exploring Operation: 18+2=20, Resulting Numbers: [83, 20]
Generated Node #0,2,2: 97:[83, 20] Operation: 18+2=20
Exploring Operation: 18-2=16, Resulting Numbers: [83, 16]
Generated Node #0,2,3: 97:[83, 16] Operation: 18-2=16
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 97:[83, 36], Operations: ['1+82=83', '18*2=36']
Exploring Operation: 83-36=47, Resulting Numbers: [47]
47,97 unequal: No Solution
Exploring Operation: 83*36=2988, Resulting Numbers: [2988]
2988,97 unequal: No Solution
Exploring Operation: 83+36=119, Resulting Numbers: [119]
119,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 97:[18, 85], Operations: ['1+82=83', '2+83=85']
Exploring Operation: 18+85=103, Resulting Numbers: [103]
103,97 unequal: No Solution
Exploring Operation: 18*85=1530, Resulting Numbers: [1530]
1530,97 unequal: No Solution
Exploring Operation: 85-18=67, Resulting Numbers: [67]
67,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 97:[83, 20], Operations: ['1+82=83', '18+2=20']
Exploring Operation: 83-20=63, Resulting Numbers: [63]
63,97 unequal: No Solution
Exploring Operation: 83*20=1660, Resulting Numbers: [1660]
1660,97 unequal: No Solution
Exploring Operation: 83+20=103, Resulting Numbers: [103]
103,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 97:[83, 16], Operations: ['1+82=83', '18-2=16']
Exploring Operation: 83*16=1328, Resulting Numbers: [1328]
1328,97 unequal: No Solution
Exploring Operation: 83-16=67, Resulting Numbers: [67]
67,97 unequal: No Solution
Exploring Operation: 83+16=99, Resulting Numbers: [99]
99,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:[2, 82, 19], Operations: ['1+18=19']
Exploring Operation: 82-2=80, Resulting Numbers: [19, 80]
Generated Node #0,1,0: 97:[19, 80] Operation: 82-2=80
Exploring Operation: 2+19=21, Resulting Numbers: [82, 21]
Generated Node #0,1,1: 97:[82, 21] Operation: 2+19=21
Exploring Operation: 2*19=38, Resulting Numbers: [82, 38]
Generated Node #0,1,2: 97:[82, 38] Operation: 2*19=38
Exploring Operation: 2+82=84, Resulting Numbers: [19, 84]
Generated Node #0,1,3: 97:[19, 84] Operation: 2+82=84
Moving to Node #0,3
Current State: 97:[18, 82, 3], Operations: ['1+2=3']
Exploring Operation: 82+3=85, Resulting Numbers: [18, 85]
Generated Node #0,3,0: 97:[18, 85] Operation: 82+3=85
Exploring Operation: 18*3=54, Resulting Numbers: [82, 54]
Generated Node #0,3,1: 97:[82, 54] Operation: 18*3=54
Exploring Operation: 18+82=100, Resulting Numbers: [3, 100]
Generated Node #0,3,2: 97:[3, 100] Operation: 18+82=100
Exploring Operation: 18+3=21, Resulting Numbers: [82, 21]
Generated Node #0,3,3: 97:[82, 21] Operation: 18+3=21
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 97:[82, 54], Operations: ['1+2=3', '18*3=54']
Exploring Operation: 82*54=4428, Resulting Numbers: [4428]
4428,97 unequal: No Solution
Exploring Operation: 82+54=136, Resulting Numbers: [136]
136,97 unequal: No Solution
Exploring Operation: 82-54=28, Resulting Numbers: [28]
28,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,3,0
Current State: 97:[18, 85], Operations: ['1+2=3', '82+3=85']
Exploring Operation: 18*85=1530, Resulting Numbers: [1530]
1530,97 unequal: No Solution
Exploring Operation: 18+85=103, Resulting Numbers: [103]
103,97 unequal: No Solution
Exploring Operation: 85-18=67, Resulting Numbers: [67]
67,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,3,3
Current State: 97:[82, 21], Operations: ['1+2=3', '18+3=21']
Exploring Operation: 82*21=1722, Resulting Numbers: [1722]
1722,97 unequal: No Solution
Exploring Operation: 82-21=61, Resulting Numbers: [61]
61,97 unequal: No Solution
Exploring Operation: 82+21=103, Resulting Numbers: [103]
103,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,3,2
Current State: 97:[3, 100], Operations: ['1+2=3', '18+82=100']
Exploring Operation: 3+100=103, Resulting Numbers: [103]
103,97 unequal: No Solution
Exploring Operation: 100-3=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[1, 18, 2, 82], Operations: []
Exploring Operation: 1+2=3, Resulting Numbers: [18, 82, 3]
Generated Node #0,3: 97:[18, 82, 3] Operation: 1+2=3
Moving to Node #0,3
Current State: 97:[18, 82, 3], Operations: ['1+2=3']
Exploring Operation: 18+82=100, Resulting Numbers: [3, 100]
Generated Node #0,3,2: 97:[3, 100] Operation: 18+82=100
Moving to Node #0,3,2
Current State: 97:[3, 100], Operations: ['1+2=3', '18+82=100']
Exploring Operation: 100-3=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 1
| 0.948785 | hs_4 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.