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 |
|---|---|---|---|---|---|---|---|---|
[
58,
28,
26,
71
] | 74 | [
"58+26=84",
"84/28=3",
"71+3=74"
] | Current State: 74:[58, 28, 26, 71], Operations: []
Exploring Operation: 58+26=84, Resulting Numbers: [28, 71, 84]
Generated Node #2: [28, 71, 84] from Operation: 58+26=84
Current State: 74:[28, 71, 84], Operations: ['58+26=84']
Exploring Operation: 84/28=3, Resulting Numbers: [71, 3]
Generated Node #3: [71, 3] from Operation: 84/28=3
Current State: 74:[71, 3], Operations: ['58+26=84', '84/28=3']
Exploring Operation: 71+3=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[58, 28, 26, 71], Operations: []
Exploring Operation: 58-26=32, Resulting Numbers: [28, 71, 32]
Generated Node #0,0: 74:[28, 71, 32] Operation: 58-26=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[28, 71, 32], Operations: ['58-26=32']
Exploring Operation: 32-28=4, Resulting Numbers: [71, 4]
Generated Node #0,0,0: 74:[71, 4] Operation: 32-28=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 74:[71, 4], Operations: ['58-26=32', '32-28=4']
Exploring Operation: 71+4=75, Resulting Numbers: [75]
75,74 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 |
[
13,
42,
61,
3
] | 96 | [
"42-13=29",
"61-29=32",
"3*32=96"
] | Current State: 96:[13, 42, 61, 3], Operations: []
Exploring Operation: 42-13=29, Resulting Numbers: [61, 3, 29]
Generated Node #2: [61, 3, 29] from Operation: 42-13=29
Current State: 96:[61, 3, 29], Operations: ['42-13=29']
Exploring Operation: 61-29=32, Resulting Numbers: [3, 32]
Generated Node #3: [3, 32] from Operation: 61-29=32
Current State: 96:[3, 32], Operations: ['42-13=29', '61-29=32']
Exploring Operation: 3*32=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[13, 42, 61, 3], Operations: []
Exploring Operation: 61-42=19, Resulting Numbers: [13, 3, 19]
Generated Node #0,0: 96:[13, 3, 19] Operation: 61-42=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[13, 3, 19], Operations: ['61-42=19']
Exploring Operation: 13+19=32, Resulting Numbers: [3, 32]
Generated Node #0,0,0: 96:[3, 32] Operation: 13+19=32
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 96:[3, 32], Operations: ['61-42=19', '13+19=32']
Exploring Operation: 3*32=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[13, 42, 61, 3], Operations: []
Exploring Operation: 61-42=19, Resulting Numbers: [13, 3, 19]
Generated Node #0,0: 96:[13, 3, 19] Operation: 61-42=19
Moving to Node #0,0
Current State: 96:[13, 3, 19], Operations: ['61-42=19']
Exploring Operation: 13+19=32, Resulting Numbers: [3, 32]
Generated Node #0,0,0: 96:[3, 32] Operation: 13+19=32
Moving to Node #0,0,0
Current State: 96:[3, 32], Operations: ['61-42=19', '13+19=32']
Exploring Operation: 3*32=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
2,
68,
66,
1
] | 65 | [
"2*66=132",
"68-1=67",
"132-67=65"
] | Current State: 65:[2, 68, 66, 1], Operations: []
Exploring Operation: 2*66=132, Resulting Numbers: [68, 1, 132]
Generated Node #2: [68, 1, 132] from Operation: 2*66=132
Current State: 65:[68, 1, 132], Operations: ['2*66=132']
Exploring Operation: 68-1=67, Resulting Numbers: [132, 67]
Generated Node #3: [132, 67] from Operation: 68-1=67
Current State: 65:[132, 67], Operations: ['2*66=132', '68-1=67']
Exploring Operation: 132-67=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[2, 68, 66, 1], Operations: []
Exploring Operation: 68-2=66, Resulting Numbers: [66, 1, 66]
Generated Node #0,0: 65:[66, 1, 66] Operation: 68-2=66
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[66, 1, 66], Operations: ['68-2=66']
Exploring Operation: 66-1=65, Resulting Numbers: [66, 65]
Generated Node #0,0,0: 65:[66, 65] Operation: 66-1=65
Moving to Node #0,0,0
Current State: 65:[66, 65], Operations: ['68-2=66', '66-1=65']
Exploring Operation: 66-65=1, Resulting Numbers: [1]
1,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
54,
10,
42,
21
] | 34 | [
"10*42=420",
"420/21=20",
"54-20=34"
] | Current State: 34:[54, 10, 42, 21], Operations: []
Exploring Operation: 10*42=420, Resulting Numbers: [54, 21, 420]
Generated Node #2: [54, 21, 420] from Operation: 10*42=420
Current State: 34:[54, 21, 420], Operations: ['10*42=420']
Exploring Operation: 420/21=20, Resulting Numbers: [54, 20]
Generated Node #3: [54, 20] from Operation: 420/21=20
Current State: 34:[54, 20], Operations: ['10*42=420', '420/21=20']
Exploring Operation: 54-20=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[54, 10, 42, 21], Operations: []
Exploring Operation: 54-42=12, Resulting Numbers: [10, 21, 12]
Generated Node #0,0: 34:[10, 21, 12] Operation: 54-42=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[10, 21, 12], Operations: ['54-42=12']
Exploring Operation: 12-10=2, Resulting Numbers: [21, 2]
Generated Node #0,0,0: 34:[21, 2] Operation: 12-10=2
Moving to Node #0,0,0
Current State: 34:[21, 2], Operations: ['54-42=12', '12-10=2']
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,34 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 |
[
30,
19,
2,
14
] | 61 | [
"30+19=49",
"14-2=12",
"49+12=61"
] | Current State: 61:[30, 19, 2, 14], Operations: []
Exploring Operation: 30+19=49, Resulting Numbers: [2, 14, 49]
Generated Node #2: [2, 14, 49] from Operation: 30+19=49
Current State: 61:[2, 14, 49], Operations: ['30+19=49']
Exploring Operation: 14-2=12, Resulting Numbers: [49, 12]
Generated Node #3: [49, 12] from Operation: 14-2=12
Current State: 61:[49, 12], Operations: ['30+19=49', '14-2=12']
Exploring Operation: 49+12=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[30, 19, 2, 14], Operations: []
Exploring Operation: 19*2=38, Resulting Numbers: [30, 14, 38]
Generated Node #0,0: 61:[30, 14, 38] Operation: 19*2=38
Exploring Operation: 30*2=60, Resulting Numbers: [19, 14, 60]
Generated Node #0,1: 61:[19, 14, 60] Operation: 30*2=60
Moving to Node #0,1
Current State: 61:[19, 14, 60], Operations: ['30*2=60']
Exploring Operation: 14+60=74, Resulting Numbers: [19, 74]
Generated Node #0,1,0: 61:[19, 74] Operation: 14+60=74
Exploring Operation: 19+14=33, Resulting Numbers: [60, 33]
Generated Node #0,1,1: 61:[60, 33] Operation: 19+14=33
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 61:[60, 33], Operations: ['30*2=60', '19+14=33']
Exploring Operation: 60+33=93, Resulting Numbers: [93]
93,61 unequal: No Solution
Exploring Operation: 60-33=27, Resulting Numbers: [27]
27,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 61:[19, 74], Operations: ['30*2=60', '14+60=74']
Exploring Operation: 74-19=55, Resulting Numbers: [55]
55,61 unequal: No Solution
Exploring Operation: 19+74=93, Resulting Numbers: [93]
93,61 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: 61:[30, 14, 38], Operations: ['19*2=38']
Exploring Operation: 14+38=52, Resulting Numbers: [30, 52]
Generated Node #0,0,0: 61:[30, 52] Operation: 14+38=52
Exploring Operation: 30+14=44, Resulting Numbers: [38, 44]
Generated Node #0,0,1: 61:[38, 44] Operation: 30+14=44
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[30, 52], Operations: ['19*2=38', '14+38=52']
Exploring Operation: 30+52=82, Resulting Numbers: [82]
82,61 unequal: No Solution
Exploring Operation: 52-30=22, Resulting Numbers: [22]
22,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 61:[38, 44], Operations: ['19*2=38', '30+14=44']
Exploring Operation: 44-38=6, Resulting Numbers: [6]
6,61 unequal: No Solution
Exploring Operation: 38+44=82, Resulting Numbers: [82]
82,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
13,
36,
30,
36
] | 16 | [
"30-13=17",
"36/36=1",
"17-1=16"
] | Current State: 16:[13, 36, 30, 36], Operations: []
Exploring Operation: 30-13=17, Resulting Numbers: [36, 36, 17]
Generated Node #2: [36, 36, 17] from Operation: 30-13=17
Current State: 16:[36, 36, 17], Operations: ['30-13=17']
Exploring Operation: 36/36=1, Resulting Numbers: [17, 1]
Generated Node #3: [17, 1] from Operation: 36/36=1
Current State: 16:[17, 1], Operations: ['30-13=17', '36/36=1']
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[13, 36, 30, 36], Operations: []
Exploring Operation: 36/36=1, Resulting Numbers: [13, 30, 1]
Generated Node #0,0: 16:[13, 30, 1] Operation: 36/36=1
Exploring Operation: 36-30=6, Resulting Numbers: [13, 36, 6]
Generated Node #0,1: 16:[13, 36, 6] Operation: 36-30=6
Exploring Operation: 36-30=6, Resulting Numbers: [13, 36, 6]
Generated Node #0,2: 16:[13, 36, 6] Operation: 36-30=6
Exploring Operation: 36-36=0, Resulting Numbers: [13, 30, 0]
Generated Node #0,3: 16:[13, 30, 0] Operation: 36-36=0
Moving to Node #0,0
Current State: 16:[13, 30, 1], Operations: ['36/36=1']
Exploring Operation: 13+1=14, Resulting Numbers: [30, 14]
Generated Node #0,0,0: 16:[30, 14] Operation: 13+1=14
Exploring Operation: 13*1=13, Resulting Numbers: [30, 13]
Generated Node #0,0,1: 16:[30, 13] Operation: 13*1=13
Exploring Operation: 30-13=17, Resulting Numbers: [1, 17]
Generated Node #0,0,2: 16:[1, 17] Operation: 30-13=17
Exploring Operation: 30-1=29, Resulting Numbers: [13, 29]
Generated Node #0,0,3: 16:[13, 29] Operation: 30-1=29
Moving to Node #0,3
Current State: 16:[13, 30, 0], Operations: ['36-36=0']
Exploring Operation: 13+0=13, Resulting Numbers: [30, 13]
Generated Node #0,3,0: 16:[30, 13] Operation: 13+0=13
Exploring Operation: 30-13=17, Resulting Numbers: [0, 17]
Generated Node #0,3,1: 16:[0, 17] Operation: 30-13=17
Exploring Operation: 13*0=0, Resulting Numbers: [30, 0]
Generated Node #0,3,2: 16:[30, 0] Operation: 13*0=0
Exploring Operation: 30*0=0, Resulting Numbers: [13, 0]
Generated Node #0,3,3: 16:[13, 0] Operation: 30*0=0
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 16:[0, 17], Operations: ['36-36=0', '30-13=17']
Exploring Operation: 0*17=0, Resulting Numbers: [0]
0,16 unequal: No Solution
Exploring Operation: 17-0=17, Resulting Numbers: [17]
17,16 unequal: No Solution
Exploring Operation: 0+17=17, Resulting Numbers: [17]
17,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:[13, 0], Operations: ['36-36=0', '30*0=0']
Exploring Operation: 13+0=13, Resulting Numbers: [13]
13,16 unequal: No Solution
Exploring Operation: 13*0=0, Resulting Numbers: [0]
0,16 unequal: No Solution
Exploring Operation: 13-0=13, Resulting Numbers: [13]
13,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:[30, 0], Operations: ['36-36=0', '13*0=0']
Exploring Operation: 30-0=30, Resulting Numbers: [30]
30,16 unequal: No Solution
Exploring Operation: 30+0=30, Resulting Numbers: [30]
30,16 unequal: No Solution
Exploring Operation: 30*0=0, Resulting Numbers: [0]
0,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:[30, 13], Operations: ['36-36=0', '13+0=13']
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,16 unequal: No Solution
Exploring Operation: 30+13=43, Resulting Numbers: [43]
43,16 unequal: No Solution
Exploring Operation: 30*13=390, Resulting Numbers: [390]
390,16 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: 16:[13, 36, 6], Operations: ['36-30=6']
Exploring Operation: 36-13=23, Resulting Numbers: [6, 23]
Generated Node #0,2,0: 16:[6, 23] Operation: 36-13=23
Exploring Operation: 36-6=30, Resulting Numbers: [13, 30]
Generated Node #0,2,1: 16:[13, 30] Operation: 36-6=30
Exploring Operation: 13-6=7, Resulting Numbers: [36, 7]
Generated Node #0,2,2: 16:[36, 7] Operation: 13-6=7
Exploring Operation: 36/6=6, Resulting Numbers: [13, 6]
Generated Node #0,2,3: 16:[13, 6] Operation: 36/6=6
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 16:[13, 6], Operations: ['36-30=6', '36/6=6']
Exploring Operation: 13+6=19, Resulting Numbers: [19]
19,16 unequal: No Solution
Exploring Operation: 13*6=78, Resulting Numbers: [78]
78,16 unequal: No Solution
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,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,2,0
Current State: 16:[6, 23], Operations: ['36-30=6', '36-13=23']
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,16 unequal: No Solution
Exploring Operation: 6*23=138, Resulting Numbers: [138]
138,16 unequal: No Solution
Exploring Operation: 6+23=29, Resulting Numbers: [29]
29,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,2,1
Current State: 16:[13, 30], Operations: ['36-30=6', '36-6=30']
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,16 unequal: No Solution
Exploring Operation: 13*30=390, Resulting Numbers: [390]
390,16 unequal: No Solution
Exploring Operation: 13+30=43, Resulting Numbers: [43]
43,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,2,2
Current State: 16:[36, 7], Operations: ['36-30=6', '13-6=7']
Exploring Operation: 36*7=252, Resulting Numbers: [252]
252,16 unequal: No Solution
Exploring Operation: 36+7=43, Resulting Numbers: [43]
43,16 unequal: No Solution
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,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:[13, 36, 6], Operations: ['36-30=6']
Exploring Operation: 36-13=23, Resulting Numbers: [6, 23]
Generated Node #0,1,0: 16:[6, 23] Operation: 36-13=23
Exploring Operation: 13-6=7, Resulting Numbers: [36, 7]
Generated Node #0,1,1: 16:[36, 7] Operation: 13-6=7
Exploring Operation: 36/6=6, Resulting Numbers: [13, 6]
Generated Node #0,1,2: 16:[13, 6] Operation: 36/6=6
Exploring Operation: 36-6=30, Resulting Numbers: [13, 30]
Generated Node #0,1,3: 16:[13, 30] Operation: 36-6=30
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 16:[13, 6], Operations: ['36-30=6', '36/6=6']
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,16 unequal: No Solution
Exploring Operation: 13+6=19, Resulting Numbers: [19]
19,16 unequal: No Solution
Exploring Operation: 13*6=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,1,0
Current State: 16:[6, 23], Operations: ['36-30=6', '36-13=23']
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,16 unequal: No Solution
Exploring Operation: 6*23=138, Resulting Numbers: [138]
138,16 unequal: No Solution
Exploring Operation: 6+23=29, Resulting Numbers: [29]
29,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 16:[13, 30], Operations: ['36-30=6', '36-6=30']
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,16 unequal: No Solution
Exploring Operation: 13*30=390, Resulting Numbers: [390]
390,16 unequal: No Solution
Exploring Operation: 13+30=43, Resulting Numbers: [43]
43,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 16:[36, 7], Operations: ['36-30=6', '13-6=7']
Exploring Operation: 36*7=252, Resulting Numbers: [252]
252,16 unequal: No Solution
Exploring Operation: 36+7=43, Resulting Numbers: [43]
43,16 unequal: No Solution
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,16 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: 16:[1, 17], Operations: ['36/36=1', '30-13=17']
Exploring Operation: 1*17=17, Resulting Numbers: [17]
17,16 unequal: No Solution
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[13, 36, 30, 36], Operations: []
Exploring Operation: 36/36=1, Resulting Numbers: [13, 30, 1]
Generated Node #0,0: 16:[13, 30, 1] Operation: 36/36=1
Moving to Node #0,0
Current State: 16:[13, 30, 1], Operations: ['36/36=1']
Exploring Operation: 30-13=17, Resulting Numbers: [1, 17]
Generated Node #0,0,2: 16:[1, 17] Operation: 30-13=17
Moving to Node #0,0,2
Current State: 16:[1, 17], Operations: ['36/36=1', '30-13=17']
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 0.946181 | hs_4 | sum_heuristic |
[
20,
89,
71,
30
] | 28 | [
"89-20=69",
"71-30=41",
"69-41=28"
] | Current State: 28:[20, 89, 71, 30], Operations: []
Exploring Operation: 89-20=69, Resulting Numbers: [71, 30, 69]
Generated Node #2: [71, 30, 69] from Operation: 89-20=69
Current State: 28:[71, 30, 69], Operations: ['89-20=69']
Exploring Operation: 71-30=41, Resulting Numbers: [69, 41]
Generated Node #3: [69, 41] from Operation: 71-30=41
Current State: 28:[69, 41], Operations: ['89-20=69', '71-30=41']
Exploring Operation: 69-41=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[20, 89, 71, 30], Operations: []
Exploring Operation: 89-30=59, Resulting Numbers: [20, 71, 59]
Generated Node #0,0: 28:[20, 71, 59] Operation: 89-30=59
Exploring Operation: 89-71=18, Resulting Numbers: [20, 30, 18]
Generated Node #0,1: 28:[20, 30, 18] Operation: 89-71=18
Moving to Node #0,1
Current State: 28:[20, 30, 18], Operations: ['89-71=18']
Exploring Operation: 20-18=2, Resulting Numbers: [30, 2]
Generated Node #0,1,0: 28:[30, 2] Operation: 20-18=2
Exploring Operation: 30-20=10, Resulting Numbers: [18, 10]
Generated Node #0,1,1: 28:[18, 10] Operation: 30-20=10
Moving to Node #0,0
Current State: 28:[20, 71, 59], Operations: ['89-30=59']
Exploring Operation: 71-59=12, Resulting Numbers: [20, 12]
Generated Node #0,0,0: 28:[20, 12] Operation: 71-59=12
Exploring Operation: 71-20=51, Resulting Numbers: [59, 51]
Generated Node #0,0,1: 28:[59, 51] Operation: 71-20=51
Moving to Node #0,1,0
Current State: 28:[30, 2], Operations: ['89-71=18', '20-18=2']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,28 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[20, 89, 71, 30], Operations: []
Exploring Operation: 89-71=18, Resulting Numbers: [20, 30, 18]
Generated Node #0,1: 28:[20, 30, 18] Operation: 89-71=18
Moving to Node #0,1
Current State: 28:[20, 30, 18], Operations: ['89-71=18']
Exploring Operation: 20-18=2, Resulting Numbers: [30, 2]
Generated Node #0,1,0: 28:[30, 2] Operation: 20-18=2
Moving to Node #0,1,0
Current State: 28:[30, 2], Operations: ['89-71=18', '20-18=2']
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 0.989583 | hs_2 | sum_heuristic |
[
96,
9,
87,
66
] | 66 | [
"96-9=87",
"87+66=153",
"153-87=66"
] | Current State: 66:[96, 9, 87, 66], Operations: []
Exploring Operation: 96-9=87, Resulting Numbers: [87, 66, 87]
Generated Node #2: [87, 66, 87] from Operation: 96-9=87
Current State: 66:[87, 66, 87], Operations: ['96-9=87']
Exploring Operation: 87+66=153, Resulting Numbers: [153]
153,66 equal: Goal Reached
Exploring Operation: 153-87=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[96, 9, 87, 66], Operations: []
Exploring Operation: 87-66=21, Resulting Numbers: [96, 9, 21]
Generated Node #0,0: 66:[96, 9, 21] Operation: 87-66=21
Exploring Operation: 96-9=87, Resulting Numbers: [87, 66, 87]
Generated Node #0,1: 66:[87, 66, 87] Operation: 96-9=87
Exploring Operation: 96-87=9, Resulting Numbers: [9, 66, 9]
Generated Node #0,2: 66:[9, 66, 9] Operation: 96-87=9
Exploring Operation: 87-9=78, Resulting Numbers: [96, 66, 78]
Generated Node #0,3: 66:[96, 66, 78] Operation: 87-9=78
Exploring Operation: 96-66=30, Resulting Numbers: [9, 87, 30]
Generated Node #0,4: 66:[9, 87, 30] Operation: 96-66=30
Start Sub Search at level 1: Moving to Node #0,2
Current State: 66:[9, 66, 9], Operations: ['96-87=9']
Exploring Operation: 9+66=75, Resulting Numbers: [9, 75]
Generated Node #0,2,0: 66:[9, 75] Operation: 9+66=75
Exploring Operation: 66-9=57, Resulting Numbers: [9, 57]
Generated Node #0,2,1: 66:[9, 57] Operation: 66-9=57
Exploring Operation: 9/9=1, Resulting Numbers: [66, 1]
Generated Node #0,2,2: 66:[66, 1] Operation: 9/9=1
Exploring Operation: 9+9=18, Resulting Numbers: [66, 18]
Generated Node #0,2,3: 66:[66, 18] Operation: 9+9=18
Exploring Operation: 9-9=0, Resulting Numbers: [66, 0]
Generated Node #0,2,4: 66:[66, 0] Operation: 9-9=0
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 66:[66, 1], Operations: ['96-87=9', '9/9=1']
Exploring Operation: 66-1=65, Resulting Numbers: [65]
65,66 unequal: No Solution
Exploring Operation: 66*1=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[96, 9, 87, 66], Operations: []
Exploring Operation: 96-87=9, Resulting Numbers: [9, 66, 9]
Generated Node #0,2: 66:[9, 66, 9] Operation: 96-87=9
Moving to Node #0,2
Current State: 66:[9, 66, 9], Operations: ['96-87=9']
Exploring Operation: 9/9=1, Resulting Numbers: [66, 1]
Generated Node #0,2,2: 66:[66, 1] Operation: 9/9=1
Moving to Node #0,2,2
Current State: 66:[66, 1], Operations: ['96-87=9', '9/9=1']
Exploring Operation: 66*1=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
56,
78,
21,
71
] | 71 | [
"78-56=22",
"22-21=1",
"71*1=71"
] | Current State: 71:[56, 78, 21, 71], Operations: []
Exploring Operation: 78-56=22, Resulting Numbers: [21, 71, 22]
Generated Node #2: [21, 71, 22] from Operation: 78-56=22
Current State: 71:[21, 71, 22], Operations: ['78-56=22']
Exploring Operation: 22-21=1, Resulting Numbers: [71, 1]
Generated Node #3: [71, 1] from Operation: 22-21=1
Current State: 71:[71, 1], Operations: ['78-56=22', '22-21=1']
Exploring Operation: 71*1=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[56, 78, 21, 71], Operations: []
Exploring Operation: 56-21=35, Resulting Numbers: [78, 71, 35]
Generated Node #0,0: 71:[78, 71, 35] Operation: 56-21=35
Exploring Operation: 78+21=99, Resulting Numbers: [56, 71, 99]
Generated Node #0,1: 71:[56, 71, 99] Operation: 78+21=99
Exploring Operation: 56+21=77, Resulting Numbers: [78, 71, 77]
Generated Node #0,2: 71:[78, 71, 77] Operation: 56+21=77
Exploring Operation: 78-21=57, Resulting Numbers: [56, 71, 57]
Generated Node #0,3: 71:[56, 71, 57] Operation: 78-21=57
Moving to Node #0,2
Current State: 71:[78, 71, 77], Operations: ['56+21=77']
Exploring Operation: 78-71=7, Resulting Numbers: [77, 7]
Generated Node #0,2,0: 71:[77, 7] Operation: 78-71=7
Exploring Operation: 78-77=1, Resulting Numbers: [71, 1]
Generated Node #0,2,1: 71:[71, 1] Operation: 78-77=1
Exploring Operation: 77-71=6, Resulting Numbers: [78, 6]
Generated Node #0,2,2: 71:[78, 6] Operation: 77-71=6
Exploring Operation: 78+71=149, Resulting Numbers: [77, 149]
Generated Node #0,2,3: 71:[77, 149] Operation: 78+71=149
Moving to Node #0,3
Current State: 71:[56, 71, 57], Operations: ['78-21=57']
Exploring Operation: 56+57=113, Resulting Numbers: [71, 113]
Generated Node #0,3,0: 71:[71, 113] Operation: 56+57=113
Exploring Operation: 56+71=127, Resulting Numbers: [57, 127]
Generated Node #0,3,1: 71:[57, 127] Operation: 56+71=127
Exploring Operation: 71-56=15, Resulting Numbers: [57, 15]
Generated Node #0,3,2: 71:[57, 15] Operation: 71-56=15
Exploring Operation: 57-56=1, Resulting Numbers: [71, 1]
Generated Node #0,3,3: 71:[71, 1] Operation: 57-56=1
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 71:[71, 113], Operations: ['78-21=57', '56+57=113']
Exploring Operation: 113-71=42, Resulting Numbers: [42]
42,71 unequal: No Solution
Exploring Operation: 71+113=184, Resulting Numbers: [184]
184,71 unequal: No Solution
Exploring Operation: 71*113=8023, Resulting Numbers: [8023]
8023,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 71:[57, 127], Operations: ['78-21=57', '56+71=127']
Exploring Operation: 57*127=7239, Resulting Numbers: [7239]
7239,71 unequal: No Solution
Exploring Operation: 127-57=70, Resulting Numbers: [70]
70,71 unequal: No Solution
Exploring Operation: 57+127=184, Resulting Numbers: [184]
184,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 71:[57, 15], Operations: ['78-21=57', '71-56=15']
Exploring Operation: 57+15=72, Resulting Numbers: [72]
72,71 unequal: No Solution
Exploring Operation: 57*15=855, Resulting Numbers: [855]
855,71 unequal: No Solution
Exploring Operation: 57-15=42, Resulting Numbers: [42]
42,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 71:[71, 1], Operations: ['78-21=57', '57-56=1']
Exploring Operation: 71/1=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[56, 78, 21, 71], Operations: []
Exploring Operation: 78-21=57, Resulting Numbers: [56, 71, 57]
Generated Node #0,3: 71:[56, 71, 57] Operation: 78-21=57
Moving to Node #0,3
Current State: 71:[56, 71, 57], Operations: ['78-21=57']
Exploring Operation: 57-56=1, Resulting Numbers: [71, 1]
Generated Node #0,3,3: 71:[71, 1] Operation: 57-56=1
Moving to Node #0,3,3
Current State: 71:[71, 1], Operations: ['78-21=57', '57-56=1']
Exploring Operation: 71/1=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_4 | sum_heuristic |
[
49,
53,
52,
20
] | 29 | [
"49-20=29",
"53-52=1",
"29*1=29"
] | Current State: 29:[49, 53, 52, 20], Operations: []
Exploring Operation: 49-20=29, Resulting Numbers: [53, 52, 29]
Generated Node #2: [53, 52, 29] from Operation: 49-20=29
Current State: 29:[53, 52, 29], Operations: ['49-20=29']
Exploring Operation: 53-52=1, Resulting Numbers: [29, 1]
Generated Node #3: [29, 1] from Operation: 53-52=1
Current State: 29:[29, 1], Operations: ['49-20=29', '53-52=1']
Exploring Operation: 29*1=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[49, 53, 52, 20], Operations: []
Exploring Operation: 52-20=32, Resulting Numbers: [49, 53, 32]
Generated Node #0,0: 29:[49, 53, 32] Operation: 52-20=32
Exploring Operation: 49-20=29, Resulting Numbers: [53, 52, 29]
Generated Node #0,1: 29:[53, 52, 29] Operation: 49-20=29
Exploring Operation: 53-20=33, Resulting Numbers: [49, 52, 33]
Generated Node #0,2: 29:[49, 52, 33] Operation: 53-20=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[49, 53, 32], Operations: ['52-20=32']
Exploring Operation: 53-32=21, Resulting Numbers: [49, 21]
Generated Node #0,0,0: 29:[49, 21] Operation: 53-32=21
Exploring Operation: 53-49=4, Resulting Numbers: [32, 4]
Generated Node #0,0,1: 29:[32, 4] Operation: 53-49=4
Exploring Operation: 49-32=17, Resulting Numbers: [53, 17]
Generated Node #0,0,2: 29:[53, 17] Operation: 49-32=17
Moving to Node #0,0,0
Current State: 29:[49, 21], Operations: ['52-20=32', '53-32=21']
Exploring Operation: 49-21=28, Resulting Numbers: [28]
28,29 unequal: No Solution
Exploring Operation: 49*21=1029, Resulting Numbers: [1029]
1029,29 unequal: No Solution
Exploring Operation: 49+21=70, Resulting Numbers: [70]
70,29 unequal: No Solution
Moving to Node #0,0,1
Current State: 29:[32, 4], Operations: ['52-20=32', '53-49=4']
Exploring Operation: 32+4=36, Resulting Numbers: [36]
36,29 unequal: No Solution
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,29 unequal: No Solution
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,29 unequal: No Solution
Moving to Node #0,0,2
Current State: 29:[53, 17], Operations: ['52-20=32', '49-32=17']
Exploring Operation: 53-17=36, Resulting Numbers: [36]
36,29 unequal: No Solution
Exploring Operation: 53+17=70, Resulting Numbers: [70]
70,29 unequal: No Solution
Exploring Operation: 53*17=901, Resulting Numbers: [901]
901,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
Current State: 29:[53, 52, 29], Operations: ['49-20=29']
Exploring Operation: 52-29=23, Resulting Numbers: [53, 23]
Generated Node #0,1,0: 29:[53, 23] Operation: 52-29=23
Exploring Operation: 53-29=24, Resulting Numbers: [52, 24]
Generated Node #0,1,1: 29:[52, 24] Operation: 53-29=24
Exploring Operation: 53-52=1, Resulting Numbers: [29, 1]
Generated Node #0,1,2: 29:[29, 1] Operation: 53-52=1
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 29:[52, 24], Operations: ['49-20=29', '53-29=24']
Exploring Operation: 52+24=76, Resulting Numbers: [76]
76,29 unequal: No Solution
Exploring Operation: 52*24=1248, Resulting Numbers: [1248]
1248,29 unequal: No Solution
Exploring Operation: 52-24=28, Resulting Numbers: [28]
28,29 unequal: No Solution
No 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: 29:[29, 1], Operations: ['49-20=29', '53-52=1']
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[49, 53, 52, 20], Operations: []
Exploring Operation: 49-20=29, Resulting Numbers: [53, 52, 29]
Generated Node #0,1: 29:[53, 52, 29] Operation: 49-20=29
Moving to Node #0,1
Current State: 29:[53, 52, 29], Operations: ['49-20=29']
Exploring Operation: 53-52=1, Resulting Numbers: [29, 1]
Generated Node #0,1,2: 29:[29, 1] Operation: 53-52=1
Moving to Node #0,1,2
Current State: 29:[29, 1], Operations: ['49-20=29', '53-52=1']
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.977431 | hs_3 | sum_heuristic |
[
18,
49,
55,
34
] | 37 | [
"55-49=6",
"18/6=3",
"34+3=37"
] | Current State: 37:[18, 49, 55, 34], Operations: []
Exploring Operation: 55-49=6, Resulting Numbers: [18, 34, 6]
Generated Node #2: [18, 34, 6] from Operation: 55-49=6
Current State: 37:[18, 34, 6], Operations: ['55-49=6']
Exploring Operation: 18/6=3, Resulting Numbers: [34, 3]
Generated Node #3: [34, 3] from Operation: 18/6=3
Current State: 37:[34, 3], Operations: ['55-49=6', '18/6=3']
Exploring Operation: 34+3=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[18, 49, 55, 34], Operations: []
Exploring Operation: 55-18=37, Resulting Numbers: [49, 34, 37]
Generated Node #0,0: 37:[49, 34, 37] Operation: 55-18=37
Exploring Operation: 49-18=31, Resulting Numbers: [55, 34, 31]
Generated Node #0,1: 37:[55, 34, 31] Operation: 49-18=31
Exploring Operation: 18+34=52, Resulting Numbers: [49, 55, 52]
Generated Node #0,2: 37:[49, 55, 52] Operation: 18+34=52
Exploring Operation: 55-34=21, Resulting Numbers: [18, 49, 21]
Generated Node #0,3: 37:[18, 49, 21] Operation: 55-34=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[49, 34, 37], Operations: ['55-18=37']
Exploring Operation: 49-37=12, Resulting Numbers: [34, 12]
Generated Node #0,0,0: 37:[34, 12] Operation: 49-37=12
Exploring Operation: 49-34=15, Resulting Numbers: [37, 15]
Generated Node #0,0,1: 37:[37, 15] Operation: 49-34=15
Exploring Operation: 34+37=71, Resulting Numbers: [49, 71]
Generated Node #0,0,2: 37:[49, 71] Operation: 34+37=71
Exploring Operation: 49+34=83, Resulting Numbers: [37, 83]
Generated Node #0,0,3: 37:[37, 83] Operation: 49+34=83
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 37:[37, 15], Operations: ['55-18=37', '49-34=15']
Exploring Operation: 37*15=555, Resulting Numbers: [555]
555,37 unequal: No Solution
Exploring Operation: 37-15=22, Resulting Numbers: [22]
22,37 unequal: No Solution
Exploring Operation: 37+15=52, Resulting Numbers: [52]
52,37 unequal: No Solution
No 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: 37:[34, 12], Operations: ['55-18=37', '49-37=12']
Exploring Operation: 34+12=46, Resulting Numbers: [46]
46,37 unequal: No Solution
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,37 unequal: No Solution
Exploring Operation: 34*12=408, Resulting Numbers: [408]
408,37 unequal: No Solution
No 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: 37:[49, 71], Operations: ['55-18=37', '34+37=71']
Exploring Operation: 49*71=3479, Resulting Numbers: [3479]
3479,37 unequal: No Solution
Exploring Operation: 49+71=120, Resulting Numbers: [120]
120,37 unequal: No Solution
Exploring Operation: 71-49=22, Resulting Numbers: [22]
22,37 unequal: No Solution
No 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: 37:[37, 83], Operations: ['55-18=37', '49+34=83']
Exploring Operation: 37*83=3071, Resulting Numbers: [3071]
3071,37 unequal: No Solution
Exploring Operation: 83-37=46, Resulting Numbers: [46]
46,37 unequal: No Solution
Exploring Operation: 37+83=120, Resulting Numbers: [120]
120,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[55, 34, 31], Operations: ['49-18=31']
Exploring Operation: 55-34=21, Resulting Numbers: [31, 21]
Generated Node #0,1,0: 37:[31, 21] Operation: 55-34=21
Exploring Operation: 55-31=24, Resulting Numbers: [34, 24]
Generated Node #0,1,1: 37:[34, 24] Operation: 55-31=24
Exploring Operation: 55+31=86, Resulting Numbers: [34, 86]
Generated Node #0,1,2: 37:[34, 86] Operation: 55+31=86
Exploring Operation: 34+31=65, Resulting Numbers: [55, 65]
Generated Node #0,1,3: 37:[55, 65] Operation: 34+31=65
Moving to Node #0,1,1
Current State: 37:[34, 24], Operations: ['49-18=31', '55-31=24']
Exploring Operation: 34+24=58, Resulting Numbers: [58]
58,37 unequal: No Solution
Exploring Operation: 34-24=10, Resulting Numbers: [10]
10,37 unequal: No Solution
Exploring Operation: 34*24=816, Resulting Numbers: [816]
816,37 unequal: No Solution
Moving to Node #0,1,0
Current State: 37:[31, 21], Operations: ['49-18=31', '55-34=21']
Exploring Operation: 31+21=52, Resulting Numbers: [52]
52,37 unequal: No Solution
Exploring Operation: 31-21=10, Resulting Numbers: [10]
10,37 unequal: No Solution
Exploring Operation: 31*21=651, Resulting Numbers: [651]
651,37 unequal: No Solution
Moving to Node #0,1,3
Current State: 37:[55, 65], Operations: ['49-18=31', '34+31=65']
Exploring Operation: 55*65=3575, Resulting Numbers: [3575]
3575,37 unequal: No Solution
Exploring Operation: 65-55=10, Resulting Numbers: [10]
10,37 unequal: No Solution
Exploring Operation: 55+65=120, Resulting Numbers: [120]
120,37 unequal: No Solution
Moving to Node #0,1,2
Current State: 37:[34, 86], Operations: ['49-18=31', '55+31=86']
Exploring Operation: 86-34=52, Resulting Numbers: [52]
52,37 unequal: No Solution
Exploring Operation: 34*86=2924, Resulting Numbers: [2924]
2924,37 unequal: No Solution
Exploring Operation: 34+86=120, Resulting Numbers: [120]
120,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,2
Current State: 37:[49, 55, 52], Operations: ['18+34=52']
Exploring Operation: 49+55=104, Resulting Numbers: [52, 104]
Generated Node #0,2,0: 37:[52, 104] Operation: 49+55=104
Exploring Operation: 55-49=6, Resulting Numbers: [52, 6]
Generated Node #0,2,1: 37:[52, 6] Operation: 55-49=6
Exploring Operation: 55-52=3, Resulting Numbers: [49, 3]
Generated Node #0,2,2: 37:[49, 3] Operation: 55-52=3
Exploring Operation: 52-49=3, Resulting Numbers: [55, 3]
Generated Node #0,2,3: 37:[55, 3] Operation: 52-49=3
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 37:[52, 6], Operations: ['18+34=52', '55-49=6']
Exploring Operation: 52+6=58, Resulting Numbers: [58]
58,37 unequal: No Solution
Exploring Operation: 52-6=46, Resulting Numbers: [46]
46,37 unequal: No Solution
Exploring Operation: 52*6=312, Resulting Numbers: [312]
312,37 unequal: No Solution
No 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: 37:[49, 3], Operations: ['18+34=52', '55-52=3']
Exploring Operation: 49*3=147, Resulting Numbers: [147]
147,37 unequal: No Solution
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,37 unequal: No Solution
Exploring Operation: 49+3=52, Resulting Numbers: [52]
52,37 unequal: No Solution
No 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: 37:[55, 3], Operations: ['18+34=52', '52-49=3']
Exploring Operation: 55*3=165, Resulting Numbers: [165]
165,37 unequal: No Solution
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,37 unequal: No Solution
Exploring Operation: 55+3=58, Resulting Numbers: [58]
58,37 unequal: No Solution
No 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: 37:[52, 104], Operations: ['18+34=52', '49+55=104']
Exploring Operation: 104/52=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Exploring Operation: 52*104=5408, Resulting Numbers: [5408]
5408,37 unequal: No Solution
Exploring Operation: 52+104=156, Resulting Numbers: [156]
156,37 unequal: No Solution
Exploring Operation: 104-52=52, Resulting Numbers: [52]
52,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 37:[18, 49, 21], Operations: ['55-34=21']
Exploring Operation: 49-18=31, Resulting Numbers: [21, 31]
Generated Node #0,3,0: 37:[21, 31] Operation: 49-18=31
Exploring Operation: 18+49=67, Resulting Numbers: [21, 67]
Generated Node #0,3,1: 37:[21, 67] Operation: 18+49=67
Exploring Operation: 18+21=39, Resulting Numbers: [49, 39]
Generated Node #0,3,2: 37:[49, 39] Operation: 18+21=39
Exploring Operation: 49-21=28, Resulting Numbers: [18, 28]
Generated Node #0,3,3: 37:[18, 28] Operation: 49-21=28
Moving to Node #0,3,2
Current State: 37:[49, 39], Operations: ['55-34=21', '18+21=39']
Exploring Operation: 49*39=1911, Resulting Numbers: [1911]
1911,37 unequal: No Solution
Exploring Operation: 49-39=10, Resulting Numbers: [10]
10,37 unequal: No Solution
Exploring Operation: 49+39=88, Resulting Numbers: [88]
88,37 unequal: No Solution
Moving to Node #0,3,0
Current State: 37:[21, 31], Operations: ['55-34=21', '49-18=31']
Exploring Operation: 21*31=651, Resulting Numbers: [651]
651,37 unequal: No Solution
Exploring Operation: 21+31=52, Resulting Numbers: [52]
52,37 unequal: No Solution
Exploring Operation: 31-21=10, Resulting Numbers: [10]
10,37 unequal: No Solution
Moving to Node #0,3,3
Current State: 37:[18, 28], Operations: ['55-34=21', '49-21=28']
Exploring Operation: 28-18=10, Resulting Numbers: [10]
10,37 unequal: No Solution
Exploring Operation: 18+28=46, Resulting Numbers: [46]
46,37 unequal: No Solution
Exploring Operation: 18*28=504, Resulting Numbers: [504]
504,37 unequal: No Solution
Moving to Node #0,3,1
Current State: 37:[21, 67], Operations: ['55-34=21', '18+49=67']
Exploring Operation: 67-21=46, Resulting Numbers: [46]
46,37 unequal: No Solution
Exploring Operation: 21+67=88, Resulting Numbers: [88]
88,37 unequal: No Solution
Exploring Operation: 21*67=1407, Resulting Numbers: [1407]
1407,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
15,
21,
23,
61
] | 48 | [
"15+21=36",
"23+61=84",
"84-36=48"
] | Current State: 48:[15, 21, 23, 61], Operations: []
Exploring Operation: 15+21=36, Resulting Numbers: [23, 61, 36]
Generated Node #2: [23, 61, 36] from Operation: 15+21=36
Current State: 48:[23, 61, 36], Operations: ['15+21=36']
Exploring Operation: 23+61=84, Resulting Numbers: [36, 84]
Generated Node #3: [36, 84] from Operation: 23+61=84
Current State: 48:[36, 84], Operations: ['15+21=36', '23+61=84']
Exploring Operation: 84-36=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[15, 21, 23, 61], Operations: []
Exploring Operation: 21-15=6, Resulting Numbers: [23, 61, 6]
Generated Node #0,0: 48:[23, 61, 6] Operation: 21-15=6
Exploring Operation: 61-21=40, Resulting Numbers: [15, 23, 40]
Generated Node #0,1: 48:[15, 23, 40] Operation: 61-21=40
Exploring Operation: 61-15=46, Resulting Numbers: [21, 23, 46]
Generated Node #0,2: 48:[21, 23, 46] Operation: 61-15=46
Start Sub Search at level 1: Moving to Node #0,2
Current State: 48:[21, 23, 46], Operations: ['61-15=46']
Exploring Operation: 46/23=2, Resulting Numbers: [21, 2]
Generated Node #0,2,0: 48:[21, 2] Operation: 46/23=2
Exploring Operation: 23-21=2, Resulting Numbers: [46, 2]
Generated Node #0,2,1: 48:[46, 2] Operation: 23-21=2
Exploring Operation: 46-21=25, Resulting Numbers: [23, 25]
Generated Node #0,2,2: 48:[23, 25] Operation: 46-21=25
Moving to Node #0,2,1
Current State: 48:[46, 2], Operations: ['61-15=46', '23-21=2']
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,48 unequal: No Solution
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,48 unequal: No Solution
Exploring Operation: 46+2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[15, 21, 23, 61], Operations: []
Exploring Operation: 61-15=46, Resulting Numbers: [21, 23, 46]
Generated Node #0,2: 48:[21, 23, 46] Operation: 61-15=46
Moving to Node #0,2
Current State: 48:[21, 23, 46], Operations: ['61-15=46']
Exploring Operation: 23-21=2, Resulting Numbers: [46, 2]
Generated Node #0,2,1: 48:[46, 2] Operation: 23-21=2
Moving to Node #0,2,1
Current State: 48:[46, 2], Operations: ['61-15=46', '23-21=2']
Exploring Operation: 46+2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
15,
87,
62,
99
] | 59 | [
"15+87=102",
"62+99=161",
"161-102=59"
] | Current State: 59:[15, 87, 62, 99], Operations: []
Exploring Operation: 15+87=102, Resulting Numbers: [62, 99, 102]
Generated Node #2: [62, 99, 102] from Operation: 15+87=102
Current State: 59:[62, 99, 102], Operations: ['15+87=102']
Exploring Operation: 62+99=161, Resulting Numbers: [102, 161]
Generated Node #3: [102, 161] from Operation: 62+99=161
Current State: 59:[102, 161], Operations: ['15+87=102', '62+99=161']
Exploring Operation: 161-102=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[15, 87, 62, 99], Operations: []
Exploring Operation: 87-15=72, Resulting Numbers: [62, 99, 72]
Generated Node #0,0: 59:[62, 99, 72] Operation: 87-15=72
Exploring Operation: 99-15=84, Resulting Numbers: [87, 62, 84]
Generated Node #0,1: 59:[87, 62, 84] Operation: 99-15=84
Moving to Node #0,0
Current State: 59:[62, 99, 72], Operations: ['87-15=72']
Exploring Operation: 99-62=37, Resulting Numbers: [72, 37]
Generated Node #0,0,0: 59:[72, 37] Operation: 99-62=37
Exploring Operation: 99-72=27, Resulting Numbers: [62, 27]
Generated Node #0,0,1: 59:[62, 27] Operation: 99-72=27
Moving to Node #0,1
Current State: 59:[87, 62, 84], Operations: ['99-15=84']
Exploring Operation: 87-62=25, Resulting Numbers: [84, 25]
Generated Node #0,1,0: 59:[84, 25] Operation: 87-62=25
Exploring Operation: 87-84=3, Resulting Numbers: [62, 3]
Generated Node #0,1,1: 59:[62, 3] Operation: 87-84=3
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 59:[84, 25], Operations: ['99-15=84', '87-62=25']
Exploring Operation: 84-25=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[15, 87, 62, 99], Operations: []
Exploring Operation: 99-15=84, Resulting Numbers: [87, 62, 84]
Generated Node #0,1: 59:[87, 62, 84] Operation: 99-15=84
Moving to Node #0,1
Current State: 59:[87, 62, 84], Operations: ['99-15=84']
Exploring Operation: 87-62=25, Resulting Numbers: [84, 25]
Generated Node #0,1,0: 59:[84, 25] Operation: 87-62=25
Moving to Node #0,1,0
Current State: 59:[84, 25], Operations: ['99-15=84', '87-62=25']
Exploring Operation: 84-25=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
40,
47,
1,
38
] | 23 | [
"40-38=2",
"47-1=46",
"46/2=23"
] | Current State: 23:[40, 47, 1, 38], Operations: []
Exploring Operation: 40-38=2, Resulting Numbers: [47, 1, 2]
Generated Node #2: [47, 1, 2] from Operation: 40-38=2
Current State: 23:[47, 1, 2], Operations: ['40-38=2']
Exploring Operation: 47-1=46, Resulting Numbers: [2, 46]
Generated Node #3: [2, 46] from Operation: 47-1=46
Current State: 23:[2, 46], Operations: ['40-38=2', '47-1=46']
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[40, 47, 1, 38], Operations: []
Exploring Operation: 47-40=7, Resulting Numbers: [1, 38, 7]
Generated Node #0,0: 23:[1, 38, 7] Operation: 47-40=7
Exploring Operation: 40-1=39, Resulting Numbers: [47, 38, 39]
Generated Node #0,1: 23:[47, 38, 39] Operation: 40-1=39
Exploring Operation: 47-1=46, Resulting Numbers: [40, 38, 46]
Generated Node #0,2: 23:[40, 38, 46] Operation: 47-1=46
Exploring Operation: 47-38=9, Resulting Numbers: [40, 1, 9]
Generated Node #0,3: 23:[40, 1, 9] Operation: 47-38=9
Moving to Node #0,0
Current State: 23:[1, 38, 7], Operations: ['47-40=7']
Exploring Operation: 1*38=38, Resulting Numbers: [7, 38]
Generated Node #0,0,0: 23:[7, 38] Operation: 1*38=38
Exploring Operation: 38-7=31, Resulting Numbers: [1, 31]
Generated Node #0,0,1: 23:[1, 31] Operation: 38-7=31
Exploring Operation: 1+7=8, Resulting Numbers: [38, 8]
Generated Node #0,0,2: 23:[38, 8] Operation: 1+7=8
Exploring Operation: 38-1=37, Resulting Numbers: [7, 37]
Generated Node #0,0,3: 23:[7, 37] Operation: 38-1=37
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 23:[1, 31], Operations: ['47-40=7', '38-7=31']
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,23 unequal: No Solution
Exploring Operation: 1+31=32, Resulting Numbers: [32]
32,23 unequal: No Solution
Exploring Operation: 1*31=31, Resulting Numbers: [31]
31,23 unequal: No Solution
Exploring Operation: 31/1=31, Resulting Numbers: [31]
31,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,2
Current State: 23:[38, 8], Operations: ['47-40=7', '1+7=8']
Exploring Operation: 38*8=304, Resulting Numbers: [304]
304,23 unequal: No Solution
Exploring Operation: 38+8=46, Resulting Numbers: [46]
46,23 unequal: No Solution
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,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,3
Current State: 23:[7, 37], Operations: ['47-40=7', '38-1=37']
Exploring Operation: 7+37=44, Resulting Numbers: [44]
44,23 unequal: No Solution
Exploring Operation: 37-7=30, Resulting Numbers: [30]
30,23 unequal: No Solution
Exploring Operation: 7*37=259, Resulting Numbers: [259]
259,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,0
Current State: 23:[7, 38], Operations: ['47-40=7', '1*38=38']
Exploring Operation: 7*38=266, Resulting Numbers: [266]
266,23 unequal: No Solution
Exploring Operation: 7+38=45, Resulting Numbers: [45]
45,23 unequal: No Solution
Exploring Operation: 38-7=31, Resulting Numbers: [31]
31,23 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: 23:[40, 1, 9], Operations: ['47-38=9']
Exploring Operation: 40-9=31, Resulting Numbers: [1, 31]
Generated Node #0,3,0: 23:[1, 31] Operation: 40-9=31
Exploring Operation: 1+9=10, Resulting Numbers: [40, 10]
Generated Node #0,3,1: 23:[40, 10] Operation: 1+9=10
Exploring Operation: 40*1=40, Resulting Numbers: [9, 40]
Generated Node #0,3,2: 23:[9, 40] Operation: 40*1=40
Exploring Operation: 40-1=39, Resulting Numbers: [9, 39]
Generated Node #0,3,3: 23:[9, 39] Operation: 40-1=39
Moving to Node #0,2
Current State: 23:[40, 38, 46], Operations: ['47-1=46']
Exploring Operation: 40+38=78, Resulting Numbers: [46, 78]
Generated Node #0,2,0: 23:[46, 78] Operation: 40+38=78
Exploring Operation: 46-40=6, Resulting Numbers: [38, 6]
Generated Node #0,2,1: 23:[38, 6] Operation: 46-40=6
Exploring Operation: 40-38=2, Resulting Numbers: [46, 2]
Generated Node #0,2,2: 23:[46, 2] Operation: 40-38=2
Exploring Operation: 46-38=8, Resulting Numbers: [40, 8]
Generated Node #0,2,3: 23:[40, 8] Operation: 46-38=8
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 23:[38, 6], Operations: ['47-1=46', '46-40=6']
Exploring Operation: 38+6=44, Resulting Numbers: [44]
44,23 unequal: No Solution
Exploring Operation: 38-6=32, Resulting Numbers: [32]
32,23 unequal: No Solution
Exploring Operation: 38*6=228, Resulting Numbers: [228]
228,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,2,3
Current State: 23:[40, 8], Operations: ['47-1=46', '46-38=8']
Exploring Operation: 40*8=320, Resulting Numbers: [320]
320,23 unequal: No Solution
Exploring Operation: 40/8=5, Resulting Numbers: [5]
5,23 unequal: No Solution
Exploring Operation: 40+8=48, Resulting Numbers: [48]
48,23 unequal: No Solution
Exploring Operation: 40-8=32, Resulting Numbers: [32]
32,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,2,2
Current State: 23:[46, 2], Operations: ['47-1=46', '40-38=2']
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,23 unequal: No Solution
Exploring Operation: 46+2=48, Resulting Numbers: [48]
48,23 unequal: No Solution
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[40, 47, 1, 38], Operations: []
Exploring Operation: 47-1=46, Resulting Numbers: [40, 38, 46]
Generated Node #0,2: 23:[40, 38, 46] Operation: 47-1=46
Moving to Node #0,2
Current State: 23:[40, 38, 46], Operations: ['47-1=46']
Exploring Operation: 40-38=2, Resulting Numbers: [46, 2]
Generated Node #0,2,2: 23:[46, 2] Operation: 40-38=2
Moving to Node #0,2,2
Current State: 23:[46, 2], Operations: ['47-1=46', '40-38=2']
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.962674 | hs_4 | sum_heuristic |
[
2,
76,
28,
36
] | 98 | [
"28/2=14",
"76+36=112",
"112-14=98"
] | Current State: 98:[2, 76, 28, 36], Operations: []
Exploring Operation: 28/2=14, Resulting Numbers: [76, 36, 14]
Generated Node #2: [76, 36, 14] from Operation: 28/2=14
Current State: 98:[76, 36, 14], Operations: ['28/2=14']
Exploring Operation: 76+36=112, Resulting Numbers: [14, 112]
Generated Node #3: [14, 112] from Operation: 76+36=112
Current State: 98:[14, 112], Operations: ['28/2=14', '76+36=112']
Exploring Operation: 112-14=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[2, 76, 28, 36], Operations: []
Exploring Operation: 76-28=48, Resulting Numbers: [2, 36, 48]
Generated Node #0,0: 98:[2, 36, 48] Operation: 76-28=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[2, 36, 48], Operations: ['76-28=48']
Exploring Operation: 48-36=12, Resulting Numbers: [2, 12]
Generated Node #0,0,0: 98:[2, 12] Operation: 48-36=12
Moving to Node #0,0,0
Current State: 98:[2, 12], Operations: ['76-28=48', '48-36=12']
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,98 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 |
[
58,
53,
51,
40
] | 43 | [
"58-53=5",
"40/5=8",
"51-8=43"
] | Current State: 43:[58, 53, 51, 40], Operations: []
Exploring Operation: 58-53=5, Resulting Numbers: [51, 40, 5]
Generated Node #2: [51, 40, 5] from Operation: 58-53=5
Current State: 43:[51, 40, 5], Operations: ['58-53=5']
Exploring Operation: 40/5=8, Resulting Numbers: [51, 8]
Generated Node #3: [51, 8] from Operation: 40/5=8
Current State: 43:[51, 8], Operations: ['58-53=5', '40/5=8']
Exploring Operation: 51-8=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[58, 53, 51, 40], Operations: []
Exploring Operation: 53-40=13, Resulting Numbers: [58, 51, 13]
Generated Node #0,0: 43:[58, 51, 13] Operation: 53-40=13
Exploring Operation: 58-53=5, Resulting Numbers: [51, 40, 5]
Generated Node #0,1: 43:[51, 40, 5] Operation: 58-53=5
Exploring Operation: 58-51=7, Resulting Numbers: [53, 40, 7]
Generated Node #0,2: 43:[53, 40, 7] Operation: 58-51=7
Exploring Operation: 58-40=18, Resulting Numbers: [53, 51, 18]
Generated Node #0,3: 43:[53, 51, 18] Operation: 58-40=18
Start Sub Search at level 1: Moving to Node #0,3
Current State: 43:[53, 51, 18], Operations: ['58-40=18']
Exploring Operation: 53-18=35, Resulting Numbers: [51, 35]
Generated Node #0,3,0: 43:[51, 35] Operation: 53-18=35
Exploring Operation: 51-18=33, Resulting Numbers: [53, 33]
Generated Node #0,3,1: 43:[53, 33] Operation: 51-18=33
Exploring Operation: 51+18=69, Resulting Numbers: [53, 69]
Generated Node #0,3,2: 43:[53, 69] Operation: 51+18=69
Exploring Operation: 53+18=71, Resulting Numbers: [51, 71]
Generated Node #0,3,3: 43:[51, 71] Operation: 53+18=71
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 43:[51, 35], Operations: ['58-40=18', '53-18=35']
Exploring Operation: 51-35=16, Resulting Numbers: [16]
16,43 unequal: No Solution
Exploring Operation: 51*35=1785, Resulting Numbers: [1785]
1785,43 unequal: No Solution
Exploring Operation: 51+35=86, Resulting Numbers: [86]
86,43 unequal: No Solution
No 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: 43:[53, 33], Operations: ['58-40=18', '51-18=33']
Exploring Operation: 53-33=20, Resulting Numbers: [20]
20,43 unequal: No Solution
Exploring Operation: 53+33=86, Resulting Numbers: [86]
86,43 unequal: No Solution
Exploring Operation: 53*33=1749, Resulting Numbers: [1749]
1749,43 unequal: No Solution
No 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: 43:[53, 69], Operations: ['58-40=18', '51+18=69']
Exploring Operation: 69-53=16, Resulting Numbers: [16]
16,43 unequal: No Solution
Exploring Operation: 53*69=3657, Resulting Numbers: [3657]
3657,43 unequal: No Solution
Exploring Operation: 53+69=122, Resulting Numbers: [122]
122,43 unequal: No Solution
No 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: 43:[51, 71], Operations: ['58-40=18', '53+18=71']
Exploring Operation: 51+71=122, Resulting Numbers: [122]
122,43 unequal: No Solution
Exploring Operation: 51*71=3621, Resulting Numbers: [3621]
3621,43 unequal: No Solution
Exploring Operation: 71-51=20, Resulting Numbers: [20]
20,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
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[51, 40, 5], Operations: ['58-53=5']
Exploring Operation: 51-5=46, Resulting Numbers: [40, 46]
Generated Node #0,1,0: 43:[40, 46] Operation: 51-5=46
Exploring Operation: 51+5=56, Resulting Numbers: [40, 56]
Generated Node #0,1,1: 43:[40, 56] Operation: 51+5=56
Exploring Operation: 40-5=35, Resulting Numbers: [51, 35]
Generated Node #0,1,2: 43:[51, 35] Operation: 40-5=35
Exploring Operation: 40+5=45, Resulting Numbers: [51, 45]
Generated Node #0,1,3: 43:[51, 45] Operation: 40+5=45
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 43:[40, 46], Operations: ['58-53=5', '51-5=46']
Exploring Operation: 46-40=6, Resulting Numbers: [6]
6,43 unequal: No Solution
Exploring Operation: 40*46=1840, Resulting Numbers: [1840]
1840,43 unequal: No Solution
Exploring Operation: 40+46=86, Resulting Numbers: [86]
86,43 unequal: No Solution
No 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: 43:[51, 45], Operations: ['58-53=5', '40+5=45']
Exploring Operation: 51+45=96, Resulting Numbers: [96]
96,43 unequal: No Solution
Exploring Operation: 51-45=6, Resulting Numbers: [6]
6,43 unequal: No Solution
Exploring Operation: 51*45=2295, Resulting Numbers: [2295]
2295,43 unequal: No Solution
No 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: 43:[40, 56], Operations: ['58-53=5', '51+5=56']
Exploring Operation: 40+56=96, Resulting Numbers: [96]
96,43 unequal: No Solution
Exploring Operation: 40*56=2240, Resulting Numbers: [2240]
2240,43 unequal: No Solution
Exploring Operation: 56-40=16, Resulting Numbers: [16]
16,43 unequal: No Solution
No 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: 43:[51, 35], Operations: ['58-53=5', '40-5=35']
Exploring Operation: 51*35=1785, Resulting Numbers: [1785]
1785,43 unequal: No Solution
Exploring Operation: 51-35=16, Resulting Numbers: [16]
16,43 unequal: No Solution
Exploring Operation: 51+35=86, Resulting Numbers: [86]
86,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
Start Sub Search at level 1: Moving to Node #0,2
Current State: 43:[53, 40, 7], Operations: ['58-51=7']
Exploring Operation: 53+7=60, Resulting Numbers: [40, 60]
Generated Node #0,2,0: 43:[40, 60] Operation: 53+7=60
Exploring Operation: 40+7=47, Resulting Numbers: [53, 47]
Generated Node #0,2,1: 43:[53, 47] Operation: 40+7=47
Exploring Operation: 53-7=46, Resulting Numbers: [40, 46]
Generated Node #0,2,2: 43:[40, 46] Operation: 53-7=46
Exploring Operation: 40-7=33, Resulting Numbers: [53, 33]
Generated Node #0,2,3: 43:[53, 33] Operation: 40-7=33
Moving to Node #0,2,2
Current State: 43:[40, 46], Operations: ['58-51=7', '53-7=46']
Exploring Operation: 46-40=6, Resulting Numbers: [6]
6,43 unequal: No Solution
Exploring Operation: 40+46=86, Resulting Numbers: [86]
86,43 unequal: No Solution
Exploring Operation: 40*46=1840, Resulting Numbers: [1840]
1840,43 unequal: No Solution
Moving to Node #0,2,1
Current State: 43:[53, 47], Operations: ['58-51=7', '40+7=47']
Exploring Operation: 53+47=100, Resulting Numbers: [100]
100,43 unequal: No Solution
Exploring Operation: 53-47=6, Resulting Numbers: [6]
6,43 unequal: No Solution
Exploring Operation: 53*47=2491, Resulting Numbers: [2491]
2491,43 unequal: No Solution
Moving to Node #0,2,3
Current State: 43:[53, 33], Operations: ['58-51=7', '40-7=33']
Exploring Operation: 53-33=20, Resulting Numbers: [20]
20,43 unequal: No Solution
Exploring Operation: 53*33=1749, Resulting Numbers: [1749]
1749,43 unequal: No Solution
Exploring Operation: 53+33=86, Resulting Numbers: [86]
86,43 unequal: No Solution
Moving to Node #0,2,0
Current State: 43:[40, 60], Operations: ['58-51=7', '53+7=60']
Exploring Operation: 60-40=20, Resulting Numbers: [20]
20,43 unequal: No Solution
Exploring Operation: 40+60=100, Resulting Numbers: [100]
100,43 unequal: No Solution
Exploring Operation: 40*60=2400, Resulting Numbers: [2400]
2400,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
Current State: 43:[58, 51, 13], Operations: ['53-40=13']
Exploring Operation: 51+13=64, Resulting Numbers: [58, 64]
Generated Node #0,0,0: 43:[58, 64] Operation: 51+13=64
Exploring Operation: 58-13=45, Resulting Numbers: [51, 45]
Generated Node #0,0,1: 43:[51, 45] Operation: 58-13=45
Exploring Operation: 58+13=71, Resulting Numbers: [51, 71]
Generated Node #0,0,2: 43:[51, 71] Operation: 58+13=71
Exploring Operation: 51-13=38, Resulting Numbers: [58, 38]
Generated Node #0,0,3: 43:[58, 38] Operation: 51-13=38
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 43:[51, 45], Operations: ['53-40=13', '58-13=45']
Exploring Operation: 51-45=6, Resulting Numbers: [6]
6,43 unequal: No Solution
Exploring Operation: 51*45=2295, Resulting Numbers: [2295]
2295,43 unequal: No Solution
Exploring Operation: 51+45=96, Resulting Numbers: [96]
96,43 unequal: No Solution
No 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: 43:[58, 38], Operations: ['53-40=13', '51-13=38']
Exploring Operation: 58*38=2204, Resulting Numbers: [2204]
2204,43 unequal: No Solution
Exploring Operation: 58+38=96, Resulting Numbers: [96]
96,43 unequal: No Solution
Exploring Operation: 58-38=20, Resulting Numbers: [20]
20,43 unequal: No Solution
No 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: 43:[58, 64], Operations: ['53-40=13', '51+13=64']
Exploring Operation: 64-58=6, Resulting Numbers: [6]
6,43 unequal: No Solution
Exploring Operation: 58+64=122, Resulting Numbers: [122]
122,43 unequal: No Solution
Exploring Operation: 58*64=3712, Resulting Numbers: [3712]
3712,43 unequal: No Solution
No 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: 43:[51, 71], Operations: ['53-40=13', '58+13=71']
Exploring Operation: 51+71=122, Resulting Numbers: [122]
122,43 unequal: No Solution
Exploring Operation: 71-51=20, Resulting Numbers: [20]
20,43 unequal: No Solution
Exploring Operation: 51*71=3621, Resulting Numbers: [3621]
3621,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_4 | sum_heuristic |
[
29,
32,
84,
57
] | 34 | [
"29+32=61",
"84-57=27",
"61-27=34"
] | Current State: 34:[29, 32, 84, 57], Operations: []
Exploring Operation: 29+32=61, Resulting Numbers: [84, 57, 61]
Generated Node #2: [84, 57, 61] from Operation: 29+32=61
Current State: 34:[84, 57, 61], Operations: ['29+32=61']
Exploring Operation: 84-57=27, Resulting Numbers: [61, 27]
Generated Node #3: [61, 27] from Operation: 84-57=27
Current State: 34:[61, 27], Operations: ['29+32=61', '84-57=27']
Exploring Operation: 61-27=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[29, 32, 84, 57], Operations: []
Exploring Operation: 84-29=55, Resulting Numbers: [32, 57, 55]
Generated Node #0,0: 34:[32, 57, 55] Operation: 84-29=55
Exploring Operation: 84-57=27, Resulting Numbers: [29, 32, 27]
Generated Node #0,1: 34:[29, 32, 27] Operation: 84-57=27
Exploring Operation: 84-32=52, Resulting Numbers: [29, 57, 52]
Generated Node #0,2: 34:[29, 57, 52] Operation: 84-32=52
Moving to Node #0,1
Current State: 34:[29, 32, 27], Operations: ['84-57=27']
Exploring Operation: 29-27=2, Resulting Numbers: [32, 2]
Generated Node #0,1,0: 34:[32, 2] Operation: 29-27=2
Exploring Operation: 32-27=5, Resulting Numbers: [29, 5]
Generated Node #0,1,1: 34:[29, 5] Operation: 32-27=5
Exploring Operation: 32-29=3, Resulting Numbers: [27, 3]
Generated Node #0,1,2: 34:[27, 3] Operation: 32-29=3
Moving to Node #0,0
Current State: 34:[32, 57, 55], Operations: ['84-29=55']
Exploring Operation: 57-55=2, Resulting Numbers: [32, 2]
Generated Node #0,0,0: 34:[32, 2] Operation: 57-55=2
Exploring Operation: 55-32=23, Resulting Numbers: [57, 23]
Generated Node #0,0,1: 34:[57, 23] Operation: 55-32=23
Exploring Operation: 57-32=25, Resulting Numbers: [55, 25]
Generated Node #0,0,2: 34:[55, 25] Operation: 57-32=25
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 34:[32, 2], Operations: ['84-29=55', '57-55=2']
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,34 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,34 unequal: No Solution
Exploring Operation: 32+2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[29, 32, 84, 57], Operations: []
Exploring Operation: 84-29=55, Resulting Numbers: [32, 57, 55]
Generated Node #0,0: 34:[32, 57, 55] Operation: 84-29=55
Moving to Node #0,0
Current State: 34:[32, 57, 55], Operations: ['84-29=55']
Exploring Operation: 57-55=2, Resulting Numbers: [32, 2]
Generated Node #0,0,0: 34:[32, 2] Operation: 57-55=2
Moving to Node #0,0,0
Current State: 34:[32, 2], Operations: ['84-29=55', '57-55=2']
Exploring Operation: 32+2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | sum_heuristic |
[
66,
18,
63,
4
] | 84 | [
"66+18=84",
"84-63=21",
"4*21=84"
] | Current State: 84:[66, 18, 63, 4], Operations: []
Exploring Operation: 66+18=84, Resulting Numbers: [63, 4, 84]
Generated Node #2: [63, 4, 84] from Operation: 66+18=84
Current State: 84:[63, 4, 84], Operations: ['66+18=84']
Exploring Operation: 84-63=21, Resulting Numbers: [4, 21]
Generated Node #3: [4, 21] from Operation: 84-63=21
Current State: 84:[4, 21], Operations: ['66+18=84', '84-63=21']
Exploring Operation: 4*21=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[66, 18, 63, 4], Operations: []
Exploring Operation: 66-63=3, Resulting Numbers: [18, 4, 3]
Generated Node #0,0: 84:[18, 4, 3] Operation: 66-63=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[18, 4, 3], Operations: ['66-63=3']
Exploring Operation: 18-4=14, Resulting Numbers: [3, 14]
Generated Node #0,0,0: 84:[3, 14] Operation: 18-4=14
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 84:[3, 14], Operations: ['66-63=3', '18-4=14']
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
66,
89,
64,
81
] | 97 | [
"66-64=2",
"89*2=178",
"178-81=97"
] | Current State: 97:[66, 89, 64, 81], Operations: []
Exploring Operation: 66-64=2, Resulting Numbers: [89, 81, 2]
Generated Node #2: [89, 81, 2] from Operation: 66-64=2
Current State: 97:[89, 81, 2], Operations: ['66-64=2']
Exploring Operation: 89*2=178, Resulting Numbers: [81, 178]
Generated Node #3: [81, 178] from Operation: 89*2=178
Current State: 97:[81, 178], Operations: ['66-64=2', '89*2=178']
Exploring Operation: 178-81=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[66, 89, 64, 81], Operations: []
Exploring Operation: 66+64=130, Resulting Numbers: [89, 81, 130]
Generated Node #0,0: 97:[89, 81, 130] Operation: 66+64=130
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[89, 81, 130], Operations: ['66+64=130']
Exploring Operation: 130-81=49, Resulting Numbers: [89, 49]
Generated Node #0,0,0: 97:[89, 49] Operation: 130-81=49
Moving to Node #0,0,0
Current State: 97:[89, 49], Operations: ['66+64=130', '130-81=49']
Exploring Operation: 89+49=138, Resulting Numbers: [138]
138,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
33,
88,
75,
62
] | 66 | [
"88+62=150",
"33*150=4950",
"4950/75=66"
] | Current State: 66:[33, 88, 75, 62], Operations: []
Exploring Operation: 88+62=150, Resulting Numbers: [33, 75, 150]
Generated Node #2: [33, 75, 150] from Operation: 88+62=150
Current State: 66:[33, 75, 150], Operations: ['88+62=150']
Exploring Operation: 33*150=4950, Resulting Numbers: [75, 4950]
Generated Node #3: [75, 4950] from Operation: 33*150=4950
Current State: 66:[75, 4950], Operations: ['88+62=150', '33*150=4950']
Exploring Operation: 4950/75=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[33, 88, 75, 62], Operations: []
Exploring Operation: 88-75=13, Resulting Numbers: [33, 62, 13]
Generated Node #0,0: 66:[33, 62, 13] Operation: 88-75=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[33, 62, 13], Operations: ['88-75=13']
Exploring Operation: 62-33=29, Resulting Numbers: [13, 29]
Generated Node #0,0,0: 66:[13, 29] Operation: 62-33=29
Moving to Node #0,0,0
Current State: 66:[13, 29], Operations: ['88-75=13', '62-33=29']
Exploring Operation: 29-13=16, Resulting Numbers: [16]
16,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
97,
89,
2,
59
] | 34 | [
"97+89=186",
"186/2=93",
"93-59=34"
] | Current State: 34:[97, 89, 2, 59], Operations: []
Exploring Operation: 97+89=186, Resulting Numbers: [2, 59, 186]
Generated Node #2: [2, 59, 186] from Operation: 97+89=186
Current State: 34:[2, 59, 186], Operations: ['97+89=186']
Exploring Operation: 186/2=93, Resulting Numbers: [59, 93]
Generated Node #3: [59, 93] from Operation: 186/2=93
Current State: 34:[59, 93], Operations: ['97+89=186', '186/2=93']
Exploring Operation: 93-59=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[97, 89, 2, 59], Operations: []
Exploring Operation: 97-59=38, Resulting Numbers: [89, 2, 38]
Generated Node #0,0: 34:[89, 2, 38] Operation: 97-59=38
Exploring Operation: 97-2=95, Resulting Numbers: [89, 59, 95]
Generated Node #0,1: 34:[89, 59, 95] Operation: 97-2=95
Exploring Operation: 89-59=30, Resulting Numbers: [97, 2, 30]
Generated Node #0,2: 34:[97, 2, 30] Operation: 89-59=30
Exploring Operation: 97-89=8, Resulting Numbers: [2, 59, 8]
Generated Node #0,3: 34:[2, 59, 8] Operation: 97-89=8
Exploring Operation: 89-2=87, Resulting Numbers: [97, 59, 87]
Generated Node #0,4: 34:[97, 59, 87] Operation: 89-2=87
Moving to Node #0,3
Current State: 34:[2, 59, 8], Operations: ['97-89=8']
Exploring Operation: 2*8=16, Resulting Numbers: [59, 16]
Generated Node #0,3,0: 34:[59, 16] Operation: 2*8=16
Exploring Operation: 8/2=4, Resulting Numbers: [59, 4]
Generated Node #0,3,1: 34:[59, 4] Operation: 8/2=4
Exploring Operation: 59-8=51, Resulting Numbers: [2, 51]
Generated Node #0,3,2: 34:[2, 51] Operation: 59-8=51
Exploring Operation: 59-2=57, Resulting Numbers: [8, 57]
Generated Node #0,3,3: 34:[8, 57] Operation: 59-2=57
Exploring Operation: 8-2=6, Resulting Numbers: [59, 6]
Generated Node #0,3,4: 34:[59, 6] Operation: 8-2=6
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 34:[2, 51], Operations: ['97-89=8', '59-8=51']
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,34 unequal: No Solution
Exploring Operation: 2*51=102, Resulting Numbers: [102]
102,34 unequal: No Solution
Exploring Operation: 2+51=53, Resulting Numbers: [53]
53,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,3,0
Current State: 34:[59, 16], Operations: ['97-89=8', '2*8=16']
Exploring Operation: 59*16=944, Resulting Numbers: [944]
944,34 unequal: No Solution
Exploring Operation: 59+16=75, Resulting Numbers: [75]
75,34 unequal: No Solution
Exploring Operation: 59-16=43, Resulting Numbers: [43]
43,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,3,1
Current State: 34:[59, 4], Operations: ['97-89=8', '8/2=4']
Exploring Operation: 59*4=236, Resulting Numbers: [236]
236,34 unequal: No Solution
Exploring Operation: 59-4=55, Resulting Numbers: [55]
55,34 unequal: No Solution
Exploring Operation: 59+4=63, Resulting Numbers: [63]
63,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,3,3
Current State: 34:[8, 57], Operations: ['97-89=8', '59-2=57']
Exploring Operation: 8*57=456, Resulting Numbers: [456]
456,34 unequal: No Solution
Exploring Operation: 57-8=49, Resulting Numbers: [49]
49,34 unequal: No Solution
Exploring Operation: 8+57=65, Resulting Numbers: [65]
65,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,3,4
Current State: 34:[59, 6], Operations: ['97-89=8', '8-2=6']
Exploring Operation: 59*6=354, Resulting Numbers: [354]
354,34 unequal: No Solution
Exploring Operation: 59+6=65, Resulting Numbers: [65]
65,34 unequal: No Solution
Exploring Operation: 59-6=53, Resulting Numbers: [53]
53,34 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: 34:[89, 2, 38], Operations: ['97-59=38']
Exploring Operation: 89-38=51, Resulting Numbers: [2, 51]
Generated Node #0,0,0: 34:[2, 51] Operation: 89-38=51
Exploring Operation: 38/2=19, Resulting Numbers: [89, 19]
Generated Node #0,0,1: 34:[89, 19] Operation: 38/2=19
Exploring Operation: 89-2=87, Resulting Numbers: [38, 87]
Generated Node #0,0,2: 34:[38, 87] Operation: 89-2=87
Exploring Operation: 89+2=91, Resulting Numbers: [38, 91]
Generated Node #0,0,3: 34:[38, 91] Operation: 89+2=91
Exploring Operation: 38-2=36, Resulting Numbers: [89, 36]
Generated Node #0,0,4: 34:[89, 36] Operation: 38-2=36
Moving to Node #0,2
Current State: 34:[97, 2, 30], Operations: ['89-59=30']
Exploring Operation: 30/2=15, Resulting Numbers: [97, 15]
Generated Node #0,2,0: 34:[97, 15] Operation: 30/2=15
Exploring Operation: 97-2=95, Resulting Numbers: [30, 95]
Generated Node #0,2,1: 34:[30, 95] Operation: 97-2=95
Exploring Operation: 2+30=32, Resulting Numbers: [97, 32]
Generated Node #0,2,2: 34:[97, 32] Operation: 2+30=32
Exploring Operation: 97-30=67, Resulting Numbers: [2, 67]
Generated Node #0,2,3: 34:[2, 67] Operation: 97-30=67
Exploring Operation: 97+2=99, Resulting Numbers: [30, 99]
Generated Node #0,2,4: 34:[30, 99] Operation: 97+2=99
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 34:[2, 67], Operations: ['89-59=30', '97-30=67']
Exploring Operation: 2*67=134, Resulting Numbers: [134]
134,34 unequal: No Solution
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,34 unequal: No Solution
Exploring Operation: 2+67=69, Resulting Numbers: [69]
69,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,0
Current State: 34:[97, 15], Operations: ['89-59=30', '30/2=15']
Exploring Operation: 97+15=112, Resulting Numbers: [112]
112,34 unequal: No Solution
Exploring Operation: 97-15=82, Resulting Numbers: [82]
82,34 unequal: No Solution
Exploring Operation: 97*15=1455, Resulting Numbers: [1455]
1455,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,1
Current State: 34:[30, 95], Operations: ['89-59=30', '97-2=95']
Exploring Operation: 95-30=65, Resulting Numbers: [65]
65,34 unequal: No Solution
Exploring Operation: 30+95=125, Resulting Numbers: [125]
125,34 unequal: No Solution
Exploring Operation: 30*95=2850, Resulting Numbers: [2850]
2850,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,2
Current State: 34:[97, 32], Operations: ['89-59=30', '2+30=32']
Exploring Operation: 97+32=129, Resulting Numbers: [129]
129,34 unequal: No Solution
Exploring Operation: 97-32=65, Resulting Numbers: [65]
65,34 unequal: No Solution
Exploring Operation: 97*32=3104, Resulting Numbers: [3104]
3104,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,4
Current State: 34:[30, 99], Operations: ['89-59=30', '97+2=99']
Exploring Operation: 99-30=69, Resulting Numbers: [69]
69,34 unequal: No Solution
Exploring Operation: 30+99=129, Resulting Numbers: [129]
129,34 unequal: No Solution
Exploring Operation: 30*99=2970, Resulting Numbers: [2970]
2970,34 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: 34:[89, 59, 95], Operations: ['97-2=95']
Exploring Operation: 89-59=30, Resulting Numbers: [95, 30]
Generated Node #0,1,0: 34:[95, 30] Operation: 89-59=30
Exploring Operation: 95-59=36, Resulting Numbers: [89, 36]
Generated Node #0,1,1: 34:[89, 36] Operation: 95-59=36
Exploring Operation: 95-89=6, Resulting Numbers: [59, 6]
Generated Node #0,1,2: 34:[59, 6] Operation: 95-89=6
Exploring Operation: 89+95=184, Resulting Numbers: [59, 184]
Generated Node #0,1,3: 34:[59, 184] Operation: 89+95=184
Exploring Operation: 89+59=148, Resulting Numbers: [95, 148]
Generated Node #0,1,4: 34:[95, 148] Operation: 89+59=148
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 34:[59, 6], Operations: ['97-2=95', '95-89=6']
Exploring Operation: 59-6=53, Resulting Numbers: [53]
53,34 unequal: No Solution
Exploring Operation: 59+6=65, Resulting Numbers: [65]
65,34 unequal: No Solution
Exploring Operation: 59*6=354, Resulting Numbers: [354]
354,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,1,1
Current State: 34:[89, 36], Operations: ['97-2=95', '95-59=36']
Exploring Operation: 89-36=53, Resulting Numbers: [53]
53,34 unequal: No Solution
Exploring Operation: 89*36=3204, Resulting Numbers: [3204]
3204,34 unequal: No Solution
Exploring Operation: 89+36=125, Resulting Numbers: [125]
125,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,1,0
Current State: 34:[95, 30], Operations: ['97-2=95', '89-59=30']
Exploring Operation: 95+30=125, Resulting Numbers: [125]
125,34 unequal: No Solution
Exploring Operation: 95*30=2850, Resulting Numbers: [2850]
2850,34 unequal: No Solution
Exploring Operation: 95-30=65, Resulting Numbers: [65]
65,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,1,3
Current State: 34:[59, 184], Operations: ['97-2=95', '89+95=184']
Exploring Operation: 59*184=10856, Resulting Numbers: [10856]
10856,34 unequal: No Solution
Exploring Operation: 59+184=243, Resulting Numbers: [243]
243,34 unequal: No Solution
Exploring Operation: 184-59=125, Resulting Numbers: [125]
125,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,1,4
Current State: 34:[95, 148], Operations: ['97-2=95', '89+59=148']
Exploring Operation: 95+148=243, Resulting Numbers: [243]
243,34 unequal: No Solution
Exploring Operation: 95*148=14060, Resulting Numbers: [14060]
14060,34 unequal: No Solution
Exploring Operation: 148-95=53, Resulting Numbers: [53]
53,34 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: 34:[97, 59, 87], Operations: ['89-2=87']
Exploring Operation: 97+87=184, Resulting Numbers: [59, 184]
Generated Node #0,4,0: 34:[59, 184] Operation: 97+87=184
Exploring Operation: 97+59=156, Resulting Numbers: [87, 156]
Generated Node #0,4,1: 34:[87, 156] Operation: 97+59=156
Exploring Operation: 87-59=28, Resulting Numbers: [97, 28]
Generated Node #0,4,2: 34:[97, 28] Operation: 87-59=28
Exploring Operation: 97-87=10, Resulting Numbers: [59, 10]
Generated Node #0,4,3: 34:[59, 10] Operation: 97-87=10
Exploring Operation: 97-59=38, Resulting Numbers: [87, 38]
Generated Node #0,4,4: 34:[87, 38] Operation: 97-59=38
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 34:[59, 10], Operations: ['89-2=87', '97-87=10']
Exploring Operation: 59*10=590, Resulting Numbers: [590]
590,34 unequal: No Solution
Exploring Operation: 59-10=49, Resulting Numbers: [49]
49,34 unequal: No Solution
Exploring Operation: 59+10=69, Resulting Numbers: [69]
69,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,4,4
Current State: 34:[87, 38], Operations: ['89-2=87', '97-59=38']
Exploring Operation: 87-38=49, Resulting Numbers: [49]
49,34 unequal: No Solution
Exploring Operation: 87*38=3306, Resulting Numbers: [3306]
3306,34 unequal: No Solution
Exploring Operation: 87+38=125, Resulting Numbers: [125]
125,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,4,2
Current State: 34:[97, 28], Operations: ['89-2=87', '87-59=28']
Exploring Operation: 97-28=69, Resulting Numbers: [69]
69,34 unequal: No Solution
Exploring Operation: 97+28=125, Resulting Numbers: [125]
125,34 unequal: No Solution
Exploring Operation: 97*28=2716, Resulting Numbers: [2716]
2716,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,4,0
Current State: 34:[59, 184], Operations: ['89-2=87', '97+87=184']
Exploring Operation: 184-59=125, Resulting Numbers: [125]
125,34 unequal: No Solution
Exploring Operation: 59*184=10856, Resulting Numbers: [10856]
10856,34 unequal: No Solution
Exploring Operation: 59+184=243, Resulting Numbers: [243]
243,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,4,1
Current State: 34:[87, 156], Operations: ['89-2=87', '97+59=156']
Exploring Operation: 87+156=243, Resulting Numbers: [243]
243,34 unequal: No Solution
Exploring Operation: 87*156=13572, Resulting Numbers: [13572]
13572,34 unequal: No Solution
Exploring Operation: 156-87=69, Resulting Numbers: [69]
69,34 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: 34:[2, 51], Operations: ['97-59=38', '89-38=51']
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,34 unequal: No Solution
Exploring Operation: 2+51=53, Resulting Numbers: [53]
53,34 unequal: No Solution
Exploring Operation: 2*51=102, Resulting Numbers: [102]
102,34 unequal: No Solution
Moving to Node #0,0,2
Current State: 34:[38, 87], Operations: ['97-59=38', '89-2=87']
Exploring Operation: 87-38=49, Resulting Numbers: [49]
49,34 unequal: No Solution
Exploring Operation: 38*87=3306, Resulting Numbers: [3306]
3306,34 unequal: No Solution
Exploring Operation: 38+87=125, Resulting Numbers: [125]
125,34 unequal: No Solution
Moving to Node #0,0,1
Current State: 34:[89, 19], Operations: ['97-59=38', '38/2=19']
Exploring Operation: 89+19=108, Resulting Numbers: [108]
108,34 unequal: No Solution
Exploring Operation: 89-19=70, Resulting Numbers: [70]
70,34 unequal: No Solution
Exploring Operation: 89*19=1691, Resulting Numbers: [1691]
1691,34 unequal: No Solution
Moving to Node #0,0,4
Current State: 34:[89, 36], Operations: ['97-59=38', '38-2=36']
Exploring Operation: 89-36=53, Resulting Numbers: [53]
53,34 unequal: No Solution
Exploring Operation: 89*36=3204, Resulting Numbers: [3204]
3204,34 unequal: No Solution
Exploring Operation: 89+36=125, Resulting Numbers: [125]
125,34 unequal: No Solution
Moving to Node #0,0,3
Current State: 34:[38, 91], Operations: ['97-59=38', '89+2=91']
Exploring Operation: 38+91=129, Resulting Numbers: [129]
129,34 unequal: No Solution
Exploring Operation: 38*91=3458, Resulting Numbers: [3458]
3458,34 unequal: No Solution
Exploring Operation: 91-38=53, Resulting Numbers: [53]
53,34 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
24,
22,
86,
51
] | 94 | [
"24-22=2",
"86/2=43",
"51+43=94"
] | Current State: 94:[24, 22, 86, 51], Operations: []
Exploring Operation: 24-22=2, Resulting Numbers: [86, 51, 2]
Generated Node #2: [86, 51, 2] from Operation: 24-22=2
Current State: 94:[86, 51, 2], Operations: ['24-22=2']
Exploring Operation: 86/2=43, Resulting Numbers: [51, 43]
Generated Node #3: [51, 43] from Operation: 86/2=43
Current State: 94:[51, 43], Operations: ['24-22=2', '86/2=43']
Exploring Operation: 51+43=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[24, 22, 86, 51], Operations: []
Exploring Operation: 24+86=110, Resulting Numbers: [22, 51, 110]
Generated Node #0,0: 94:[22, 51, 110] Operation: 24+86=110
Exploring Operation: 22+86=108, Resulting Numbers: [24, 51, 108]
Generated Node #0,1: 94:[24, 51, 108] Operation: 22+86=108
Exploring Operation: 24+22=46, Resulting Numbers: [86, 51, 46]
Generated Node #0,2: 94:[86, 51, 46] Operation: 24+22=46
Exploring Operation: 86-24=62, Resulting Numbers: [22, 51, 62]
Generated Node #0,3: 94:[22, 51, 62] Operation: 86-24=62
Exploring Operation: 24-22=2, Resulting Numbers: [86, 51, 2]
Generated Node #0,4: 94:[86, 51, 2] Operation: 24-22=2
Start Sub Search at level 1: Moving to Node #0,4
Current State: 94:[86, 51, 2], Operations: ['24-22=2']
Exploring Operation: 86+2=88, Resulting Numbers: [51, 88]
Generated Node #0,4,0: 94:[51, 88] Operation: 86+2=88
Exploring Operation: 86-2=84, Resulting Numbers: [51, 84]
Generated Node #0,4,1: 94:[51, 84] Operation: 86-2=84
Exploring Operation: 86/2=43, Resulting Numbers: [51, 43]
Generated Node #0,4,2: 94:[51, 43] Operation: 86/2=43
Exploring Operation: 86-51=35, Resulting Numbers: [2, 35]
Generated Node #0,4,3: 94:[2, 35] Operation: 86-51=35
Exploring Operation: 51-2=49, Resulting Numbers: [86, 49]
Generated Node #0,4,4: 94:[86, 49] Operation: 51-2=49
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 94:[51, 43], Operations: ['24-22=2', '86/2=43']
Exploring Operation: 51-43=8, Resulting Numbers: [8]
8,94 unequal: No Solution
Exploring Operation: 51*43=2193, Resulting Numbers: [2193]
2193,94 unequal: No Solution
Exploring Operation: 51+43=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[24, 22, 86, 51], Operations: []
Exploring Operation: 24-22=2, Resulting Numbers: [86, 51, 2]
Generated Node #0,4: 94:[86, 51, 2] Operation: 24-22=2
Moving to Node #0,4
Current State: 94:[86, 51, 2], Operations: ['24-22=2']
Exploring Operation: 86/2=43, Resulting Numbers: [51, 43]
Generated Node #0,4,2: 94:[51, 43] Operation: 86/2=43
Moving to Node #0,4,2
Current State: 94:[51, 43], Operations: ['24-22=2', '86/2=43']
Exploring Operation: 51+43=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
45,
37,
19,
30
] | 19 | [
"45-37=8",
"30-19=11",
"8+11=19"
] | Current State: 19:[45, 37, 19, 30], Operations: []
Exploring Operation: 45-37=8, Resulting Numbers: [19, 30, 8]
Generated Node #2: [19, 30, 8] from Operation: 45-37=8
Current State: 19:[19, 30, 8], Operations: ['45-37=8']
Exploring Operation: 30-19=11, Resulting Numbers: [8, 11]
Generated Node #3: [8, 11] from Operation: 30-19=11
Current State: 19:[8, 11], Operations: ['45-37=8', '30-19=11']
Exploring Operation: 8+11=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[45, 37, 19, 30], Operations: []
Exploring Operation: 45-30=15, Resulting Numbers: [37, 19, 15]
Generated Node #0,0: 19:[37, 19, 15] Operation: 45-30=15
Exploring Operation: 45-19=26, Resulting Numbers: [37, 30, 26]
Generated Node #0,1: 19:[37, 30, 26] Operation: 45-19=26
Exploring Operation: 37-19=18, Resulting Numbers: [45, 30, 18]
Generated Node #0,2: 19:[45, 30, 18] Operation: 37-19=18
Exploring Operation: 45-37=8, Resulting Numbers: [19, 30, 8]
Generated Node #0,3: 19:[19, 30, 8] Operation: 45-37=8
Moving to Node #0,0
Current State: 19:[37, 19, 15], Operations: ['45-30=15']
Exploring Operation: 37-15=22, Resulting Numbers: [19, 22]
Generated Node #0,0,0: 19:[19, 22] Operation: 37-15=22
Exploring Operation: 37-19=18, Resulting Numbers: [15, 18]
Generated Node #0,0,1: 19:[15, 18] Operation: 37-19=18
Exploring Operation: 19+15=34, Resulting Numbers: [37, 34]
Generated Node #0,0,2: 19:[37, 34] Operation: 19+15=34
Exploring Operation: 37+15=52, Resulting Numbers: [19, 52]
Generated Node #0,0,3: 19:[19, 52] Operation: 37+15=52
Moving to Node #0,3
Current State: 19:[19, 30, 8], Operations: ['45-37=8']
Exploring Operation: 30-8=22, Resulting Numbers: [19, 22]
Generated Node #0,3,0: 19:[19, 22] Operation: 30-8=22
Exploring Operation: 30-19=11, Resulting Numbers: [8, 11]
Generated Node #0,3,1: 19:[8, 11] Operation: 30-19=11
Exploring Operation: 19-8=11, Resulting Numbers: [30, 11]
Generated Node #0,3,2: 19:[30, 11] Operation: 19-8=11
Exploring Operation: 19+8=27, Resulting Numbers: [30, 27]
Generated Node #0,3,3: 19:[30, 27] Operation: 19+8=27
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 19:[19, 22], Operations: ['45-37=8', '30-8=22']
Exploring Operation: 19+22=41, Resulting Numbers: [41]
41,19 unequal: No Solution
Exploring Operation: 22-19=3, Resulting Numbers: [3]
3,19 unequal: No Solution
Exploring Operation: 19*22=418, Resulting Numbers: [418]
418,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 19:[8, 11], Operations: ['45-37=8', '30-19=11']
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,19 unequal: No Solution
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,19 unequal: No Solution
Exploring Operation: 8+11=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[45, 37, 19, 30], Operations: []
Exploring Operation: 45-37=8, Resulting Numbers: [19, 30, 8]
Generated Node #0,3: 19:[19, 30, 8] Operation: 45-37=8
Moving to Node #0,3
Current State: 19:[19, 30, 8], Operations: ['45-37=8']
Exploring Operation: 30-19=11, Resulting Numbers: [8, 11]
Generated Node #0,3,1: 19:[8, 11] Operation: 30-19=11
Moving to Node #0,3,1
Current State: 19:[8, 11], Operations: ['45-37=8', '30-19=11']
Exploring Operation: 8+11=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_4 | mult_heuristic |
[
79,
72,
77,
81
] | 28 | [
"79-72=7",
"81-77=4",
"7*4=28"
] | Current State: 28:[79, 72, 77, 81], Operations: []
Exploring Operation: 79-72=7, Resulting Numbers: [77, 81, 7]
Generated Node #2: [77, 81, 7] from Operation: 79-72=7
Current State: 28:[77, 81, 7], Operations: ['79-72=7']
Exploring Operation: 81-77=4, Resulting Numbers: [7, 4]
Generated Node #3: [7, 4] from Operation: 81-77=4
Current State: 28:[7, 4], Operations: ['79-72=7', '81-77=4']
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[79, 72, 77, 81], Operations: []
Exploring Operation: 81-72=9, Resulting Numbers: [79, 77, 9]
Generated Node #0,0: 28:[79, 77, 9] Operation: 81-72=9
Exploring Operation: 81-79=2, Resulting Numbers: [72, 77, 2]
Generated Node #0,1: 28:[72, 77, 2] Operation: 81-79=2
Exploring Operation: 79-72=7, Resulting Numbers: [77, 81, 7]
Generated Node #0,2: 28:[77, 81, 7] Operation: 79-72=7
Exploring Operation: 81-77=4, Resulting Numbers: [79, 72, 4]
Generated Node #0,3: 28:[79, 72, 4] Operation: 81-77=4
Exploring Operation: 79-77=2, Resulting Numbers: [72, 81, 2]
Generated Node #0,4: 28:[72, 81, 2] Operation: 79-77=2
Moving to Node #0,1
Current State: 28:[72, 77, 2], Operations: ['81-79=2']
Exploring Operation: 77-72=5, Resulting Numbers: [2, 5]
Generated Node #0,1,0: 28:[2, 5] Operation: 77-72=5
Exploring Operation: 72+2=74, Resulting Numbers: [77, 74]
Generated Node #0,1,1: 28:[77, 74] Operation: 72+2=74
Exploring Operation: 72-2=70, Resulting Numbers: [77, 70]
Generated Node #0,1,2: 28:[77, 70] Operation: 72-2=70
Exploring Operation: 72/2=36, Resulting Numbers: [77, 36]
Generated Node #0,1,3: 28:[77, 36] Operation: 72/2=36
Exploring Operation: 77-2=75, Resulting Numbers: [72, 75]
Generated Node #0,1,4: 28:[72, 75] Operation: 77-2=75
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 28:[2, 5], Operations: ['81-79=2', '77-72=5']
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,28 unequal: No Solution
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,28 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 28:[77, 36], Operations: ['81-79=2', '72/2=36']
Exploring Operation: 77-36=41, Resulting Numbers: [41]
41,28 unequal: No Solution
Exploring Operation: 77*36=2772, Resulting Numbers: [2772]
2772,28 unequal: No Solution
Exploring Operation: 77+36=113, Resulting Numbers: [113]
113,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 28:[77, 70], Operations: ['81-79=2', '72-2=70']
Exploring Operation: 77+70=147, Resulting Numbers: [147]
147,28 unequal: No Solution
Exploring Operation: 77-70=7, Resulting Numbers: [7]
7,28 unequal: No Solution
Exploring Operation: 77*70=5390, Resulting Numbers: [5390]
5390,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 28:[72, 75], Operations: ['81-79=2', '77-2=75']
Exploring Operation: 72+75=147, Resulting Numbers: [147]
147,28 unequal: No Solution
Exploring Operation: 72*75=5400, Resulting Numbers: [5400]
5400,28 unequal: No Solution
Exploring Operation: 75-72=3, Resulting Numbers: [3]
3,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 28:[77, 74], Operations: ['81-79=2', '72+2=74']
Exploring Operation: 77+74=151, Resulting Numbers: [151]
151,28 unequal: No Solution
Exploring Operation: 77*74=5698, Resulting Numbers: [5698]
5698,28 unequal: No Solution
Exploring Operation: 77-74=3, Resulting Numbers: [3]
3,28 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: 28:[79, 72, 4], Operations: ['81-77=4']
Exploring Operation: 79-72=7, Resulting Numbers: [4, 7]
Generated Node #0,3,0: 28:[4, 7] Operation: 79-72=7
Exploring Operation: 79-4=75, Resulting Numbers: [72, 75]
Generated Node #0,3,1: 28:[72, 75] Operation: 79-4=75
Exploring Operation: 79+4=83, Resulting Numbers: [72, 83]
Generated Node #0,3,2: 28:[72, 83] Operation: 79+4=83
Exploring Operation: 72/4=18, Resulting Numbers: [79, 18]
Generated Node #0,3,3: 28:[79, 18] Operation: 72/4=18
Exploring Operation: 72-4=68, Resulting Numbers: [79, 68]
Generated Node #0,3,4: 28:[79, 68] Operation: 72-4=68
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 28:[4, 7], Operations: ['81-77=4', '79-72=7']
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[79, 72, 77, 81], Operations: []
Exploring Operation: 81-77=4, Resulting Numbers: [79, 72, 4]
Generated Node #0,3: 28:[79, 72, 4] Operation: 81-77=4
Moving to Node #0,3
Current State: 28:[79, 72, 4], Operations: ['81-77=4']
Exploring Operation: 79-72=7, Resulting Numbers: [4, 7]
Generated Node #0,3,0: 28:[4, 7] Operation: 79-72=7
Moving to Node #0,3,0
Current State: 28:[4, 7], Operations: ['81-77=4', '79-72=7']
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_5 | sum_heuristic |
[
69,
33,
20,
72
] | 40 | [
"69-33=36",
"20*72=1440",
"1440/36=40"
] | Current State: 40:[69, 33, 20, 72], Operations: []
Exploring Operation: 69-33=36, Resulting Numbers: [20, 72, 36]
Generated Node #2: [20, 72, 36] from Operation: 69-33=36
Current State: 40:[20, 72, 36], Operations: ['69-33=36']
Exploring Operation: 20*72=1440, Resulting Numbers: [36, 1440]
Generated Node #3: [36, 1440] from Operation: 20*72=1440
Current State: 40:[36, 1440], Operations: ['69-33=36', '20*72=1440']
Exploring Operation: 1440/36=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[69, 33, 20, 72], Operations: []
Exploring Operation: 72-69=3, Resulting Numbers: [33, 20, 3]
Generated Node #0,0: 40:[33, 20, 3] Operation: 72-69=3
Exploring Operation: 69-20=49, Resulting Numbers: [33, 72, 49]
Generated Node #0,1: 40:[33, 72, 49] Operation: 69-20=49
Exploring Operation: 72-33=39, Resulting Numbers: [69, 20, 39]
Generated Node #0,2: 40:[69, 20, 39] Operation: 72-33=39
Exploring Operation: 69-33=36, Resulting Numbers: [20, 72, 36]
Generated Node #0,3: 40:[20, 72, 36] Operation: 69-33=36
Moving to Node #0,0
Current State: 40:[33, 20, 3], Operations: ['72-69=3']
Exploring Operation: 33+3=36, Resulting Numbers: [20, 36]
Generated Node #0,0,0: 40:[20, 36] Operation: 33+3=36
Exploring Operation: 33-20=13, Resulting Numbers: [3, 13]
Generated Node #0,0,1: 40:[3, 13] Operation: 33-20=13
Exploring Operation: 33/3=11, Resulting Numbers: [20, 11]
Generated Node #0,0,2: 40:[20, 11] Operation: 33/3=11
Exploring Operation: 33-3=30, Resulting Numbers: [20, 30]
Generated Node #0,0,3: 40:[20, 30] Operation: 33-3=30
Moving to Node #0,2
Current State: 40:[69, 20, 39], Operations: ['72-33=39']
Exploring Operation: 69-20=49, Resulting Numbers: [39, 49]
Generated Node #0,2,0: 40:[39, 49] Operation: 69-20=49
Exploring Operation: 69-39=30, Resulting Numbers: [20, 30]
Generated Node #0,2,1: 40:[20, 30] Operation: 69-39=30
Exploring Operation: 39-20=19, Resulting Numbers: [69, 19]
Generated Node #0,2,2: 40:[69, 19] Operation: 39-20=19
Exploring Operation: 20+39=59, Resulting Numbers: [69, 59]
Generated Node #0,2,3: 40:[69, 59] Operation: 20+39=59
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 40:[39, 49], Operations: ['72-33=39', '69-20=49']
Exploring Operation: 39+49=88, Resulting Numbers: [88]
88,40 unequal: No Solution
Exploring Operation: 49-39=10, Resulting Numbers: [10]
10,40 unequal: No Solution
Exploring Operation: 39*49=1911, Resulting Numbers: [1911]
1911,40 unequal: No Solution
No 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: 40:[20, 30], Operations: ['72-33=39', '69-39=30']
Exploring Operation: 30-20=10, Resulting Numbers: [10]
10,40 unequal: No Solution
Exploring Operation: 20+30=50, Resulting Numbers: [50]
50,40 unequal: No Solution
Exploring Operation: 20*30=600, Resulting Numbers: [600]
600,40 unequal: No Solution
No 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: 40:[69, 19], Operations: ['72-33=39', '39-20=19']
Exploring Operation: 69*19=1311, Resulting Numbers: [1311]
1311,40 unequal: No Solution
Exploring Operation: 69+19=88, Resulting Numbers: [88]
88,40 unequal: No Solution
Exploring Operation: 69-19=50, Resulting Numbers: [50]
50,40 unequal: No Solution
No 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: 40:[69, 59], Operations: ['72-33=39', '20+39=59']
Exploring Operation: 69+59=128, Resulting Numbers: [128]
128,40 unequal: No Solution
Exploring Operation: 69-59=10, Resulting Numbers: [10]
10,40 unequal: No Solution
Exploring Operation: 69*59=4071, Resulting Numbers: [4071]
4071,40 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: 40:[20, 72, 36], Operations: ['69-33=36']
Exploring Operation: 72/36=2, Resulting Numbers: [20, 2]
Generated Node #0,3,0: 40:[20, 2] Operation: 72/36=2
Exploring Operation: 72-20=52, Resulting Numbers: [36, 52]
Generated Node #0,3,1: 40:[36, 52] Operation: 72-20=52
Exploring Operation: 72-36=36, Resulting Numbers: [20, 36]
Generated Node #0,3,2: 40:[20, 36] Operation: 72-36=36
Exploring Operation: 36-20=16, Resulting Numbers: [72, 16]
Generated Node #0,3,3: 40:[72, 16] Operation: 36-20=16
Moving to Node #0,1
Current State: 40:[33, 72, 49], Operations: ['69-20=49']
Exploring Operation: 72-49=23, Resulting Numbers: [33, 23]
Generated Node #0,1,0: 40:[33, 23] Operation: 72-49=23
Exploring Operation: 49-33=16, Resulting Numbers: [72, 16]
Generated Node #0,1,1: 40:[72, 16] Operation: 49-33=16
Exploring Operation: 72-33=39, Resulting Numbers: [49, 39]
Generated Node #0,1,2: 40:[49, 39] Operation: 72-33=39
Exploring Operation: 33+72=105, Resulting Numbers: [49, 105]
Generated Node #0,1,3: 40:[49, 105] Operation: 33+72=105
Moving to Node #0,3,0
Current State: 40:[20, 2], Operations: ['69-33=36', '72/36=2']
Exploring Operation: 20+2=22, Resulting Numbers: [22]
22,40 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,40 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,40 unequal: No Solution
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[69, 33, 20, 72], Operations: []
Exploring Operation: 69-33=36, Resulting Numbers: [20, 72, 36]
Generated Node #0,3: 40:[20, 72, 36] Operation: 69-33=36
Moving to Node #0,3
Current State: 40:[20, 72, 36], Operations: ['69-33=36']
Exploring Operation: 72/36=2, Resulting Numbers: [20, 2]
Generated Node #0,3,0: 40:[20, 2] Operation: 72/36=2
Moving to Node #0,3,0
Current State: 40:[20, 2], Operations: ['69-33=36', '72/36=2']
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 0.965278 | hs_4 | sum_heuristic |
[
55,
99,
64,
58
] | 78 | [
"99-55=44",
"64+58=122",
"122-44=78"
] | Current State: 78:[55, 99, 64, 58], Operations: []
Exploring Operation: 99-55=44, Resulting Numbers: [64, 58, 44]
Generated Node #2: [64, 58, 44] from Operation: 99-55=44
Current State: 78:[64, 58, 44], Operations: ['99-55=44']
Exploring Operation: 64+58=122, Resulting Numbers: [44, 122]
Generated Node #3: [44, 122] from Operation: 64+58=122
Current State: 78:[44, 122], Operations: ['99-55=44', '64+58=122']
Exploring Operation: 122-44=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[55, 99, 64, 58], Operations: []
Exploring Operation: 99-58=41, Resulting Numbers: [55, 64, 41]
Generated Node #0,0: 78:[55, 64, 41] Operation: 99-58=41
Exploring Operation: 58-55=3, Resulting Numbers: [99, 64, 3]
Generated Node #0,1: 78:[99, 64, 3] Operation: 58-55=3
Exploring Operation: 64-58=6, Resulting Numbers: [55, 99, 6]
Generated Node #0,2: 78:[55, 99, 6] Operation: 64-58=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[55, 64, 41], Operations: ['99-58=41']
Exploring Operation: 55-41=14, Resulting Numbers: [64, 14]
Generated Node #0,0,0: 78:[64, 14] Operation: 55-41=14
Exploring Operation: 64-55=9, Resulting Numbers: [41, 9]
Generated Node #0,0,1: 78:[41, 9] Operation: 64-55=9
Exploring Operation: 64-41=23, Resulting Numbers: [55, 23]
Generated Node #0,0,2: 78:[55, 23] Operation: 64-41=23
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 78:[41, 9], Operations: ['99-58=41', '64-55=9']
Exploring Operation: 41*9=369, Resulting Numbers: [369]
369,78 unequal: No Solution
Exploring Operation: 41+9=50, Resulting Numbers: [50]
50,78 unequal: No Solution
Exploring Operation: 41-9=32, Resulting Numbers: [32]
32,78 unequal: No Solution
No 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: 78:[64, 14], Operations: ['99-58=41', '55-41=14']
Exploring Operation: 64*14=896, Resulting Numbers: [896]
896,78 unequal: No Solution
Exploring Operation: 64+14=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[55, 99, 64, 58], Operations: []
Exploring Operation: 99-58=41, Resulting Numbers: [55, 64, 41]
Generated Node #0,0: 78:[55, 64, 41] Operation: 99-58=41
Moving to Node #0,0
Current State: 78:[55, 64, 41], Operations: ['99-58=41']
Exploring Operation: 55-41=14, Resulting Numbers: [64, 14]
Generated Node #0,0,0: 78:[64, 14] Operation: 55-41=14
Moving to Node #0,0,0
Current State: 78:[64, 14], Operations: ['99-58=41', '55-41=14']
Exploring Operation: 64+14=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_3 | mult_heuristic |
[
17,
81,
66,
90
] | 74 | [
"17+81=98",
"90-66=24",
"98-24=74"
] | Current State: 74:[17, 81, 66, 90], Operations: []
Exploring Operation: 17+81=98, Resulting Numbers: [66, 90, 98]
Generated Node #2: [66, 90, 98] from Operation: 17+81=98
Current State: 74:[66, 90, 98], Operations: ['17+81=98']
Exploring Operation: 90-66=24, Resulting Numbers: [98, 24]
Generated Node #3: [98, 24] from Operation: 90-66=24
Current State: 74:[98, 24], Operations: ['17+81=98', '90-66=24']
Exploring Operation: 98-24=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[17, 81, 66, 90], Operations: []
Exploring Operation: 90-17=73, Resulting Numbers: [81, 66, 73]
Generated Node #0,0: 74:[81, 66, 73] Operation: 90-17=73
Exploring Operation: 90-81=9, Resulting Numbers: [17, 66, 9]
Generated Node #0,1: 74:[17, 66, 9] Operation: 90-81=9
Moving to Node #0,0
Current State: 74:[81, 66, 73], Operations: ['90-17=73']
Exploring Operation: 73-66=7, Resulting Numbers: [81, 7]
Generated Node #0,0,0: 74:[81, 7] Operation: 73-66=7
Exploring Operation: 81-66=15, Resulting Numbers: [73, 15]
Generated Node #0,0,1: 74:[73, 15] Operation: 81-66=15
Moving to Node #0,1
Current State: 74:[17, 66, 9], Operations: ['90-81=9']
Exploring Operation: 17+66=83, Resulting Numbers: [9, 83]
Generated Node #0,1,0: 74:[9, 83] Operation: 17+66=83
Exploring Operation: 17-9=8, Resulting Numbers: [66, 8]
Generated Node #0,1,1: 74:[66, 8] Operation: 17-9=8
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 74:[66, 8], Operations: ['90-81=9', '17-9=8']
Exploring Operation: 66-8=58, Resulting Numbers: [58]
58,74 unequal: No Solution
Exploring Operation: 66+8=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[17, 81, 66, 90], Operations: []
Exploring Operation: 90-81=9, Resulting Numbers: [17, 66, 9]
Generated Node #0,1: 74:[17, 66, 9] Operation: 90-81=9
Moving to Node #0,1
Current State: 74:[17, 66, 9], Operations: ['90-81=9']
Exploring Operation: 17-9=8, Resulting Numbers: [66, 8]
Generated Node #0,1,1: 74:[66, 8] Operation: 17-9=8
Moving to Node #0,1,1
Current State: 74:[66, 8], Operations: ['90-81=9', '17-9=8']
Exploring Operation: 66+8=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
97,
45,
19,
95
] | 66 | [
"97+45=142",
"95-19=76",
"142-76=66"
] | Current State: 66:[97, 45, 19, 95], Operations: []
Exploring Operation: 97+45=142, Resulting Numbers: [19, 95, 142]
Generated Node #2: [19, 95, 142] from Operation: 97+45=142
Current State: 66:[19, 95, 142], Operations: ['97+45=142']
Exploring Operation: 95-19=76, Resulting Numbers: [142, 76]
Generated Node #3: [142, 76] from Operation: 95-19=76
Current State: 66:[142, 76], Operations: ['97+45=142', '95-19=76']
Exploring Operation: 142-76=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[97, 45, 19, 95], Operations: []
Exploring Operation: 95/19=5, Resulting Numbers: [97, 45, 5]
Generated Node #0,0: 66:[97, 45, 5] Operation: 95/19=5
Exploring Operation: 97-95=2, Resulting Numbers: [45, 19, 2]
Generated Node #0,1: 66:[45, 19, 2] Operation: 97-95=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[45, 19, 2], Operations: ['97-95=2']
Exploring Operation: 45-19=26, Resulting Numbers: [2, 26]
Generated Node #0,1,0: 66:[2, 26] Operation: 45-19=26
Exploring Operation: 45+19=64, Resulting Numbers: [2, 64]
Generated Node #0,1,1: 66:[2, 64] Operation: 45+19=64
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 66:[2, 64], Operations: ['97-95=2', '45+19=64']
Exploring Operation: 2+64=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[97, 45, 19, 95], Operations: []
Exploring Operation: 97-95=2, Resulting Numbers: [45, 19, 2]
Generated Node #0,1: 66:[45, 19, 2] Operation: 97-95=2
Moving to Node #0,1
Current State: 66:[45, 19, 2], Operations: ['97-95=2']
Exploring Operation: 45+19=64, Resulting Numbers: [2, 64]
Generated Node #0,1,1: 66:[2, 64] Operation: 45+19=64
Moving to Node #0,1,1
Current State: 66:[2, 64], Operations: ['97-95=2', '45+19=64']
Exploring Operation: 2+64=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
44,
41,
10,
11
] | 84 | [
"44+41=85",
"11-10=1",
"85-1=84"
] | Current State: 84:[44, 41, 10, 11], Operations: []
Exploring Operation: 44+41=85, Resulting Numbers: [10, 11, 85]
Generated Node #2: [10, 11, 85] from Operation: 44+41=85
Current State: 84:[10, 11, 85], Operations: ['44+41=85']
Exploring Operation: 11-10=1, Resulting Numbers: [85, 1]
Generated Node #3: [85, 1] from Operation: 11-10=1
Current State: 84:[85, 1], Operations: ['44+41=85', '11-10=1']
Exploring Operation: 85-1=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[44, 41, 10, 11], Operations: []
Exploring Operation: 44-41=3, Resulting Numbers: [10, 11, 3]
Generated Node #0,0: 84:[10, 11, 3] Operation: 44-41=3
Moving to Node #0,0
Current State: 84:[10, 11, 3], Operations: ['44-41=3']
Exploring Operation: 10+11=21, Resulting Numbers: [3, 21]
Generated Node #0,0,0: 84:[3, 21] Operation: 10+11=21
Moving to Node #0,0,0
Current State: 84:[3, 21], Operations: ['44-41=3', '10+11=21']
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,84 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
4,
2,
86,
40
] | 76 | [
"4*40=160",
"86-2=84",
"160-84=76"
] | Current State: 76:[4, 2, 86, 40], Operations: []
Exploring Operation: 4*40=160, Resulting Numbers: [2, 86, 160]
Generated Node #2: [2, 86, 160] from Operation: 4*40=160
Current State: 76:[2, 86, 160], Operations: ['4*40=160']
Exploring Operation: 86-2=84, Resulting Numbers: [160, 84]
Generated Node #3: [160, 84] from Operation: 86-2=84
Current State: 76:[160, 84], Operations: ['4*40=160', '86-2=84']
Exploring Operation: 160-84=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[4, 2, 86, 40], Operations: []
Exploring Operation: 86-40=46, Resulting Numbers: [4, 2, 46]
Generated Node #0,0: 76:[4, 2, 46] Operation: 86-40=46
Exploring Operation: 86/2=43, Resulting Numbers: [4, 40, 43]
Generated Node #0,1: 76:[4, 40, 43] Operation: 86/2=43
Exploring Operation: 86-4=82, Resulting Numbers: [2, 40, 82]
Generated Node #0,2: 76:[2, 40, 82] Operation: 86-4=82
Moving to Node #0,1
Current State: 76:[4, 40, 43], Operations: ['86/2=43']
Exploring Operation: 40-4=36, Resulting Numbers: [43, 36]
Generated Node #0,1,0: 76:[43, 36] Operation: 40-4=36
Exploring Operation: 43-4=39, Resulting Numbers: [40, 39]
Generated Node #0,1,1: 76:[40, 39] Operation: 43-4=39
Exploring Operation: 43-40=3, Resulting Numbers: [4, 3]
Generated Node #0,1,2: 76:[4, 3] Operation: 43-40=3
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 76:[4, 3], Operations: ['86/2=43', '43-40=3']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,76 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,76 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 76:[40, 39], Operations: ['86/2=43', '43-4=39']
Exploring Operation: 40+39=79, Resulting Numbers: [79]
79,76 unequal: No Solution
Exploring Operation: 40*39=1560, Resulting Numbers: [1560]
1560,76 unequal: No Solution
Exploring Operation: 40-39=1, Resulting Numbers: [1]
1,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 76:[43, 36], Operations: ['86/2=43', '40-4=36']
Exploring Operation: 43-36=7, Resulting Numbers: [7]
7,76 unequal: No Solution
Exploring Operation: 43+36=79, Resulting Numbers: [79]
79,76 unequal: No Solution
Exploring Operation: 43*36=1548, Resulting Numbers: [1548]
1548,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 76:[4, 2, 46], Operations: ['86-40=46']
Exploring Operation: 46-4=42, Resulting Numbers: [2, 42]
Generated Node #0,0,0: 76:[2, 42] Operation: 46-4=42
Exploring Operation: 46-2=44, Resulting Numbers: [4, 44]
Generated Node #0,0,1: 76:[4, 44] Operation: 46-2=44
Exploring Operation: 46/2=23, Resulting Numbers: [4, 23]
Generated Node #0,0,2: 76:[4, 23] Operation: 46/2=23
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 76:[2, 42], Operations: ['86-40=46', '46-4=42']
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,76 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,76 unequal: No Solution
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 76:[4, 23], Operations: ['86-40=46', '46/2=23']
Exploring Operation: 4+23=27, Resulting Numbers: [27]
27,76 unequal: No Solution
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,76 unequal: No Solution
Exploring Operation: 4*23=92, Resulting Numbers: [92]
92,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 76:[4, 44], Operations: ['86-40=46', '46-2=44']
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,76 unequal: No Solution
Exploring Operation: 4+44=48, Resulting Numbers: [48]
48,76 unequal: No Solution
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,76 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: 76:[2, 40, 82], Operations: ['86-4=82']
Exploring Operation: 40-2=38, Resulting Numbers: [82, 38]
Generated Node #0,2,0: 76:[82, 38] Operation: 40-2=38
Exploring Operation: 82/2=41, Resulting Numbers: [40, 41]
Generated Node #0,2,1: 76:[40, 41] Operation: 82/2=41
Exploring Operation: 82-40=42, Resulting Numbers: [2, 42]
Generated Node #0,2,2: 76:[2, 42] Operation: 82-40=42
Moving to Node #0,2,2
Current State: 76:[2, 42], Operations: ['86-4=82', '82-40=42']
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,76 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,76 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,76 unequal: No Solution
Moving to Node #0,2,1
Current State: 76:[40, 41], Operations: ['86-4=82', '82/2=41']
Exploring Operation: 40*41=1640, Resulting Numbers: [1640]
1640,76 unequal: No Solution
Exploring Operation: 40+41=81, Resulting Numbers: [81]
81,76 unequal: No Solution
Exploring Operation: 41-40=1, Resulting Numbers: [1]
1,76 unequal: No Solution
Moving to Node #0,2,0
Current State: 76:[82, 38], Operations: ['86-4=82', '40-2=38']
Exploring Operation: 82+38=120, Resulting Numbers: [120]
120,76 unequal: No Solution
Exploring Operation: 82*38=3116, Resulting Numbers: [3116]
3116,76 unequal: No Solution
Exploring Operation: 82-38=44, Resulting Numbers: [44]
44,76 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
1,
41,
2,
10
] | 54 | [
"1+41=42",
"2+10=12",
"42+12=54"
] | Current State: 54:[1, 41, 2, 10], Operations: []
Exploring Operation: 1+41=42, Resulting Numbers: [2, 10, 42]
Generated Node #2: [2, 10, 42] from Operation: 1+41=42
Current State: 54:[2, 10, 42], Operations: ['1+41=42']
Exploring Operation: 2+10=12, Resulting Numbers: [42, 12]
Generated Node #3: [42, 12] from Operation: 2+10=12
Current State: 54:[42, 12], Operations: ['1+41=42', '2+10=12']
Exploring Operation: 42+12=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[1, 41, 2, 10], Operations: []
Exploring Operation: 41+10=51, Resulting Numbers: [1, 2, 51]
Generated Node #0,0: 54:[1, 2, 51] Operation: 41+10=51
Moving to Node #0,0
Current State: 54:[1, 2, 51], Operations: ['41+10=51']
Exploring Operation: 1+51=52, Resulting Numbers: [2, 52]
Generated Node #0,0,0: 54:[2, 52] Operation: 1+51=52
Moving to Node #0,0,0
Current State: 54:[2, 52], Operations: ['41+10=51', '1+51=52']
Exploring Operation: 2+52=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[1, 41, 2, 10], Operations: []
Exploring Operation: 41+10=51, Resulting Numbers: [1, 2, 51]
Generated Node #0,0: 54:[1, 2, 51] Operation: 41+10=51
Moving to Node #0,0
Current State: 54:[1, 2, 51], Operations: ['41+10=51']
Exploring Operation: 1+51=52, Resulting Numbers: [2, 52]
Generated Node #0,0,0: 54:[2, 52] Operation: 1+51=52
Moving to Node #0,0,0
Current State: 54:[2, 52], Operations: ['41+10=51', '1+51=52']
Exploring Operation: 2+52=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
4,
6,
62,
53
] | 22 | [
"6-4=2",
"62/2=31",
"53-31=22"
] | Current State: 22:[4, 6, 62, 53], Operations: []
Exploring Operation: 6-4=2, Resulting Numbers: [62, 53, 2]
Generated Node #2: [62, 53, 2] from Operation: 6-4=2
Current State: 22:[62, 53, 2], Operations: ['6-4=2']
Exploring Operation: 62/2=31, Resulting Numbers: [53, 31]
Generated Node #3: [53, 31] from Operation: 62/2=31
Current State: 22:[53, 31], Operations: ['6-4=2', '62/2=31']
Exploring Operation: 53-31=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[4, 6, 62, 53], Operations: []
Exploring Operation: 62-53=9, Resulting Numbers: [4, 6, 9]
Generated Node #0,0: 22:[4, 6, 9] Operation: 62-53=9
Moving to Node #0,0
Current State: 22:[4, 6, 9], Operations: ['62-53=9']
Exploring Operation: 6-4=2, Resulting Numbers: [9, 2]
Generated Node #0,0,0: 22:[9, 2] Operation: 6-4=2
Moving to Node #0,0,0
Current State: 22:[9, 2], Operations: ['62-53=9', '6-4=2']
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,22 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
49,
10,
72,
33
] | 45 | [
"49-33=16",
"10*72=720",
"720/16=45"
] | Current State: 45:[49, 10, 72, 33], Operations: []
Exploring Operation: 49-33=16, Resulting Numbers: [10, 72, 16]
Generated Node #2: [10, 72, 16] from Operation: 49-33=16
Current State: 45:[10, 72, 16], Operations: ['49-33=16']
Exploring Operation: 10*72=720, Resulting Numbers: [16, 720]
Generated Node #3: [16, 720] from Operation: 10*72=720
Current State: 45:[16, 720], Operations: ['49-33=16', '10*72=720']
Exploring Operation: 720/16=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[49, 10, 72, 33], Operations: []
Exploring Operation: 72-33=39, Resulting Numbers: [49, 10, 39]
Generated Node #0,0: 45:[49, 10, 39] Operation: 72-33=39
Exploring Operation: 72-49=23, Resulting Numbers: [10, 33, 23]
Generated Node #0,1: 45:[10, 33, 23] Operation: 72-49=23
Exploring Operation: 49-33=16, Resulting Numbers: [10, 72, 16]
Generated Node #0,2: 45:[10, 72, 16] Operation: 49-33=16
Moving to Node #0,0
Current State: 45:[49, 10, 39], Operations: ['72-33=39']
Exploring Operation: 49-10=39, Resulting Numbers: [39, 39]
Generated Node #0,0,0: 45:[39, 39] Operation: 49-10=39
Exploring Operation: 49-39=10, Resulting Numbers: [10, 10]
Generated Node #0,0,1: 45:[10, 10] Operation: 49-39=10
Exploring Operation: 10+39=49, Resulting Numbers: [49, 49]
Generated Node #0,0,2: 45:[49, 49] Operation: 10+39=49
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 45:[10, 10], Operations: ['72-33=39', '49-39=10']
Exploring Operation: 10-10=0, Resulting Numbers: [0]
0,45 unequal: No Solution
Exploring Operation: 10+10=20, Resulting Numbers: [20]
20,45 unequal: No Solution
Exploring Operation: 10/10=1, Resulting Numbers: [1]
1,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 45:[49, 49], Operations: ['72-33=39', '10+39=49']
Exploring Operation: 49/49=1, Resulting Numbers: [1]
1,45 unequal: No Solution
Exploring Operation: 49+49=98, Resulting Numbers: [98]
98,45 unequal: No Solution
Exploring Operation: 49-49=0, Resulting Numbers: [0]
0,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,0
Current State: 45:[39, 39], Operations: ['72-33=39', '49-10=39']
Exploring Operation: 39+39=78, Resulting Numbers: [78]
78,45 unequal: No Solution
Exploring Operation: 39/39=1, Resulting Numbers: [1]
1,45 unequal: No Solution
Exploring Operation: 39-39=0, Resulting Numbers: [0]
0,45 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: 45:[10, 33, 23], Operations: ['72-49=23']
Exploring Operation: 33-23=10, Resulting Numbers: [10, 10]
Generated Node #0,1,0: 45:[10, 10] Operation: 33-23=10
Exploring Operation: 10+33=43, Resulting Numbers: [23, 43]
Generated Node #0,1,1: 45:[23, 43] Operation: 10+33=43
Exploring Operation: 33+23=56, Resulting Numbers: [10, 56]
Generated Node #0,1,2: 45:[10, 56] Operation: 33+23=56
Moving to Node #0,2
Current State: 45:[10, 72, 16], Operations: ['49-33=16']
Exploring Operation: 72-10=62, Resulting Numbers: [16, 62]
Generated Node #0,2,0: 45:[16, 62] Operation: 72-10=62
Exploring Operation: 16-10=6, Resulting Numbers: [72, 6]
Generated Node #0,2,1: 45:[72, 6] Operation: 16-10=6
Exploring Operation: 72-16=56, Resulting Numbers: [10, 56]
Generated Node #0,2,2: 45:[10, 56] Operation: 72-16=56
Moving to Node #0,1,0
Current State: 45:[10, 10], Operations: ['72-49=23', '33-23=10']
Exploring Operation: 10/10=1, Resulting Numbers: [1]
1,45 unequal: No Solution
Exploring Operation: 10-10=0, Resulting Numbers: [0]
0,45 unequal: No Solution
Exploring Operation: 10+10=20, Resulting Numbers: [20]
20,45 unequal: No Solution
Moving to Node #0,1,1
Current State: 45:[23, 43], Operations: ['72-49=23', '10+33=43']
Exploring Operation: 23+43=66, Resulting Numbers: [66]
66,45 unequal: No Solution
Exploring Operation: 23*43=989, Resulting Numbers: [989]
989,45 unequal: No Solution
Exploring Operation: 43-23=20, Resulting Numbers: [20]
20,45 unequal: No Solution
Moving to Node #0,1,2
Current State: 45:[10, 56], Operations: ['72-49=23', '33+23=56']
Exploring Operation: 10+56=66, Resulting Numbers: [66]
66,45 unequal: No Solution
Exploring Operation: 56-10=46, Resulting Numbers: [46]
46,45 unequal: No Solution
Exploring Operation: 10*56=560, Resulting Numbers: [560]
560,45 unequal: No Solution
Moving to Node #0,2,2
Current State: 45:[10, 56], Operations: ['49-33=16', '72-16=56']
Exploring Operation: 56-10=46, Resulting Numbers: [46]
46,45 unequal: No Solution
Exploring Operation: 10+56=66, Resulting Numbers: [66]
66,45 unequal: No Solution
Exploring Operation: 10*56=560, Resulting Numbers: [560]
560,45 unequal: No Solution
Moving to Node #0,2,0
Current State: 45:[16, 62], Operations: ['49-33=16', '72-10=62']
Exploring Operation: 16+62=78, Resulting Numbers: [78]
78,45 unequal: No Solution
Exploring Operation: 62-16=46, Resulting Numbers: [46]
46,45 unequal: No Solution
Exploring Operation: 16*62=992, Resulting Numbers: [992]
992,45 unequal: No Solution
Moving to Node #0,2,1
Current State: 45:[72, 6], Operations: ['49-33=16', '16-10=6']
Exploring Operation: 72+6=78, Resulting Numbers: [78]
78,45 unequal: No Solution
Exploring Operation: 72/6=12, Resulting Numbers: [12]
12,45 unequal: No Solution
Exploring Operation: 72-6=66, Resulting Numbers: [66]
66,45 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
34,
49,
25,
10
] | 20 | [
"49-34=15",
"25+10=35",
"35-15=20"
] | Current State: 20:[34, 49, 25, 10], Operations: []
Exploring Operation: 49-34=15, Resulting Numbers: [25, 10, 15]
Generated Node #2: [25, 10, 15] from Operation: 49-34=15
Current State: 20:[25, 10, 15], Operations: ['49-34=15']
Exploring Operation: 25+10=35, Resulting Numbers: [15, 35]
Generated Node #3: [15, 35] from Operation: 25+10=35
Current State: 20:[15, 35], Operations: ['49-34=15', '25+10=35']
Exploring Operation: 35-15=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[34, 49, 25, 10], Operations: []
Exploring Operation: 49-34=15, Resulting Numbers: [25, 10, 15]
Generated Node #0,0: 20:[25, 10, 15] Operation: 49-34=15
Exploring Operation: 49-25=24, Resulting Numbers: [34, 10, 24]
Generated Node #0,1: 20:[34, 10, 24] Operation: 49-25=24
Exploring Operation: 34-25=9, Resulting Numbers: [49, 10, 9]
Generated Node #0,2: 20:[49, 10, 9] Operation: 34-25=9
Exploring Operation: 34-10=24, Resulting Numbers: [49, 25, 24]
Generated Node #0,3: 20:[49, 25, 24] Operation: 34-10=24
Exploring Operation: 49-10=39, Resulting Numbers: [34, 25, 39]
Generated Node #0,4: 20:[34, 25, 39] Operation: 49-10=39
Moving to Node #0,0
Current State: 20:[25, 10, 15], Operations: ['49-34=15']
Exploring Operation: 25-15=10, Resulting Numbers: [10, 10]
Generated Node #0,0,0: 20:[10, 10] Operation: 25-15=10
Exploring Operation: 15-10=5, Resulting Numbers: [25, 5]
Generated Node #0,0,1: 20:[25, 5] Operation: 15-10=5
Exploring Operation: 25-10=15, Resulting Numbers: [15, 15]
Generated Node #0,0,2: 20:[15, 15] Operation: 25-10=15
Exploring Operation: 25+10=35, Resulting Numbers: [15, 35]
Generated Node #0,0,3: 20:[15, 35] Operation: 25+10=35
Exploring Operation: 10+15=25, Resulting Numbers: [25, 25]
Generated Node #0,0,4: 20:[25, 25] Operation: 10+15=25
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 20:[10, 10], Operations: ['49-34=15', '25-15=10']
Exploring Operation: 10*10=100, Resulting Numbers: [100]
100,20 unequal: No Solution
Exploring Operation: 10/10=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Exploring Operation: 10+10=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[34, 49, 25, 10], Operations: []
Exploring Operation: 49-34=15, Resulting Numbers: [25, 10, 15]
Generated Node #0,0: 20:[25, 10, 15] Operation: 49-34=15
Moving to Node #0,0
Current State: 20:[25, 10, 15], Operations: ['49-34=15']
Exploring Operation: 25-15=10, Resulting Numbers: [10, 10]
Generated Node #0,0,0: 20:[10, 10] Operation: 25-15=10
Moving to Node #0,0,0
Current State: 20:[10, 10], Operations: ['49-34=15', '25-15=10']
Exploring Operation: 10+10=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
17,
3,
31,
69
] | 97 | [
"69-31=38",
"3*38=114",
"114-17=97"
] | Current State: 97:[17, 3, 31, 69], Operations: []
Exploring Operation: 69-31=38, Resulting Numbers: [17, 3, 38]
Generated Node #2: [17, 3, 38] from Operation: 69-31=38
Current State: 97:[17, 3, 38], Operations: ['69-31=38']
Exploring Operation: 3*38=114, Resulting Numbers: [17, 114]
Generated Node #3: [17, 114] from Operation: 3*38=114
Current State: 97:[17, 114], Operations: ['69-31=38', '3*38=114']
Exploring Operation: 114-17=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[17, 3, 31, 69], Operations: []
Exploring Operation: 3*31=93, Resulting Numbers: [17, 69, 93]
Generated Node #0,0: 97:[17, 69, 93] Operation: 3*31=93
Exploring Operation: 17+3=20, Resulting Numbers: [31, 69, 20]
Generated Node #0,1: 97:[31, 69, 20] Operation: 17+3=20
Exploring Operation: 17*3=51, Resulting Numbers: [31, 69, 51]
Generated Node #0,2: 97:[31, 69, 51] Operation: 17*3=51
Moving to Node #0,0
Current State: 97:[17, 69, 93], Operations: ['3*31=93']
Exploring Operation: 17+93=110, Resulting Numbers: [69, 110]
Generated Node #0,0,0: 97:[69, 110] Operation: 17+93=110
Exploring Operation: 69-17=52, Resulting Numbers: [93, 52]
Generated Node #0,0,1: 97:[93, 52] Operation: 69-17=52
Exploring Operation: 17+69=86, Resulting Numbers: [93, 86]
Generated Node #0,0,2: 97:[93, 86] Operation: 17+69=86
Moving to Node #0,2
Current State: 97:[31, 69, 51], Operations: ['17*3=51']
Exploring Operation: 31+69=100, Resulting Numbers: [51, 100]
Generated Node #0,2,0: 97:[51, 100] Operation: 31+69=100
Exploring Operation: 69+51=120, Resulting Numbers: [31, 120]
Generated Node #0,2,1: 97:[31, 120] Operation: 69+51=120
Exploring Operation: 31+51=82, Resulting Numbers: [69, 82]
Generated Node #0,2,2: 97:[69, 82] Operation: 31+51=82
Moving to Node #0,1
Current State: 97:[31, 69, 20], Operations: ['17+3=20']
Exploring Operation: 31+69=100, Resulting Numbers: [20, 100]
Generated Node #0,1,0: 97:[20, 100] Operation: 31+69=100
Exploring Operation: 31+20=51, Resulting Numbers: [69, 51]
Generated Node #0,1,1: 97:[69, 51] Operation: 31+20=51
Exploring Operation: 69+20=89, Resulting Numbers: [31, 89]
Generated Node #0,1,2: 97:[31, 89] Operation: 69+20=89
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 97:[69, 51], Operations: ['17+3=20', '31+20=51']
Exploring Operation: 69*51=3519, Resulting Numbers: [3519]
3519,97 unequal: No Solution
Exploring Operation: 69+51=120, Resulting Numbers: [120]
120,97 unequal: No Solution
Exploring Operation: 69-51=18, Resulting Numbers: [18]
18,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 97:[31, 89], Operations: ['17+3=20', '69+20=89']
Exploring Operation: 31*89=2759, Resulting Numbers: [2759]
2759,97 unequal: No Solution
Exploring Operation: 31+89=120, Resulting Numbers: [120]
120,97 unequal: No Solution
Exploring Operation: 89-31=58, Resulting Numbers: [58]
58,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 97:[20, 100], Operations: ['17+3=20', '31+69=100']
Exploring Operation: 20+100=120, Resulting Numbers: [120]
120,97 unequal: No Solution
Exploring Operation: 100-20=80, Resulting Numbers: [80]
80,97 unequal: No Solution
Exploring Operation: 100/20=5, Resulting Numbers: [5]
5,97 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: 97:[93, 86], Operations: ['3*31=93', '17+69=86']
Exploring Operation: 93+86=179, Resulting Numbers: [179]
179,97 unequal: No Solution
Exploring Operation: 93-86=7, Resulting Numbers: [7]
7,97 unequal: No Solution
Exploring Operation: 93*86=7998, Resulting Numbers: [7998]
7998,97 unequal: No Solution
Moving to Node #0,0,0
Current State: 97:[69, 110], Operations: ['3*31=93', '17+93=110']
Exploring Operation: 69*110=7590, Resulting Numbers: [7590]
7590,97 unequal: No Solution
Exploring Operation: 69+110=179, Resulting Numbers: [179]
179,97 unequal: No Solution
Exploring Operation: 110-69=41, Resulting Numbers: [41]
41,97 unequal: No Solution
Moving to Node #0,2,2
Current State: 97:[69, 82], Operations: ['17*3=51', '31+51=82']
Exploring Operation: 69*82=5658, Resulting Numbers: [5658]
5658,97 unequal: No Solution
Exploring Operation: 69+82=151, Resulting Numbers: [151]
151,97 unequal: No Solution
Exploring Operation: 82-69=13, Resulting Numbers: [13]
13,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[93, 52], Operations: ['3*31=93', '69-17=52']
Exploring Operation: 93+52=145, Resulting Numbers: [145]
145,97 unequal: No Solution
Exploring Operation: 93-52=41, Resulting Numbers: [41]
41,97 unequal: No Solution
Exploring Operation: 93*52=4836, Resulting Numbers: [4836]
4836,97 unequal: No Solution
Moving to Node #0,2,0
Current State: 97:[51, 100], Operations: ['17*3=51', '31+69=100']
Exploring Operation: 51*100=5100, Resulting Numbers: [5100]
5100,97 unequal: No Solution
Exploring Operation: 51+100=151, Resulting Numbers: [151]
151,97 unequal: No Solution
Exploring Operation: 100-51=49, Resulting Numbers: [49]
49,97 unequal: No Solution
Moving to Node #0,2,1
Current State: 97:[31, 120], Operations: ['17*3=51', '69+51=120']
Exploring Operation: 120-31=89, Resulting Numbers: [89]
89,97 unequal: No Solution
Exploring Operation: 31*120=3720, Resulting Numbers: [3720]
3720,97 unequal: No Solution
Exploring Operation: 31+120=151, Resulting Numbers: [151]
151,97 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
22,
2,
68,
85
] | 88 | [
"68-2=66",
"66/22=3",
"85+3=88"
] | Current State: 88:[22, 2, 68, 85], Operations: []
Exploring Operation: 68-2=66, Resulting Numbers: [22, 85, 66]
Generated Node #2: [22, 85, 66] from Operation: 68-2=66
Current State: 88:[22, 85, 66], Operations: ['68-2=66']
Exploring Operation: 66/22=3, Resulting Numbers: [85, 3]
Generated Node #3: [85, 3] from Operation: 66/22=3
Current State: 88:[85, 3], Operations: ['68-2=66', '66/22=3']
Exploring Operation: 85+3=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[22, 2, 68, 85], Operations: []
Exploring Operation: 22+68=90, Resulting Numbers: [2, 85, 90]
Generated Node #0,0: 88:[2, 85, 90] Operation: 22+68=90
Exploring Operation: 85-68=17, Resulting Numbers: [22, 2, 17]
Generated Node #0,1: 88:[22, 2, 17] Operation: 85-68=17
Exploring Operation: 68-22=46, Resulting Numbers: [2, 85, 46]
Generated Node #0,2: 88:[2, 85, 46] Operation: 68-22=46
Moving to Node #0,0
Current State: 88:[2, 85, 90], Operations: ['22+68=90']
Exploring Operation: 90-2=88, Resulting Numbers: [85, 88]
Generated Node #0,0,0: 88:[85, 88] Operation: 90-2=88
Exploring Operation: 2+85=87, Resulting Numbers: [90, 87]
Generated Node #0,0,1: 88:[90, 87] Operation: 2+85=87
Exploring Operation: 90-85=5, Resulting Numbers: [2, 5]
Generated Node #0,0,2: 88:[2, 5] Operation: 90-85=5
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 88:[2, 5], Operations: ['22+68=90', '90-85=5']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,88 unequal: No Solution
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,88 unequal: No Solution
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 88:[85, 88], Operations: ['22+68=90', '90-2=88']
Exploring Operation: 85+88=173, Resulting Numbers: [173]
173,88 unequal: No Solution
Exploring Operation: 88-85=3, Resulting Numbers: [3]
3,88 unequal: No Solution
Exploring Operation: 85*88=7480, Resulting Numbers: [7480]
7480,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 88:[90, 87], Operations: ['22+68=90', '2+85=87']
Exploring Operation: 90+87=177, Resulting Numbers: [177]
177,88 unequal: No Solution
Exploring Operation: 90*87=7830, Resulting Numbers: [7830]
7830,88 unequal: No Solution
Exploring Operation: 90-87=3, Resulting Numbers: [3]
3,88 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: 88:[22, 2, 17], Operations: ['85-68=17']
Exploring Operation: 17-2=15, Resulting Numbers: [22, 15]
Generated Node #0,1,0: 88:[22, 15] Operation: 17-2=15
Exploring Operation: 2+17=19, Resulting Numbers: [22, 19]
Generated Node #0,1,1: 88:[22, 19] Operation: 2+17=19
Exploring Operation: 22-17=5, Resulting Numbers: [2, 5]
Generated Node #0,1,2: 88:[2, 5] Operation: 22-17=5
Moving to Node #0,2
Current State: 88:[2, 85, 46], Operations: ['68-22=46']
Exploring Operation: 46/2=23, Resulting Numbers: [85, 23]
Generated Node #0,2,0: 88:[85, 23] Operation: 46/2=23
Exploring Operation: 2+85=87, Resulting Numbers: [46, 87]
Generated Node #0,2,1: 88:[46, 87] Operation: 2+85=87
Exploring Operation: 46-2=44, Resulting Numbers: [85, 44]
Generated Node #0,2,2: 88:[85, 44] Operation: 46-2=44
Moving to Node #0,1,2
Current State: 88:[2, 5], Operations: ['85-68=17', '22-17=5']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,88 unequal: No Solution
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,88 unequal: No Solution
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,88 unequal: No Solution
Moving to Node #0,1,1
Current State: 88:[22, 19], Operations: ['85-68=17', '2+17=19']
Exploring Operation: 22-19=3, Resulting Numbers: [3]
3,88 unequal: No Solution
Exploring Operation: 22+19=41, Resulting Numbers: [41]
41,88 unequal: No Solution
Exploring Operation: 22*19=418, Resulting Numbers: [418]
418,88 unequal: No Solution
Moving to Node #0,2,2
Current State: 88:[85, 44], Operations: ['68-22=46', '46-2=44']
Exploring Operation: 85*44=3740, Resulting Numbers: [3740]
3740,88 unequal: No Solution
Exploring Operation: 85+44=129, Resulting Numbers: [129]
129,88 unequal: No Solution
Exploring Operation: 85-44=41, Resulting Numbers: [41]
41,88 unequal: No Solution
Moving to Node #0,2,1
Current State: 88:[46, 87], Operations: ['68-22=46', '2+85=87']
Exploring Operation: 46+87=133, Resulting Numbers: [133]
133,88 unequal: No Solution
Exploring Operation: 46*87=4002, Resulting Numbers: [4002]
4002,88 unequal: No Solution
Exploring Operation: 87-46=41, Resulting Numbers: [41]
41,88 unequal: No Solution
Moving to Node #0,2,0
Current State: 88:[85, 23], Operations: ['68-22=46', '46/2=23']
Exploring Operation: 85-23=62, Resulting Numbers: [62]
62,88 unequal: No Solution
Exploring Operation: 85*23=1955, Resulting Numbers: [1955]
1955,88 unequal: No Solution
Exploring Operation: 85+23=108, Resulting Numbers: [108]
108,88 unequal: No Solution
Moving to Node #0,1,0
Current State: 88:[22, 15], Operations: ['85-68=17', '17-2=15']
Exploring Operation: 22+15=37, Resulting Numbers: [37]
37,88 unequal: No Solution
Exploring Operation: 22*15=330, Resulting Numbers: [330]
330,88 unequal: No Solution
Exploring Operation: 22-15=7, Resulting Numbers: [7]
7,88 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
71,
50,
69,
67
] | 92 | [
"71-69=2",
"50/2=25",
"67+25=92"
] | Current State: 92:[71, 50, 69, 67], Operations: []
Exploring Operation: 71-69=2, Resulting Numbers: [50, 67, 2]
Generated Node #2: [50, 67, 2] from Operation: 71-69=2
Current State: 92:[50, 67, 2], Operations: ['71-69=2']
Exploring Operation: 50/2=25, Resulting Numbers: [67, 25]
Generated Node #3: [67, 25] from Operation: 50/2=25
Current State: 92:[67, 25], Operations: ['71-69=2', '50/2=25']
Exploring Operation: 67+25=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[71, 50, 69, 67], Operations: []
Exploring Operation: 71-69=2, Resulting Numbers: [50, 67, 2]
Generated Node #0,0: 92:[50, 67, 2] Operation: 71-69=2
Moving to Node #0,0
Current State: 92:[50, 67, 2], Operations: ['71-69=2']
Exploring Operation: 67-50=17, Resulting Numbers: [2, 17]
Generated Node #0,0,0: 92:[2, 17] Operation: 67-50=17
Moving to Node #0,0,0
Current State: 92:[2, 17], Operations: ['71-69=2', '67-50=17']
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,92 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
9,
2,
35,
44
] | 97 | [
"9*2=18",
"35+44=79",
"18+79=97"
] | Current State: 97:[9, 2, 35, 44], Operations: []
Exploring Operation: 9*2=18, Resulting Numbers: [35, 44, 18]
Generated Node #2: [35, 44, 18] from Operation: 9*2=18
Current State: 97:[35, 44, 18], Operations: ['9*2=18']
Exploring Operation: 35+44=79, Resulting Numbers: [18, 79]
Generated Node #3: [18, 79] from Operation: 35+44=79
Current State: 97:[18, 79], Operations: ['9*2=18', '35+44=79']
Exploring Operation: 18+79=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[9, 2, 35, 44], Operations: []
Exploring Operation: 2*44=88, Resulting Numbers: [9, 35, 88]
Generated Node #0,0: 97:[9, 35, 88] Operation: 2*44=88
Exploring Operation: 9*2=18, Resulting Numbers: [35, 44, 18]
Generated Node #0,1: 97:[35, 44, 18] Operation: 9*2=18
Exploring Operation: 2*35=70, Resulting Numbers: [9, 44, 70]
Generated Node #0,2: 97:[9, 44, 70] Operation: 2*35=70
Exploring Operation: 9+2=11, Resulting Numbers: [35, 44, 11]
Generated Node #0,3: 97:[35, 44, 11] Operation: 9+2=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[9, 35, 88], Operations: ['2*44=88']
Exploring Operation: 9+35=44, Resulting Numbers: [88, 44]
Generated Node #0,0,0: 97:[88, 44] Operation: 9+35=44
Exploring Operation: 9+88=97, Resulting Numbers: [35, 97]
Generated Node #0,0,1: 97:[35, 97] Operation: 9+88=97
Exploring Operation: 35-9=26, Resulting Numbers: [88, 26]
Generated Node #0,0,2: 97:[88, 26] Operation: 35-9=26
Exploring Operation: 88-9=79, Resulting Numbers: [35, 79]
Generated Node #0,0,3: 97:[35, 79] Operation: 88-9=79
Moving to Node #0,0,0
Current State: 97:[88, 44], Operations: ['2*44=88', '9+35=44']
Exploring Operation: 88/44=2, Resulting Numbers: [2]
2,97 unequal: No Solution
Exploring Operation: 88-44=44, Resulting Numbers: [44]
44,97 unequal: No Solution
Exploring Operation: 88*44=3872, Resulting Numbers: [3872]
3872,97 unequal: No Solution
Exploring Operation: 88+44=132, Resulting Numbers: [132]
132,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[35, 97], Operations: ['2*44=88', '9+88=97']
Exploring Operation: 35*97=3395, Resulting Numbers: [3395]
3395,97 unequal: No Solution
Exploring Operation: 97-35=62, Resulting Numbers: [62]
62,97 unequal: No Solution
Exploring Operation: 35+97=132, Resulting Numbers: [132]
132,97 unequal: No Solution
Moving to Node #0,0,3
Current State: 97:[35, 79], Operations: ['2*44=88', '88-9=79']
Exploring Operation: 79-35=44, Resulting Numbers: [44]
44,97 unequal: No Solution
Exploring Operation: 35+79=114, Resulting Numbers: [114]
114,97 unequal: No Solution
Exploring Operation: 35*79=2765, Resulting Numbers: [2765]
2765,97 unequal: No Solution
Moving to Node #0,0,2
Current State: 97:[88, 26], Operations: ['2*44=88', '35-9=26']
Exploring Operation: 88+26=114, Resulting Numbers: [114]
114,97 unequal: No Solution
Exploring Operation: 88-26=62, Resulting Numbers: [62]
62,97 unequal: No Solution
Exploring Operation: 88*26=2288, Resulting Numbers: [2288]
2288,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
Current State: 97:[9, 44, 70], Operations: ['2*35=70']
Exploring Operation: 44-9=35, Resulting Numbers: [70, 35]
Generated Node #0,2,0: 97:[70, 35] Operation: 44-9=35
Exploring Operation: 70-9=61, Resulting Numbers: [44, 61]
Generated Node #0,2,1: 97:[44, 61] Operation: 70-9=61
Exploring Operation: 9+70=79, Resulting Numbers: [44, 79]
Generated Node #0,2,2: 97:[44, 79] Operation: 9+70=79
Exploring Operation: 9+44=53, Resulting Numbers: [70, 53]
Generated Node #0,2,3: 97:[70, 53] Operation: 9+44=53
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 97:[44, 79], Operations: ['2*35=70', '9+70=79']
Exploring Operation: 44*79=3476, Resulting Numbers: [3476]
3476,97 unequal: No Solution
Exploring Operation: 44+79=123, Resulting Numbers: [123]
123,97 unequal: No Solution
Exploring Operation: 79-44=35, Resulting Numbers: [35]
35,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 97:[70, 53], Operations: ['2*35=70', '9+44=53']
Exploring Operation: 70+53=123, Resulting Numbers: [123]
123,97 unequal: No Solution
Exploring Operation: 70*53=3710, Resulting Numbers: [3710]
3710,97 unequal: No Solution
Exploring Operation: 70-53=17, Resulting Numbers: [17]
17,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 97:[70, 35], Operations: ['2*35=70', '44-9=35']
Exploring Operation: 70*35=2450, Resulting Numbers: [2450]
2450,97 unequal: No Solution
Exploring Operation: 70+35=105, Resulting Numbers: [105]
105,97 unequal: No Solution
Exploring Operation: 70/35=2, Resulting Numbers: [2]
2,97 unequal: No Solution
Exploring Operation: 70-35=35, Resulting Numbers: [35]
35,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 97:[44, 61], Operations: ['2*35=70', '70-9=61']
Exploring Operation: 44*61=2684, Resulting Numbers: [2684]
2684,97 unequal: No Solution
Exploring Operation: 61-44=17, Resulting Numbers: [17]
17,97 unequal: No Solution
Exploring Operation: 44+61=105, Resulting Numbers: [105]
105,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[35, 44, 18], Operations: ['9*2=18']
Exploring Operation: 35+44=79, Resulting Numbers: [18, 79]
Generated Node #0,1,0: 97:[18, 79] Operation: 35+44=79
Exploring Operation: 35-18=17, Resulting Numbers: [44, 17]
Generated Node #0,1,1: 97:[44, 17] Operation: 35-18=17
Exploring Operation: 44+18=62, Resulting Numbers: [35, 62]
Generated Node #0,1,2: 97:[35, 62] Operation: 44+18=62
Exploring Operation: 35+18=53, Resulting Numbers: [44, 53]
Generated Node #0,1,3: 97:[44, 53] Operation: 35+18=53
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 97:[18, 79], Operations: ['9*2=18', '35+44=79']
Exploring Operation: 18+79=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[9, 2, 35, 44], Operations: []
Exploring Operation: 9*2=18, Resulting Numbers: [35, 44, 18]
Generated Node #0,1: 97:[35, 44, 18] Operation: 9*2=18
Moving to Node #0,1
Current State: 97:[35, 44, 18], Operations: ['9*2=18']
Exploring Operation: 35+44=79, Resulting Numbers: [18, 79]
Generated Node #0,1,0: 97:[18, 79] Operation: 35+44=79
Moving to Node #0,1,0
Current State: 97:[18, 79], Operations: ['9*2=18', '35+44=79']
Exploring Operation: 18+79=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.959201 | hs_4 | sum_heuristic |
[
99,
96,
61,
78
] | 87 | [
"99-96=3",
"78/3=26",
"61+26=87"
] | Current State: 87:[99, 96, 61, 78], Operations: []
Exploring Operation: 99-96=3, Resulting Numbers: [61, 78, 3]
Generated Node #2: [61, 78, 3] from Operation: 99-96=3
Current State: 87:[61, 78, 3], Operations: ['99-96=3']
Exploring Operation: 78/3=26, Resulting Numbers: [61, 26]
Generated Node #3: [61, 26] from Operation: 78/3=26
Current State: 87:[61, 26], Operations: ['99-96=3', '78/3=26']
Exploring Operation: 61+26=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[99, 96, 61, 78], Operations: []
Exploring Operation: 96-61=35, Resulting Numbers: [99, 78, 35]
Generated Node #0,0: 87:[99, 78, 35] Operation: 96-61=35
Exploring Operation: 99-61=38, Resulting Numbers: [96, 78, 38]
Generated Node #0,1: 87:[96, 78, 38] Operation: 99-61=38
Moving to Node #0,0
Current State: 87:[99, 78, 35], Operations: ['96-61=35']
Exploring Operation: 78-35=43, Resulting Numbers: [99, 43]
Generated Node #0,0,0: 87:[99, 43] Operation: 78-35=43
Exploring Operation: 99-78=21, Resulting Numbers: [35, 21]
Generated Node #0,0,1: 87:[35, 21] Operation: 99-78=21
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 87:[35, 21], Operations: ['96-61=35', '99-78=21']
Exploring Operation: 35+21=56, Resulting Numbers: [56]
56,87 unequal: No Solution
Exploring Operation: 35-21=14, Resulting Numbers: [14]
14,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 87:[99, 43], Operations: ['96-61=35', '78-35=43']
Exploring Operation: 99+43=142, Resulting Numbers: [142]
142,87 unequal: No Solution
Exploring Operation: 99-43=56, Resulting Numbers: [56]
56,87 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: 87:[96, 78, 38], Operations: ['99-61=38']
Exploring Operation: 96-78=18, Resulting Numbers: [38, 18]
Generated Node #0,1,0: 87:[38, 18] Operation: 96-78=18
Exploring Operation: 78-38=40, Resulting Numbers: [96, 40]
Generated Node #0,1,1: 87:[96, 40] Operation: 78-38=40
Moving to Node #0,1,0
Current State: 87:[38, 18], Operations: ['99-61=38', '96-78=18']
Exploring Operation: 38+18=56, Resulting Numbers: [56]
56,87 unequal: No Solution
Exploring Operation: 38-18=20, Resulting Numbers: [20]
20,87 unequal: No Solution
Moving to Node #0,1,1
Current State: 87:[96, 40], Operations: ['99-61=38', '78-38=40']
Exploring Operation: 96+40=136, Resulting Numbers: [136]
136,87 unequal: No Solution
Exploring Operation: 96-40=56, Resulting Numbers: [56]
56,87 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
83,
2,
5,
76
] | 79 | [
"5+76=81",
"2*81=162",
"162-83=79"
] | Current State: 79:[83, 2, 5, 76], Operations: []
Exploring Operation: 5+76=81, Resulting Numbers: [83, 2, 81]
Generated Node #2: [83, 2, 81] from Operation: 5+76=81
Current State: 79:[83, 2, 81], Operations: ['5+76=81']
Exploring Operation: 2*81=162, Resulting Numbers: [83, 162]
Generated Node #3: [83, 162] from Operation: 2*81=162
Current State: 79:[83, 162], Operations: ['5+76=81', '2*81=162']
Exploring Operation: 162-83=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[83, 2, 5, 76], Operations: []
Exploring Operation: 2+76=78, Resulting Numbers: [83, 5, 78]
Generated Node #0,0: 79:[83, 5, 78] Operation: 2+76=78
Exploring Operation: 2*5=10, Resulting Numbers: [83, 76, 10]
Generated Node #0,1: 79:[83, 76, 10] Operation: 2*5=10
Exploring Operation: 2+5=7, Resulting Numbers: [83, 76, 7]
Generated Node #0,2: 79:[83, 76, 7] Operation: 2+5=7
Exploring Operation: 83-2=81, Resulting Numbers: [5, 76, 81]
Generated Node #0,3: 79:[5, 76, 81] Operation: 83-2=81
Moving to Node #0,1
Current State: 79:[83, 76, 10], Operations: ['2*5=10']
Exploring Operation: 76+10=86, Resulting Numbers: [83, 86]
Generated Node #0,1,0: 79:[83, 86] Operation: 76+10=86
Exploring Operation: 83-10=73, Resulting Numbers: [76, 73]
Generated Node #0,1,1: 79:[76, 73] Operation: 83-10=73
Exploring Operation: 83+10=93, Resulting Numbers: [76, 93]
Generated Node #0,1,2: 79:[76, 93] Operation: 83+10=93
Exploring Operation: 76-10=66, Resulting Numbers: [83, 66]
Generated Node #0,1,3: 79:[83, 66] Operation: 76-10=66
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 79:[76, 73], Operations: ['2*5=10', '83-10=73']
Exploring Operation: 76-73=3, Resulting Numbers: [3]
3,79 unequal: No Solution
Exploring Operation: 76+73=149, Resulting Numbers: [149]
149,79 unequal: No Solution
Exploring Operation: 76*73=5548, Resulting Numbers: [5548]
5548,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:[83, 86], Operations: ['2*5=10', '76+10=86']
Exploring Operation: 83*86=7138, Resulting Numbers: [7138]
7138,79 unequal: No Solution
Exploring Operation: 83+86=169, Resulting Numbers: [169]
169,79 unequal: No Solution
Exploring Operation: 86-83=3, Resulting Numbers: [3]
3,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:[76, 93], Operations: ['2*5=10', '83+10=93']
Exploring Operation: 93-76=17, Resulting Numbers: [17]
17,79 unequal: No Solution
Exploring Operation: 76+93=169, Resulting Numbers: [169]
169,79 unequal: No Solution
Exploring Operation: 76*93=7068, Resulting Numbers: [7068]
7068,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:[83, 66], Operations: ['2*5=10', '76-10=66']
Exploring Operation: 83-66=17, Resulting Numbers: [17]
17,79 unequal: No Solution
Exploring Operation: 83+66=149, Resulting Numbers: [149]
149,79 unequal: No Solution
Exploring Operation: 83*66=5478, Resulting Numbers: [5478]
5478,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:[83, 76, 7], Operations: ['2+5=7']
Exploring Operation: 76-7=69, Resulting Numbers: [83, 69]
Generated Node #0,2,0: 79:[83, 69] Operation: 76-7=69
Exploring Operation: 83+7=90, Resulting Numbers: [76, 90]
Generated Node #0,2,1: 79:[76, 90] Operation: 83+7=90
Exploring Operation: 76+7=83, Resulting Numbers: [83, 83]
Generated Node #0,2,2: 79:[83, 83] Operation: 76+7=83
Exploring Operation: 83-7=76, Resulting Numbers: [76, 76]
Generated Node #0,2,3: 79:[76, 76] Operation: 83-7=76
Moving to Node #0,0
Current State: 79:[83, 5, 78], Operations: ['2+76=78']
Exploring Operation: 78-5=73, Resulting Numbers: [83, 73]
Generated Node #0,0,0: 79:[83, 73] Operation: 78-5=73
Exploring Operation: 83+5=88, Resulting Numbers: [78, 88]
Generated Node #0,0,1: 79:[78, 88] Operation: 83+5=88
Exploring Operation: 83-5=78, Resulting Numbers: [78, 78]
Generated Node #0,0,2: 79:[78, 78] Operation: 83-5=78
Exploring Operation: 5+78=83, Resulting Numbers: [83, 83]
Generated Node #0,0,3: 79:[83, 83] Operation: 5+78=83
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 79:[78, 78], Operations: ['2+76=78', '83-5=78']
Exploring Operation: 78+78=156, Resulting Numbers: [156]
156,79 unequal: No Solution
Exploring Operation: 78/78=1, Resulting Numbers: [1]
1,79 unequal: No Solution
Exploring Operation: 78-78=0, Resulting Numbers: [0]
0,79 unequal: No Solution
Exploring Operation: 78*78=6084, Resulting Numbers: [6084]
6084,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,3
Current State: 79:[83, 83], Operations: ['2+76=78', '5+78=83']
Exploring Operation: 83+83=166, Resulting Numbers: [166]
166,79 unequal: No Solution
Exploring Operation: 83*83=6889, Resulting Numbers: [6889]
6889,79 unequal: No Solution
Exploring Operation: 83/83=1, Resulting Numbers: [1]
1,79 unequal: No Solution
Exploring Operation: 83-83=0, Resulting Numbers: [0]
0,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:[83, 73], Operations: ['2+76=78', '78-5=73']
Exploring Operation: 83*73=6059, Resulting Numbers: [6059]
6059,79 unequal: No Solution
Exploring Operation: 83+73=156, Resulting Numbers: [156]
156,79 unequal: No Solution
Exploring Operation: 83-73=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,1
Current State: 79:[78, 88], Operations: ['2+76=78', '83+5=88']
Exploring Operation: 78*88=6864, Resulting Numbers: [6864]
6864,79 unequal: No Solution
Exploring Operation: 88-78=10, Resulting Numbers: [10]
10,79 unequal: No Solution
Exploring Operation: 78+88=166, Resulting Numbers: [166]
166,79 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: 79:[5, 76, 81], Operations: ['83-2=81']
Exploring Operation: 5+76=81, Resulting Numbers: [81, 81]
Generated Node #0,3,0: 79:[81, 81] Operation: 5+76=81
Exploring Operation: 5+81=86, Resulting Numbers: [76, 86]
Generated Node #0,3,1: 79:[76, 86] Operation: 5+81=86
Exploring Operation: 76-5=71, Resulting Numbers: [81, 71]
Generated Node #0,3,2: 79:[81, 71] Operation: 76-5=71
Exploring Operation: 81-5=76, Resulting Numbers: [76, 76]
Generated Node #0,3,3: 79:[76, 76] Operation: 81-5=76
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 79:[81, 81], Operations: ['83-2=81', '5+76=81']
Exploring Operation: 81-81=0, Resulting Numbers: [0]
0,79 unequal: No Solution
Exploring Operation: 81+81=162, Resulting Numbers: [162]
162,79 unequal: No Solution
Exploring Operation: 81/81=1, Resulting Numbers: [1]
1,79 unequal: No Solution
Exploring Operation: 81*81=6561, Resulting Numbers: [6561]
6561,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:[76, 76], Operations: ['83-2=81', '81-5=76']
Exploring Operation: 76+76=152, Resulting Numbers: [152]
152,79 unequal: No Solution
Exploring Operation: 76-76=0, Resulting Numbers: [0]
0,79 unequal: No Solution
Exploring Operation: 76/76=1, Resulting Numbers: [1]
1,79 unequal: No Solution
Exploring Operation: 76*76=5776, Resulting Numbers: [5776]
5776,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:[76, 86], Operations: ['83-2=81', '5+81=86']
Exploring Operation: 76+86=162, Resulting Numbers: [162]
162,79 unequal: No Solution
Exploring Operation: 86-76=10, Resulting Numbers: [10]
10,79 unequal: No Solution
Exploring Operation: 76*86=6536, Resulting Numbers: [6536]
6536,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:[81, 71], Operations: ['83-2=81', '76-5=71']
Exploring Operation: 81*71=5751, Resulting Numbers: [5751]
5751,79 unequal: No Solution
Exploring Operation: 81+71=152, Resulting Numbers: [152]
152,79 unequal: No Solution
Exploring Operation: 81-71=10, Resulting Numbers: [10]
10,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,3
Current State: 79:[76, 76], Operations: ['2+5=7', '83-7=76']
Exploring Operation: 76-76=0, Resulting Numbers: [0]
0,79 unequal: No Solution
Exploring Operation: 76/76=1, Resulting Numbers: [1]
1,79 unequal: No Solution
Exploring Operation: 76*76=5776, Resulting Numbers: [5776]
5776,79 unequal: No Solution
Exploring Operation: 76+76=152, Resulting Numbers: [152]
152,79 unequal: No Solution
Moving to Node #0,2,2
Current State: 79:[83, 83], Operations: ['2+5=7', '76+7=83']
Exploring Operation: 83/83=1, Resulting Numbers: [1]
1,79 unequal: No Solution
Exploring Operation: 83*83=6889, Resulting Numbers: [6889]
6889,79 unequal: No Solution
Exploring Operation: 83+83=166, Resulting Numbers: [166]
166,79 unequal: No Solution
Exploring Operation: 83-83=0, Resulting Numbers: [0]
0,79 unequal: No Solution
Moving to Node #0,2,1
Current State: 79:[76, 90], Operations: ['2+5=7', '83+7=90']
Exploring Operation: 76*90=6840, Resulting Numbers: [6840]
6840,79 unequal: No Solution
Exploring Operation: 90-76=14, Resulting Numbers: [14]
14,79 unequal: No Solution
Exploring Operation: 76+90=166, Resulting Numbers: [166]
166,79 unequal: No Solution
Moving to Node #0,2,0
Current State: 79:[83, 69], Operations: ['2+5=7', '76-7=69']
Exploring Operation: 83-69=14, Resulting Numbers: [14]
14,79 unequal: No Solution
Exploring Operation: 83*69=5727, Resulting Numbers: [5727]
5727,79 unequal: No Solution
Exploring Operation: 83+69=152, Resulting Numbers: [152]
152,79 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
52,
73,
26,
47
] | 28 | [
"52/26=2",
"73-47=26",
"2+26=28"
] | Current State: 28:[52, 73, 26, 47], Operations: []
Exploring Operation: 52/26=2, Resulting Numbers: [73, 47, 2]
Generated Node #2: [73, 47, 2] from Operation: 52/26=2
Current State: 28:[73, 47, 2], Operations: ['52/26=2']
Exploring Operation: 73-47=26, Resulting Numbers: [2, 26]
Generated Node #3: [2, 26] from Operation: 73-47=26
Current State: 28:[2, 26], Operations: ['52/26=2', '73-47=26']
Exploring Operation: 2+26=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[52, 73, 26, 47], Operations: []
Exploring Operation: 73-47=26, Resulting Numbers: [52, 26, 26]
Generated Node #0,0: 28:[52, 26, 26] Operation: 73-47=26
Exploring Operation: 73-52=21, Resulting Numbers: [26, 47, 21]
Generated Node #0,1: 28:[26, 47, 21] Operation: 73-52=21
Moving to Node #0,0
Current State: 28:[52, 26, 26], Operations: ['73-47=26']
Exploring Operation: 52/26=2, Resulting Numbers: [26, 2]
Generated Node #0,0,0: 28:[26, 2] Operation: 52/26=2
Exploring Operation: 52/26=2, Resulting Numbers: [26, 2]
Generated Node #0,0,1: 28:[26, 2] Operation: 52/26=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 28:[26, 2], Operations: ['73-47=26', '52/26=2']
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[52, 73, 26, 47], Operations: []
Exploring Operation: 73-47=26, Resulting Numbers: [52, 26, 26]
Generated Node #0,0: 28:[52, 26, 26] Operation: 73-47=26
Moving to Node #0,0
Current State: 28:[52, 26, 26], Operations: ['73-47=26']
Exploring Operation: 52/26=2, Resulting Numbers: [26, 2]
Generated Node #0,0,0: 28:[26, 2] Operation: 52/26=2
Moving to Node #0,0,0
Current State: 28:[26, 2], Operations: ['73-47=26', '52/26=2']
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
54,
30,
74,
14
] | 64 | [
"54-30=24",
"74+14=88",
"88-24=64"
] | Current State: 64:[54, 30, 74, 14], Operations: []
Exploring Operation: 54-30=24, Resulting Numbers: [74, 14, 24]
Generated Node #2: [74, 14, 24] from Operation: 54-30=24
Current State: 64:[74, 14, 24], Operations: ['54-30=24']
Exploring Operation: 74+14=88, Resulting Numbers: [24, 88]
Generated Node #3: [24, 88] from Operation: 74+14=88
Current State: 64:[24, 88], Operations: ['54-30=24', '74+14=88']
Exploring Operation: 88-24=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[54, 30, 74, 14], Operations: []
Exploring Operation: 74-14=60, Resulting Numbers: [54, 30, 60]
Generated Node #0,0: 64:[54, 30, 60] Operation: 74-14=60
Exploring Operation: 54-30=24, Resulting Numbers: [74, 14, 24]
Generated Node #0,1: 64:[74, 14, 24] Operation: 54-30=24
Exploring Operation: 74-54=20, Resulting Numbers: [30, 14, 20]
Generated Node #0,2: 64:[30, 14, 20] Operation: 74-54=20
Exploring Operation: 54+14=68, Resulting Numbers: [30, 74, 68]
Generated Node #0,3: 64:[30, 74, 68] Operation: 54+14=68
Start Sub Search at level 1: Moving to Node #0,2
Current State: 64:[30, 14, 20], Operations: ['74-54=20']
Exploring Operation: 14+20=34, Resulting Numbers: [30, 34]
Generated Node #0,2,0: 64:[30, 34] Operation: 14+20=34
Exploring Operation: 20-14=6, Resulting Numbers: [30, 6]
Generated Node #0,2,1: 64:[30, 6] Operation: 20-14=6
Exploring Operation: 30-20=10, Resulting Numbers: [14, 10]
Generated Node #0,2,2: 64:[14, 10] Operation: 30-20=10
Exploring Operation: 30-14=16, Resulting Numbers: [20, 16]
Generated Node #0,2,3: 64:[20, 16] Operation: 30-14=16
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 64:[30, 34], Operations: ['74-54=20', '14+20=34']
Exploring Operation: 30+34=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[54, 30, 74, 14], Operations: []
Exploring Operation: 74-54=20, Resulting Numbers: [30, 14, 20]
Generated Node #0,2: 64:[30, 14, 20] Operation: 74-54=20
Moving to Node #0,2
Current State: 64:[30, 14, 20], Operations: ['74-54=20']
Exploring Operation: 14+20=34, Resulting Numbers: [30, 34]
Generated Node #0,2,0: 64:[30, 34] Operation: 14+20=34
Moving to Node #0,2,0
Current State: 64:[30, 34], Operations: ['74-54=20', '14+20=34']
Exploring Operation: 30+34=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
33,
2,
19,
52
] | 52 | [
"33+19=52",
"2*52=104",
"104-52=52"
] | Current State: 52:[33, 2, 19, 52], Operations: []
Exploring Operation: 33+19=52, Resulting Numbers: [2, 52, 52]
Generated Node #2: [2, 52, 52] from Operation: 33+19=52
Current State: 52:[2, 52, 52], Operations: ['33+19=52']
Exploring Operation: 2*52=104, Resulting Numbers: [104]
104,52 equal: Goal Reached
Exploring Operation: 104-52=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[33, 2, 19, 52], Operations: []
Exploring Operation: 33-19=14, Resulting Numbers: [2, 52, 14]
Generated Node #0,0: 52:[2, 52, 14] Operation: 33-19=14
Exploring Operation: 33+19=52, Resulting Numbers: [2, 52, 52]
Generated Node #0,1: 52:[2, 52, 52] Operation: 33+19=52
Start Sub Search at level 1: Moving to Node #0,1
Current State: 52:[2, 52, 52], Operations: ['33+19=52']
Exploring Operation: 52/2=26, Resulting Numbers: [52, 26]
Generated Node #0,1,0: 52:[52, 26] Operation: 52/2=26
Exploring Operation: 52/2=26, Resulting Numbers: [52, 26]
Generated Node #0,1,1: 52:[52, 26] Operation: 52/2=26
Moving to Node #0,1,0
Current State: 52:[52, 26], Operations: ['33+19=52', '52/2=26']
Exploring Operation: 52-26=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Exploring Operation: 52/26=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Moving to Node #0,1,1
Current State: 52:[52, 26], Operations: ['33+19=52', '52/2=26']
Exploring Operation: 52/26=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 52-26=26, Resulting Numbers: [26]
26,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[2, 52, 14], Operations: ['33-19=14']
Exploring Operation: 14-2=12, Resulting Numbers: [52, 12]
Generated Node #0,0,0: 52:[52, 12] Operation: 14-2=12
Exploring Operation: 52/2=26, Resulting Numbers: [14, 26]
Generated Node #0,0,1: 52:[14, 26] Operation: 52/2=26
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 52:[52, 12], Operations: ['33-19=14', '14-2=12']
Exploring Operation: 52-12=40, Resulting Numbers: [40]
40,52 unequal: No Solution
Exploring Operation: 52+12=64, Resulting Numbers: [64]
64,52 unequal: No Solution
No 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: 52:[14, 26], Operations: ['33-19=14', '52/2=26']
Exploring Operation: 14+26=40, Resulting Numbers: [40]
40,52 unequal: No Solution
Exploring Operation: 26-14=12, Resulting Numbers: [12]
12,52 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 |
[
83,
9,
30,
73
] | 60 | [
"83-73=10",
"9*10=90",
"90-30=60"
] | Current State: 60:[83, 9, 30, 73], Operations: []
Exploring Operation: 83-73=10, Resulting Numbers: [9, 30, 10]
Generated Node #2: [9, 30, 10] from Operation: 83-73=10
Current State: 60:[9, 30, 10], Operations: ['83-73=10']
Exploring Operation: 9*10=90, Resulting Numbers: [30, 90]
Generated Node #3: [30, 90] from Operation: 9*10=90
Current State: 60:[30, 90], Operations: ['83-73=10', '9*10=90']
Exploring Operation: 90-30=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[83, 9, 30, 73], Operations: []
Exploring Operation: 83-30=53, Resulting Numbers: [9, 73, 53]
Generated Node #0,0: 60:[9, 73, 53] Operation: 83-30=53
Exploring Operation: 83-73=10, Resulting Numbers: [9, 30, 10]
Generated Node #0,1: 60:[9, 30, 10] Operation: 83-73=10
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[9, 30, 10], Operations: ['83-73=10']
Exploring Operation: 30-9=21, Resulting Numbers: [10, 21]
Generated Node #0,1,0: 60:[10, 21] Operation: 30-9=21
Exploring Operation: 9+10=19, Resulting Numbers: [30, 19]
Generated Node #0,1,1: 60:[30, 19] Operation: 9+10=19
Moving to Node #0,1,0
Current State: 60:[10, 21], Operations: ['83-73=10', '30-9=21']
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 10+21=31, Resulting Numbers: [31]
31,60 unequal: No Solution
Moving to Node #0,1,1
Current State: 60:[30, 19], Operations: ['83-73=10', '9+10=19']
Exploring Operation: 30-19=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 30+19=49, Resulting Numbers: [49]
49,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[9, 73, 53], Operations: ['83-30=53']
Exploring Operation: 73-9=64, Resulting Numbers: [53, 64]
Generated Node #0,0,0: 60:[53, 64] Operation: 73-9=64
Exploring Operation: 73-53=20, Resulting Numbers: [9, 20]
Generated Node #0,0,1: 60:[9, 20] Operation: 73-53=20
Moving to Node #0,0,1
Current State: 60:[9, 20], Operations: ['83-30=53', '73-53=20']
Exploring Operation: 9+20=29, Resulting Numbers: [29]
29,60 unequal: No Solution
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Moving to Node #0,0,0
Current State: 60:[53, 64], Operations: ['83-30=53', '73-9=64']
Exploring Operation: 64-53=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 53+64=117, Resulting Numbers: [117]
117,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
75,
70,
7,
13
] | 72 | [
"75-70=5",
"13*5=65",
"7+65=72"
] | Current State: 72:[75, 70, 7, 13], Operations: []
Exploring Operation: 75-70=5, Resulting Numbers: [7, 13, 5]
Generated Node #2: [7, 13, 5] from Operation: 75-70=5
Current State: 72:[7, 13, 5], Operations: ['75-70=5']
Exploring Operation: 13*5=65, Resulting Numbers: [7, 65]
Generated Node #3: [7, 65] from Operation: 13*5=65
Current State: 72:[7, 65], Operations: ['75-70=5', '13*5=65']
Exploring Operation: 7+65=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[75, 70, 7, 13], Operations: []
Exploring Operation: 75-70=5, Resulting Numbers: [7, 13, 5]
Generated Node #0,0: 72:[7, 13, 5] Operation: 75-70=5
Moving to Node #0,0
Current State: 72:[7, 13, 5], Operations: ['75-70=5']
Exploring Operation: 13-7=6, Resulting Numbers: [5, 6]
Generated Node #0,0,0: 72:[5, 6] Operation: 13-7=6
Moving to Node #0,0,0
Current State: 72:[5, 6], Operations: ['75-70=5', '13-7=6']
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,72 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
9,
33,
12,
64
] | 76 | [
"33-9=24",
"64-12=52",
"24+52=76"
] | Current State: 76:[9, 33, 12, 64], Operations: []
Exploring Operation: 33-9=24, Resulting Numbers: [12, 64, 24]
Generated Node #2: [12, 64, 24] from Operation: 33-9=24
Current State: 76:[12, 64, 24], Operations: ['33-9=24']
Exploring Operation: 64-12=52, Resulting Numbers: [24, 52]
Generated Node #3: [24, 52] from Operation: 64-12=52
Current State: 76:[24, 52], Operations: ['33-9=24', '64-12=52']
Exploring Operation: 24+52=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[9, 33, 12, 64], Operations: []
Exploring Operation: 12-9=3, Resulting Numbers: [33, 64, 3]
Generated Node #0,0: 76:[33, 64, 3] Operation: 12-9=3
Exploring Operation: 12+64=76, Resulting Numbers: [9, 33, 76]
Generated Node #0,1: 76:[9, 33, 76] Operation: 12+64=76
Exploring Operation: 9+64=73, Resulting Numbers: [33, 12, 73]
Generated Node #0,2: 76:[33, 12, 73] Operation: 9+64=73
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[9, 33, 76], Operations: ['12+64=76']
Exploring Operation: 76-33=43, Resulting Numbers: [9, 43]
Generated Node #0,1,0: 76:[9, 43] Operation: 76-33=43
Exploring Operation: 33-9=24, Resulting Numbers: [76, 24]
Generated Node #0,1,1: 76:[76, 24] Operation: 33-9=24
Exploring Operation: 9+33=42, Resulting Numbers: [76, 42]
Generated Node #0,1,2: 76:[76, 42] Operation: 9+33=42
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 76:[76, 42], Operations: ['12+64=76', '9+33=42']
Exploring Operation: 76-42=34, Resulting Numbers: [34]
34,76 unequal: No Solution
Exploring Operation: 76+42=118, Resulting Numbers: [118]
118,76 unequal: No Solution
Exploring Operation: 76*42=3192, Resulting Numbers: [3192]
3192,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:[76, 24], Operations: ['12+64=76', '33-9=24']
Exploring Operation: 76+24=100, Resulting Numbers: [100]
100,76 unequal: No Solution
Exploring Operation: 76-24=52, Resulting Numbers: [52]
52,76 unequal: No Solution
Exploring Operation: 76*24=1824, Resulting Numbers: [1824]
1824,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 76:[9, 43], Operations: ['12+64=76', '76-33=43']
Exploring Operation: 9+43=52, Resulting Numbers: [52]
52,76 unequal: No Solution
Exploring Operation: 43-9=34, Resulting Numbers: [34]
34,76 unequal: No Solution
Exploring Operation: 9*43=387, Resulting Numbers: [387]
387,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 76:[33, 12, 73], Operations: ['9+64=73']
Exploring Operation: 33+12=45, Resulting Numbers: [73, 45]
Generated Node #0,2,0: 76:[73, 45] Operation: 33+12=45
Exploring Operation: 33-12=21, Resulting Numbers: [73, 21]
Generated Node #0,2,1: 76:[73, 21] Operation: 33-12=21
Exploring Operation: 73-33=40, Resulting Numbers: [12, 40]
Generated Node #0,2,2: 76:[12, 40] Operation: 73-33=40
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 76:[73, 21], Operations: ['9+64=73', '33-12=21']
Exploring Operation: 73*21=1533, Resulting Numbers: [1533]
1533,76 unequal: No Solution
Exploring Operation: 73-21=52, Resulting Numbers: [52]
52,76 unequal: No Solution
Exploring Operation: 73+21=94, Resulting Numbers: [94]
94,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 76:[12, 40], Operations: ['9+64=73', '73-33=40']
Exploring Operation: 12+40=52, Resulting Numbers: [52]
52,76 unequal: No Solution
Exploring Operation: 40-12=28, Resulting Numbers: [28]
28,76 unequal: No Solution
Exploring Operation: 12*40=480, Resulting Numbers: [480]
480,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 76:[73, 45], Operations: ['9+64=73', '33+12=45']
Exploring Operation: 73-45=28, Resulting Numbers: [28]
28,76 unequal: No Solution
Exploring Operation: 73*45=3285, Resulting Numbers: [3285]
3285,76 unequal: No Solution
Exploring Operation: 73+45=118, Resulting Numbers: [118]
118,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:[33, 64, 3], Operations: ['12-9=3']
Exploring Operation: 33+3=36, Resulting Numbers: [64, 36]
Generated Node #0,0,0: 76:[64, 36] Operation: 33+3=36
Exploring Operation: 64+3=67, Resulting Numbers: [33, 67]
Generated Node #0,0,1: 76:[33, 67] Operation: 64+3=67
Exploring Operation: 64-33=31, Resulting Numbers: [3, 31]
Generated Node #0,0,2: 76:[3, 31] Operation: 64-33=31
Moving to Node #0,0,2
Current State: 76:[3, 31], Operations: ['12-9=3', '64-33=31']
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,76 unequal: No Solution
Exploring Operation: 3+31=34, Resulting Numbers: [34]
34,76 unequal: No Solution
Exploring Operation: 3*31=93, Resulting Numbers: [93]
93,76 unequal: No Solution
Moving to Node #0,0,0
Current State: 76:[64, 36], Operations: ['12-9=3', '33+3=36']
Exploring Operation: 64+36=100, Resulting Numbers: [100]
100,76 unequal: No Solution
Exploring Operation: 64-36=28, Resulting Numbers: [28]
28,76 unequal: No Solution
Exploring Operation: 64*36=2304, Resulting Numbers: [2304]
2304,76 unequal: No Solution
Moving to Node #0,0,1
Current State: 76:[33, 67], Operations: ['12-9=3', '64+3=67']
Exploring Operation: 33+67=100, Resulting Numbers: [100]
100,76 unequal: No Solution
Exploring Operation: 67-33=34, Resulting Numbers: [34]
34,76 unequal: No Solution
Exploring Operation: 33*67=2211, Resulting Numbers: [2211]
2211,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
36,
28,
68,
70
] | 22 | [
"36*70=2520",
"2520/28=90",
"90-68=22"
] | Current State: 22:[36, 28, 68, 70], Operations: []
Exploring Operation: 36*70=2520, Resulting Numbers: [28, 68, 2520]
Generated Node #2: [28, 68, 2520] from Operation: 36*70=2520
Current State: 22:[28, 68, 2520], Operations: ['36*70=2520']
Exploring Operation: 2520/28=90, Resulting Numbers: [68, 90]
Generated Node #3: [68, 90] from Operation: 2520/28=90
Current State: 22:[68, 90], Operations: ['36*70=2520', '2520/28=90']
Exploring Operation: 90-68=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[36, 28, 68, 70], Operations: []
Exploring Operation: 68-28=40, Resulting Numbers: [36, 70, 40]
Generated Node #0,0: 22:[36, 70, 40] Operation: 68-28=40
Exploring Operation: 70-36=34, Resulting Numbers: [28, 68, 34]
Generated Node #0,1: 22:[28, 68, 34] Operation: 70-36=34
Exploring Operation: 70-68=2, Resulting Numbers: [36, 28, 2]
Generated Node #0,2: 22:[36, 28, 2] Operation: 70-68=2
Exploring Operation: 68-36=32, Resulting Numbers: [28, 70, 32]
Generated Node #0,3: 22:[28, 70, 32] Operation: 68-36=32
Start Sub Search at level 1: Moving to Node #0,2
Current State: 22:[36, 28, 2], Operations: ['70-68=2']
Exploring Operation: 28/2=14, Resulting Numbers: [36, 14]
Generated Node #0,2,0: 22:[36, 14] Operation: 28/2=14
Exploring Operation: 36/2=18, Resulting Numbers: [28, 18]
Generated Node #0,2,1: 22:[28, 18] Operation: 36/2=18
Exploring Operation: 36-28=8, Resulting Numbers: [2, 8]
Generated Node #0,2,2: 22:[2, 8] Operation: 36-28=8
Exploring Operation: 36-2=34, Resulting Numbers: [28, 34]
Generated Node #0,2,3: 22:[28, 34] Operation: 36-2=34
Moving to Node #0,2,2
Current State: 22:[2, 8], Operations: ['70-68=2', '36-28=8']
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,22 unequal: No Solution
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,22 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,22 unequal: No Solution
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,22 unequal: No Solution
Moving to Node #0,2,1
Current State: 22:[28, 18], Operations: ['70-68=2', '36/2=18']
Exploring Operation: 28+18=46, Resulting Numbers: [46]
46,22 unequal: No Solution
Exploring Operation: 28-18=10, Resulting Numbers: [10]
10,22 unequal: No Solution
Exploring Operation: 28*18=504, Resulting Numbers: [504]
504,22 unequal: No Solution
Moving to Node #0,2,0
Current State: 22:[36, 14], Operations: ['70-68=2', '28/2=14']
Exploring Operation: 36-14=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[36, 28, 68, 70], Operations: []
Exploring Operation: 70-68=2, Resulting Numbers: [36, 28, 2]
Generated Node #0,2: 22:[36, 28, 2] Operation: 70-68=2
Moving to Node #0,2
Current State: 22:[36, 28, 2], Operations: ['70-68=2']
Exploring Operation: 28/2=14, Resulting Numbers: [36, 14]
Generated Node #0,2,0: 22:[36, 14] Operation: 28/2=14
Moving to Node #0,2,0
Current State: 22:[36, 14], Operations: ['70-68=2', '28/2=14']
Exploring Operation: 36-14=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | sum_heuristic |
[
49,
69,
26,
58
] | 52 | [
"69-49=20",
"58-26=32",
"20+32=52"
] | Current State: 52:[49, 69, 26, 58], Operations: []
Exploring Operation: 69-49=20, Resulting Numbers: [26, 58, 20]
Generated Node #2: [26, 58, 20] from Operation: 69-49=20
Current State: 52:[26, 58, 20], Operations: ['69-49=20']
Exploring Operation: 58-26=32, Resulting Numbers: [20, 32]
Generated Node #3: [20, 32] from Operation: 58-26=32
Current State: 52:[20, 32], Operations: ['69-49=20', '58-26=32']
Exploring Operation: 20+32=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[49, 69, 26, 58], Operations: []
Exploring Operation: 69-49=20, Resulting Numbers: [26, 58, 20]
Generated Node #0,0: 52:[26, 58, 20] Operation: 69-49=20
Exploring Operation: 69-26=43, Resulting Numbers: [49, 58, 43]
Generated Node #0,1: 52:[49, 58, 43] Operation: 69-26=43
Exploring Operation: 69-58=11, Resulting Numbers: [49, 26, 11]
Generated Node #0,2: 52:[49, 26, 11] Operation: 69-58=11
Moving to Node #0,2
Current State: 52:[49, 26, 11], Operations: ['69-58=11']
Exploring Operation: 26-11=15, Resulting Numbers: [49, 15]
Generated Node #0,2,0: 52:[49, 15] Operation: 26-11=15
Exploring Operation: 49+11=60, Resulting Numbers: [26, 60]
Generated Node #0,2,1: 52:[26, 60] Operation: 49+11=60
Exploring Operation: 49-26=23, Resulting Numbers: [11, 23]
Generated Node #0,2,2: 52:[11, 23] Operation: 49-26=23
Moving to Node #0,0
Current State: 52:[26, 58, 20], Operations: ['69-49=20']
Exploring Operation: 26-20=6, Resulting Numbers: [58, 6]
Generated Node #0,0,0: 52:[58, 6] Operation: 26-20=6
Exploring Operation: 58-26=32, Resulting Numbers: [20, 32]
Generated Node #0,0,1: 52:[20, 32] Operation: 58-26=32
Exploring Operation: 26+20=46, Resulting Numbers: [58, 46]
Generated Node #0,0,2: 52:[58, 46] Operation: 26+20=46
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[58, 6], Operations: ['69-49=20', '26-20=6']
Exploring Operation: 58*6=348, Resulting Numbers: [348]
348,52 unequal: No Solution
Exploring Operation: 58+6=64, Resulting Numbers: [64]
64,52 unequal: No Solution
Exploring Operation: 58-6=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[49, 69, 26, 58], Operations: []
Exploring Operation: 69-49=20, Resulting Numbers: [26, 58, 20]
Generated Node #0,0: 52:[26, 58, 20] Operation: 69-49=20
Moving to Node #0,0
Current State: 52:[26, 58, 20], Operations: ['69-49=20']
Exploring Operation: 26-20=6, Resulting Numbers: [58, 6]
Generated Node #0,0,0: 52:[58, 6] Operation: 26-20=6
Moving to Node #0,0,0
Current State: 52:[58, 6], Operations: ['69-49=20', '26-20=6']
Exploring Operation: 58-6=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | mult_heuristic |
[
6,
79,
15,
35
] | 34 | [
"79+35=114",
"114/6=19",
"15+19=34"
] | Current State: 34:[6, 79, 15, 35], Operations: []
Exploring Operation: 79+35=114, Resulting Numbers: [6, 15, 114]
Generated Node #2: [6, 15, 114] from Operation: 79+35=114
Current State: 34:[6, 15, 114], Operations: ['79+35=114']
Exploring Operation: 114/6=19, Resulting Numbers: [15, 19]
Generated Node #3: [15, 19] from Operation: 114/6=19
Current State: 34:[15, 19], Operations: ['79+35=114', '114/6=19']
Exploring Operation: 15+19=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[6, 79, 15, 35], Operations: []
Exploring Operation: 79-15=64, Resulting Numbers: [6, 35, 64]
Generated Node #0,0: 34:[6, 35, 64] Operation: 79-15=64
Exploring Operation: 79-35=44, Resulting Numbers: [6, 15, 44]
Generated Node #0,1: 34:[6, 15, 44] Operation: 79-35=44
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[6, 15, 44], Operations: ['79-35=44']
Exploring Operation: 44-15=29, Resulting Numbers: [6, 29]
Generated Node #0,1,0: 34:[6, 29] Operation: 44-15=29
Exploring Operation: 44-6=38, Resulting Numbers: [15, 38]
Generated Node #0,1,1: 34:[15, 38] Operation: 44-6=38
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 34:[15, 38], Operations: ['79-35=44', '44-6=38']
Exploring Operation: 15+38=53, Resulting Numbers: [53]
53,34 unequal: No Solution
Exploring Operation: 38-15=23, Resulting Numbers: [23]
23,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 34:[6, 29], Operations: ['79-35=44', '44-15=29']
Exploring Operation: 6+29=35, Resulting Numbers: [35]
35,34 unequal: No Solution
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,34 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: 34:[6, 35, 64], Operations: ['79-15=64']
Exploring Operation: 64-35=29, Resulting Numbers: [6, 29]
Generated Node #0,0,0: 34:[6, 29] Operation: 64-35=29
Exploring Operation: 64-6=58, Resulting Numbers: [35, 58]
Generated Node #0,0,1: 34:[35, 58] Operation: 64-6=58
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 34:[6, 29], Operations: ['79-15=64', '64-35=29']
Exploring Operation: 6+29=35, Resulting Numbers: [35]
35,34 unequal: No Solution
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 34:[35, 58], Operations: ['79-15=64', '64-6=58']
Exploring Operation: 35+58=93, Resulting Numbers: [93]
93,34 unequal: No Solution
Exploring Operation: 58-35=23, Resulting Numbers: [23]
23,34 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 |
[
73,
85,
13,
2
] | 71 | [
"85-13=72",
"2*72=144",
"144-73=71"
] | Current State: 71:[73, 85, 13, 2], Operations: []
Exploring Operation: 85-13=72, Resulting Numbers: [73, 2, 72]
Generated Node #2: [73, 2, 72] from Operation: 85-13=72
Current State: 71:[73, 2, 72], Operations: ['85-13=72']
Exploring Operation: 2*72=144, Resulting Numbers: [73, 144]
Generated Node #3: [73, 144] from Operation: 2*72=144
Current State: 71:[73, 144], Operations: ['85-13=72', '2*72=144']
Exploring Operation: 144-73=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[73, 85, 13, 2], Operations: []
Exploring Operation: 13*2=26, Resulting Numbers: [73, 85, 26]
Generated Node #0,0: 71:[73, 85, 26] Operation: 13*2=26
Exploring Operation: 73-2=71, Resulting Numbers: [85, 13, 71]
Generated Node #0,1: 71:[85, 13, 71] Operation: 73-2=71
Exploring Operation: 85-13=72, Resulting Numbers: [73, 2, 72]
Generated Node #0,2: 71:[73, 2, 72] Operation: 85-13=72
Moving to Node #0,0
Current State: 71:[73, 85, 26], Operations: ['13*2=26']
Exploring Operation: 85-26=59, Resulting Numbers: [73, 59]
Generated Node #0,0,0: 71:[73, 59] Operation: 85-26=59
Exploring Operation: 73+26=99, Resulting Numbers: [85, 99]
Generated Node #0,0,1: 71:[85, 99] Operation: 73+26=99
Exploring Operation: 73-26=47, Resulting Numbers: [85, 47]
Generated Node #0,0,2: 71:[85, 47] Operation: 73-26=47
Moving to Node #0,1
Current State: 71:[85, 13, 71], Operations: ['73-2=71']
Exploring Operation: 13+71=84, Resulting Numbers: [85, 84]
Generated Node #0,1,0: 71:[85, 84] Operation: 13+71=84
Exploring Operation: 85-13=72, Resulting Numbers: [71, 72]
Generated Node #0,1,1: 71:[71, 72] Operation: 85-13=72
Exploring Operation: 85+13=98, Resulting Numbers: [71, 98]
Generated Node #0,1,2: 71:[71, 98] Operation: 85+13=98
Moving to Node #0,2
Current State: 71:[73, 2, 72], Operations: ['85-13=72']
Exploring Operation: 72-2=70, Resulting Numbers: [73, 70]
Generated Node #0,2,0: 71:[73, 70] Operation: 72-2=70
Exploring Operation: 73-2=71, Resulting Numbers: [72, 71]
Generated Node #0,2,1: 71:[72, 71] Operation: 73-2=71
Exploring Operation: 73+2=75, Resulting Numbers: [72, 75]
Generated Node #0,2,2: 71:[72, 75] Operation: 73+2=75
Moving to Node #0,1,1
Current State: 71:[71, 72], Operations: ['73-2=71', '85-13=72']
Exploring Operation: 72-71=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Exploring Operation: 71+72=143, Resulting Numbers: [143]
143,71 unequal: No Solution
Exploring Operation: 71*72=5112, Resulting Numbers: [5112]
5112,71 unequal: No Solution
Moving to Node #0,2,1
Current State: 71:[72, 71], Operations: ['85-13=72', '73-2=71']
Exploring Operation: 72*71=5112, Resulting Numbers: [5112]
5112,71 unequal: No Solution
Exploring Operation: 72+71=143, Resulting Numbers: [143]
143,71 unequal: No Solution
Exploring Operation: 72-71=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Moving to Node #0,2,0
Current State: 71:[73, 70], Operations: ['85-13=72', '72-2=70']
Exploring Operation: 73+70=143, Resulting Numbers: [143]
143,71 unequal: No Solution
Exploring Operation: 73*70=5110, Resulting Numbers: [5110]
5110,71 unequal: No Solution
Exploring Operation: 73-70=3, Resulting Numbers: [3]
3,71 unequal: No Solution
Moving to Node #0,2,2
Current State: 71:[72, 75], Operations: ['85-13=72', '73+2=75']
Exploring Operation: 75-72=3, Resulting Numbers: [3]
3,71 unequal: No Solution
Exploring Operation: 72+75=147, Resulting Numbers: [147]
147,71 unequal: No Solution
Exploring Operation: 72*75=5400, Resulting Numbers: [5400]
5400,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[73, 59], Operations: ['13*2=26', '85-26=59']
Exploring Operation: 73-59=14, Resulting Numbers: [14]
14,71 unequal: No Solution
Exploring Operation: 73+59=132, Resulting Numbers: [132]
132,71 unequal: No Solution
Exploring Operation: 73*59=4307, Resulting Numbers: [4307]
4307,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[85, 84], Operations: ['73-2=71', '13+71=84']
Exploring Operation: 85+84=169, Resulting Numbers: [169]
169,71 unequal: No Solution
Exploring Operation: 85*84=7140, Resulting Numbers: [7140]
7140,71 unequal: No Solution
Exploring Operation: 85-84=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Moving to Node #0,1,2
Current State: 71:[71, 98], Operations: ['73-2=71', '85+13=98']
Exploring Operation: 98-71=27, Resulting Numbers: [27]
27,71 unequal: No Solution
Exploring Operation: 71*98=6958, Resulting Numbers: [6958]
6958,71 unequal: No Solution
Exploring Operation: 71+98=169, Resulting Numbers: [169]
169,71 unequal: No Solution
Moving to Node #0,0,2
Current State: 71:[85, 47], Operations: ['13*2=26', '73-26=47']
Exploring Operation: 85-47=38, Resulting Numbers: [38]
38,71 unequal: No Solution
Exploring Operation: 85+47=132, Resulting Numbers: [132]
132,71 unequal: No Solution
Exploring Operation: 85*47=3995, Resulting Numbers: [3995]
3995,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[85, 99], Operations: ['13*2=26', '73+26=99']
Exploring Operation: 85*99=8415, Resulting Numbers: [8415]
8415,71 unequal: No Solution
Exploring Operation: 85+99=184, Resulting Numbers: [184]
184,71 unequal: No Solution
Exploring Operation: 99-85=14, Resulting Numbers: [14]
14,71 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
10,
5,
23,
60
] | 97 | [
"10/5=2",
"60*2=120",
"120-23=97"
] | Current State: 97:[10, 5, 23, 60], Operations: []
Exploring Operation: 10/5=2, Resulting Numbers: [23, 60, 2]
Generated Node #2: [23, 60, 2] from Operation: 10/5=2
Current State: 97:[23, 60, 2], Operations: ['10/5=2']
Exploring Operation: 60*2=120, Resulting Numbers: [23, 120]
Generated Node #3: [23, 120] from Operation: 60*2=120
Current State: 97:[23, 120], Operations: ['10/5=2', '60*2=120']
Exploring Operation: 120-23=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[10, 5, 23, 60], Operations: []
Exploring Operation: 10+5=15, Resulting Numbers: [23, 60, 15]
Generated Node #0,0: 97:[23, 60, 15] Operation: 10+5=15
Exploring Operation: 10+60=70, Resulting Numbers: [5, 23, 70]
Generated Node #0,1: 97:[5, 23, 70] Operation: 10+60=70
Exploring Operation: 5*23=115, Resulting Numbers: [10, 60, 115]
Generated Node #0,2: 97:[10, 60, 115] Operation: 5*23=115
Exploring Operation: 10*5=50, Resulting Numbers: [23, 60, 50]
Generated Node #0,3: 97:[23, 60, 50] Operation: 10*5=50
Exploring Operation: 10+23=33, Resulting Numbers: [5, 60, 33]
Generated Node #0,4: 97:[5, 60, 33] Operation: 10+23=33
Moving to Node #0,2
Current State: 97:[10, 60, 115], Operations: ['5*23=115']
Exploring Operation: 115-10=105, Resulting Numbers: [60, 105]
Generated Node #0,2,0: 97:[60, 105] Operation: 115-10=105
Exploring Operation: 10+60=70, Resulting Numbers: [115, 70]
Generated Node #0,2,1: 97:[115, 70] Operation: 10+60=70
Exploring Operation: 60-10=50, Resulting Numbers: [115, 50]
Generated Node #0,2,2: 97:[115, 50] Operation: 60-10=50
Exploring Operation: 60/10=6, Resulting Numbers: [115, 6]
Generated Node #0,2,3: 97:[115, 6] Operation: 60/10=6
Exploring Operation: 10+115=125, Resulting Numbers: [60, 125]
Generated Node #0,2,4: 97:[60, 125] Operation: 10+115=125
Moving to Node #0,3
Current State: 97:[23, 60, 50], Operations: ['10*5=50']
Exploring Operation: 23+60=83, Resulting Numbers: [50, 83]
Generated Node #0,3,0: 97:[50, 83] Operation: 23+60=83
Exploring Operation: 60-23=37, Resulting Numbers: [50, 37]
Generated Node #0,3,1: 97:[50, 37] Operation: 60-23=37
Exploring Operation: 50-23=27, Resulting Numbers: [60, 27]
Generated Node #0,3,2: 97:[60, 27] Operation: 50-23=27
Exploring Operation: 60+50=110, Resulting Numbers: [23, 110]
Generated Node #0,3,3: 97:[23, 110] Operation: 60+50=110
Exploring Operation: 23+50=73, Resulting Numbers: [60, 73]
Generated Node #0,3,4: 97:[60, 73] Operation: 23+50=73
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 97:[50, 83], Operations: ['10*5=50', '23+60=83']
Exploring Operation: 50+83=133, Resulting Numbers: [133]
133,97 unequal: No Solution
Exploring Operation: 50*83=4150, Resulting Numbers: [4150]
4150,97 unequal: No Solution
Exploring Operation: 83-50=33, Resulting Numbers: [33]
33,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,4
Current State: 97:[60, 73], Operations: ['10*5=50', '23+50=73']
Exploring Operation: 60+73=133, Resulting Numbers: [133]
133,97 unequal: No Solution
Exploring Operation: 60*73=4380, Resulting Numbers: [4380]
4380,97 unequal: No Solution
Exploring Operation: 73-60=13, Resulting Numbers: [13]
13,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:[23, 110], Operations: ['10*5=50', '60+50=110']
Exploring Operation: 110-23=87, Resulting Numbers: [87]
87,97 unequal: No Solution
Exploring Operation: 23*110=2530, Resulting Numbers: [2530]
2530,97 unequal: No Solution
Exploring Operation: 23+110=133, Resulting Numbers: [133]
133,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,1
Current State: 97:[50, 37], Operations: ['10*5=50', '60-23=37']
Exploring Operation: 50+37=87, Resulting Numbers: [87]
87,97 unequal: No Solution
Exploring Operation: 50*37=1850, Resulting Numbers: [1850]
1850,97 unequal: No Solution
Exploring Operation: 50-37=13, Resulting Numbers: [13]
13,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:[60, 27], Operations: ['10*5=50', '50-23=27']
Exploring Operation: 60-27=33, Resulting Numbers: [33]
33,97 unequal: No Solution
Exploring Operation: 60*27=1620, Resulting Numbers: [1620]
1620,97 unequal: No Solution
Exploring Operation: 60+27=87, Resulting Numbers: [87]
87,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 97:[23, 60, 15], Operations: ['10+5=15']
Exploring Operation: 23-15=8, Resulting Numbers: [60, 8]
Generated Node #0,0,0: 97:[60, 8] Operation: 23-15=8
Exploring Operation: 23+60=83, Resulting Numbers: [15, 83]
Generated Node #0,0,1: 97:[15, 83] Operation: 23+60=83
Exploring Operation: 60+15=75, Resulting Numbers: [23, 75]
Generated Node #0,0,2: 97:[23, 75] Operation: 60+15=75
Exploring Operation: 60-15=45, Resulting Numbers: [23, 45]
Generated Node #0,0,3: 97:[23, 45] Operation: 60-15=45
Exploring Operation: 23+15=38, Resulting Numbers: [60, 38]
Generated Node #0,0,4: 97:[60, 38] Operation: 23+15=38
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 97:[15, 83], Operations: ['10+5=15', '23+60=83']
Exploring Operation: 83-15=68, Resulting Numbers: [68]
68,97 unequal: No Solution
Exploring Operation: 15*83=1245, Resulting Numbers: [1245]
1245,97 unequal: No Solution
Exploring Operation: 15+83=98, Resulting Numbers: [98]
98,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:[23, 75], Operations: ['10+5=15', '60+15=75']
Exploring Operation: 75-23=52, Resulting Numbers: [52]
52,97 unequal: No Solution
Exploring Operation: 23*75=1725, Resulting Numbers: [1725]
1725,97 unequal: No Solution
Exploring Operation: 23+75=98, Resulting Numbers: [98]
98,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,4
Current State: 97:[60, 38], Operations: ['10+5=15', '23+15=38']
Exploring Operation: 60-38=22, Resulting Numbers: [22]
22,97 unequal: No Solution
Exploring Operation: 60*38=2280, Resulting Numbers: [2280]
2280,97 unequal: No Solution
Exploring Operation: 60+38=98, Resulting Numbers: [98]
98,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[60, 8], Operations: ['10+5=15', '23-15=8']
Exploring Operation: 60-8=52, Resulting Numbers: [52]
52,97 unequal: No Solution
Exploring Operation: 60*8=480, Resulting Numbers: [480]
480,97 unequal: No Solution
Exploring Operation: 60+8=68, Resulting Numbers: [68]
68,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:[23, 45], Operations: ['10+5=15', '60-15=45']
Exploring Operation: 23*45=1035, Resulting Numbers: [1035]
1035,97 unequal: No Solution
Exploring Operation: 45-23=22, Resulting Numbers: [22]
22,97 unequal: No Solution
Exploring Operation: 23+45=68, Resulting Numbers: [68]
68,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:[5, 23, 70], Operations: ['10+60=70']
Exploring Operation: 5+23=28, Resulting Numbers: [70, 28]
Generated Node #0,1,0: 97:[70, 28] Operation: 5+23=28
Exploring Operation: 23+70=93, Resulting Numbers: [5, 93]
Generated Node #0,1,1: 97:[5, 93] Operation: 23+70=93
Exploring Operation: 5*23=115, Resulting Numbers: [70, 115]
Generated Node #0,1,2: 97:[70, 115] Operation: 5*23=115
Exploring Operation: 23-5=18, Resulting Numbers: [70, 18]
Generated Node #0,1,3: 97:[70, 18] Operation: 23-5=18
Exploring Operation: 5+70=75, Resulting Numbers: [23, 75]
Generated Node #0,1,4: 97:[23, 75] Operation: 5+70=75
Moving to Node #0,4
Current State: 97:[5, 60, 33], Operations: ['10+23=33']
Exploring Operation: 60+33=93, Resulting Numbers: [5, 93]
Generated Node #0,4,0: 97:[5, 93] Operation: 60+33=93
Exploring Operation: 60-5=55, Resulting Numbers: [33, 55]
Generated Node #0,4,1: 97:[33, 55] Operation: 60-5=55
Exploring Operation: 5+60=65, Resulting Numbers: [33, 65]
Generated Node #0,4,2: 97:[33, 65] Operation: 5+60=65
Exploring Operation: 5+33=38, Resulting Numbers: [60, 38]
Generated Node #0,4,3: 97:[60, 38] Operation: 5+33=38
Exploring Operation: 5*33=165, Resulting Numbers: [60, 165]
Generated Node #0,4,4: 97:[60, 165] Operation: 5*33=165
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 97:[5, 93], Operations: ['10+23=33', '60+33=93']
Exploring Operation: 5*93=465, Resulting Numbers: [465]
465,97 unequal: No Solution
Exploring Operation: 5+93=98, Resulting Numbers: [98]
98,97 unequal: No Solution
Exploring Operation: 93-5=88, Resulting Numbers: [88]
88,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,4,2
Current State: 97:[33, 65], Operations: ['10+23=33', '5+60=65']
Exploring Operation: 65-33=32, Resulting Numbers: [32]
32,97 unequal: No Solution
Exploring Operation: 33+65=98, Resulting Numbers: [98]
98,97 unequal: No Solution
Exploring Operation: 33*65=2145, Resulting Numbers: [2145]
2145,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,4,3
Current State: 97:[60, 38], Operations: ['10+23=33', '5+33=38']
Exploring Operation: 60-38=22, Resulting Numbers: [22]
22,97 unequal: No Solution
Exploring Operation: 60*38=2280, Resulting Numbers: [2280]
2280,97 unequal: No Solution
Exploring Operation: 60+38=98, Resulting Numbers: [98]
98,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,4,4
Current State: 97:[60, 165], Operations: ['10+23=33', '5*33=165']
Exploring Operation: 60+165=225, Resulting Numbers: [225]
225,97 unequal: No Solution
Exploring Operation: 165-60=105, Resulting Numbers: [105]
105,97 unequal: No Solution
Exploring Operation: 60*165=9900, Resulting Numbers: [9900]
9900,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,4,1
Current State: 97:[33, 55], Operations: ['10+23=33', '60-5=55']
Exploring Operation: 55-33=22, Resulting Numbers: [22]
22,97 unequal: No Solution
Exploring Operation: 33+55=88, Resulting Numbers: [88]
88,97 unequal: No Solution
Exploring Operation: 33*55=1815, Resulting Numbers: [1815]
1815,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 97:[60, 105], Operations: ['5*23=115', '115-10=105']
Exploring Operation: 60+105=165, Resulting Numbers: [165]
165,97 unequal: No Solution
Exploring Operation: 60*105=6300, Resulting Numbers: [6300]
6300,97 unequal: No Solution
Exploring Operation: 105-60=45, Resulting Numbers: [45]
45,97 unequal: No Solution
Moving to Node #0,1,2
Current State: 97:[70, 115], Operations: ['10+60=70', '5*23=115']
Exploring Operation: 70+115=185, Resulting Numbers: [185]
185,97 unequal: No Solution
Exploring Operation: 115-70=45, Resulting Numbers: [45]
45,97 unequal: No Solution
Exploring Operation: 70*115=8050, Resulting Numbers: [8050]
8050,97 unequal: No Solution
Moving to Node #0,2,1
Current State: 97:[115, 70], Operations: ['5*23=115', '10+60=70']
Exploring Operation: 115*70=8050, Resulting Numbers: [8050]
8050,97 unequal: No Solution
Exploring Operation: 115+70=185, Resulting Numbers: [185]
185,97 unequal: No Solution
Exploring Operation: 115-70=45, Resulting Numbers: [45]
45,97 unequal: No Solution
Moving to Node #0,2,2
Current State: 97:[115, 50], Operations: ['5*23=115', '60-10=50']
Exploring Operation: 115*50=5750, Resulting Numbers: [5750]
5750,97 unequal: No Solution
Exploring Operation: 115-50=65, Resulting Numbers: [65]
65,97 unequal: No Solution
Exploring Operation: 115+50=165, Resulting Numbers: [165]
165,97 unequal: No Solution
Moving to Node #0,2,4
Current State: 97:[60, 125], Operations: ['5*23=115', '10+115=125']
Exploring Operation: 125-60=65, Resulting Numbers: [65]
65,97 unequal: No Solution
Exploring Operation: 60+125=185, Resulting Numbers: [185]
185,97 unequal: No Solution
Exploring Operation: 60*125=7500, Resulting Numbers: [7500]
7500,97 unequal: No Solution
Moving to Node #0,1,0
Current State: 97:[70, 28], Operations: ['10+60=70', '5+23=28']
Exploring Operation: 70+28=98, Resulting Numbers: [98]
98,97 unequal: No Solution
Exploring Operation: 70*28=1960, Resulting Numbers: [1960]
1960,97 unequal: No Solution
Exploring Operation: 70-28=42, Resulting Numbers: [42]
42,97 unequal: No Solution
Moving to Node #0,1,1
Current State: 97:[5, 93], Operations: ['10+60=70', '23+70=93']
Exploring Operation: 5+93=98, Resulting Numbers: [98]
98,97 unequal: No Solution
Exploring Operation: 93-5=88, Resulting Numbers: [88]
88,97 unequal: No Solution
Exploring Operation: 5*93=465, Resulting Numbers: [465]
465,97 unequal: No Solution
Moving to Node #0,1,4
Current State: 97:[23, 75], Operations: ['10+60=70', '5+70=75']
Exploring Operation: 75-23=52, Resulting Numbers: [52]
52,97 unequal: No Solution
Exploring Operation: 23*75=1725, Resulting Numbers: [1725]
1725,97 unequal: No Solution
Exploring Operation: 23+75=98, Resulting Numbers: [98]
98,97 unequal: No Solution
Moving to Node #0,1,3
Current State: 97:[70, 18], Operations: ['10+60=70', '23-5=18']
Exploring Operation: 70+18=88, Resulting Numbers: [88]
88,97 unequal: No Solution
Exploring Operation: 70-18=52, Resulting Numbers: [52]
52,97 unequal: No Solution
Exploring Operation: 70*18=1260, Resulting Numbers: [1260]
1260,97 unequal: No Solution
Moving to Node #0,2,3
Current State: 97:[115, 6], Operations: ['5*23=115', '60/10=6']
Exploring Operation: 115-6=109, Resulting Numbers: [109]
109,97 unequal: No Solution
Exploring Operation: 115*6=690, Resulting Numbers: [690]
690,97 unequal: No Solution
Exploring Operation: 115+6=121, Resulting Numbers: [121]
121,97 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
98,
27,
68,
40
] | 74 | [
"98*27=2646",
"68*40=2720",
"2720-2646=74"
] | Current State: 74:[98, 27, 68, 40], Operations: []
Exploring Operation: 98*27=2646, Resulting Numbers: [68, 40, 2646]
Generated Node #2: [68, 40, 2646] from Operation: 98*27=2646
Current State: 74:[68, 40, 2646], Operations: ['98*27=2646']
Exploring Operation: 68*40=2720, Resulting Numbers: [2646, 2720]
Generated Node #3: [2646, 2720] from Operation: 68*40=2720
Current State: 74:[2646, 2720], Operations: ['98*27=2646', '68*40=2720']
Exploring Operation: 2720-2646=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[98, 27, 68, 40], Operations: []
Exploring Operation: 98-68=30, Resulting Numbers: [27, 40, 30]
Generated Node #0,0: 74:[27, 40, 30] Operation: 98-68=30
Exploring Operation: 98-40=58, Resulting Numbers: [27, 68, 58]
Generated Node #0,1: 74:[27, 68, 58] Operation: 98-40=58
Exploring Operation: 98-27=71, Resulting Numbers: [68, 40, 71]
Generated Node #0,2: 74:[68, 40, 71] Operation: 98-27=71
Exploring Operation: 68-27=41, Resulting Numbers: [98, 40, 41]
Generated Node #0,3: 74:[98, 40, 41] Operation: 68-27=41
Start Sub Search at level 1: Moving to Node #0,2
Current State: 74:[68, 40, 71], Operations: ['98-27=71']
Exploring Operation: 68-40=28, Resulting Numbers: [71, 28]
Generated Node #0,2,0: 74:[71, 28] Operation: 68-40=28
Exploring Operation: 68+40=108, Resulting Numbers: [71, 108]
Generated Node #0,2,1: 74:[71, 108] Operation: 68+40=108
Exploring Operation: 71-40=31, Resulting Numbers: [68, 31]
Generated Node #0,2,2: 74:[68, 31] Operation: 71-40=31
Exploring Operation: 71-68=3, Resulting Numbers: [40, 3]
Generated Node #0,2,3: 74:[40, 3] Operation: 71-68=3
Moving to Node #0,2,3
Current State: 74:[40, 3], Operations: ['98-27=71', '71-68=3']
Exploring Operation: 40+3=43, Resulting Numbers: [43]
43,74 unequal: No Solution
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,74 unequal: No Solution
Exploring Operation: 40*3=120, Resulting Numbers: [120]
120,74 unequal: No Solution
Moving to Node #0,2,2
Current State: 74:[68, 31], Operations: ['98-27=71', '71-40=31']
Exploring Operation: 68*31=2108, Resulting Numbers: [2108]
2108,74 unequal: No Solution
Exploring Operation: 68-31=37, Resulting Numbers: [37]
37,74 unequal: No Solution
Exploring Operation: 68+31=99, Resulting Numbers: [99]
99,74 unequal: No Solution
Moving to Node #0,2,0
Current State: 74:[71, 28], Operations: ['98-27=71', '68-40=28']
Exploring Operation: 71+28=99, Resulting Numbers: [99]
99,74 unequal: No Solution
Exploring Operation: 71*28=1988, Resulting Numbers: [1988]
1988,74 unequal: No Solution
Exploring Operation: 71-28=43, Resulting Numbers: [43]
43,74 unequal: No Solution
Moving to Node #0,2,1
Current State: 74:[71, 108], Operations: ['98-27=71', '68+40=108']
Exploring Operation: 108-71=37, Resulting Numbers: [37]
37,74 unequal: No Solution
Exploring Operation: 71*108=7668, Resulting Numbers: [7668]
7668,74 unequal: No Solution
Exploring Operation: 71+108=179, Resulting Numbers: [179]
179,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[27, 40, 30], Operations: ['98-68=30']
Exploring Operation: 40-27=13, Resulting Numbers: [30, 13]
Generated Node #0,0,0: 74:[30, 13] Operation: 40-27=13
Exploring Operation: 27+40=67, Resulting Numbers: [30, 67]
Generated Node #0,0,1: 74:[30, 67] Operation: 27+40=67
Exploring Operation: 30-27=3, Resulting Numbers: [40, 3]
Generated Node #0,0,2: 74:[40, 3] Operation: 30-27=3
Exploring Operation: 40+30=70, Resulting Numbers: [27, 70]
Generated Node #0,0,3: 74:[27, 70] Operation: 40+30=70
Moving to Node #0,0,2
Current State: 74:[40, 3], Operations: ['98-68=30', '30-27=3']
Exploring Operation: 40*3=120, Resulting Numbers: [120]
120,74 unequal: No Solution
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,74 unequal: No Solution
Exploring Operation: 40+3=43, Resulting Numbers: [43]
43,74 unequal: No Solution
Moving to Node #0,0,3
Current State: 74:[27, 70], Operations: ['98-68=30', '40+30=70']
Exploring Operation: 27+70=97, Resulting Numbers: [97]
97,74 unequal: No Solution
Exploring Operation: 27*70=1890, Resulting Numbers: [1890]
1890,74 unequal: No Solution
Exploring Operation: 70-27=43, Resulting Numbers: [43]
43,74 unequal: No Solution
Moving to Node #0,0,1
Current State: 74:[30, 67], Operations: ['98-68=30', '27+40=67']
Exploring Operation: 30*67=2010, Resulting Numbers: [2010]
2010,74 unequal: No Solution
Exploring Operation: 67-30=37, Resulting Numbers: [37]
37,74 unequal: No Solution
Exploring Operation: 30+67=97, Resulting Numbers: [97]
97,74 unequal: No Solution
Moving to Node #0,0,0
Current State: 74:[30, 13], Operations: ['98-68=30', '40-27=13']
Exploring Operation: 30*13=390, Resulting Numbers: [390]
390,74 unequal: No Solution
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,74 unequal: No Solution
Exploring Operation: 30+13=43, Resulting Numbers: [43]
43,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 74:[98, 40, 41], Operations: ['68-27=41']
Exploring Operation: 40+41=81, Resulting Numbers: [98, 81]
Generated Node #0,3,0: 74:[98, 81] Operation: 40+41=81
Exploring Operation: 98-41=57, Resulting Numbers: [40, 57]
Generated Node #0,3,1: 74:[40, 57] Operation: 98-41=57
Exploring Operation: 98-40=58, Resulting Numbers: [41, 58]
Generated Node #0,3,2: 74:[41, 58] Operation: 98-40=58
Exploring Operation: 41-40=1, Resulting Numbers: [98, 1]
Generated Node #0,3,3: 74:[98, 1] Operation: 41-40=1
Moving to Node #0,3,1
Current State: 74:[40, 57], Operations: ['68-27=41', '98-41=57']
Exploring Operation: 40*57=2280, Resulting Numbers: [2280]
2280,74 unequal: No Solution
Exploring Operation: 57-40=17, Resulting Numbers: [17]
17,74 unequal: No Solution
Exploring Operation: 40+57=97, Resulting Numbers: [97]
97,74 unequal: No Solution
Moving to Node #0,3,2
Current State: 74:[41, 58], Operations: ['68-27=41', '98-40=58']
Exploring Operation: 58-41=17, Resulting Numbers: [17]
17,74 unequal: No Solution
Exploring Operation: 41+58=99, Resulting Numbers: [99]
99,74 unequal: No Solution
Exploring Operation: 41*58=2378, Resulting Numbers: [2378]
2378,74 unequal: No Solution
Moving to Node #0,3,3
Current State: 74:[98, 1], Operations: ['68-27=41', '41-40=1']
Exploring Operation: 98-1=97, Resulting Numbers: [97]
97,74 unequal: No Solution
Exploring Operation: 98+1=99, Resulting Numbers: [99]
99,74 unequal: No Solution
Exploring Operation: 98/1=98, Resulting Numbers: [98]
98,74 unequal: No Solution
Exploring Operation: 98*1=98, Resulting Numbers: [98]
98,74 unequal: No Solution
Moving to Node #0,3,0
Current State: 74:[98, 81], Operations: ['68-27=41', '40+41=81']
Exploring Operation: 98+81=179, Resulting Numbers: [179]
179,74 unequal: No Solution
Exploring Operation: 98*81=7938, Resulting Numbers: [7938]
7938,74 unequal: No Solution
Exploring Operation: 98-81=17, Resulting Numbers: [17]
17,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 74:[27, 68, 58], Operations: ['98-40=58']
Exploring Operation: 68-58=10, Resulting Numbers: [27, 10]
Generated Node #0,1,0: 74:[27, 10] Operation: 68-58=10
Exploring Operation: 68-27=41, Resulting Numbers: [58, 41]
Generated Node #0,1,1: 74:[58, 41] Operation: 68-27=41
Exploring Operation: 58-27=31, Resulting Numbers: [68, 31]
Generated Node #0,1,2: 74:[68, 31] Operation: 58-27=31
Exploring Operation: 27+58=85, Resulting Numbers: [68, 85]
Generated Node #0,1,3: 74:[68, 85] Operation: 27+58=85
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 74:[68, 31], Operations: ['98-40=58', '58-27=31']
Exploring Operation: 68-31=37, Resulting Numbers: [37]
37,74 unequal: No Solution
Exploring Operation: 68*31=2108, Resulting Numbers: [2108]
2108,74 unequal: No Solution
Exploring Operation: 68+31=99, Resulting Numbers: [99]
99,74 unequal: No Solution
No 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: 74:[68, 85], Operations: ['98-40=58', '27+58=85']
Exploring Operation: 68*85=5780, Resulting Numbers: [5780]
5780,74 unequal: No Solution
Exploring Operation: 68+85=153, Resulting Numbers: [153]
153,74 unequal: No Solution
Exploring Operation: 85-68=17, Resulting Numbers: [17]
17,74 unequal: No Solution
No 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: 74:[27, 10], Operations: ['98-40=58', '68-58=10']
Exploring Operation: 27*10=270, Resulting Numbers: [270]
270,74 unequal: No Solution
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,74 unequal: No Solution
Exploring Operation: 27+10=37, Resulting Numbers: [37]
37,74 unequal: No Solution
No 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: 74:[58, 41], Operations: ['98-40=58', '68-27=41']
Exploring Operation: 58-41=17, Resulting Numbers: [17]
17,74 unequal: No Solution
Exploring Operation: 58+41=99, Resulting Numbers: [99]
99,74 unequal: No Solution
Exploring Operation: 58*41=2378, Resulting Numbers: [2378]
2378,74 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 |
[
90,
98,
69,
23
] | 24 | [
"98-90=8",
"69/23=3",
"8*3=24"
] | Current State: 24:[90, 98, 69, 23], Operations: []
Exploring Operation: 98-90=8, Resulting Numbers: [69, 23, 8]
Generated Node #2: [69, 23, 8] from Operation: 98-90=8
Current State: 24:[69, 23, 8], Operations: ['98-90=8']
Exploring Operation: 69/23=3, Resulting Numbers: [8, 3]
Generated Node #3: [8, 3] from Operation: 69/23=3
Current State: 24:[8, 3], Operations: ['98-90=8', '69/23=3']
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[90, 98, 69, 23], Operations: []
Exploring Operation: 98-69=29, Resulting Numbers: [90, 23, 29]
Generated Node #0,0: 24:[90, 23, 29] Operation: 98-69=29
Exploring Operation: 98-90=8, Resulting Numbers: [69, 23, 8]
Generated Node #0,1: 24:[69, 23, 8] Operation: 98-90=8
Start Sub Search at level 1: Moving to Node #0,1
Current State: 24:[69, 23, 8], Operations: ['98-90=8']
Exploring Operation: 69/23=3, Resulting Numbers: [8, 3]
Generated Node #0,1,0: 24:[8, 3] Operation: 69/23=3
Exploring Operation: 69-23=46, Resulting Numbers: [8, 46]
Generated Node #0,1,1: 24:[8, 46] Operation: 69-23=46
Moving to Node #0,1,0
Current State: 24:[8, 3], Operations: ['98-90=8', '69/23=3']
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[90, 98, 69, 23], Operations: []
Exploring Operation: 98-90=8, Resulting Numbers: [69, 23, 8]
Generated Node #0,1: 24:[69, 23, 8] Operation: 98-90=8
Moving to Node #0,1
Current State: 24:[69, 23, 8], Operations: ['98-90=8']
Exploring Operation: 69/23=3, Resulting Numbers: [8, 3]
Generated Node #0,1,0: 24:[8, 3] Operation: 69/23=3
Moving to Node #0,1,0
Current State: 24:[8, 3], Operations: ['98-90=8', '69/23=3']
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
25,
33,
46,
95
] | 20 | [
"25*33=825",
"95+825=920",
"920/46=20"
] | Current State: 20:[25, 33, 46, 95], Operations: []
Exploring Operation: 25*33=825, Resulting Numbers: [46, 95, 825]
Generated Node #2: [46, 95, 825] from Operation: 25*33=825
Current State: 20:[46, 95, 825], Operations: ['25*33=825']
Exploring Operation: 95+825=920, Resulting Numbers: [46, 920]
Generated Node #3: [46, 920] from Operation: 95+825=920
Current State: 20:[46, 920], Operations: ['25*33=825', '95+825=920']
Exploring Operation: 920/46=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[25, 33, 46, 95], Operations: []
Exploring Operation: 46-33=13, Resulting Numbers: [25, 95, 13]
Generated Node #0,0: 20:[25, 95, 13] Operation: 46-33=13
Exploring Operation: 95-33=62, Resulting Numbers: [25, 46, 62]
Generated Node #0,1: 20:[25, 46, 62] Operation: 95-33=62
Exploring Operation: 95-46=49, Resulting Numbers: [25, 33, 49]
Generated Node #0,2: 20:[25, 33, 49] Operation: 95-46=49
Start Sub Search at level 1: Moving to Node #0,2
Current State: 20:[25, 33, 49], Operations: ['95-46=49']
Exploring Operation: 49-33=16, Resulting Numbers: [25, 16]
Generated Node #0,2,0: 20:[25, 16] Operation: 49-33=16
Exploring Operation: 49-25=24, Resulting Numbers: [33, 24]
Generated Node #0,2,1: 20:[33, 24] Operation: 49-25=24
Exploring Operation: 33-25=8, Resulting Numbers: [49, 8]
Generated Node #0,2,2: 20:[49, 8] Operation: 33-25=8
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 20:[25, 16], Operations: ['95-46=49', '49-33=16']
Exploring Operation: 25+16=41, Resulting Numbers: [41]
41,20 unequal: No Solution
Exploring Operation: 25*16=400, Resulting Numbers: [400]
400,20 unequal: No Solution
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 20:[33, 24], Operations: ['95-46=49', '49-25=24']
Exploring Operation: 33+24=57, Resulting Numbers: [57]
57,20 unequal: No Solution
Exploring Operation: 33-24=9, Resulting Numbers: [9]
9,20 unequal: No Solution
Exploring Operation: 33*24=792, Resulting Numbers: [792]
792,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 20:[49, 8], Operations: ['95-46=49', '33-25=8']
Exploring Operation: 49*8=392, Resulting Numbers: [392]
392,20 unequal: No Solution
Exploring Operation: 49-8=41, Resulting Numbers: [41]
41,20 unequal: No Solution
Exploring Operation: 49+8=57, Resulting Numbers: [57]
57,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 20:[25, 46, 62], Operations: ['95-33=62']
Exploring Operation: 62-25=37, Resulting Numbers: [46, 37]
Generated Node #0,1,0: 20:[46, 37] Operation: 62-25=37
Exploring Operation: 62-46=16, Resulting Numbers: [25, 16]
Generated Node #0,1,1: 20:[25, 16] Operation: 62-46=16
Exploring Operation: 46-25=21, Resulting Numbers: [62, 21]
Generated Node #0,1,2: 20:[62, 21] Operation: 46-25=21
Moving to Node #0,1,1
Current State: 20:[25, 16], Operations: ['95-33=62', '62-46=16']
Exploring Operation: 25*16=400, Resulting Numbers: [400]
400,20 unequal: No Solution
Exploring Operation: 25+16=41, Resulting Numbers: [41]
41,20 unequal: No Solution
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,20 unequal: No Solution
Moving to Node #0,1,0
Current State: 20:[46, 37], Operations: ['95-33=62', '62-25=37']
Exploring Operation: 46-37=9, Resulting Numbers: [9]
9,20 unequal: No Solution
Exploring Operation: 46*37=1702, Resulting Numbers: [1702]
1702,20 unequal: No Solution
Exploring Operation: 46+37=83, Resulting Numbers: [83]
83,20 unequal: No Solution
Moving to Node #0,1,2
Current State: 20:[62, 21], Operations: ['95-33=62', '46-25=21']
Exploring Operation: 62+21=83, Resulting Numbers: [83]
83,20 unequal: No Solution
Exploring Operation: 62-21=41, Resulting Numbers: [41]
41,20 unequal: No Solution
Exploring Operation: 62*21=1302, Resulting Numbers: [1302]
1302,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[25, 95, 13], Operations: ['46-33=13']
Exploring Operation: 95-13=82, Resulting Numbers: [25, 82]
Generated Node #0,0,0: 20:[25, 82] Operation: 95-13=82
Exploring Operation: 95-25=70, Resulting Numbers: [13, 70]
Generated Node #0,0,1: 20:[13, 70] Operation: 95-25=70
Exploring Operation: 25-13=12, Resulting Numbers: [95, 12]
Generated Node #0,0,2: 20:[95, 12] Operation: 25-13=12
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 20:[13, 70], Operations: ['46-33=13', '95-25=70']
Exploring Operation: 70-13=57, Resulting Numbers: [57]
57,20 unequal: No Solution
Exploring Operation: 13+70=83, Resulting Numbers: [83]
83,20 unequal: No Solution
Exploring Operation: 13*70=910, Resulting Numbers: [910]
910,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,0,0
Current State: 20:[25, 82], Operations: ['46-33=13', '95-13=82']
Exploring Operation: 25+82=107, Resulting Numbers: [107]
107,20 unequal: No Solution
Exploring Operation: 82-25=57, Resulting Numbers: [57]
57,20 unequal: No Solution
Exploring Operation: 25*82=2050, Resulting Numbers: [2050]
2050,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,0,2
Current State: 20:[95, 12], Operations: ['46-33=13', '25-13=12']
Exploring Operation: 95-12=83, Resulting Numbers: [83]
83,20 unequal: No Solution
Exploring Operation: 95+12=107, Resulting Numbers: [107]
107,20 unequal: No Solution
Exploring Operation: 95*12=1140, Resulting Numbers: [1140]
1140,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
32,
52,
13,
40
] | 57 | [
"32+52=84",
"40-13=27",
"84-27=57"
] | Current State: 57:[32, 52, 13, 40], Operations: []
Exploring Operation: 32+52=84, Resulting Numbers: [13, 40, 84]
Generated Node #2: [13, 40, 84] from Operation: 32+52=84
Current State: 57:[13, 40, 84], Operations: ['32+52=84']
Exploring Operation: 40-13=27, Resulting Numbers: [84, 27]
Generated Node #3: [84, 27] from Operation: 40-13=27
Current State: 57:[84, 27], Operations: ['32+52=84', '40-13=27']
Exploring Operation: 84-27=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[32, 52, 13, 40], Operations: []
Exploring Operation: 40-32=8, Resulting Numbers: [52, 13, 8]
Generated Node #0,0: 57:[52, 13, 8] Operation: 40-32=8
Exploring Operation: 13+40=53, Resulting Numbers: [32, 52, 53]
Generated Node #0,1: 57:[32, 52, 53] Operation: 13+40=53
Exploring Operation: 32-13=19, Resulting Numbers: [52, 40, 19]
Generated Node #0,2: 57:[52, 40, 19] Operation: 32-13=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[52, 13, 8], Operations: ['40-32=8']
Exploring Operation: 13+8=21, Resulting Numbers: [52, 21]
Generated Node #0,0,0: 57:[52, 21] Operation: 13+8=21
Exploring Operation: 52/13=4, Resulting Numbers: [8, 4]
Generated Node #0,0,1: 57:[8, 4] Operation: 52/13=4
Exploring Operation: 13-8=5, Resulting Numbers: [52, 5]
Generated Node #0,0,2: 57:[52, 5] Operation: 13-8=5
Moving to Node #0,0,1
Current State: 57:[8, 4], Operations: ['40-32=8', '52/13=4']
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,57 unequal: No Solution
Exploring Operation: 8+4=12, Resulting Numbers: [12]
12,57 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Moving to Node #0,0,0
Current State: 57:[52, 21], Operations: ['40-32=8', '13+8=21']
Exploring Operation: 52+21=73, Resulting Numbers: [73]
73,57 unequal: No Solution
Exploring Operation: 52-21=31, Resulting Numbers: [31]
31,57 unequal: No Solution
Exploring Operation: 52*21=1092, Resulting Numbers: [1092]
1092,57 unequal: No Solution
Moving to Node #0,0,2
Current State: 57:[52, 5], Operations: ['40-32=8', '13-8=5']
Exploring Operation: 52-5=47, Resulting Numbers: [47]
47,57 unequal: No Solution
Exploring Operation: 52+5=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[32, 52, 13, 40], Operations: []
Exploring Operation: 40-32=8, Resulting Numbers: [52, 13, 8]
Generated Node #0,0: 57:[52, 13, 8] Operation: 40-32=8
Moving to Node #0,0
Current State: 57:[52, 13, 8], Operations: ['40-32=8']
Exploring Operation: 13-8=5, Resulting Numbers: [52, 5]
Generated Node #0,0,2: 57:[52, 5] Operation: 13-8=5
Moving to Node #0,0,2
Current State: 57:[52, 5], Operations: ['40-32=8', '13-8=5']
Exploring Operation: 52+5=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | sum_heuristic |
[
24,
76,
78,
46
] | 47 | [
"78-76=2",
"46/2=23",
"24+23=47"
] | Current State: 47:[24, 76, 78, 46], Operations: []
Exploring Operation: 78-76=2, Resulting Numbers: [24, 46, 2]
Generated Node #2: [24, 46, 2] from Operation: 78-76=2
Current State: 47:[24, 46, 2], Operations: ['78-76=2']
Exploring Operation: 46/2=23, Resulting Numbers: [24, 23]
Generated Node #3: [24, 23] from Operation: 46/2=23
Current State: 47:[24, 23], Operations: ['78-76=2', '46/2=23']
Exploring Operation: 24+23=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[24, 76, 78, 46], Operations: []
Exploring Operation: 78-46=32, Resulting Numbers: [24, 76, 32]
Generated Node #0,0: 47:[24, 76, 32] Operation: 78-46=32
Exploring Operation: 78-24=54, Resulting Numbers: [76, 46, 54]
Generated Node #0,1: 47:[76, 46, 54] Operation: 78-24=54
Exploring Operation: 76-24=52, Resulting Numbers: [78, 46, 52]
Generated Node #0,2: 47:[78, 46, 52] Operation: 76-24=52
Moving to Node #0,1
Current State: 47:[76, 46, 54], Operations: ['78-24=54']
Exploring Operation: 54-46=8, Resulting Numbers: [76, 8]
Generated Node #0,1,0: 47:[76, 8] Operation: 54-46=8
Exploring Operation: 76-46=30, Resulting Numbers: [54, 30]
Generated Node #0,1,1: 47:[54, 30] Operation: 76-46=30
Exploring Operation: 76-54=22, Resulting Numbers: [46, 22]
Generated Node #0,1,2: 47:[46, 22] Operation: 76-54=22
Moving to Node #0,2
Current State: 47:[78, 46, 52], Operations: ['76-24=52']
Exploring Operation: 78-52=26, Resulting Numbers: [46, 26]
Generated Node #0,2,0: 47:[46, 26] Operation: 78-52=26
Exploring Operation: 78-46=32, Resulting Numbers: [52, 32]
Generated Node #0,2,1: 47:[52, 32] Operation: 78-46=32
Exploring Operation: 52-46=6, Resulting Numbers: [78, 6]
Generated Node #0,2,2: 47:[78, 6] Operation: 52-46=6
Moving to Node #0,0
Current State: 47:[24, 76, 32], Operations: ['78-46=32']
Exploring Operation: 76-32=44, Resulting Numbers: [24, 44]
Generated Node #0,0,0: 47:[24, 44] Operation: 76-32=44
Exploring Operation: 76-24=52, Resulting Numbers: [32, 52]
Generated Node #0,0,1: 47:[32, 52] Operation: 76-24=52
Exploring Operation: 24+32=56, Resulting Numbers: [76, 56]
Generated Node #0,0,2: 47:[76, 56] Operation: 24+32=56
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 47:[32, 52], Operations: ['78-46=32', '76-24=52']
Exploring Operation: 52-32=20, Resulting Numbers: [20]
20,47 unequal: No Solution
Exploring Operation: 32+52=84, Resulting Numbers: [84]
84,47 unequal: No Solution
Exploring Operation: 32*52=1664, Resulting Numbers: [1664]
1664,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 47:[24, 44], Operations: ['78-46=32', '76-32=44']
Exploring Operation: 24+44=68, Resulting Numbers: [68]
68,47 unequal: No Solution
Exploring Operation: 44-24=20, Resulting Numbers: [20]
20,47 unequal: No Solution
Exploring Operation: 24*44=1056, Resulting Numbers: [1056]
1056,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 47:[76, 56], Operations: ['78-46=32', '24+32=56']
Exploring Operation: 76+56=132, Resulting Numbers: [132]
132,47 unequal: No Solution
Exploring Operation: 76*56=4256, Resulting Numbers: [4256]
4256,47 unequal: No Solution
Exploring Operation: 76-56=20, Resulting Numbers: [20]
20,47 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: 47:[52, 32], Operations: ['76-24=52', '78-46=32']
Exploring Operation: 52*32=1664, Resulting Numbers: [1664]
1664,47 unequal: No Solution
Exploring Operation: 52-32=20, Resulting Numbers: [20]
20,47 unequal: No Solution
Exploring Operation: 52+32=84, Resulting Numbers: [84]
84,47 unequal: No Solution
Moving to Node #0,2,0
Current State: 47:[46, 26], Operations: ['76-24=52', '78-52=26']
Exploring Operation: 46*26=1196, Resulting Numbers: [1196]
1196,47 unequal: No Solution
Exploring Operation: 46+26=72, Resulting Numbers: [72]
72,47 unequal: No Solution
Exploring Operation: 46-26=20, Resulting Numbers: [20]
20,47 unequal: No Solution
Moving to Node #0,1,1
Current State: 47:[54, 30], Operations: ['78-24=54', '76-46=30']
Exploring Operation: 54+30=84, Resulting Numbers: [84]
84,47 unequal: No Solution
Exploring Operation: 54*30=1620, Resulting Numbers: [1620]
1620,47 unequal: No Solution
Exploring Operation: 54-30=24, Resulting Numbers: [24]
24,47 unequal: No Solution
Moving to Node #0,1,2
Current State: 47:[46, 22], Operations: ['78-24=54', '76-54=22']
Exploring Operation: 46*22=1012, Resulting Numbers: [1012]
1012,47 unequal: No Solution
Exploring Operation: 46+22=68, Resulting Numbers: [68]
68,47 unequal: No Solution
Exploring Operation: 46-22=24, Resulting Numbers: [24]
24,47 unequal: No Solution
Moving to Node #0,1,0
Current State: 47:[76, 8], Operations: ['78-24=54', '54-46=8']
Exploring Operation: 76+8=84, Resulting Numbers: [84]
84,47 unequal: No Solution
Exploring Operation: 76-8=68, Resulting Numbers: [68]
68,47 unequal: No Solution
Exploring Operation: 76*8=608, Resulting Numbers: [608]
608,47 unequal: No Solution
Moving to Node #0,2,2
Current State: 47:[78, 6], Operations: ['76-24=52', '52-46=6']
Exploring Operation: 78+6=84, Resulting Numbers: [84]
84,47 unequal: No Solution
Exploring Operation: 78-6=72, Resulting Numbers: [72]
72,47 unequal: No Solution
Exploring Operation: 78/6=13, Resulting Numbers: [13]
13,47 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
75,
88,
75,
15
] | 77 | [
"88-75=13",
"75+15=90",
"90-13=77"
] | Current State: 77:[75, 88, 75, 15], Operations: []
Exploring Operation: 88-75=13, Resulting Numbers: [15, 13]
Generated Node #2: [15, 13] from Operation: 88-75=13
Current State: 77:[15, 13], Operations: ['88-75=13']
Exploring Operation: 75+15=90, Resulting Numbers: [13, 90]
Generated Node #3: [13, 90] from Operation: 75+15=90
Current State: 77:[13, 90], Operations: ['88-75=13', '75+15=90']
Exploring Operation: 90-13=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[75, 88, 75, 15], Operations: []
Exploring Operation: 88-75=13, Resulting Numbers: [75, 15, 13]
Generated Node #0,0: 77:[75, 15, 13] Operation: 88-75=13
Exploring Operation: 88-75=13, Resulting Numbers: [75, 15, 13]
Generated Node #0,1: 77:[75, 15, 13] Operation: 88-75=13
Moving to Node #0,0
Current State: 77:[75, 15, 13], Operations: ['88-75=13']
Exploring Operation: 15-13=2, Resulting Numbers: [75, 2]
Generated Node #0,0,0: 77:[75, 2] Operation: 15-13=2
Exploring Operation: 75/15=5, Resulting Numbers: [13, 5]
Generated Node #0,0,1: 77:[13, 5] Operation: 75/15=5
Moving to Node #0,1
Current State: 77:[75, 15, 13], Operations: ['88-75=13']
Exploring Operation: 15-13=2, Resulting Numbers: [75, 2]
Generated Node #0,1,0: 77:[75, 2] Operation: 15-13=2
Exploring Operation: 75/15=5, Resulting Numbers: [13, 5]
Generated Node #0,1,1: 77:[13, 5] Operation: 75/15=5
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 77:[13, 5], Operations: ['88-75=13', '75/15=5']
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,77 unequal: No Solution
Exploring Operation: 13+5=18, Resulting Numbers: [18]
18,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 77:[75, 2], Operations: ['88-75=13', '15-13=2']
Exploring Operation: 75+2=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[75, 88, 75, 15], Operations: []
Exploring Operation: 88-75=13, Resulting Numbers: [75, 15, 13]
Generated Node #0,1: 77:[75, 15, 13] Operation: 88-75=13
Moving to Node #0,1
Current State: 77:[75, 15, 13], Operations: ['88-75=13']
Exploring Operation: 15-13=2, Resulting Numbers: [75, 2]
Generated Node #0,1,0: 77:[75, 2] Operation: 15-13=2
Moving to Node #0,1,0
Current State: 77:[75, 2], Operations: ['88-75=13', '15-13=2']
Exploring Operation: 75+2=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_2 | mult_heuristic |
[
78,
17,
30,
35
] | 19 | [
"78+17=95",
"35-30=5",
"95/5=19"
] | Current State: 19:[78, 17, 30, 35], Operations: []
Exploring Operation: 78+17=95, Resulting Numbers: [30, 35, 95]
Generated Node #2: [30, 35, 95] from Operation: 78+17=95
Current State: 19:[30, 35, 95], Operations: ['78+17=95']
Exploring Operation: 35-30=5, Resulting Numbers: [95, 5]
Generated Node #3: [95, 5] from Operation: 35-30=5
Current State: 19:[95, 5], Operations: ['78+17=95', '35-30=5']
Exploring Operation: 95/5=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[78, 17, 30, 35], Operations: []
Exploring Operation: 78-30=48, Resulting Numbers: [17, 35, 48]
Generated Node #0,0: 19:[17, 35, 48] Operation: 78-30=48
Exploring Operation: 78-17=61, Resulting Numbers: [30, 35, 61]
Generated Node #0,1: 19:[30, 35, 61] Operation: 78-17=61
Exploring Operation: 78-35=43, Resulting Numbers: [17, 30, 43]
Generated Node #0,2: 19:[17, 30, 43] Operation: 78-35=43
Start Sub Search at level 1: Moving to Node #0,2
Current State: 19:[17, 30, 43], Operations: ['78-35=43']
Exploring Operation: 43-30=13, Resulting Numbers: [17, 13]
Generated Node #0,2,0: 19:[17, 13] Operation: 43-30=13
Exploring Operation: 30-17=13, Resulting Numbers: [43, 13]
Generated Node #0,2,1: 19:[43, 13] Operation: 30-17=13
Exploring Operation: 43-17=26, Resulting Numbers: [30, 26]
Generated Node #0,2,2: 19:[30, 26] Operation: 43-17=26
Moving to Node #0,2,0
Current State: 19:[17, 13], Operations: ['78-35=43', '43-30=13']
Exploring Operation: 17+13=30, Resulting Numbers: [30]
30,19 unequal: No Solution
Exploring Operation: 17*13=221, Resulting Numbers: [221]
221,19 unequal: No Solution
Exploring Operation: 17-13=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Moving to Node #0,2,2
Current State: 19:[30, 26], Operations: ['78-35=43', '43-17=26']
Exploring Operation: 30+26=56, Resulting Numbers: [56]
56,19 unequal: No Solution
Exploring Operation: 30-26=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Exploring Operation: 30*26=780, Resulting Numbers: [780]
780,19 unequal: No Solution
Moving to Node #0,2,1
Current State: 19:[43, 13], Operations: ['78-35=43', '30-17=13']
Exploring Operation: 43+13=56, Resulting Numbers: [56]
56,19 unequal: No Solution
Exploring Operation: 43-13=30, Resulting Numbers: [30]
30,19 unequal: No Solution
Exploring Operation: 43*13=559, Resulting Numbers: [559]
559,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[17, 35, 48], Operations: ['78-30=48']
Exploring Operation: 48-35=13, Resulting Numbers: [17, 13]
Generated Node #0,0,0: 19:[17, 13] Operation: 48-35=13
Exploring Operation: 35-17=18, Resulting Numbers: [48, 18]
Generated Node #0,0,1: 19:[48, 18] Operation: 35-17=18
Exploring Operation: 48-17=31, Resulting Numbers: [35, 31]
Generated Node #0,0,2: 19:[35, 31] Operation: 48-17=31
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 19:[17, 13], Operations: ['78-30=48', '48-35=13']
Exploring Operation: 17+13=30, Resulting Numbers: [30]
30,19 unequal: No Solution
Exploring Operation: 17-13=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Exploring Operation: 17*13=221, Resulting Numbers: [221]
221,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 19:[35, 31], Operations: ['78-30=48', '48-17=31']
Exploring Operation: 35*31=1085, Resulting Numbers: [1085]
1085,19 unequal: No Solution
Exploring Operation: 35+31=66, Resulting Numbers: [66]
66,19 unequal: No Solution
Exploring Operation: 35-31=4, Resulting Numbers: [4]
4,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:[48, 18], Operations: ['78-30=48', '35-17=18']
Exploring Operation: 48+18=66, Resulting Numbers: [66]
66,19 unequal: No Solution
Exploring Operation: 48*18=864, Resulting Numbers: [864]
864,19 unequal: No Solution
Exploring Operation: 48-18=30, Resulting Numbers: [30]
30,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[30, 35, 61], Operations: ['78-17=61']
Exploring Operation: 35-30=5, Resulting Numbers: [61, 5]
Generated Node #0,1,0: 19:[61, 5] Operation: 35-30=5
Exploring Operation: 61-35=26, Resulting Numbers: [30, 26]
Generated Node #0,1,1: 19:[30, 26] Operation: 61-35=26
Exploring Operation: 61-30=31, Resulting Numbers: [35, 31]
Generated Node #0,1,2: 19:[35, 31] Operation: 61-30=31
Moving to Node #0,1,1
Current State: 19:[30, 26], Operations: ['78-17=61', '61-35=26']
Exploring Operation: 30-26=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Exploring Operation: 30*26=780, Resulting Numbers: [780]
780,19 unequal: No Solution
Exploring Operation: 30+26=56, Resulting Numbers: [56]
56,19 unequal: No Solution
Moving to Node #0,1,2
Current State: 19:[35, 31], Operations: ['78-17=61', '61-30=31']
Exploring Operation: 35*31=1085, Resulting Numbers: [1085]
1085,19 unequal: No Solution
Exploring Operation: 35-31=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Exploring Operation: 35+31=66, Resulting Numbers: [66]
66,19 unequal: No Solution
Moving to Node #0,1,0
Current State: 19:[61, 5], Operations: ['78-17=61', '35-30=5']
Exploring Operation: 61*5=305, Resulting Numbers: [305]
305,19 unequal: No Solution
Exploring Operation: 61-5=56, Resulting Numbers: [56]
56,19 unequal: No Solution
Exploring Operation: 61+5=66, Resulting Numbers: [66]
66,19 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 |
[
79,
27,
48,
9
] | 65 | [
"27*48=1296",
"1296/9=144",
"144-79=65"
] | Current State: 65:[79, 27, 48, 9], Operations: []
Exploring Operation: 27*48=1296, Resulting Numbers: [79, 9, 1296]
Generated Node #2: [79, 9, 1296] from Operation: 27*48=1296
Current State: 65:[79, 9, 1296], Operations: ['27*48=1296']
Exploring Operation: 1296/9=144, Resulting Numbers: [79, 144]
Generated Node #3: [79, 144] from Operation: 1296/9=144
Current State: 65:[79, 144], Operations: ['27*48=1296', '1296/9=144']
Exploring Operation: 144-79=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[79, 27, 48, 9], Operations: []
Exploring Operation: 27/9=3, Resulting Numbers: [79, 48, 3]
Generated Node #0,0: 65:[79, 48, 3] Operation: 27/9=3
Exploring Operation: 48-27=21, Resulting Numbers: [79, 9, 21]
Generated Node #0,1: 65:[79, 9, 21] Operation: 48-27=21
Exploring Operation: 27+48=75, Resulting Numbers: [79, 9, 75]
Generated Node #0,2: 65:[79, 9, 75] Operation: 27+48=75
Exploring Operation: 79-27=52, Resulting Numbers: [48, 9, 52]
Generated Node #0,3: 65:[48, 9, 52] Operation: 79-27=52
Exploring Operation: 79-48=31, Resulting Numbers: [27, 9, 31]
Generated Node #0,4: 65:[27, 9, 31] Operation: 79-48=31
Start Sub Search at level 1: Moving to Node #0,1
Current State: 65:[79, 9, 21], Operations: ['48-27=21']
Exploring Operation: 79+9=88, Resulting Numbers: [21, 88]
Generated Node #0,1,0: 65:[21, 88] Operation: 79+9=88
Exploring Operation: 9+21=30, Resulting Numbers: [79, 30]
Generated Node #0,1,1: 65:[79, 30] Operation: 9+21=30
Exploring Operation: 79-21=58, Resulting Numbers: [9, 58]
Generated Node #0,1,2: 65:[9, 58] Operation: 79-21=58
Exploring Operation: 79-9=70, Resulting Numbers: [21, 70]
Generated Node #0,1,3: 65:[21, 70] Operation: 79-9=70
Exploring Operation: 21-9=12, Resulting Numbers: [79, 12]
Generated Node #0,1,4: 65:[79, 12] Operation: 21-9=12
Moving to Node #0,1,2
Current State: 65:[9, 58], Operations: ['48-27=21', '79-21=58']
Exploring Operation: 9*58=522, Resulting Numbers: [522]
522,65 unequal: No Solution
Exploring Operation: 9+58=67, Resulting Numbers: [67]
67,65 unequal: No Solution
Exploring Operation: 58-9=49, Resulting Numbers: [49]
49,65 unequal: No Solution
Moving to Node #0,1,3
Current State: 65:[21, 70], Operations: ['48-27=21', '79-9=70']
Exploring Operation: 70-21=49, Resulting Numbers: [49]
49,65 unequal: No Solution
Exploring Operation: 21+70=91, Resulting Numbers: [91]
91,65 unequal: No Solution
Exploring Operation: 21*70=1470, Resulting Numbers: [1470]
1470,65 unequal: No Solution
Moving to Node #0,1,4
Current State: 65:[79, 12], Operations: ['48-27=21', '21-9=12']
Exploring Operation: 79+12=91, Resulting Numbers: [91]
91,65 unequal: No Solution
Exploring Operation: 79*12=948, Resulting Numbers: [948]
948,65 unequal: No Solution
Exploring Operation: 79-12=67, Resulting Numbers: [67]
67,65 unequal: No Solution
Moving to Node #0,1,0
Current State: 65:[21, 88], Operations: ['48-27=21', '79+9=88']
Exploring Operation: 21*88=1848, Resulting Numbers: [1848]
1848,65 unequal: No Solution
Exploring Operation: 21+88=109, Resulting Numbers: [109]
109,65 unequal: No Solution
Exploring Operation: 88-21=67, Resulting Numbers: [67]
67,65 unequal: No Solution
Moving to Node #0,1,1
Current State: 65:[79, 30], Operations: ['48-27=21', '9+21=30']
Exploring Operation: 79+30=109, Resulting Numbers: [109]
109,65 unequal: No Solution
Exploring Operation: 79*30=2370, Resulting Numbers: [2370]
2370,65 unequal: No Solution
Exploring Operation: 79-30=49, Resulting Numbers: [49]
49,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:[79, 9, 75], Operations: ['27+48=75']
Exploring Operation: 79+9=88, Resulting Numbers: [75, 88]
Generated Node #0,2,0: 65:[75, 88] Operation: 79+9=88
Exploring Operation: 79-9=70, Resulting Numbers: [75, 70]
Generated Node #0,2,1: 65:[75, 70] Operation: 79-9=70
Exploring Operation: 75-9=66, Resulting Numbers: [79, 66]
Generated Node #0,2,2: 65:[79, 66] Operation: 75-9=66
Exploring Operation: 9+75=84, Resulting Numbers: [79, 84]
Generated Node #0,2,3: 65:[79, 84] Operation: 9+75=84
Exploring Operation: 79-75=4, Resulting Numbers: [9, 4]
Generated Node #0,2,4: 65:[9, 4] Operation: 79-75=4
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 65:[9, 4], Operations: ['27+48=75', '79-75=4']
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Exploring Operation: 9*4=36, Resulting Numbers: [36]
36,65 unequal: No Solution
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,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,2,1
Current State: 65:[75, 70], Operations: ['27+48=75', '79-9=70']
Exploring Operation: 75+70=145, Resulting Numbers: [145]
145,65 unequal: No Solution
Exploring Operation: 75-70=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Exploring Operation: 75*70=5250, Resulting Numbers: [5250]
5250,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,2,2
Current State: 65:[79, 66], Operations: ['27+48=75', '75-9=66']
Exploring Operation: 79-66=13, Resulting Numbers: [13]
13,65 unequal: No Solution
Exploring Operation: 79+66=145, Resulting Numbers: [145]
145,65 unequal: No Solution
Exploring Operation: 79*66=5214, Resulting Numbers: [5214]
5214,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,2,0
Current State: 65:[75, 88], Operations: ['27+48=75', '79+9=88']
Exploring Operation: 88-75=13, Resulting Numbers: [13]
13,65 unequal: No Solution
Exploring Operation: 75*88=6600, Resulting Numbers: [6600]
6600,65 unequal: No Solution
Exploring Operation: 75+88=163, Resulting Numbers: [163]
163,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,2,3
Current State: 65:[79, 84], Operations: ['27+48=75', '9+75=84']
Exploring Operation: 84-79=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Exploring Operation: 79*84=6636, Resulting Numbers: [6636]
6636,65 unequal: No Solution
Exploring Operation: 79+84=163, Resulting Numbers: [163]
163,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,0
Current State: 65:[79, 48, 3], Operations: ['27/9=3']
Exploring Operation: 79+3=82, Resulting Numbers: [48, 82]
Generated Node #0,0,0: 65:[48, 82] Operation: 79+3=82
Exploring Operation: 48/3=16, Resulting Numbers: [79, 16]
Generated Node #0,0,1: 65:[79, 16] Operation: 48/3=16
Exploring Operation: 48+3=51, Resulting Numbers: [79, 51]
Generated Node #0,0,2: 65:[79, 51] Operation: 48+3=51
Exploring Operation: 79-3=76, Resulting Numbers: [48, 76]
Generated Node #0,0,3: 65:[48, 76] Operation: 79-3=76
Exploring Operation: 79-48=31, Resulting Numbers: [3, 31]
Generated Node #0,0,4: 65:[3, 31] Operation: 79-48=31
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 65:[79, 16], Operations: ['27/9=3', '48/3=16']
Exploring Operation: 79*16=1264, Resulting Numbers: [1264]
1264,65 unequal: No Solution
Exploring Operation: 79+16=95, Resulting Numbers: [95]
95,65 unequal: No Solution
Exploring Operation: 79-16=63, Resulting Numbers: [63]
63,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,4
Current State: 65:[3, 31], Operations: ['27/9=3', '79-48=31']
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,65 unequal: No Solution
Exploring Operation: 3*31=93, Resulting Numbers: [93]
93,65 unequal: No Solution
Exploring Operation: 3+31=34, Resulting Numbers: [34]
34,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:[79, 51], Operations: ['27/9=3', '48+3=51']
Exploring Operation: 79-51=28, Resulting Numbers: [28]
28,65 unequal: No Solution
Exploring Operation: 79+51=130, Resulting Numbers: [130]
130,65 unequal: No Solution
Exploring Operation: 79*51=4029, Resulting Numbers: [4029]
4029,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,3
Current State: 65:[48, 76], Operations: ['27/9=3', '79-3=76']
Exploring Operation: 48*76=3648, Resulting Numbers: [3648]
3648,65 unequal: No Solution
Exploring Operation: 48+76=124, Resulting Numbers: [124]
124,65 unequal: No Solution
Exploring Operation: 76-48=28, Resulting Numbers: [28]
28,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,0
Current State: 65:[48, 82], Operations: ['27/9=3', '79+3=82']
Exploring Operation: 48*82=3936, Resulting Numbers: [3936]
3936,65 unequal: No Solution
Exploring Operation: 48+82=130, Resulting Numbers: [130]
130,65 unequal: No Solution
Exploring Operation: 82-48=34, Resulting Numbers: [34]
34,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,3
Current State: 65:[48, 9, 52], Operations: ['79-27=52']
Exploring Operation: 48+52=100, Resulting Numbers: [9, 100]
Generated Node #0,3,0: 65:[9, 100] Operation: 48+52=100
Exploring Operation: 52-48=4, Resulting Numbers: [9, 4]
Generated Node #0,3,1: 65:[9, 4] Operation: 52-48=4
Exploring Operation: 9+52=61, Resulting Numbers: [48, 61]
Generated Node #0,3,2: 65:[48, 61] Operation: 9+52=61
Exploring Operation: 48-9=39, Resulting Numbers: [52, 39]
Generated Node #0,3,3: 65:[52, 39] Operation: 48-9=39
Exploring Operation: 48+9=57, Resulting Numbers: [52, 57]
Generated Node #0,3,4: 65:[52, 57] Operation: 48+9=57
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 65:[9, 4], Operations: ['79-27=52', '52-48=4']
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,65 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Exploring Operation: 9*4=36, Resulting Numbers: [36]
36,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,3,2
Current State: 65:[48, 61], Operations: ['79-27=52', '9+52=61']
Exploring Operation: 61-48=13, Resulting Numbers: [13]
13,65 unequal: No Solution
Exploring Operation: 48+61=109, Resulting Numbers: [109]
109,65 unequal: No Solution
Exploring Operation: 48*61=2928, Resulting Numbers: [2928]
2928,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,3,4
Current State: 65:[52, 57], Operations: ['79-27=52', '48+9=57']
Exploring Operation: 57-52=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Exploring Operation: 52+57=109, Resulting Numbers: [109]
109,65 unequal: No Solution
Exploring Operation: 52*57=2964, Resulting Numbers: [2964]
2964,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,3,0
Current State: 65:[9, 100], Operations: ['79-27=52', '48+52=100']
Exploring Operation: 100-9=91, Resulting Numbers: [91]
91,65 unequal: No Solution
Exploring Operation: 9+100=109, Resulting Numbers: [109]
109,65 unequal: No Solution
Exploring Operation: 9*100=900, Resulting Numbers: [900]
900,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,3,3
Current State: 65:[52, 39], Operations: ['79-27=52', '48-9=39']
Exploring Operation: 52+39=91, Resulting Numbers: [91]
91,65 unequal: No Solution
Exploring Operation: 52-39=13, Resulting Numbers: [13]
13,65 unequal: No Solution
Exploring Operation: 52*39=2028, Resulting Numbers: [2028]
2028,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,4
Current State: 65:[27, 9, 31], Operations: ['79-48=31']
Exploring Operation: 31-9=22, Resulting Numbers: [27, 22]
Generated Node #0,4,0: 65:[27, 22] Operation: 31-9=22
Exploring Operation: 27-9=18, Resulting Numbers: [31, 18]
Generated Node #0,4,1: 65:[31, 18] Operation: 27-9=18
Exploring Operation: 27/9=3, Resulting Numbers: [31, 3]
Generated Node #0,4,2: 65:[31, 3] Operation: 27/9=3
Exploring Operation: 31-27=4, Resulting Numbers: [9, 4]
Generated Node #0,4,3: 65:[9, 4] Operation: 31-27=4
Exploring Operation: 27+31=58, Resulting Numbers: [9, 58]
Generated Node #0,4,4: 65:[9, 58] Operation: 27+31=58
Moving to Node #0,4,3
Current State: 65:[9, 4], Operations: ['79-48=31', '31-27=4']
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,65 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Exploring Operation: 9*4=36, Resulting Numbers: [36]
36,65 unequal: No Solution
Moving to Node #0,4,4
Current State: 65:[9, 58], Operations: ['79-48=31', '27+31=58']
Exploring Operation: 58-9=49, Resulting Numbers: [49]
49,65 unequal: No Solution
Exploring Operation: 9*58=522, Resulting Numbers: [522]
522,65 unequal: No Solution
Exploring Operation: 9+58=67, Resulting Numbers: [67]
67,65 unequal: No Solution
Moving to Node #0,4,2
Current State: 65:[31, 3], Operations: ['79-48=31', '27/9=3']
Exploring Operation: 31+3=34, Resulting Numbers: [34]
34,65 unequal: No Solution
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,65 unequal: No Solution
Exploring Operation: 31*3=93, Resulting Numbers: [93]
93,65 unequal: No Solution
Moving to Node #0,4,0
Current State: 65:[27, 22], Operations: ['79-48=31', '31-9=22']
Exploring Operation: 27+22=49, Resulting Numbers: [49]
49,65 unequal: No Solution
Exploring Operation: 27*22=594, Resulting Numbers: [594]
594,65 unequal: No Solution
Exploring Operation: 27-22=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Moving to Node #0,4,1
Current State: 65:[31, 18], Operations: ['79-48=31', '27-9=18']
Exploring Operation: 31*18=558, Resulting Numbers: [558]
558,65 unequal: No Solution
Exploring Operation: 31-18=13, Resulting Numbers: [13]
13,65 unequal: No Solution
Exploring Operation: 31+18=49, Resulting Numbers: [49]
49,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
70,
43,
73,
80
] | 49 | [
"73-70=3",
"43*3=129",
"129-80=49"
] | Current State: 49:[70, 43, 73, 80], Operations: []
Exploring Operation: 73-70=3, Resulting Numbers: [43, 80, 3]
Generated Node #2: [43, 80, 3] from Operation: 73-70=3
Current State: 49:[43, 80, 3], Operations: ['73-70=3']
Exploring Operation: 43*3=129, Resulting Numbers: [80, 129]
Generated Node #3: [80, 129] from Operation: 43*3=129
Current State: 49:[80, 129], Operations: ['73-70=3', '43*3=129']
Exploring Operation: 129-80=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[70, 43, 73, 80], Operations: []
Exploring Operation: 80-73=7, Resulting Numbers: [70, 43, 7]
Generated Node #0,0: 49:[70, 43, 7] Operation: 80-73=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[70, 43, 7], Operations: ['80-73=7']
Exploring Operation: 70/7=10, Resulting Numbers: [43, 10]
Generated Node #0,0,0: 49:[43, 10] Operation: 70/7=10
Moving to Node #0,0,0
Current State: 49:[43, 10], Operations: ['80-73=7', '70/7=10']
Exploring Operation: 43+10=53, Resulting Numbers: [53]
53,49 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 |
[
68,
90,
88,
4
] | 30 | [
"90-88=2",
"68/2=34",
"34-4=30"
] | Current State: 30:[68, 90, 88, 4], Operations: []
Exploring Operation: 90-88=2, Resulting Numbers: [68, 4, 2]
Generated Node #2: [68, 4, 2] from Operation: 90-88=2
Current State: 30:[68, 4, 2], Operations: ['90-88=2']
Exploring Operation: 68/2=34, Resulting Numbers: [4, 34]
Generated Node #3: [4, 34] from Operation: 68/2=34
Current State: 30:[4, 34], Operations: ['90-88=2', '68/2=34']
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[68, 90, 88, 4], Operations: []
Exploring Operation: 90-68=22, Resulting Numbers: [88, 4, 22]
Generated Node #0,0: 30:[88, 4, 22] Operation: 90-68=22
Exploring Operation: 88-68=20, Resulting Numbers: [90, 4, 20]
Generated Node #0,1: 30:[90, 4, 20] Operation: 88-68=20
Exploring Operation: 90-88=2, Resulting Numbers: [68, 4, 2]
Generated Node #0,2: 30:[68, 4, 2] Operation: 90-88=2
Moving to Node #0,2
Current State: 30:[68, 4, 2], Operations: ['90-88=2']
Exploring Operation: 68-4=64, Resulting Numbers: [2, 64]
Generated Node #0,2,0: 30:[2, 64] Operation: 68-4=64
Exploring Operation: 68/4=17, Resulting Numbers: [2, 17]
Generated Node #0,2,1: 30:[2, 17] Operation: 68/4=17
Exploring Operation: 68/2=34, Resulting Numbers: [4, 34]
Generated Node #0,2,2: 30:[4, 34] Operation: 68/2=34
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 30:[2, 17], Operations: ['90-88=2', '68/4=17']
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,30 unequal: No Solution
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,30 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,30 unequal: No Solution
No 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: 30:[4, 34], Operations: ['90-88=2', '68/2=34']
Exploring Operation: 4*34=136, Resulting Numbers: [136]
136,30 unequal: No Solution
Exploring Operation: 4+34=38, Resulting Numbers: [38]
38,30 unequal: No Solution
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[68, 90, 88, 4], Operations: []
Exploring Operation: 90-88=2, Resulting Numbers: [68, 4, 2]
Generated Node #0,2: 30:[68, 4, 2] Operation: 90-88=2
Moving to Node #0,2
Current State: 30:[68, 4, 2], Operations: ['90-88=2']
Exploring Operation: 68/2=34, Resulting Numbers: [4, 34]
Generated Node #0,2,2: 30:[4, 34] Operation: 68/2=34
Moving to Node #0,2,2
Current State: 30:[4, 34], Operations: ['90-88=2', '68/2=34']
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | mult_heuristic |
[
35,
84,
6,
34
] | 91 | [
"35+84=119",
"34-6=28",
"119-28=91"
] | Current State: 91:[35, 84, 6, 34], Operations: []
Exploring Operation: 35+84=119, Resulting Numbers: [6, 34, 119]
Generated Node #2: [6, 34, 119] from Operation: 35+84=119
Current State: 91:[6, 34, 119], Operations: ['35+84=119']
Exploring Operation: 34-6=28, Resulting Numbers: [119, 28]
Generated Node #3: [119, 28] from Operation: 34-6=28
Current State: 91:[119, 28], Operations: ['35+84=119', '34-6=28']
Exploring Operation: 119-28=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[35, 84, 6, 34], Operations: []
Exploring Operation: 84+6=90, Resulting Numbers: [35, 34, 90]
Generated Node #0,0: 91:[35, 34, 90] Operation: 84+6=90
Exploring Operation: 35-6=29, Resulting Numbers: [84, 34, 29]
Generated Node #0,1: 91:[84, 34, 29] Operation: 35-6=29
Exploring Operation: 35+34=69, Resulting Numbers: [84, 6, 69]
Generated Node #0,2: 91:[84, 6, 69] Operation: 35+34=69
Exploring Operation: 35-34=1, Resulting Numbers: [84, 6, 1]
Generated Node #0,3: 91:[84, 6, 1] Operation: 35-34=1
Start Sub Search at level 1: Moving to Node #0,3
Current State: 91:[84, 6, 1], Operations: ['35-34=1']
Exploring Operation: 84+6=90, Resulting Numbers: [1, 90]
Generated Node #0,3,0: 91:[1, 90] Operation: 84+6=90
Exploring Operation: 84+1=85, Resulting Numbers: [6, 85]
Generated Node #0,3,1: 91:[6, 85] Operation: 84+1=85
Exploring Operation: 84/6=14, Resulting Numbers: [1, 14]
Generated Node #0,3,2: 91:[1, 14] Operation: 84/6=14
Exploring Operation: 6+1=7, Resulting Numbers: [84, 7]
Generated Node #0,3,3: 91:[84, 7] Operation: 6+1=7
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 91:[1, 90], Operations: ['35-34=1', '84+6=90']
Exploring Operation: 1+90=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[35, 84, 6, 34], Operations: []
Exploring Operation: 35-34=1, Resulting Numbers: [84, 6, 1]
Generated Node #0,3: 91:[84, 6, 1] Operation: 35-34=1
Moving to Node #0,3
Current State: 91:[84, 6, 1], Operations: ['35-34=1']
Exploring Operation: 84+6=90, Resulting Numbers: [1, 90]
Generated Node #0,3,0: 91:[1, 90] Operation: 84+6=90
Moving to Node #0,3,0
Current State: 91:[1, 90], Operations: ['35-34=1', '84+6=90']
Exploring Operation: 1+90=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
23,
19,
18,
42
] | 96 | [
"23-19=4",
"42-18=24",
"4*24=96"
] | Current State: 96:[23, 19, 18, 42], Operations: []
Exploring Operation: 23-19=4, Resulting Numbers: [18, 42, 4]
Generated Node #2: [18, 42, 4] from Operation: 23-19=4
Current State: 96:[18, 42, 4], Operations: ['23-19=4']
Exploring Operation: 42-18=24, Resulting Numbers: [4, 24]
Generated Node #3: [4, 24] from Operation: 42-18=24
Current State: 96:[4, 24], Operations: ['23-19=4', '42-18=24']
Exploring Operation: 4*24=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[23, 19, 18, 42], Operations: []
Exploring Operation: 23-19=4, Resulting Numbers: [18, 42, 4]
Generated Node #0,0: 96:[18, 42, 4] Operation: 23-19=4
Exploring Operation: 42-19=23, Resulting Numbers: [23, 18, 23]
Generated Node #0,1: 96:[23, 18, 23] Operation: 42-19=23
Exploring Operation: 42-23=19, Resulting Numbers: [19, 18, 19]
Generated Node #0,2: 96:[19, 18, 19] Operation: 42-23=19
Exploring Operation: 42-18=24, Resulting Numbers: [23, 19, 24]
Generated Node #0,3: 96:[23, 19, 24] Operation: 42-18=24
Start Sub Search at level 1: Moving to Node #0,1
Current State: 96:[23, 18, 23], Operations: ['42-19=23']
Exploring Operation: 23-18=5, Resulting Numbers: [23, 5]
Generated Node #0,1,0: 96:[23, 5] Operation: 23-18=5
Exploring Operation: 23-18=5, Resulting Numbers: [23, 5]
Generated Node #0,1,1: 96:[23, 5] Operation: 23-18=5
Exploring Operation: 23/23=1, Resulting Numbers: [18, 1]
Generated Node #0,1,2: 96:[18, 1] Operation: 23/23=1
Exploring Operation: 23+23=46, Resulting Numbers: [18, 46]
Generated Node #0,1,3: 96:[18, 46] Operation: 23+23=46
Moving to Node #0,1,0
Current State: 96:[23, 5], Operations: ['42-19=23', '23-18=5']
Exploring Operation: 23+5=28, Resulting Numbers: [28]
28,96 unequal: No Solution
Exploring Operation: 23*5=115, Resulting Numbers: [115]
115,96 unequal: No Solution
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,96 unequal: No Solution
Moving to Node #0,1,1
Current State: 96:[23, 5], Operations: ['42-19=23', '23-18=5']
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,96 unequal: No Solution
Exploring Operation: 23+5=28, Resulting Numbers: [28]
28,96 unequal: No Solution
Exploring Operation: 23*5=115, Resulting Numbers: [115]
115,96 unequal: No Solution
Moving to Node #0,1,2
Current State: 96:[18, 1], Operations: ['42-19=23', '23/23=1']
Exploring Operation: 18+1=19, Resulting Numbers: [19]
19,96 unequal: No Solution
Exploring Operation: 18*1=18, Resulting Numbers: [18]
18,96 unequal: No Solution
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,96 unequal: No Solution
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Moving to Node #0,1,3
Current State: 96:[18, 46], Operations: ['42-19=23', '23+23=46']
Exploring Operation: 18*46=828, Resulting Numbers: [828]
828,96 unequal: No Solution
Exploring Operation: 46-18=28, Resulting Numbers: [28]
28,96 unequal: No Solution
Exploring Operation: 18+46=64, Resulting Numbers: [64]
64,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,3
Current State: 96:[23, 19, 24], Operations: ['42-18=24']
Exploring Operation: 24-23=1, Resulting Numbers: [19, 1]
Generated Node #0,3,0: 96:[19, 1] Operation: 24-23=1
Exploring Operation: 23-19=4, Resulting Numbers: [24, 4]
Generated Node #0,3,1: 96:[24, 4] Operation: 23-19=4
Exploring Operation: 24-19=5, Resulting Numbers: [23, 5]
Generated Node #0,3,2: 96:[23, 5] Operation: 24-19=5
Exploring Operation: 23+24=47, Resulting Numbers: [19, 47]
Generated Node #0,3,3: 96:[19, 47] Operation: 23+24=47
Moving to Node #0,3,1
Current State: 96:[24, 4], Operations: ['42-18=24', '23-19=4']
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[23, 19, 18, 42], Operations: []
Exploring Operation: 42-18=24, Resulting Numbers: [23, 19, 24]
Generated Node #0,3: 96:[23, 19, 24] Operation: 42-18=24
Moving to Node #0,3
Current State: 96:[23, 19, 24], Operations: ['42-18=24']
Exploring Operation: 23-19=4, Resulting Numbers: [24, 4]
Generated Node #0,3,1: 96:[24, 4] Operation: 23-19=4
Moving to Node #0,3,1
Current State: 96:[24, 4], Operations: ['42-18=24', '23-19=4']
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_4 | sum_heuristic |
[
4,
23,
45,
37
] | 51 | [
"45-23=22",
"4*22=88",
"88-37=51"
] | Current State: 51:[4, 23, 45, 37], Operations: []
Exploring Operation: 45-23=22, Resulting Numbers: [4, 37, 22]
Generated Node #2: [4, 37, 22] from Operation: 45-23=22
Current State: 51:[4, 37, 22], Operations: ['45-23=22']
Exploring Operation: 4*22=88, Resulting Numbers: [37, 88]
Generated Node #3: [37, 88] from Operation: 4*22=88
Current State: 51:[37, 88], Operations: ['45-23=22', '4*22=88']
Exploring Operation: 88-37=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[4, 23, 45, 37], Operations: []
Exploring Operation: 23+37=60, Resulting Numbers: [4, 45, 60]
Generated Node #0,0: 51:[4, 45, 60] Operation: 23+37=60
Exploring Operation: 37-23=14, Resulting Numbers: [4, 45, 14]
Generated Node #0,1: 51:[4, 45, 14] Operation: 37-23=14
Exploring Operation: 45-37=8, Resulting Numbers: [4, 23, 8]
Generated Node #0,2: 51:[4, 23, 8] Operation: 45-37=8
Moving to Node #0,1
Current State: 51:[4, 45, 14], Operations: ['37-23=14']
Exploring Operation: 4+14=18, Resulting Numbers: [45, 18]
Generated Node #0,1,0: 51:[45, 18] Operation: 4+14=18
Exploring Operation: 4+45=49, Resulting Numbers: [14, 49]
Generated Node #0,1,1: 51:[14, 49] Operation: 4+45=49
Exploring Operation: 45+14=59, Resulting Numbers: [4, 59]
Generated Node #0,1,2: 51:[4, 59] Operation: 45+14=59
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 51:[14, 49], Operations: ['37-23=14', '4+45=49']
Exploring Operation: 14*49=686, Resulting Numbers: [686]
686,51 unequal: No Solution
Exploring Operation: 49-14=35, Resulting Numbers: [35]
35,51 unequal: No Solution
Exploring Operation: 14+49=63, Resulting Numbers: [63]
63,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 51:[45, 18], Operations: ['37-23=14', '4+14=18']
Exploring Operation: 45+18=63, Resulting Numbers: [63]
63,51 unequal: No Solution
Exploring Operation: 45-18=27, Resulting Numbers: [27]
27,51 unequal: No Solution
Exploring Operation: 45*18=810, Resulting Numbers: [810]
810,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 51:[4, 59], Operations: ['37-23=14', '45+14=59']
Exploring Operation: 4+59=63, Resulting Numbers: [63]
63,51 unequal: No Solution
Exploring Operation: 59-4=55, Resulting Numbers: [55]
55,51 unequal: No Solution
Exploring Operation: 4*59=236, Resulting Numbers: [236]
236,51 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: 51:[4, 23, 8], Operations: ['45-37=8']
Exploring Operation: 8-4=4, Resulting Numbers: [23, 4]
Generated Node #0,2,0: 51:[23, 4] Operation: 8-4=4
Exploring Operation: 23-8=15, Resulting Numbers: [4, 15]
Generated Node #0,2,1: 51:[4, 15] Operation: 23-8=15
Exploring Operation: 23-4=19, Resulting Numbers: [8, 19]
Generated Node #0,2,2: 51:[8, 19] Operation: 23-4=19
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 51:[4, 15], Operations: ['45-37=8', '23-8=15']
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,51 unequal: No Solution
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,51 unequal: No Solution
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 51:[23, 4], Operations: ['45-37=8', '8-4=4']
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,51 unequal: No Solution
Exploring Operation: 23+4=27, Resulting Numbers: [27]
27,51 unequal: No Solution
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 51:[8, 19], Operations: ['45-37=8', '23-4=19']
Exploring Operation: 8*19=152, Resulting Numbers: [152]
152,51 unequal: No Solution
Exploring Operation: 19-8=11, Resulting Numbers: [11]
11,51 unequal: No Solution
Exploring Operation: 8+19=27, Resulting Numbers: [27]
27,51 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: 51:[4, 45, 60], Operations: ['23+37=60']
Exploring Operation: 60/4=15, Resulting Numbers: [45, 15]
Generated Node #0,0,0: 51:[45, 15] Operation: 60/4=15
Exploring Operation: 60-45=15, Resulting Numbers: [4, 15]
Generated Node #0,0,1: 51:[4, 15] Operation: 60-45=15
Exploring Operation: 4+45=49, Resulting Numbers: [60, 49]
Generated Node #0,0,2: 51:[60, 49] Operation: 4+45=49
Moving to Node #0,0,1
Current State: 51:[4, 15], Operations: ['23+37=60', '60-45=15']
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,51 unequal: No Solution
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,51 unequal: No Solution
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,51 unequal: No Solution
Moving to Node #0,0,0
Current State: 51:[45, 15], Operations: ['23+37=60', '60/4=15']
Exploring Operation: 45/15=3, Resulting Numbers: [3]
3,51 unequal: No Solution
Exploring Operation: 45-15=30, Resulting Numbers: [30]
30,51 unequal: No Solution
Exploring Operation: 45+15=60, Resulting Numbers: [60]
60,51 unequal: No Solution
Moving to Node #0,0,2
Current State: 51:[60, 49], Operations: ['23+37=60', '4+45=49']
Exploring Operation: 60+49=109, Resulting Numbers: [109]
109,51 unequal: No Solution
Exploring Operation: 60*49=2940, Resulting Numbers: [2940]
2940,51 unequal: No Solution
Exploring Operation: 60-49=11, Resulting Numbers: [11]
11,51 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
2,
56,
84,
40
] | 58 | [
"84/2=42",
"56-40=16",
"42+16=58"
] | Current State: 58:[2, 56, 84, 40], Operations: []
Exploring Operation: 84/2=42, Resulting Numbers: [56, 40, 42]
Generated Node #2: [56, 40, 42] from Operation: 84/2=42
Current State: 58:[56, 40, 42], Operations: ['84/2=42']
Exploring Operation: 56-40=16, Resulting Numbers: [42, 16]
Generated Node #3: [42, 16] from Operation: 56-40=16
Current State: 58:[42, 16], Operations: ['84/2=42', '56-40=16']
Exploring Operation: 42+16=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[2, 56, 84, 40], Operations: []
Exploring Operation: 84-56=28, Resulting Numbers: [2, 40, 28]
Generated Node #0,0: 58:[2, 40, 28] Operation: 84-56=28
Exploring Operation: 2+56=58, Resulting Numbers: [84, 40, 58]
Generated Node #0,1: 58:[84, 40, 58] Operation: 2+56=58
Exploring Operation: 84-40=44, Resulting Numbers: [2, 56, 44]
Generated Node #0,2: 58:[2, 56, 44] Operation: 84-40=44
Exploring Operation: 84/2=42, Resulting Numbers: [56, 40, 42]
Generated Node #0,3: 58:[56, 40, 42] Operation: 84/2=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[2, 40, 28], Operations: ['84-56=28']
Exploring Operation: 40/2=20, Resulting Numbers: [28, 20]
Generated Node #0,0,0: 58:[28, 20] Operation: 40/2=20
Exploring Operation: 40-28=12, Resulting Numbers: [2, 12]
Generated Node #0,0,1: 58:[2, 12] Operation: 40-28=12
Exploring Operation: 40-2=38, Resulting Numbers: [28, 38]
Generated Node #0,0,2: 58:[28, 38] Operation: 40-2=38
Exploring Operation: 40+28=68, Resulting Numbers: [2, 68]
Generated Node #0,0,3: 58:[2, 68] Operation: 40+28=68
Moving to Node #0,0,0
Current State: 58:[28, 20], Operations: ['84-56=28', '40/2=20']
Exploring Operation: 28*20=560, Resulting Numbers: [560]
560,58 unequal: No Solution
Exploring Operation: 28-20=8, Resulting Numbers: [8]
8,58 unequal: No Solution
Exploring Operation: 28+20=48, Resulting Numbers: [48]
48,58 unequal: No Solution
Moving to Node #0,0,2
Current State: 58:[28, 38], Operations: ['84-56=28', '40-2=38']
Exploring Operation: 38-28=10, Resulting Numbers: [10]
10,58 unequal: No Solution
Exploring Operation: 28+38=66, Resulting Numbers: [66]
66,58 unequal: No Solution
Exploring Operation: 28*38=1064, Resulting Numbers: [1064]
1064,58 unequal: No Solution
Moving to Node #0,0,1
Current State: 58:[2, 12], Operations: ['84-56=28', '40-28=12']
Exploring Operation: 2*12=24, Resulting Numbers: [24]
24,58 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,58 unequal: No Solution
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,58 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,58 unequal: No Solution
Moving to Node #0,0,3
Current State: 58:[2, 68], Operations: ['84-56=28', '40+28=68']
Exploring Operation: 68/2=34, Resulting Numbers: [34]
34,58 unequal: No Solution
Exploring Operation: 2+68=70, Resulting Numbers: [70]
70,58 unequal: No Solution
Exploring Operation: 2*68=136, Resulting Numbers: [136]
136,58 unequal: No Solution
Exploring Operation: 68-2=66, Resulting Numbers: [66]
66,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 58:[2, 56, 44], Operations: ['84-40=44']
Exploring Operation: 2+44=46, Resulting Numbers: [56, 46]
Generated Node #0,2,0: 58:[56, 46] Operation: 2+44=46
Exploring Operation: 44/2=22, Resulting Numbers: [56, 22]
Generated Node #0,2,1: 58:[56, 22] Operation: 44/2=22
Exploring Operation: 56-44=12, Resulting Numbers: [2, 12]
Generated Node #0,2,2: 58:[2, 12] Operation: 56-44=12
Exploring Operation: 2+56=58, Resulting Numbers: [44, 58]
Generated Node #0,2,3: 58:[44, 58] Operation: 2+56=58
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 58:[56, 22], Operations: ['84-40=44', '44/2=22']
Exploring Operation: 56*22=1232, Resulting Numbers: [1232]
1232,58 unequal: No Solution
Exploring Operation: 56-22=34, Resulting Numbers: [34]
34,58 unequal: No Solution
Exploring Operation: 56+22=78, Resulting Numbers: [78]
78,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 58:[2, 12], Operations: ['84-40=44', '56-44=12']
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,58 unequal: No Solution
Exploring Operation: 2*12=24, Resulting Numbers: [24]
24,58 unequal: No Solution
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,58 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 58:[56, 46], Operations: ['84-40=44', '2+44=46']
Exploring Operation: 56-46=10, Resulting Numbers: [10]
10,58 unequal: No Solution
Exploring Operation: 56*46=2576, Resulting Numbers: [2576]
2576,58 unequal: No Solution
Exploring Operation: 56+46=102, Resulting Numbers: [102]
102,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 58:[44, 58], Operations: ['84-40=44', '2+56=58']
Exploring Operation: 44*58=2552, Resulting Numbers: [2552]
2552,58 unequal: No Solution
Exploring Operation: 44+58=102, Resulting Numbers: [102]
102,58 unequal: No Solution
Exploring Operation: 58-44=14, Resulting Numbers: [14]
14,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 58:[56, 40, 42], Operations: ['84/2=42']
Exploring Operation: 56-42=14, Resulting Numbers: [40, 14]
Generated Node #0,3,0: 58:[40, 14] Operation: 56-42=14
Exploring Operation: 42-40=2, Resulting Numbers: [56, 2]
Generated Node #0,3,1: 58:[56, 2] Operation: 42-40=2
Exploring Operation: 40+42=82, Resulting Numbers: [56, 82]
Generated Node #0,3,2: 58:[56, 82] Operation: 40+42=82
Exploring Operation: 56-40=16, Resulting Numbers: [42, 16]
Generated Node #0,3,3: 58:[42, 16] Operation: 56-40=16
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 58:[56, 2], Operations: ['84/2=42', '42-40=2']
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,58 unequal: No Solution
Exploring Operation: 56+2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[2, 56, 84, 40], Operations: []
Exploring Operation: 84/2=42, Resulting Numbers: [56, 40, 42]
Generated Node #0,3: 58:[56, 40, 42] Operation: 84/2=42
Moving to Node #0,3
Current State: 58:[56, 40, 42], Operations: ['84/2=42']
Exploring Operation: 42-40=2, Resulting Numbers: [56, 2]
Generated Node #0,3,1: 58:[56, 2] Operation: 42-40=2
Moving to Node #0,3,1
Current State: 58:[56, 2], Operations: ['84/2=42', '42-40=2']
Exploring Operation: 56+2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.957465 | hs_4 | mult_heuristic |
[
23,
23,
12,
47
] | 21 | [
"47-23=24",
"24/12=2",
"23-2=21"
] | Current State: 21:[23, 23, 12, 47], Operations: []
Exploring Operation: 47-23=24, Resulting Numbers: [12, 24]
Generated Node #2: [12, 24] from Operation: 47-23=24
Current State: 21:[12, 24], Operations: ['47-23=24']
Exploring Operation: 24/12=2, Resulting Numbers: [2]
2,21 equal: Goal Reached
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[23, 23, 12, 47], Operations: []
Exploring Operation: 47-12=35, Resulting Numbers: [23, 23, 35]
Generated Node #0,0: 21:[23, 23, 35] Operation: 47-12=35
Exploring Operation: 47-23=24, Resulting Numbers: [23, 12, 24]
Generated Node #0,1: 21:[23, 12, 24] Operation: 47-23=24
Exploring Operation: 47-23=24, Resulting Numbers: [23, 12, 24]
Generated Node #0,2: 21:[23, 12, 24] Operation: 47-23=24
Exploring Operation: 23-12=11, Resulting Numbers: [23, 47, 11]
Generated Node #0,3: 21:[23, 47, 11] Operation: 23-12=11
Moving to Node #0,1
Current State: 21:[23, 12, 24], Operations: ['47-23=24']
Exploring Operation: 24/12=2, Resulting Numbers: [23, 2]
Generated Node #0,1,0: 21:[23, 2] Operation: 24/12=2
Exploring Operation: 23-12=11, Resulting Numbers: [24, 11]
Generated Node #0,1,1: 21:[24, 11] Operation: 23-12=11
Exploring Operation: 24-23=1, Resulting Numbers: [12, 1]
Generated Node #0,1,2: 21:[12, 1] Operation: 24-23=1
Exploring Operation: 24-12=12, Resulting Numbers: [23, 12]
Generated Node #0,1,3: 21:[23, 12] Operation: 24-12=12
Moving to Node #0,2
Current State: 21:[23, 12, 24], Operations: ['47-23=24']
Exploring Operation: 24/12=2, Resulting Numbers: [23, 2]
Generated Node #0,2,0: 21:[23, 2] Operation: 24/12=2
Exploring Operation: 24-23=1, Resulting Numbers: [12, 1]
Generated Node #0,2,1: 21:[12, 1] Operation: 24-23=1
Exploring Operation: 23-12=11, Resulting Numbers: [24, 11]
Generated Node #0,2,2: 21:[24, 11] Operation: 23-12=11
Exploring Operation: 24-12=12, Resulting Numbers: [23, 12]
Generated Node #0,2,3: 21:[23, 12] Operation: 24-12=12
Moving to Node #0,0
Current State: 21:[23, 23, 35], Operations: ['47-12=35']
Exploring Operation: 35-23=12, Resulting Numbers: [23, 12]
Generated Node #0,0,0: 21:[23, 12] Operation: 35-23=12
Exploring Operation: 23/23=1, Resulting Numbers: [35, 1]
Generated Node #0,0,1: 21:[35, 1] Operation: 23/23=1
Exploring Operation: 35-23=12, Resulting Numbers: [23, 12]
Generated Node #0,0,2: 21:[23, 12] Operation: 35-23=12
Exploring Operation: 23-23=0, Resulting Numbers: [35, 0]
Generated Node #0,0,3: 21:[35, 0] Operation: 23-23=0
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 21:[23, 12], Operations: ['47-12=35', '35-23=12']
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,21 unequal: No Solution
Exploring Operation: 23+12=35, Resulting Numbers: [35]
35,21 unequal: No Solution
Exploring Operation: 23*12=276, Resulting Numbers: [276]
276,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 21:[23, 12], Operations: ['47-12=35', '35-23=12']
Exploring Operation: 23+12=35, Resulting Numbers: [35]
35,21 unequal: No Solution
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,21 unequal: No Solution
Exploring Operation: 23*12=276, Resulting Numbers: [276]
276,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 21:[35, 1], Operations: ['47-12=35', '23/23=1']
Exploring Operation: 35/1=35, Resulting Numbers: [35]
35,21 unequal: No Solution
Exploring Operation: 35+1=36, Resulting Numbers: [36]
36,21 unequal: No Solution
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,21 unequal: No Solution
Exploring Operation: 35*1=35, Resulting Numbers: [35]
35,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 21:[35, 0], Operations: ['47-12=35', '23-23=0']
Exploring Operation: 35*0=0, Resulting Numbers: [0]
0,21 unequal: No Solution
Exploring Operation: 35+0=35, Resulting Numbers: [35]
35,21 unequal: No Solution
Exploring Operation: 35-0=35, Resulting Numbers: [35]
35,21 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: 21:[23, 47, 11], Operations: ['23-12=11']
Exploring Operation: 47-23=24, Resulting Numbers: [11, 24]
Generated Node #0,3,0: 21:[11, 24] Operation: 47-23=24
Exploring Operation: 23-11=12, Resulting Numbers: [47, 12]
Generated Node #0,3,1: 21:[47, 12] Operation: 23-11=12
Exploring Operation: 23+11=34, Resulting Numbers: [47, 34]
Generated Node #0,3,2: 21:[47, 34] Operation: 23+11=34
Exploring Operation: 47-11=36, Resulting Numbers: [23, 36]
Generated Node #0,3,3: 21:[23, 36] Operation: 47-11=36
Moving to Node #0,1,0
Current State: 21:[23, 2], Operations: ['47-23=24', '24/12=2']
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[23, 23, 12, 47], Operations: []
Exploring Operation: 47-23=24, Resulting Numbers: [23, 12, 24]
Generated Node #0,1: 21:[23, 12, 24] Operation: 47-23=24
Moving to Node #0,1
Current State: 21:[23, 12, 24], Operations: ['47-23=24']
Exploring Operation: 24/12=2, Resulting Numbers: [23, 2]
Generated Node #0,1,0: 21:[23, 2] Operation: 24/12=2
Moving to Node #0,1,0
Current State: 21:[23, 2], Operations: ['47-23=24', '24/12=2']
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 0.967014 | hs_4 | mult_heuristic |
[
5,
30,
97,
61
] | 11 | [
"30-5=25",
"97-61=36",
"36-25=11"
] | Current State: 11:[5, 30, 97, 61], Operations: []
Exploring Operation: 30-5=25, Resulting Numbers: [97, 61, 25]
Generated Node #2: [97, 61, 25] from Operation: 30-5=25
Current State: 11:[97, 61, 25], Operations: ['30-5=25']
Exploring Operation: 97-61=36, Resulting Numbers: [25, 36]
Generated Node #3: [25, 36] from Operation: 97-61=36
Current State: 11:[25, 36], Operations: ['30-5=25', '97-61=36']
Exploring Operation: 36-25=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[5, 30, 97, 61], Operations: []
Exploring Operation: 97-61=36, Resulting Numbers: [5, 30, 36]
Generated Node #0,0: 11:[5, 30, 36] Operation: 97-61=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[5, 30, 36], Operations: ['97-61=36']
Exploring Operation: 36-30=6, Resulting Numbers: [5, 6]
Generated Node #0,0,0: 11:[5, 6] Operation: 36-30=6
Moving to Node #0,0,0
Current State: 11:[5, 6], Operations: ['97-61=36', '36-30=6']
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[5, 30, 97, 61], Operations: []
Exploring Operation: 97-61=36, Resulting Numbers: [5, 30, 36]
Generated Node #0,0: 11:[5, 30, 36] Operation: 97-61=36
Moving to Node #0,0
Current State: 11:[5, 30, 36], Operations: ['97-61=36']
Exploring Operation: 36-30=6, Resulting Numbers: [5, 6]
Generated Node #0,0,0: 11:[5, 6] Operation: 36-30=6
Moving to Node #0,0,0
Current State: 11:[5, 6], Operations: ['97-61=36', '36-30=6']
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
35,
9,
96,
94
] | 17 | [
"96-94=2",
"9*2=18",
"35-18=17"
] | Current State: 17:[35, 9, 96, 94], Operations: []
Exploring Operation: 96-94=2, Resulting Numbers: [35, 9, 2]
Generated Node #2: [35, 9, 2] from Operation: 96-94=2
Current State: 17:[35, 9, 2], Operations: ['96-94=2']
Exploring Operation: 9*2=18, Resulting Numbers: [35, 18]
Generated Node #3: [35, 18] from Operation: 9*2=18
Current State: 17:[35, 18], Operations: ['96-94=2', '9*2=18']
Exploring Operation: 35-18=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[35, 9, 96, 94], Operations: []
Exploring Operation: 35-9=26, Resulting Numbers: [96, 94, 26]
Generated Node #0,0: 17:[96, 94, 26] Operation: 35-9=26
Exploring Operation: 96-94=2, Resulting Numbers: [35, 9, 2]
Generated Node #0,1: 17:[35, 9, 2] Operation: 96-94=2
Exploring Operation: 94-35=59, Resulting Numbers: [9, 96, 59]
Generated Node #0,2: 17:[9, 96, 59] Operation: 94-35=59
Exploring Operation: 96-35=61, Resulting Numbers: [9, 94, 61]
Generated Node #0,3: 17:[9, 94, 61] Operation: 96-35=61
Start Sub Search at level 1: Moving to Node #0,1
Current State: 17:[35, 9, 2], Operations: ['96-94=2']
Exploring Operation: 9*2=18, Resulting Numbers: [35, 18]
Generated Node #0,1,0: 17:[35, 18] Operation: 9*2=18
Exploring Operation: 35-2=33, Resulting Numbers: [9, 33]
Generated Node #0,1,1: 17:[9, 33] Operation: 35-2=33
Exploring Operation: 9+2=11, Resulting Numbers: [35, 11]
Generated Node #0,1,2: 17:[35, 11] Operation: 9+2=11
Exploring Operation: 35-9=26, Resulting Numbers: [2, 26]
Generated Node #0,1,3: 17:[2, 26] Operation: 35-9=26
Moving to Node #0,1,0
Current State: 17:[35, 18], Operations: ['96-94=2', '9*2=18']
Exploring Operation: 35*18=630, Resulting Numbers: [630]
630,17 unequal: No Solution
Exploring Operation: 35-18=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[35, 9, 96, 94], Operations: []
Exploring Operation: 96-94=2, Resulting Numbers: [35, 9, 2]
Generated Node #0,1: 17:[35, 9, 2] Operation: 96-94=2
Moving to Node #0,1
Current State: 17:[35, 9, 2], Operations: ['96-94=2']
Exploring Operation: 9*2=18, Resulting Numbers: [35, 18]
Generated Node #0,1,0: 17:[35, 18] Operation: 9*2=18
Moving to Node #0,1,0
Current State: 17:[35, 18], Operations: ['96-94=2', '9*2=18']
Exploring Operation: 35-18=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
4,
2,
12,
66
] | 31 | [
"66-12=54",
"54/2=27",
"4+27=31"
] | Current State: 31:[4, 2, 12, 66], Operations: []
Exploring Operation: 66-12=54, Resulting Numbers: [4, 2, 54]
Generated Node #2: [4, 2, 54] from Operation: 66-12=54
Current State: 31:[4, 2, 54], Operations: ['66-12=54']
Exploring Operation: 54/2=27, Resulting Numbers: [4, 27]
Generated Node #3: [4, 27] from Operation: 54/2=27
Current State: 31:[4, 27], Operations: ['66-12=54', '54/2=27']
Exploring Operation: 4+27=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[4, 2, 12, 66], Operations: []
Exploring Operation: 66/2=33, Resulting Numbers: [4, 12, 33]
Generated Node #0,0: 31:[4, 12, 33] Operation: 66/2=33
Exploring Operation: 4+12=16, Resulting Numbers: [2, 66, 16]
Generated Node #0,1: 31:[2, 66, 16] Operation: 4+12=16
Exploring Operation: 4*2=8, Resulting Numbers: [12, 66, 8]
Generated Node #0,2: 31:[12, 66, 8] Operation: 4*2=8
Exploring Operation: 2*12=24, Resulting Numbers: [4, 66, 24]
Generated Node #0,3: 31:[4, 66, 24] Operation: 2*12=24
Exploring Operation: 4+2=6, Resulting Numbers: [12, 66, 6]
Generated Node #0,4: 31:[12, 66, 6] Operation: 4+2=6
Moving to Node #0,0
Current State: 31:[4, 12, 33], Operations: ['66/2=33']
Exploring Operation: 33-4=29, Resulting Numbers: [12, 29]
Generated Node #0,0,0: 31:[12, 29] Operation: 33-4=29
Exploring Operation: 4+33=37, Resulting Numbers: [12, 37]
Generated Node #0,0,1: 31:[12, 37] Operation: 4+33=37
Exploring Operation: 4*12=48, Resulting Numbers: [33, 48]
Generated Node #0,0,2: 31:[33, 48] Operation: 4*12=48
Exploring Operation: 12-4=8, Resulting Numbers: [33, 8]
Generated Node #0,0,3: 31:[33, 8] Operation: 12-4=8
Exploring Operation: 4+12=16, Resulting Numbers: [33, 16]
Generated Node #0,0,4: 31:[33, 16] Operation: 4+12=16
Moving to Node #0,3
Current State: 31:[4, 66, 24], Operations: ['2*12=24']
Exploring Operation: 24-4=20, Resulting Numbers: [66, 20]
Generated Node #0,3,0: 31:[66, 20] Operation: 24-4=20
Exploring Operation: 66-4=62, Resulting Numbers: [24, 62]
Generated Node #0,3,1: 31:[24, 62] Operation: 66-4=62
Exploring Operation: 4+66=70, Resulting Numbers: [24, 70]
Generated Node #0,3,2: 31:[24, 70] Operation: 4+66=70
Exploring Operation: 66-24=42, Resulting Numbers: [4, 42]
Generated Node #0,3,3: 31:[4, 42] Operation: 66-24=42
Exploring Operation: 4+24=28, Resulting Numbers: [66, 28]
Generated Node #0,3,4: 31:[66, 28] Operation: 4+24=28
Moving to Node #0,2
Current State: 31:[12, 66, 8], Operations: ['4*2=8']
Exploring Operation: 12-8=4, Resulting Numbers: [66, 4]
Generated Node #0,2,0: 31:[66, 4] Operation: 12-8=4
Exploring Operation: 66-8=58, Resulting Numbers: [12, 58]
Generated Node #0,2,1: 31:[12, 58] Operation: 66-8=58
Exploring Operation: 66+8=74, Resulting Numbers: [12, 74]
Generated Node #0,2,2: 31:[12, 74] Operation: 66+8=74
Exploring Operation: 66-12=54, Resulting Numbers: [8, 54]
Generated Node #0,2,3: 31:[8, 54] Operation: 66-12=54
Exploring Operation: 12+8=20, Resulting Numbers: [66, 20]
Generated Node #0,2,4: 31:[66, 20] Operation: 12+8=20
Moving to Node #0,1
Current State: 31:[2, 66, 16], Operations: ['4+12=16']
Exploring Operation: 2+16=18, Resulting Numbers: [66, 18]
Generated Node #0,1,0: 31:[66, 18] Operation: 2+16=18
Exploring Operation: 2*16=32, Resulting Numbers: [66, 32]
Generated Node #0,1,1: 31:[66, 32] Operation: 2*16=32
Exploring Operation: 66-2=64, Resulting Numbers: [16, 64]
Generated Node #0,1,2: 31:[16, 64] Operation: 66-2=64
Exploring Operation: 66/2=33, Resulting Numbers: [16, 33]
Generated Node #0,1,3: 31:[16, 33] Operation: 66/2=33
Exploring Operation: 66-16=50, Resulting Numbers: [2, 50]
Generated Node #0,1,4: 31:[2, 50] Operation: 66-16=50
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 31:[16, 33], Operations: ['4+12=16', '66/2=33']
Exploring Operation: 16+33=49, Resulting Numbers: [49]
49,31 unequal: No Solution
Exploring Operation: 33-16=17, Resulting Numbers: [17]
17,31 unequal: No Solution
Exploring Operation: 16*33=528, Resulting Numbers: [528]
528,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 31:[66, 32], Operations: ['4+12=16', '2*16=32']
Exploring Operation: 66+32=98, Resulting Numbers: [98]
98,31 unequal: No Solution
Exploring Operation: 66-32=34, Resulting Numbers: [34]
34,31 unequal: No Solution
Exploring Operation: 66*32=2112, Resulting Numbers: [2112]
2112,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 31:[66, 18], Operations: ['4+12=16', '2+16=18']
Exploring Operation: 66*18=1188, Resulting Numbers: [1188]
1188,31 unequal: No Solution
Exploring Operation: 66+18=84, Resulting Numbers: [84]
84,31 unequal: No Solution
Exploring Operation: 66-18=48, Resulting Numbers: [48]
48,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 31:[16, 64], Operations: ['4+12=16', '66-2=64']
Exploring Operation: 16*64=1024, Resulting Numbers: [1024]
1024,31 unequal: No Solution
Exploring Operation: 16+64=80, Resulting Numbers: [80]
80,31 unequal: No Solution
Exploring Operation: 64/16=4, Resulting Numbers: [4]
4,31 unequal: No Solution
Exploring Operation: 64-16=48, Resulting Numbers: [48]
48,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 31:[2, 50], Operations: ['4+12=16', '66-16=50']
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,31 unequal: No Solution
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,31 unequal: No Solution
Exploring Operation: 2+50=52, Resulting Numbers: [52]
52,31 unequal: No Solution
Exploring Operation: 2*50=100, Resulting Numbers: [100]
100,31 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: 31:[12, 66, 6], Operations: ['4+2=6']
Exploring Operation: 12+6=18, Resulting Numbers: [66, 18]
Generated Node #0,4,0: 31:[66, 18] Operation: 12+6=18
Exploring Operation: 66-12=54, Resulting Numbers: [6, 54]
Generated Node #0,4,1: 31:[6, 54] Operation: 66-12=54
Exploring Operation: 66-6=60, Resulting Numbers: [12, 60]
Generated Node #0,4,2: 31:[12, 60] Operation: 66-6=60
Exploring Operation: 12-6=6, Resulting Numbers: [66, 6]
Generated Node #0,4,3: 31:[66, 6] Operation: 12-6=6
Exploring Operation: 66/6=11, Resulting Numbers: [12, 11]
Generated Node #0,4,4: 31:[12, 11] Operation: 66/6=11
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 31:[12, 11], Operations: ['4+2=6', '66/6=11']
Exploring Operation: 12*11=132, Resulting Numbers: [132]
132,31 unequal: No Solution
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,31 unequal: No Solution
Exploring Operation: 12+11=23, Resulting Numbers: [23]
23,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 31:[66, 18], Operations: ['4+2=6', '12+6=18']
Exploring Operation: 66*18=1188, Resulting Numbers: [1188]
1188,31 unequal: No Solution
Exploring Operation: 66-18=48, Resulting Numbers: [48]
48,31 unequal: No Solution
Exploring Operation: 66+18=84, Resulting Numbers: [84]
84,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 31:[6, 54], Operations: ['4+2=6', '66-12=54']
Exploring Operation: 54/6=9, Resulting Numbers: [9]
9,31 unequal: No Solution
Exploring Operation: 54-6=48, Resulting Numbers: [48]
48,31 unequal: No Solution
Exploring Operation: 6*54=324, Resulting Numbers: [324]
324,31 unequal: No Solution
Exploring Operation: 6+54=60, Resulting Numbers: [60]
60,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 31:[12, 60], Operations: ['4+2=6', '66-6=60']
Exploring Operation: 12+60=72, Resulting Numbers: [72]
72,31 unequal: No Solution
Exploring Operation: 12*60=720, Resulting Numbers: [720]
720,31 unequal: No Solution
Exploring Operation: 60-12=48, Resulting Numbers: [48]
48,31 unequal: No Solution
Exploring Operation: 60/12=5, Resulting Numbers: [5]
5,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 31:[66, 6], Operations: ['4+2=6', '12-6=6']
Exploring Operation: 66+6=72, Resulting Numbers: [72]
72,31 unequal: No Solution
Exploring Operation: 66-6=60, Resulting Numbers: [60]
60,31 unequal: No Solution
Exploring Operation: 66*6=396, Resulting Numbers: [396]
396,31 unequal: No Solution
Exploring Operation: 66/6=11, Resulting Numbers: [11]
11,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,4
Current State: 31:[33, 16], Operations: ['66/2=33', '4+12=16']
Exploring Operation: 33*16=528, Resulting Numbers: [528]
528,31 unequal: No Solution
Exploring Operation: 33-16=17, Resulting Numbers: [17]
17,31 unequal: No Solution
Exploring Operation: 33+16=49, Resulting Numbers: [49]
49,31 unequal: No Solution
Moving to Node #0,0,2
Current State: 31:[33, 48], Operations: ['66/2=33', '4*12=48']
Exploring Operation: 48-33=15, Resulting Numbers: [15]
15,31 unequal: No Solution
Exploring Operation: 33*48=1584, Resulting Numbers: [1584]
1584,31 unequal: No Solution
Exploring Operation: 33+48=81, Resulting Numbers: [81]
81,31 unequal: No Solution
Moving to Node #0,0,0
Current State: 31:[12, 29], Operations: ['66/2=33', '33-4=29']
Exploring Operation: 12+29=41, Resulting Numbers: [41]
41,31 unequal: No Solution
Exploring Operation: 12*29=348, Resulting Numbers: [348]
348,31 unequal: No Solution
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,31 unequal: No Solution
Moving to Node #0,0,3
Current State: 31:[33, 8], Operations: ['66/2=33', '12-4=8']
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,31 unequal: No Solution
Exploring Operation: 33+8=41, Resulting Numbers: [41]
41,31 unequal: No Solution
Exploring Operation: 33*8=264, Resulting Numbers: [264]
264,31 unequal: No Solution
Moving to Node #0,0,1
Current State: 31:[12, 37], Operations: ['66/2=33', '4+33=37']
Exploring Operation: 12+37=49, Resulting Numbers: [49]
49,31 unequal: No Solution
Exploring Operation: 37-12=25, Resulting Numbers: [25]
25,31 unequal: No Solution
Exploring Operation: 12*37=444, Resulting Numbers: [444]
444,31 unequal: No Solution
Moving to Node #0,3,3
Current State: 31:[4, 42], Operations: ['2*12=24', '66-24=42']
Exploring Operation: 4+42=46, Resulting Numbers: [46]
46,31 unequal: No Solution
Exploring Operation: 4*42=168, Resulting Numbers: [168]
168,31 unequal: No Solution
Exploring Operation: 42-4=38, Resulting Numbers: [38]
38,31 unequal: No Solution
Moving to Node #0,3,1
Current State: 31:[24, 62], Operations: ['2*12=24', '66-4=62']
Exploring Operation: 24+62=86, Resulting Numbers: [86]
86,31 unequal: No Solution
Exploring Operation: 62-24=38, Resulting Numbers: [38]
38,31 unequal: No Solution
Exploring Operation: 24*62=1488, Resulting Numbers: [1488]
1488,31 unequal: No Solution
Moving to Node #0,3,4
Current State: 31:[66, 28], Operations: ['2*12=24', '4+24=28']
Exploring Operation: 66+28=94, Resulting Numbers: [94]
94,31 unequal: No Solution
Exploring Operation: 66*28=1848, Resulting Numbers: [1848]
1848,31 unequal: No Solution
Exploring Operation: 66-28=38, Resulting Numbers: [38]
38,31 unequal: No Solution
Moving to Node #0,3,2
Current State: 31:[24, 70], Operations: ['2*12=24', '4+66=70']
Exploring Operation: 24*70=1680, Resulting Numbers: [1680]
1680,31 unequal: No Solution
Exploring Operation: 70-24=46, Resulting Numbers: [46]
46,31 unequal: No Solution
Exploring Operation: 24+70=94, Resulting Numbers: [94]
94,31 unequal: No Solution
Moving to Node #0,2,4
Current State: 31:[66, 20], Operations: ['4*2=8', '12+8=20']
Exploring Operation: 66-20=46, Resulting Numbers: [46]
46,31 unequal: No Solution
Exploring Operation: 66*20=1320, Resulting Numbers: [1320]
1320,31 unequal: No Solution
Exploring Operation: 66+20=86, Resulting Numbers: [86]
86,31 unequal: No Solution
Moving to Node #0,2,1
Current State: 31:[12, 58], Operations: ['4*2=8', '66-8=58']
Exploring Operation: 12+58=70, Resulting Numbers: [70]
70,31 unequal: No Solution
Exploring Operation: 58-12=46, Resulting Numbers: [46]
46,31 unequal: No Solution
Exploring Operation: 12*58=696, Resulting Numbers: [696]
696,31 unequal: No Solution
Moving to Node #0,2,3
Current State: 31:[8, 54], Operations: ['4*2=8', '66-12=54']
Exploring Operation: 8*54=432, Resulting Numbers: [432]
432,31 unequal: No Solution
Exploring Operation: 8+54=62, Resulting Numbers: [62]
62,31 unequal: No Solution
Exploring Operation: 54-8=46, Resulting Numbers: [46]
46,31 unequal: No Solution
Moving to Node #0,3,0
Current State: 31:[66, 20], Operations: ['2*12=24', '24-4=20']
Exploring Operation: 66+20=86, Resulting Numbers: [86]
86,31 unequal: No Solution
Exploring Operation: 66*20=1320, Resulting Numbers: [1320]
1320,31 unequal: No Solution
Exploring Operation: 66-20=46, Resulting Numbers: [46]
46,31 unequal: No Solution
Moving to Node #0,2,0
Current State: 31:[66, 4], Operations: ['4*2=8', '12-8=4']
Exploring Operation: 66-4=62, Resulting Numbers: [62]
62,31 unequal: No Solution
Exploring Operation: 66+4=70, Resulting Numbers: [70]
70,31 unequal: No Solution
Exploring Operation: 66*4=264, Resulting Numbers: [264]
264,31 unequal: No Solution
Moving to Node #0,2,2
Current State: 31:[12, 74], Operations: ['4*2=8', '66+8=74']
Exploring Operation: 12*74=888, Resulting Numbers: [888]
888,31 unequal: No Solution
Exploring Operation: 74-12=62, Resulting Numbers: [62]
62,31 unequal: No Solution
Exploring Operation: 12+74=86, Resulting Numbers: [86]
86,31 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
84,
32,
96,
16
] | 65 | [
"84-16=68",
"96/32=3",
"68-3=65"
] | Current State: 65:[84, 32, 96, 16], Operations: []
Exploring Operation: 84-16=68, Resulting Numbers: [32, 96, 68]
Generated Node #2: [32, 96, 68] from Operation: 84-16=68
Current State: 65:[32, 96, 68], Operations: ['84-16=68']
Exploring Operation: 96/32=3, Resulting Numbers: [68, 3]
Generated Node #3: [68, 3] from Operation: 96/32=3
Current State: 65:[68, 3], Operations: ['84-16=68', '96/32=3']
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[84, 32, 96, 16], Operations: []
Exploring Operation: 96/16=6, Resulting Numbers: [84, 32, 6]
Generated Node #0,0: 65:[84, 32, 6] Operation: 96/16=6
Exploring Operation: 96-84=12, Resulting Numbers: [32, 16, 12]
Generated Node #0,1: 65:[32, 16, 12] Operation: 96-84=12
Exploring Operation: 84-32=52, Resulting Numbers: [96, 16, 52]
Generated Node #0,2: 65:[96, 16, 52] Operation: 84-32=52
Exploring Operation: 96-32=64, Resulting Numbers: [84, 16, 64]
Generated Node #0,3: 65:[84, 16, 64] Operation: 96-32=64
Exploring Operation: 96/32=3, Resulting Numbers: [84, 16, 3]
Generated Node #0,4: 65:[84, 16, 3] Operation: 96/32=3
Moving to Node #0,1
Current State: 65:[32, 16, 12], Operations: ['96-84=12']
Exploring Operation: 32-12=20, Resulting Numbers: [16, 20]
Generated Node #0,1,0: 65:[16, 20] Operation: 32-12=20
Exploring Operation: 32+16=48, Resulting Numbers: [12, 48]
Generated Node #0,1,1: 65:[12, 48] Operation: 32+16=48
Exploring Operation: 32-16=16, Resulting Numbers: [12, 16]
Generated Node #0,1,2: 65:[12, 16] Operation: 32-16=16
Exploring Operation: 32/16=2, Resulting Numbers: [12, 2]
Generated Node #0,1,3: 65:[12, 2] Operation: 32/16=2
Exploring Operation: 16-12=4, Resulting Numbers: [32, 4]
Generated Node #0,1,4: 65:[32, 4] Operation: 16-12=4
Moving to Node #0,3
Current State: 65:[84, 16, 64], Operations: ['96-32=64']
Exploring Operation: 84-64=20, Resulting Numbers: [16, 20]
Generated Node #0,3,0: 65:[16, 20] Operation: 84-64=20
Exploring Operation: 84+16=100, Resulting Numbers: [64, 100]
Generated Node #0,3,1: 65:[64, 100] Operation: 84+16=100
Exploring Operation: 64/16=4, Resulting Numbers: [84, 4]
Generated Node #0,3,2: 65:[84, 4] Operation: 64/16=4
Exploring Operation: 16+64=80, Resulting Numbers: [84, 80]
Generated Node #0,3,3: 65:[84, 80] Operation: 16+64=80
Exploring Operation: 84-16=68, Resulting Numbers: [64, 68]
Generated Node #0,3,4: 65:[64, 68] Operation: 84-16=68
Moving to Node #0,4
Current State: 65:[84, 16, 3], Operations: ['96/32=3']
Exploring Operation: 16-3=13, Resulting Numbers: [84, 13]
Generated Node #0,4,0: 65:[84, 13] Operation: 16-3=13
Exploring Operation: 84-3=81, Resulting Numbers: [16, 81]
Generated Node #0,4,1: 65:[16, 81] Operation: 84-3=81
Exploring Operation: 84+3=87, Resulting Numbers: [16, 87]
Generated Node #0,4,2: 65:[16, 87] Operation: 84+3=87
Exploring Operation: 84/3=28, Resulting Numbers: [16, 28]
Generated Node #0,4,3: 65:[16, 28] Operation: 84/3=28
Exploring Operation: 84-16=68, Resulting Numbers: [3, 68]
Generated Node #0,4,4: 65:[3, 68] Operation: 84-16=68
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 65:[3, 68], Operations: ['96/32=3', '84-16=68']
Exploring Operation: 3*68=204, Resulting Numbers: [204]
204,65 unequal: No Solution
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[84, 32, 96, 16], Operations: []
Exploring Operation: 96/32=3, Resulting Numbers: [84, 16, 3]
Generated Node #0,4: 65:[84, 16, 3] Operation: 96/32=3
Moving to Node #0,4
Current State: 65:[84, 16, 3], Operations: ['96/32=3']
Exploring Operation: 84-16=68, Resulting Numbers: [3, 68]
Generated Node #0,4,4: 65:[3, 68] Operation: 84-16=68
Moving to Node #0,4,4
Current State: 65:[3, 68], Operations: ['96/32=3', '84-16=68']
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_5 | sum_heuristic |
[
86,
34,
86,
54
] | 87 | [
"86/86=1",
"34+54=88",
"88-1=87"
] | Current State: 87:[86, 34, 86, 54], Operations: []
Exploring Operation: 86/86=1, Resulting Numbers: [34, 54, 1]
Generated Node #2: [34, 54, 1] from Operation: 86/86=1
Current State: 87:[34, 54, 1], Operations: ['86/86=1']
Exploring Operation: 34+54=88, Resulting Numbers: [1, 88]
Generated Node #3: [1, 88] from Operation: 34+54=88
Current State: 87:[1, 88], Operations: ['86/86=1', '34+54=88']
Exploring Operation: 88-1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[86, 34, 86, 54], Operations: []
Exploring Operation: 86-54=32, Resulting Numbers: [34, 86, 32]
Generated Node #0,0: 87:[34, 86, 32] Operation: 86-54=32
Exploring Operation: 34+54=88, Resulting Numbers: [86, 86, 88]
Generated Node #0,1: 87:[86, 86, 88] Operation: 34+54=88
Moving to Node #0,1
Current State: 87:[86, 86, 88], Operations: ['34+54=88']
Exploring Operation: 88-86=2, Resulting Numbers: [86, 2]
Generated Node #0,1,0: 87:[86, 2] Operation: 88-86=2
Exploring Operation: 88-86=2, Resulting Numbers: [86, 2]
Generated Node #0,1,1: 87:[86, 2] Operation: 88-86=2
Moving to Node #0,0
Current State: 87:[34, 86, 32], Operations: ['86-54=32']
Exploring Operation: 34-32=2, Resulting Numbers: [86, 2]
Generated Node #0,0,0: 87:[86, 2] Operation: 34-32=2
Exploring Operation: 34+32=66, Resulting Numbers: [86, 66]
Generated Node #0,0,1: 87:[86, 66] Operation: 34+32=66
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 87:[86, 2], Operations: ['86-54=32', '34-32=2']
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,87 unequal: No Solution
Exploring Operation: 86+2=88, Resulting Numbers: [88]
88,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 87:[86, 66], Operations: ['86-54=32', '34+32=66']
Exploring Operation: 86-66=20, Resulting Numbers: [20]
20,87 unequal: No Solution
Exploring Operation: 86+66=152, Resulting Numbers: [152]
152,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 87:[86, 2], Operations: ['34+54=88', '88-86=2']
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,87 unequal: No Solution
Exploring Operation: 86+2=88, Resulting Numbers: [88]
88,87 unequal: No Solution
Moving to Node #0,1,1
Current State: 87:[86, 2], Operations: ['34+54=88', '88-86=2']
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,87 unequal: No Solution
Exploring Operation: 86+2=88, Resulting Numbers: [88]
88,87 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
44,
32,
87,
75
] | 60 | [
"44*75=3300",
"87-32=55",
"3300/55=60"
] | Current State: 60:[44, 32, 87, 75], Operations: []
Exploring Operation: 44*75=3300, Resulting Numbers: [32, 87, 3300]
Generated Node #2: [32, 87, 3300] from Operation: 44*75=3300
Current State: 60:[32, 87, 3300], Operations: ['44*75=3300']
Exploring Operation: 87-32=55, Resulting Numbers: [3300, 55]
Generated Node #3: [3300, 55] from Operation: 87-32=55
Current State: 60:[3300, 55], Operations: ['44*75=3300', '87-32=55']
Exploring Operation: 3300/55=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[44, 32, 87, 75], Operations: []
Exploring Operation: 75-44=31, Resulting Numbers: [32, 87, 31]
Generated Node #0,0: 60:[32, 87, 31] Operation: 75-44=31
Exploring Operation: 44-32=12, Resulting Numbers: [87, 75, 12]
Generated Node #0,1: 60:[87, 75, 12] Operation: 44-32=12
Exploring Operation: 87-32=55, Resulting Numbers: [44, 75, 55]
Generated Node #0,2: 60:[44, 75, 55] Operation: 87-32=55
Exploring Operation: 87-75=12, Resulting Numbers: [44, 32, 12]
Generated Node #0,3: 60:[44, 32, 12] Operation: 87-75=12
Exploring Operation: 87-44=43, Resulting Numbers: [32, 75, 43]
Generated Node #0,4: 60:[32, 75, 43] Operation: 87-44=43
Moving to Node #0,3
Current State: 60:[44, 32, 12], Operations: ['87-75=12']
Exploring Operation: 44-32=12, Resulting Numbers: [12, 12]
Generated Node #0,3,0: 60:[12, 12] Operation: 44-32=12
Exploring Operation: 44+12=56, Resulting Numbers: [32, 56]
Generated Node #0,3,1: 60:[32, 56] Operation: 44+12=56
Exploring Operation: 32-12=20, Resulting Numbers: [44, 20]
Generated Node #0,3,2: 60:[44, 20] Operation: 32-12=20
Exploring Operation: 44+32=76, Resulting Numbers: [12, 76]
Generated Node #0,3,3: 60:[12, 76] Operation: 44+32=76
Exploring Operation: 44-12=32, Resulting Numbers: [32, 32]
Generated Node #0,3,4: 60:[32, 32] Operation: 44-12=32
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 60:[12, 12], Operations: ['87-75=12', '44-32=12']
Exploring Operation: 12/12=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 12-12=0, Resulting Numbers: [0]
0,60 unequal: No Solution
Exploring Operation: 12*12=144, Resulting Numbers: [144]
144,60 unequal: No Solution
Exploring Operation: 12+12=24, Resulting Numbers: [24]
24,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 60:[32, 32], Operations: ['87-75=12', '44-12=32']
Exploring Operation: 32/32=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 32+32=64, Resulting Numbers: [64]
64,60 unequal: No Solution
Exploring Operation: 32*32=1024, Resulting Numbers: [1024]
1024,60 unequal: No Solution
Exploring Operation: 32-32=0, Resulting Numbers: [0]
0,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 60:[32, 56], Operations: ['87-75=12', '44+12=56']
Exploring Operation: 32*56=1792, Resulting Numbers: [1792]
1792,60 unequal: No Solution
Exploring Operation: 56-32=24, Resulting Numbers: [24]
24,60 unequal: No Solution
Exploring Operation: 32+56=88, Resulting Numbers: [88]
88,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 60:[44, 20], Operations: ['87-75=12', '32-12=20']
Exploring Operation: 44-20=24, Resulting Numbers: [24]
24,60 unequal: No Solution
Exploring Operation: 44*20=880, Resulting Numbers: [880]
880,60 unequal: No Solution
Exploring Operation: 44+20=64, Resulting Numbers: [64]
64,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 60:[12, 76], Operations: ['87-75=12', '44+32=76']
Exploring Operation: 76-12=64, Resulting Numbers: [64]
64,60 unequal: No Solution
Exploring Operation: 12+76=88, Resulting Numbers: [88]
88,60 unequal: No Solution
Exploring Operation: 12*76=912, Resulting Numbers: [912]
912,60 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: 60:[32, 75, 43], Operations: ['87-44=43']
Exploring Operation: 43-32=11, Resulting Numbers: [75, 11]
Generated Node #0,4,0: 60:[75, 11] Operation: 43-32=11
Exploring Operation: 75-32=43, Resulting Numbers: [43, 43]
Generated Node #0,4,1: 60:[43, 43] Operation: 75-32=43
Exploring Operation: 32+43=75, Resulting Numbers: [75, 75]
Generated Node #0,4,2: 60:[75, 75] Operation: 32+43=75
Exploring Operation: 32+75=107, Resulting Numbers: [43, 107]
Generated Node #0,4,3: 60:[43, 107] Operation: 32+75=107
Exploring Operation: 75-43=32, Resulting Numbers: [32, 32]
Generated Node #0,4,4: 60:[32, 32] Operation: 75-43=32
Moving to Node #0,0
Current State: 60:[32, 87, 31], Operations: ['75-44=31']
Exploring Operation: 32+87=119, Resulting Numbers: [31, 119]
Generated Node #0,0,0: 60:[31, 119] Operation: 32+87=119
Exploring Operation: 87-31=56, Resulting Numbers: [32, 56]
Generated Node #0,0,1: 60:[32, 56] Operation: 87-31=56
Exploring Operation: 32+31=63, Resulting Numbers: [87, 63]
Generated Node #0,0,2: 60:[87, 63] Operation: 32+31=63
Exploring Operation: 87-32=55, Resulting Numbers: [31, 55]
Generated Node #0,0,3: 60:[31, 55] Operation: 87-32=55
Exploring Operation: 32-31=1, Resulting Numbers: [87, 1]
Generated Node #0,0,4: 60:[87, 1] Operation: 32-31=1
Moving to Node #0,2
Current State: 60:[44, 75, 55], Operations: ['87-32=55']
Exploring Operation: 44+75=119, Resulting Numbers: [55, 119]
Generated Node #0,2,0: 60:[55, 119] Operation: 44+75=119
Exploring Operation: 75-55=20, Resulting Numbers: [44, 20]
Generated Node #0,2,1: 60:[44, 20] Operation: 75-55=20
Exploring Operation: 44+55=99, Resulting Numbers: [75, 99]
Generated Node #0,2,2: 60:[75, 99] Operation: 44+55=99
Exploring Operation: 75-44=31, Resulting Numbers: [55, 31]
Generated Node #0,2,3: 60:[55, 31] Operation: 75-44=31
Exploring Operation: 55-44=11, Resulting Numbers: [75, 11]
Generated Node #0,2,4: 60:[75, 11] Operation: 55-44=11
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 60:[55, 31], Operations: ['87-32=55', '75-44=31']
Exploring Operation: 55+31=86, Resulting Numbers: [86]
86,60 unequal: No Solution
Exploring Operation: 55*31=1705, Resulting Numbers: [1705]
1705,60 unequal: No Solution
Exploring Operation: 55-31=24, Resulting Numbers: [24]
24,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 60:[44, 20], Operations: ['87-32=55', '75-55=20']
Exploring Operation: 44+20=64, Resulting Numbers: [64]
64,60 unequal: No Solution
Exploring Operation: 44-20=24, Resulting Numbers: [24]
24,60 unequal: No Solution
Exploring Operation: 44*20=880, Resulting Numbers: [880]
880,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 60:[75, 11], Operations: ['87-32=55', '55-44=11']
Exploring Operation: 75-11=64, Resulting Numbers: [64]
64,60 unequal: No Solution
Exploring Operation: 75*11=825, Resulting Numbers: [825]
825,60 unequal: No Solution
Exploring Operation: 75+11=86, Resulting Numbers: [86]
86,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 60:[75, 99], Operations: ['87-32=55', '44+55=99']
Exploring Operation: 75+99=174, Resulting Numbers: [174]
174,60 unequal: No Solution
Exploring Operation: 75*99=7425, Resulting Numbers: [7425]
7425,60 unequal: No Solution
Exploring Operation: 99-75=24, Resulting Numbers: [24]
24,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 60:[55, 119], Operations: ['87-32=55', '44+75=119']
Exploring Operation: 55*119=6545, Resulting Numbers: [6545]
6545,60 unequal: No Solution
Exploring Operation: 119-55=64, Resulting Numbers: [64]
64,60 unequal: No Solution
Exploring Operation: 55+119=174, Resulting Numbers: [174]
174,60 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: 60:[87, 75, 12], Operations: ['44-32=12']
Exploring Operation: 87+12=99, Resulting Numbers: [75, 99]
Generated Node #0,1,0: 60:[75, 99] Operation: 87+12=99
Exploring Operation: 75+12=87, Resulting Numbers: [87, 87]
Generated Node #0,1,1: 60:[87, 87] Operation: 75+12=87
Exploring Operation: 87-75=12, Resulting Numbers: [12, 12]
Generated Node #0,1,2: 60:[12, 12] Operation: 87-75=12
Exploring Operation: 75-12=63, Resulting Numbers: [87, 63]
Generated Node #0,1,3: 60:[87, 63] Operation: 75-12=63
Exploring Operation: 87-12=75, Resulting Numbers: [75, 75]
Generated Node #0,1,4: 60:[75, 75] Operation: 87-12=75
Moving to Node #0,1,2
Current State: 60:[12, 12], Operations: ['44-32=12', '87-75=12']
Exploring Operation: 12+12=24, Resulting Numbers: [24]
24,60 unequal: No Solution
Exploring Operation: 12-12=0, Resulting Numbers: [0]
0,60 unequal: No Solution
Exploring Operation: 12*12=144, Resulting Numbers: [144]
144,60 unequal: No Solution
Exploring Operation: 12/12=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Moving to Node #0,4,4
Current State: 60:[32, 32], Operations: ['87-44=43', '75-43=32']
Exploring Operation: 32+32=64, Resulting Numbers: [64]
64,60 unequal: No Solution
Exploring Operation: 32/32=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 32-32=0, Resulting Numbers: [0]
0,60 unequal: No Solution
Exploring Operation: 32*32=1024, Resulting Numbers: [1024]
1024,60 unequal: No Solution
Moving to Node #0,0,1
Current State: 60:[32, 56], Operations: ['75-44=31', '87-31=56']
Exploring Operation: 32*56=1792, Resulting Numbers: [1792]
1792,60 unequal: No Solution
Exploring Operation: 56-32=24, Resulting Numbers: [24]
24,60 unequal: No Solution
Exploring Operation: 32+56=88, Resulting Numbers: [88]
88,60 unequal: No Solution
Moving to Node #0,0,3
Current State: 60:[31, 55], Operations: ['75-44=31', '87-32=55']
Exploring Operation: 55-31=24, Resulting Numbers: [24]
24,60 unequal: No Solution
Exploring Operation: 31*55=1705, Resulting Numbers: [1705]
1705,60 unequal: No Solution
Exploring Operation: 31+55=86, Resulting Numbers: [86]
86,60 unequal: No Solution
Moving to Node #0,4,0
Current State: 60:[75, 11], Operations: ['87-44=43', '43-32=11']
Exploring Operation: 75-11=64, Resulting Numbers: [64]
64,60 unequal: No Solution
Exploring Operation: 75+11=86, Resulting Numbers: [86]
86,60 unequal: No Solution
Exploring Operation: 75*11=825, Resulting Numbers: [825]
825,60 unequal: No Solution
Moving to Node #0,4,1
Current State: 60:[43, 43], Operations: ['87-44=43', '75-32=43']
Exploring Operation: 43+43=86, Resulting Numbers: [86]
86,60 unequal: No Solution
Exploring Operation: 43*43=1849, Resulting Numbers: [1849]
1849,60 unequal: No Solution
Exploring Operation: 43-43=0, Resulting Numbers: [0]
0,60 unequal: No Solution
Exploring Operation: 43/43=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Moving to Node #0,0,4
Current State: 60:[87, 1], Operations: ['75-44=31', '32-31=1']
Exploring Operation: 87-1=86, Resulting Numbers: [86]
86,60 unequal: No Solution
Exploring Operation: 87*1=87, Resulting Numbers: [87]
87,60 unequal: No Solution
Exploring Operation: 87/1=87, Resulting Numbers: [87]
87,60 unequal: No Solution
Exploring Operation: 87+1=88, Resulting Numbers: [88]
88,60 unequal: No Solution
Moving to Node #0,1,3
Current State: 60:[87, 63], Operations: ['44-32=12', '75-12=63']
Exploring Operation: 87-63=24, Resulting Numbers: [24]
24,60 unequal: No Solution
Exploring Operation: 87*63=5481, Resulting Numbers: [5481]
5481,60 unequal: No Solution
Exploring Operation: 87+63=150, Resulting Numbers: [150]
150,60 unequal: No Solution
Moving to Node #0,0,2
Current State: 60:[87, 63], Operations: ['75-44=31', '32+31=63']
Exploring Operation: 87-63=24, Resulting Numbers: [24]
24,60 unequal: No Solution
Exploring Operation: 87+63=150, Resulting Numbers: [150]
150,60 unequal: No Solution
Exploring Operation: 87*63=5481, Resulting Numbers: [5481]
5481,60 unequal: No Solution
Moving to Node #0,1,4
Current State: 60:[75, 75], Operations: ['44-32=12', '87-12=75']
Exploring Operation: 75-75=0, Resulting Numbers: [0]
0,60 unequal: No Solution
Exploring Operation: 75+75=150, Resulting Numbers: [150]
150,60 unequal: No Solution
Exploring Operation: 75/75=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 75*75=5625, Resulting Numbers: [5625]
5625,60 unequal: No Solution
Moving to Node #0,4,2
Current State: 60:[75, 75], Operations: ['87-44=43', '32+43=75']
Exploring Operation: 75-75=0, Resulting Numbers: [0]
0,60 unequal: No Solution
Exploring Operation: 75*75=5625, Resulting Numbers: [5625]
5625,60 unequal: No Solution
Exploring Operation: 75+75=150, Resulting Numbers: [150]
150,60 unequal: No Solution
Exploring Operation: 75/75=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Moving to Node #0,1,0
Current State: 60:[75, 99], Operations: ['44-32=12', '87+12=99']
Exploring Operation: 99-75=24, Resulting Numbers: [24]
24,60 unequal: No Solution
Exploring Operation: 75+99=174, Resulting Numbers: [174]
174,60 unequal: No Solution
Exploring Operation: 75*99=7425, Resulting Numbers: [7425]
7425,60 unequal: No Solution
Moving to Node #0,1,1
Current State: 60:[87, 87], Operations: ['44-32=12', '75+12=87']
Exploring Operation: 87-87=0, Resulting Numbers: [0]
0,60 unequal: No Solution
Exploring Operation: 87*87=7569, Resulting Numbers: [7569]
7569,60 unequal: No Solution
Exploring Operation: 87+87=174, Resulting Numbers: [174]
174,60 unequal: No Solution
Exploring Operation: 87/87=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Moving to Node #0,0,0
Current State: 60:[31, 119], Operations: ['75-44=31', '32+87=119']
Exploring Operation: 31+119=150, Resulting Numbers: [150]
150,60 unequal: No Solution
Exploring Operation: 31*119=3689, Resulting Numbers: [3689]
3689,60 unequal: No Solution
Exploring Operation: 119-31=88, Resulting Numbers: [88]
88,60 unequal: No Solution
Moving to Node #0,4,3
Current State: 60:[43, 107], Operations: ['87-44=43', '32+75=107']
Exploring Operation: 107-43=64, Resulting Numbers: [64]
64,60 unequal: No Solution
Exploring Operation: 43+107=150, Resulting Numbers: [150]
150,60 unequal: No Solution
Exploring Operation: 43*107=4601, Resulting Numbers: [4601]
4601,60 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
54,
99,
66,
32
] | 53 | [
"99-54=45",
"66+32=98",
"98-45=53"
] | Current State: 53:[54, 99, 66, 32], Operations: []
Exploring Operation: 99-54=45, Resulting Numbers: [66, 32, 45]
Generated Node #2: [66, 32, 45] from Operation: 99-54=45
Current State: 53:[66, 32, 45], Operations: ['99-54=45']
Exploring Operation: 66+32=98, Resulting Numbers: [45, 98]
Generated Node #3: [45, 98] from Operation: 66+32=98
Current State: 53:[45, 98], Operations: ['99-54=45', '66+32=98']
Exploring Operation: 98-45=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[54, 99, 66, 32], Operations: []
Exploring Operation: 99-66=33, Resulting Numbers: [54, 32, 33]
Generated Node #0,0: 53:[54, 32, 33] Operation: 99-66=33
Exploring Operation: 99-54=45, Resulting Numbers: [66, 32, 45]
Generated Node #0,1: 53:[66, 32, 45] Operation: 99-54=45
Exploring Operation: 99-32=67, Resulting Numbers: [54, 66, 67]
Generated Node #0,2: 53:[54, 66, 67] Operation: 99-32=67
Moving to Node #0,2
Current State: 53:[54, 66, 67], Operations: ['99-32=67']
Exploring Operation: 66-54=12, Resulting Numbers: [67, 12]
Generated Node #0,2,0: 53:[67, 12] Operation: 66-54=12
Exploring Operation: 67-66=1, Resulting Numbers: [54, 1]
Generated Node #0,2,1: 53:[54, 1] Operation: 67-66=1
Exploring Operation: 67-54=13, Resulting Numbers: [66, 13]
Generated Node #0,2,2: 53:[66, 13] Operation: 67-54=13
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 53:[54, 1], Operations: ['99-32=67', '67-66=1']
Exploring Operation: 54/1=54, Resulting Numbers: [54]
54,53 unequal: No Solution
Exploring Operation: 54*1=54, Resulting Numbers: [54]
54,53 unequal: No Solution
Exploring Operation: 54-1=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[54, 99, 66, 32], Operations: []
Exploring Operation: 99-32=67, Resulting Numbers: [54, 66, 67]
Generated Node #0,2: 53:[54, 66, 67] Operation: 99-32=67
Moving to Node #0,2
Current State: 53:[54, 66, 67], Operations: ['99-32=67']
Exploring Operation: 67-66=1, Resulting Numbers: [54, 1]
Generated Node #0,2,1: 53:[54, 1] Operation: 67-66=1
Moving to Node #0,2,1
Current State: 53:[54, 1], Operations: ['99-32=67', '67-66=1']
Exploring Operation: 54-1=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
26,
5,
43,
84
] | 96 | [
"26+5=31",
"43+84=127",
"127-31=96"
] | Current State: 96:[26, 5, 43, 84], Operations: []
Exploring Operation: 26+5=31, Resulting Numbers: [43, 84, 31]
Generated Node #2: [43, 84, 31] from Operation: 26+5=31
Current State: 96:[43, 84, 31], Operations: ['26+5=31']
Exploring Operation: 43+84=127, Resulting Numbers: [31, 127]
Generated Node #3: [31, 127] from Operation: 43+84=127
Current State: 96:[31, 127], Operations: ['26+5=31', '43+84=127']
Exploring Operation: 127-31=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[26, 5, 43, 84], Operations: []
Exploring Operation: 43-26=17, Resulting Numbers: [5, 84, 17]
Generated Node #0,0: 96:[5, 84, 17] Operation: 43-26=17
Exploring Operation: 5+43=48, Resulting Numbers: [26, 84, 48]
Generated Node #0,1: 96:[26, 84, 48] Operation: 5+43=48
Exploring Operation: 84-43=41, Resulting Numbers: [26, 5, 41]
Generated Node #0,2: 96:[26, 5, 41] Operation: 84-43=41
Exploring Operation: 5+84=89, Resulting Numbers: [26, 43, 89]
Generated Node #0,3: 96:[26, 43, 89] Operation: 5+84=89
Exploring Operation: 84-26=58, Resulting Numbers: [5, 43, 58]
Generated Node #0,4: 96:[5, 43, 58] Operation: 84-26=58
Start Sub Search at level 1: Moving to Node #0,2
Current State: 96:[26, 5, 41], Operations: ['84-43=41']
Exploring Operation: 5+41=46, Resulting Numbers: [26, 46]
Generated Node #0,2,0: 96:[26, 46] Operation: 5+41=46
Exploring Operation: 26+5=31, Resulting Numbers: [41, 31]
Generated Node #0,2,1: 96:[41, 31] Operation: 26+5=31
Exploring Operation: 41-26=15, Resulting Numbers: [5, 15]
Generated Node #0,2,2: 96:[5, 15] Operation: 41-26=15
Exploring Operation: 41-5=36, Resulting Numbers: [26, 36]
Generated Node #0,2,3: 96:[26, 36] Operation: 41-5=36
Exploring Operation: 26-5=21, Resulting Numbers: [41, 21]
Generated Node #0,2,4: 96:[41, 21] Operation: 26-5=21
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 96:[5, 15], Operations: ['84-43=41', '41-26=15']
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,96 unequal: No Solution
Exploring Operation: 5+15=20, Resulting Numbers: [20]
20,96 unequal: No Solution
Exploring Operation: 5*15=75, Resulting Numbers: [75]
75,96 unequal: No Solution
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 96:[26, 46], Operations: ['84-43=41', '5+41=46']
Exploring Operation: 26*46=1196, Resulting Numbers: [1196]
1196,96 unequal: No Solution
Exploring Operation: 26+46=72, Resulting Numbers: [72]
72,96 unequal: No Solution
Exploring Operation: 46-26=20, Resulting Numbers: [20]
20,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 96:[26, 36], Operations: ['84-43=41', '41-5=36']
Exploring Operation: 26+36=62, Resulting Numbers: [62]
62,96 unequal: No Solution
Exploring Operation: 26*36=936, Resulting Numbers: [936]
936,96 unequal: No Solution
Exploring Operation: 36-26=10, Resulting Numbers: [10]
10,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 96:[41, 31], Operations: ['84-43=41', '26+5=31']
Exploring Operation: 41-31=10, Resulting Numbers: [10]
10,96 unequal: No Solution
Exploring Operation: 41*31=1271, Resulting Numbers: [1271]
1271,96 unequal: No Solution
Exploring Operation: 41+31=72, Resulting Numbers: [72]
72,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 96:[41, 21], Operations: ['84-43=41', '26-5=21']
Exploring Operation: 41+21=62, Resulting Numbers: [62]
62,96 unequal: No Solution
Exploring Operation: 41-21=20, Resulting Numbers: [20]
20,96 unequal: No Solution
Exploring Operation: 41*21=861, Resulting Numbers: [861]
861,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,0
Current State: 96:[5, 84, 17], Operations: ['43-26=17']
Exploring Operation: 84-5=79, Resulting Numbers: [17, 79]
Generated Node #0,0,0: 96:[17, 79] Operation: 84-5=79
Exploring Operation: 5+84=89, Resulting Numbers: [17, 89]
Generated Node #0,0,1: 96:[17, 89] Operation: 5+84=89
Exploring Operation: 84+17=101, Resulting Numbers: [5, 101]
Generated Node #0,0,2: 96:[5, 101] Operation: 84+17=101
Exploring Operation: 17-5=12, Resulting Numbers: [84, 12]
Generated Node #0,0,3: 96:[84, 12] Operation: 17-5=12
Exploring Operation: 5+17=22, Resulting Numbers: [84, 22]
Generated Node #0,0,4: 96:[84, 22] Operation: 5+17=22
Moving to Node #0,0,2
Current State: 96:[5, 101], Operations: ['43-26=17', '84+17=101']
Exploring Operation: 5*101=505, Resulting Numbers: [505]
505,96 unequal: No Solution
Exploring Operation: 5+101=106, Resulting Numbers: [106]
106,96 unequal: No Solution
Exploring Operation: 101-5=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[26, 5, 43, 84], Operations: []
Exploring Operation: 43-26=17, Resulting Numbers: [5, 84, 17]
Generated Node #0,0: 96:[5, 84, 17] Operation: 43-26=17
Moving to Node #0,0
Current State: 96:[5, 84, 17], Operations: ['43-26=17']
Exploring Operation: 84+17=101, Resulting Numbers: [5, 101]
Generated Node #0,0,2: 96:[5, 101] Operation: 84+17=101
Moving to Node #0,0,2
Current State: 96:[5, 101], Operations: ['43-26=17', '84+17=101']
Exploring Operation: 101-5=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_5 | sum_heuristic |
[
80,
26,
42,
21
] | 63 | [
"80*21=1680",
"1680-42=1638",
"1638/26=63"
] | Current State: 63:[80, 26, 42, 21], Operations: []
Exploring Operation: 80*21=1680, Resulting Numbers: [26, 42, 1680]
Generated Node #2: [26, 42, 1680] from Operation: 80*21=1680
Current State: 63:[26, 42, 1680], Operations: ['80*21=1680']
Exploring Operation: 1680-42=1638, Resulting Numbers: [26, 1638]
Generated Node #3: [26, 1638] from Operation: 1680-42=1638
Current State: 63:[26, 1638], Operations: ['80*21=1680', '1680-42=1638']
Exploring Operation: 1638/26=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[80, 26, 42, 21], Operations: []
Exploring Operation: 42-26=16, Resulting Numbers: [80, 21, 16]
Generated Node #0,0: 63:[80, 21, 16] Operation: 42-26=16
Exploring Operation: 26+42=68, Resulting Numbers: [80, 21, 68]
Generated Node #0,1: 63:[80, 21, 68] Operation: 26+42=68
Exploring Operation: 80-42=38, Resulting Numbers: [26, 21, 38]
Generated Node #0,2: 63:[26, 21, 38] Operation: 80-42=38
Exploring Operation: 42+21=63, Resulting Numbers: [80, 26, 63]
Generated Node #0,3: 63:[80, 26, 63] Operation: 42+21=63
Moving to Node #0,0
Current State: 63:[80, 21, 16], Operations: ['42-26=16']
Exploring Operation: 21-16=5, Resulting Numbers: [80, 5]
Generated Node #0,0,0: 63:[80, 5] Operation: 21-16=5
Exploring Operation: 80/16=5, Resulting Numbers: [21, 5]
Generated Node #0,0,1: 63:[21, 5] Operation: 80/16=5
Exploring Operation: 80-21=59, Resulting Numbers: [16, 59]
Generated Node #0,0,2: 63:[16, 59] Operation: 80-21=59
Exploring Operation: 80-16=64, Resulting Numbers: [21, 64]
Generated Node #0,0,3: 63:[21, 64] Operation: 80-16=64
Moving to Node #0,2
Current State: 63:[26, 21, 38], Operations: ['80-42=38']
Exploring Operation: 38-26=12, Resulting Numbers: [21, 12]
Generated Node #0,2,0: 63:[21, 12] Operation: 38-26=12
Exploring Operation: 38-21=17, Resulting Numbers: [26, 17]
Generated Node #0,2,1: 63:[26, 17] Operation: 38-21=17
Exploring Operation: 21+38=59, Resulting Numbers: [26, 59]
Generated Node #0,2,2: 63:[26, 59] Operation: 21+38=59
Exploring Operation: 26+38=64, Resulting Numbers: [21, 64]
Generated Node #0,2,3: 63:[21, 64] Operation: 26+38=64
Moving to Node #0,1
Current State: 63:[80, 21, 68], Operations: ['26+42=68']
Exploring Operation: 80-21=59, Resulting Numbers: [68, 59]
Generated Node #0,1,0: 63:[68, 59] Operation: 80-21=59
Exploring Operation: 80+21=101, Resulting Numbers: [68, 101]
Generated Node #0,1,1: 63:[68, 101] Operation: 80+21=101
Exploring Operation: 80-68=12, Resulting Numbers: [21, 12]
Generated Node #0,1,2: 63:[21, 12] Operation: 80-68=12
Exploring Operation: 68-21=47, Resulting Numbers: [80, 47]
Generated Node #0,1,3: 63:[80, 47] Operation: 68-21=47
Moving to Node #0,3
Current State: 63:[80, 26, 63], Operations: ['42+21=63']
Exploring Operation: 80-26=54, Resulting Numbers: [63, 54]
Generated Node #0,3,0: 63:[63, 54] Operation: 80-26=54
Exploring Operation: 63-26=37, Resulting Numbers: [80, 37]
Generated Node #0,3,1: 63:[80, 37] Operation: 63-26=37
Exploring Operation: 80+26=106, Resulting Numbers: [63, 106]
Generated Node #0,3,2: 63:[63, 106] Operation: 80+26=106
Exploring Operation: 80-63=17, Resulting Numbers: [26, 17]
Generated Node #0,3,3: 63:[26, 17] Operation: 80-63=17
Moving to Node #0,0,3
Current State: 63:[21, 64], Operations: ['42-26=16', '80-16=64']
Exploring Operation: 21*64=1344, Resulting Numbers: [1344]
1344,63 unequal: No Solution
Exploring Operation: 21+64=85, Resulting Numbers: [85]
85,63 unequal: No Solution
Exploring Operation: 64-21=43, Resulting Numbers: [43]
43,63 unequal: No Solution
Moving to Node #0,2,3
Current State: 63:[21, 64], Operations: ['80-42=38', '26+38=64']
Exploring Operation: 21+64=85, Resulting Numbers: [85]
85,63 unequal: No Solution
Exploring Operation: 21*64=1344, Resulting Numbers: [1344]
1344,63 unequal: No Solution
Exploring Operation: 64-21=43, Resulting Numbers: [43]
43,63 unequal: No Solution
Moving to Node #0,0,1
Current State: 63:[21, 5], Operations: ['42-26=16', '80/16=5']
Exploring Operation: 21*5=105, Resulting Numbers: [105]
105,63 unequal: No Solution
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,63 unequal: No Solution
Exploring Operation: 21+5=26, Resulting Numbers: [26]
26,63 unequal: No Solution
Moving to Node #0,2,0
Current State: 63:[21, 12], Operations: ['80-42=38', '38-26=12']
Exploring Operation: 21+12=33, Resulting Numbers: [33]
33,63 unequal: No Solution
Exploring Operation: 21*12=252, Resulting Numbers: [252]
252,63 unequal: No Solution
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,63 unequal: No Solution
Moving to Node #0,1,2
Current State: 63:[21, 12], Operations: ['26+42=68', '80-68=12']
Exploring Operation: 21+12=33, Resulting Numbers: [33]
33,63 unequal: No Solution
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,63 unequal: No Solution
Exploring Operation: 21*12=252, Resulting Numbers: [252]
252,63 unequal: No Solution
Moving to Node #0,2,1
Current State: 63:[26, 17], Operations: ['80-42=38', '38-21=17']
Exploring Operation: 26+17=43, Resulting Numbers: [43]
43,63 unequal: No Solution
Exploring Operation: 26*17=442, Resulting Numbers: [442]
442,63 unequal: No Solution
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,63 unequal: No Solution
Moving to Node #0,3,3
Current State: 63:[26, 17], Operations: ['42+21=63', '80-63=17']
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,63 unequal: No Solution
Exploring Operation: 26*17=442, Resulting Numbers: [442]
442,63 unequal: No Solution
Exploring Operation: 26+17=43, Resulting Numbers: [43]
43,63 unequal: No Solution
Moving to Node #0,0,2
Current State: 63:[16, 59], Operations: ['42-26=16', '80-21=59']
Exploring Operation: 59-16=43, Resulting Numbers: [43]
43,63 unequal: No Solution
Exploring Operation: 16+59=75, Resulting Numbers: [75]
75,63 unequal: No Solution
Exploring Operation: 16*59=944, Resulting Numbers: [944]
944,63 unequal: No Solution
Moving to Node #0,1,0
Current State: 63:[68, 59], Operations: ['26+42=68', '80-21=59']
Exploring Operation: 68+59=127, Resulting Numbers: [127]
127,63 unequal: No Solution
Exploring Operation: 68*59=4012, Resulting Numbers: [4012]
4012,63 unequal: No Solution
Exploring Operation: 68-59=9, Resulting Numbers: [9]
9,63 unequal: No Solution
Moving to Node #0,3,0
Current State: 63:[63, 54], Operations: ['42+21=63', '80-26=54']
Exploring Operation: 63*54=3402, Resulting Numbers: [3402]
3402,63 unequal: No Solution
Exploring Operation: 63+54=117, Resulting Numbers: [117]
117,63 unequal: No Solution
Exploring Operation: 63-54=9, Resulting Numbers: [9]
9,63 unequal: No Solution
Moving to Node #0,2,2
Current State: 63:[26, 59], Operations: ['80-42=38', '21+38=59']
Exploring Operation: 59-26=33, Resulting Numbers: [33]
33,63 unequal: No Solution
Exploring Operation: 26*59=1534, Resulting Numbers: [1534]
1534,63 unequal: No Solution
Exploring Operation: 26+59=85, Resulting Numbers: [85]
85,63 unequal: No Solution
Moving to Node #0,0,0
Current State: 63:[80, 5], Operations: ['42-26=16', '21-16=5']
Exploring Operation: 80-5=75, Resulting Numbers: [75]
75,63 unequal: No Solution
Exploring Operation: 80/5=16, Resulting Numbers: [16]
16,63 unequal: No Solution
Exploring Operation: 80+5=85, Resulting Numbers: [85]
85,63 unequal: No Solution
Exploring Operation: 80*5=400, Resulting Numbers: [400]
400,63 unequal: No Solution
Moving to Node #0,1,3
Current State: 63:[80, 47], Operations: ['26+42=68', '68-21=47']
Exploring Operation: 80*47=3760, Resulting Numbers: [3760]
3760,63 unequal: No Solution
Exploring Operation: 80+47=127, Resulting Numbers: [127]
127,63 unequal: No Solution
Exploring Operation: 80-47=33, Resulting Numbers: [33]
33,63 unequal: No Solution
Moving to Node #0,3,1
Current State: 63:[80, 37], Operations: ['42+21=63', '63-26=37']
Exploring Operation: 80-37=43, Resulting Numbers: [43]
43,63 unequal: No Solution
Exploring Operation: 80+37=117, Resulting Numbers: [117]
117,63 unequal: No Solution
Exploring Operation: 80*37=2960, Resulting Numbers: [2960]
2960,63 unequal: No Solution
Moving to Node #0,1,1
Current State: 63:[68, 101], Operations: ['26+42=68', '80+21=101']
Exploring Operation: 68+101=169, Resulting Numbers: [169]
169,63 unequal: No Solution
Exploring Operation: 68*101=6868, Resulting Numbers: [6868]
6868,63 unequal: No Solution
Exploring Operation: 101-68=33, Resulting Numbers: [33]
33,63 unequal: No Solution
Moving to Node #0,3,2
Current State: 63:[63, 106], Operations: ['42+21=63', '80+26=106']
Exploring Operation: 63*106=6678, Resulting Numbers: [6678]
6678,63 unequal: No Solution
Exploring Operation: 63+106=169, Resulting Numbers: [169]
169,63 unequal: No Solution
Exploring Operation: 106-63=43, Resulting Numbers: [43]
43,63 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
24,
73,
3,
96
] | 99 | [
"24+96=120",
"73*3=219",
"219-120=99"
] | Current State: 99:[24, 73, 3, 96], Operations: []
Exploring Operation: 24+96=120, Resulting Numbers: [73, 3, 120]
Generated Node #2: [73, 3, 120] from Operation: 24+96=120
Current State: 99:[73, 3, 120], Operations: ['24+96=120']
Exploring Operation: 73*3=219, Resulting Numbers: [120, 219]
Generated Node #3: [120, 219] from Operation: 73*3=219
Current State: 99:[120, 219], Operations: ['24+96=120', '73*3=219']
Exploring Operation: 219-120=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[24, 73, 3, 96], Operations: []
Exploring Operation: 96-73=23, Resulting Numbers: [24, 3, 23]
Generated Node #0,0: 99:[24, 3, 23] Operation: 96-73=23
Exploring Operation: 73-24=49, Resulting Numbers: [3, 96, 49]
Generated Node #0,1: 99:[3, 96, 49] Operation: 73-24=49
Exploring Operation: 24+73=97, Resulting Numbers: [3, 96, 97]
Generated Node #0,2: 99:[3, 96, 97] Operation: 24+73=97
Moving to Node #0,2
Current State: 99:[3, 96, 97], Operations: ['24+73=97']
Exploring Operation: 3+96=99, Resulting Numbers: [97, 99]
Generated Node #0,2,0: 99:[97, 99] Operation: 3+96=99
Exploring Operation: 97-96=1, Resulting Numbers: [3, 1]
Generated Node #0,2,1: 99:[3, 1] Operation: 97-96=1
Exploring Operation: 96/3=32, Resulting Numbers: [97, 32]
Generated Node #0,2,2: 99:[97, 32] Operation: 96/3=32
Moving to Node #0,0
Current State: 99:[24, 3, 23], Operations: ['96-73=23']
Exploring Operation: 24-23=1, Resulting Numbers: [3, 1]
Generated Node #0,0,0: 99:[3, 1] Operation: 24-23=1
Exploring Operation: 24/3=8, Resulting Numbers: [23, 8]
Generated Node #0,0,1: 99:[23, 8] Operation: 24/3=8
Exploring Operation: 24+23=47, Resulting Numbers: [3, 47]
Generated Node #0,0,2: 99:[3, 47] Operation: 24+23=47
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 99:[3, 1], Operations: ['96-73=23', '24-23=1']
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,99 unequal: No Solution
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,99 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,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:[23, 8], Operations: ['96-73=23', '24/3=8']
Exploring Operation: 23+8=31, Resulting Numbers: [31]
31,99 unequal: No Solution
Exploring Operation: 23*8=184, Resulting Numbers: [184]
184,99 unequal: No Solution
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,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,2
Current State: 99:[3, 47], Operations: ['96-73=23', '24+23=47']
Exploring Operation: 3*47=141, Resulting Numbers: [141]
141,99 unequal: No Solution
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,99 unequal: No Solution
Exploring Operation: 3+47=50, Resulting Numbers: [50]
50,99 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: 99:[3, 96, 49], Operations: ['73-24=49']
Exploring Operation: 3+96=99, Resulting Numbers: [49, 99]
Generated Node #0,1,0: 99:[49, 99] Operation: 3+96=99
Exploring Operation: 49-3=46, Resulting Numbers: [96, 46]
Generated Node #0,1,1: 99:[96, 46] Operation: 49-3=46
Exploring Operation: 96-49=47, Resulting Numbers: [3, 47]
Generated Node #0,1,2: 99:[3, 47] Operation: 96-49=47
Moving to Node #0,2,0
Current State: 99:[97, 99], Operations: ['24+73=97', '3+96=99']
Exploring Operation: 99-97=2, Resulting Numbers: [2]
2,99 unequal: No Solution
Exploring Operation: 97*99=9603, Resulting Numbers: [9603]
9603,99 unequal: No Solution
Exploring Operation: 97+99=196, Resulting Numbers: [196]
196,99 unequal: No Solution
Moving to Node #0,2,1
Current State: 99:[3, 1], Operations: ['24+73=97', '97-96=1']
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,99 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,99 unequal: No Solution
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,99 unequal: No Solution
Moving to Node #0,2,2
Current State: 99:[97, 32], Operations: ['24+73=97', '96/3=32']
Exploring Operation: 97+32=129, Resulting Numbers: [129]
129,99 unequal: No Solution
Exploring Operation: 97-32=65, Resulting Numbers: [65]
65,99 unequal: No Solution
Exploring Operation: 97*32=3104, Resulting Numbers: [3104]
3104,99 unequal: No Solution
Moving to Node #0,1,2
Current State: 99:[3, 47], Operations: ['73-24=49', '96-49=47']
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,99 unequal: No Solution
Exploring Operation: 3+47=50, Resulting Numbers: [50]
50,99 unequal: No Solution
Exploring Operation: 3*47=141, Resulting Numbers: [141]
141,99 unequal: No Solution
Moving to Node #0,1,1
Current State: 99:[96, 46], Operations: ['73-24=49', '49-3=46']
Exploring Operation: 96+46=142, Resulting Numbers: [142]
142,99 unequal: No Solution
Exploring Operation: 96*46=4416, Resulting Numbers: [4416]
4416,99 unequal: No Solution
Exploring Operation: 96-46=50, Resulting Numbers: [50]
50,99 unequal: No Solution
Moving to Node #0,1,0
Current State: 99:[49, 99], Operations: ['73-24=49', '3+96=99']
Exploring Operation: 99-49=50, Resulting Numbers: [50]
50,99 unequal: No Solution
Exploring Operation: 49*99=4851, Resulting Numbers: [4851]
4851,99 unequal: No Solution
Exploring Operation: 49+99=148, Resulting Numbers: [148]
148,99 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
2,
97,
11,
34
] | 25 | [
"2+97=99",
"99/11=9",
"34-9=25"
] | Current State: 25:[2, 97, 11, 34], Operations: []
Exploring Operation: 2+97=99, Resulting Numbers: [11, 34, 99]
Generated Node #2: [11, 34, 99] from Operation: 2+97=99
Current State: 25:[11, 34, 99], Operations: ['2+97=99']
Exploring Operation: 99/11=9, Resulting Numbers: [34, 9]
Generated Node #3: [34, 9] from Operation: 99/11=9
Current State: 25:[34, 9], Operations: ['2+97=99', '99/11=9']
Exploring Operation: 34-9=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[2, 97, 11, 34], Operations: []
Exploring Operation: 2*11=22, Resulting Numbers: [97, 34, 22]
Generated Node #0,0: 25:[97, 34, 22] Operation: 2*11=22
Exploring Operation: 97-11=86, Resulting Numbers: [2, 34, 86]
Generated Node #0,1: 25:[2, 34, 86] Operation: 97-11=86
Exploring Operation: 34-11=23, Resulting Numbers: [2, 97, 23]
Generated Node #0,2: 25:[2, 97, 23] Operation: 34-11=23
Exploring Operation: 97-2=95, Resulting Numbers: [11, 34, 95]
Generated Node #0,3: 25:[11, 34, 95] Operation: 97-2=95
Exploring Operation: 97-34=63, Resulting Numbers: [2, 11, 63]
Generated Node #0,4: 25:[2, 11, 63] Operation: 97-34=63
Moving to Node #0,4
Current State: 25:[2, 11, 63], Operations: ['97-34=63']
Exploring Operation: 11-2=9, Resulting Numbers: [63, 9]
Generated Node #0,4,0: 25:[63, 9] Operation: 11-2=9
Exploring Operation: 63-2=61, Resulting Numbers: [11, 61]
Generated Node #0,4,1: 25:[11, 61] Operation: 63-2=61
Exploring Operation: 2*11=22, Resulting Numbers: [63, 22]
Generated Node #0,4,2: 25:[63, 22] Operation: 2*11=22
Exploring Operation: 63-11=52, Resulting Numbers: [2, 52]
Generated Node #0,4,3: 25:[2, 52] Operation: 63-11=52
Exploring Operation: 2+11=13, Resulting Numbers: [63, 13]
Generated Node #0,4,4: 25:[63, 13] Operation: 2+11=13
Moving to Node #0,1
Current State: 25:[2, 34, 86], Operations: ['97-11=86']
Exploring Operation: 34-2=32, Resulting Numbers: [86, 32]
Generated Node #0,1,0: 25:[86, 32] Operation: 34-2=32
Exploring Operation: 86-2=84, Resulting Numbers: [34, 84]
Generated Node #0,1,1: 25:[34, 84] Operation: 86-2=84
Exploring Operation: 86-34=52, Resulting Numbers: [2, 52]
Generated Node #0,1,2: 25:[2, 52] Operation: 86-34=52
Exploring Operation: 86/2=43, Resulting Numbers: [34, 43]
Generated Node #0,1,3: 25:[34, 43] Operation: 86/2=43
Exploring Operation: 34/2=17, Resulting Numbers: [86, 17]
Generated Node #0,1,4: 25:[86, 17] Operation: 34/2=17
Moving to Node #0,2
Current State: 25:[2, 97, 23], Operations: ['34-11=23']
Exploring Operation: 97-23=74, Resulting Numbers: [2, 74]
Generated Node #0,2,0: 25:[2, 74] Operation: 97-23=74
Exploring Operation: 23-2=21, Resulting Numbers: [97, 21]
Generated Node #0,2,1: 25:[97, 21] Operation: 23-2=21
Exploring Operation: 97-2=95, Resulting Numbers: [23, 95]
Generated Node #0,2,2: 25:[23, 95] Operation: 97-2=95
Exploring Operation: 2+23=25, Resulting Numbers: [97, 25]
Generated Node #0,2,3: 25:[97, 25] Operation: 2+23=25
Exploring Operation: 2+97=99, Resulting Numbers: [23, 99]
Generated Node #0,2,4: 25:[23, 99] Operation: 2+97=99
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 25:[2, 74], Operations: ['34-11=23', '97-23=74']
Exploring Operation: 2+74=76, Resulting Numbers: [76]
76,25 unequal: No Solution
Exploring Operation: 74/2=37, Resulting Numbers: [37]
37,25 unequal: No Solution
Exploring Operation: 2*74=148, Resulting Numbers: [148]
148,25 unequal: No Solution
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 25:[23, 95], Operations: ['34-11=23', '97-2=95']
Exploring Operation: 23*95=2185, Resulting Numbers: [2185]
2185,25 unequal: No Solution
Exploring Operation: 95-23=72, Resulting Numbers: [72]
72,25 unequal: No Solution
Exploring Operation: 23+95=118, Resulting Numbers: [118]
118,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 25:[97, 25], Operations: ['34-11=23', '2+23=25']
Exploring Operation: 97-25=72, Resulting Numbers: [72]
72,25 unequal: No Solution
Exploring Operation: 97*25=2425, Resulting Numbers: [2425]
2425,25 unequal: No Solution
Exploring Operation: 97+25=122, Resulting Numbers: [122]
122,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 25:[97, 21], Operations: ['34-11=23', '23-2=21']
Exploring Operation: 97-21=76, Resulting Numbers: [76]
76,25 unequal: No Solution
Exploring Operation: 97+21=118, Resulting Numbers: [118]
118,25 unequal: No Solution
Exploring Operation: 97*21=2037, Resulting Numbers: [2037]
2037,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 25:[23, 99], Operations: ['34-11=23', '2+97=99']
Exploring Operation: 23+99=122, Resulting Numbers: [122]
122,25 unequal: No Solution
Exploring Operation: 23*99=2277, Resulting Numbers: [2277]
2277,25 unequal: No Solution
Exploring Operation: 99-23=76, Resulting Numbers: [76]
76,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 25:[97, 34, 22], Operations: ['2*11=22']
Exploring Operation: 97-22=75, Resulting Numbers: [34, 75]
Generated Node #0,0,0: 25:[34, 75] Operation: 97-22=75
Exploring Operation: 34+22=56, Resulting Numbers: [97, 56]
Generated Node #0,0,1: 25:[97, 56] Operation: 34+22=56
Exploring Operation: 97-34=63, Resulting Numbers: [22, 63]
Generated Node #0,0,2: 25:[22, 63] Operation: 97-34=63
Exploring Operation: 34-22=12, Resulting Numbers: [97, 12]
Generated Node #0,0,3: 25:[97, 12] Operation: 34-22=12
Exploring Operation: 97+22=119, Resulting Numbers: [34, 119]
Generated Node #0,0,4: 25:[34, 119] Operation: 97+22=119
Moving to Node #0,3
Current State: 25:[11, 34, 95], Operations: ['97-2=95']
Exploring Operation: 95-11=84, Resulting Numbers: [34, 84]
Generated Node #0,3,0: 25:[34, 84] Operation: 95-11=84
Exploring Operation: 95-34=61, Resulting Numbers: [11, 61]
Generated Node #0,3,1: 25:[11, 61] Operation: 95-34=61
Exploring Operation: 11+95=106, Resulting Numbers: [34, 106]
Generated Node #0,3,2: 25:[34, 106] Operation: 11+95=106
Exploring Operation: 34-11=23, Resulting Numbers: [95, 23]
Generated Node #0,3,3: 25:[95, 23] Operation: 34-11=23
Exploring Operation: 11+34=45, Resulting Numbers: [95, 45]
Generated Node #0,3,4: 25:[95, 45] Operation: 11+34=45
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 25:[11, 61], Operations: ['97-2=95', '95-34=61']
Exploring Operation: 11*61=671, Resulting Numbers: [671]
671,25 unequal: No Solution
Exploring Operation: 61-11=50, Resulting Numbers: [50]
50,25 unequal: No Solution
Exploring Operation: 11+61=72, Resulting Numbers: [72]
72,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 25:[34, 84], Operations: ['97-2=95', '95-11=84']
Exploring Operation: 34+84=118, Resulting Numbers: [118]
118,25 unequal: No Solution
Exploring Operation: 84-34=50, Resulting Numbers: [50]
50,25 unequal: No Solution
Exploring Operation: 34*84=2856, Resulting Numbers: [2856]
2856,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 25:[95, 23], Operations: ['97-2=95', '34-11=23']
Exploring Operation: 95+23=118, Resulting Numbers: [118]
118,25 unequal: No Solution
Exploring Operation: 95-23=72, Resulting Numbers: [72]
72,25 unequal: No Solution
Exploring Operation: 95*23=2185, Resulting Numbers: [2185]
2185,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 25:[34, 106], Operations: ['97-2=95', '11+95=106']
Exploring Operation: 106-34=72, Resulting Numbers: [72]
72,25 unequal: No Solution
Exploring Operation: 34*106=3604, Resulting Numbers: [3604]
3604,25 unequal: No Solution
Exploring Operation: 34+106=140, Resulting Numbers: [140]
140,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 25:[95, 45], Operations: ['97-2=95', '11+34=45']
Exploring Operation: 95*45=4275, Resulting Numbers: [4275]
4275,25 unequal: No Solution
Exploring Operation: 95+45=140, Resulting Numbers: [140]
140,25 unequal: No Solution
Exploring Operation: 95-45=50, Resulting Numbers: [50]
50,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,3
Current State: 25:[34, 43], Operations: ['97-11=86', '86/2=43']
Exploring Operation: 43-34=9, Resulting Numbers: [9]
9,25 unequal: No Solution
Exploring Operation: 34+43=77, Resulting Numbers: [77]
77,25 unequal: No Solution
Exploring Operation: 34*43=1462, Resulting Numbers: [1462]
1462,25 unequal: No Solution
Moving to Node #0,4,3
Current State: 25:[2, 52], Operations: ['97-34=63', '63-11=52']
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Exploring Operation: 2+52=54, Resulting Numbers: [54]
54,25 unequal: No Solution
Exploring Operation: 2*52=104, Resulting Numbers: [104]
104,25 unequal: No Solution
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,25 unequal: No Solution
Moving to Node #0,1,2
Current State: 25:[2, 52], Operations: ['97-11=86', '86-34=52']
Exploring Operation: 2*52=104, Resulting Numbers: [104]
104,25 unequal: No Solution
Exploring Operation: 2+52=54, Resulting Numbers: [54]
54,25 unequal: No Solution
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,25 unequal: No Solution
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Moving to Node #0,4,2
Current State: 25:[63, 22], Operations: ['97-34=63', '2*11=22']
Exploring Operation: 63+22=85, Resulting Numbers: [85]
85,25 unequal: No Solution
Exploring Operation: 63*22=1386, Resulting Numbers: [1386]
1386,25 unequal: No Solution
Exploring Operation: 63-22=41, Resulting Numbers: [41]
41,25 unequal: No Solution
Moving to Node #0,0,2
Current State: 25:[22, 63], Operations: ['2*11=22', '97-34=63']
Exploring Operation: 22+63=85, Resulting Numbers: [85]
85,25 unequal: No Solution
Exploring Operation: 22*63=1386, Resulting Numbers: [1386]
1386,25 unequal: No Solution
Exploring Operation: 63-22=41, Resulting Numbers: [41]
41,25 unequal: No Solution
Moving to Node #0,4,0
Current State: 25:[63, 9], Operations: ['97-34=63', '11-2=9']
Exploring Operation: 63+9=72, Resulting Numbers: [72]
72,25 unequal: No Solution
Exploring Operation: 63-9=54, Resulting Numbers: [54]
54,25 unequal: No Solution
Exploring Operation: 63/9=7, Resulting Numbers: [7]
7,25 unequal: No Solution
Exploring Operation: 63*9=567, Resulting Numbers: [567]
567,25 unequal: No Solution
Moving to Node #0,4,1
Current State: 25:[11, 61], Operations: ['97-34=63', '63-2=61']
Exploring Operation: 61-11=50, Resulting Numbers: [50]
50,25 unequal: No Solution
Exploring Operation: 11*61=671, Resulting Numbers: [671]
671,25 unequal: No Solution
Exploring Operation: 11+61=72, Resulting Numbers: [72]
72,25 unequal: No Solution
Moving to Node #0,4,4
Current State: 25:[63, 13], Operations: ['97-34=63', '2+11=13']
Exploring Operation: 63*13=819, Resulting Numbers: [819]
819,25 unequal: No Solution
Exploring Operation: 63-13=50, Resulting Numbers: [50]
50,25 unequal: No Solution
Exploring Operation: 63+13=76, Resulting Numbers: [76]
76,25 unequal: No Solution
Moving to Node #0,0,0
Current State: 25:[34, 75], Operations: ['2*11=22', '97-22=75']
Exploring Operation: 75-34=41, Resulting Numbers: [41]
41,25 unequal: No Solution
Exploring Operation: 34+75=109, Resulting Numbers: [109]
109,25 unequal: No Solution
Exploring Operation: 34*75=2550, Resulting Numbers: [2550]
2550,25 unequal: No Solution
Moving to Node #0,1,1
Current State: 25:[34, 84], Operations: ['97-11=86', '86-2=84']
Exploring Operation: 84-34=50, Resulting Numbers: [50]
50,25 unequal: No Solution
Exploring Operation: 34+84=118, Resulting Numbers: [118]
118,25 unequal: No Solution
Exploring Operation: 34*84=2856, Resulting Numbers: [2856]
2856,25 unequal: No Solution
Moving to Node #0,1,0
Current State: 25:[86, 32], Operations: ['97-11=86', '34-2=32']
Exploring Operation: 86*32=2752, Resulting Numbers: [2752]
2752,25 unequal: No Solution
Exploring Operation: 86+32=118, Resulting Numbers: [118]
118,25 unequal: No Solution
Exploring Operation: 86-32=54, Resulting Numbers: [54]
54,25 unequal: No Solution
Moving to Node #0,1,4
Current State: 25:[86, 17], Operations: ['97-11=86', '34/2=17']
Exploring Operation: 86+17=103, Resulting Numbers: [103]
103,25 unequal: No Solution
Exploring Operation: 86*17=1462, Resulting Numbers: [1462]
1462,25 unequal: No Solution
Exploring Operation: 86-17=69, Resulting Numbers: [69]
69,25 unequal: No Solution
Moving to Node #0,0,3
Current State: 25:[97, 12], Operations: ['2*11=22', '34-22=12']
Exploring Operation: 97-12=85, Resulting Numbers: [85]
85,25 unequal: No Solution
Exploring Operation: 97+12=109, Resulting Numbers: [109]
109,25 unequal: No Solution
Exploring Operation: 97*12=1164, Resulting Numbers: [1164]
1164,25 unequal: No Solution
Moving to Node #0,0,1
Current State: 25:[97, 56], Operations: ['2*11=22', '34+22=56']
Exploring Operation: 97*56=5432, Resulting Numbers: [5432]
5432,25 unequal: No Solution
Exploring Operation: 97+56=153, Resulting Numbers: [153]
153,25 unequal: No Solution
Exploring Operation: 97-56=41, Resulting Numbers: [41]
41,25 unequal: No Solution
Moving to Node #0,0,4
Current State: 25:[34, 119], Operations: ['2*11=22', '97+22=119']
Exploring Operation: 34*119=4046, Resulting Numbers: [4046]
4046,25 unequal: No Solution
Exploring Operation: 34+119=153, Resulting Numbers: [153]
153,25 unequal: No Solution
Exploring Operation: 119-34=85, Resulting Numbers: [85]
85,25 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
99,
74,
66,
1
] | 11 | [
"74-66=8",
"1+8=9",
"99/9=11"
] | Current State: 11:[99, 74, 66, 1], Operations: []
Exploring Operation: 74-66=8, Resulting Numbers: [99, 1, 8]
Generated Node #2: [99, 1, 8] from Operation: 74-66=8
Current State: 11:[99, 1, 8], Operations: ['74-66=8']
Exploring Operation: 1+8=9, Resulting Numbers: [99, 9]
Generated Node #3: [99, 9] from Operation: 1+8=9
Current State: 11:[99, 9], Operations: ['74-66=8', '1+8=9']
Exploring Operation: 99/9=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[99, 74, 66, 1], Operations: []
Exploring Operation: 99-74=25, Resulting Numbers: [66, 1, 25]
Generated Node #0,0: 11:[66, 1, 25] Operation: 99-74=25
Exploring Operation: 74-66=8, Resulting Numbers: [99, 1, 8]
Generated Node #0,1: 11:[99, 1, 8] Operation: 74-66=8
Exploring Operation: 99-1=98, Resulting Numbers: [74, 66, 98]
Generated Node #0,2: 11:[74, 66, 98] Operation: 99-1=98
Exploring Operation: 99-66=33, Resulting Numbers: [74, 1, 33]
Generated Node #0,3: 11:[74, 1, 33] Operation: 99-66=33
Exploring Operation: 74-1=73, Resulting Numbers: [99, 66, 73]
Generated Node #0,4: 11:[99, 66, 73] Operation: 74-1=73
Moving to Node #0,0
Current State: 11:[66, 1, 25], Operations: ['99-74=25']
Exploring Operation: 66*1=66, Resulting Numbers: [25, 66]
Generated Node #0,0,0: 11:[25, 66] Operation: 66*1=66
Exploring Operation: 66-25=41, Resulting Numbers: [1, 41]
Generated Node #0,0,1: 11:[1, 41] Operation: 66-25=41
Exploring Operation: 25-1=24, Resulting Numbers: [66, 24]
Generated Node #0,0,2: 11:[66, 24] Operation: 25-1=24
Exploring Operation: 66/1=66, Resulting Numbers: [25, 66]
Generated Node #0,0,3: 11:[25, 66] Operation: 66/1=66
Exploring Operation: 66-1=65, Resulting Numbers: [25, 65]
Generated Node #0,0,4: 11:[25, 65] Operation: 66-1=65
Moving to Node #0,3
Current State: 11:[74, 1, 33], Operations: ['99-66=33']
Exploring Operation: 33-1=32, Resulting Numbers: [74, 32]
Generated Node #0,3,0: 11:[74, 32] Operation: 33-1=32
Exploring Operation: 74-1=73, Resulting Numbers: [33, 73]
Generated Node #0,3,1: 11:[33, 73] Operation: 74-1=73
Exploring Operation: 74-33=41, Resulting Numbers: [1, 41]
Generated Node #0,3,2: 11:[1, 41] Operation: 74-33=41
Exploring Operation: 74/1=74, Resulting Numbers: [33, 74]
Generated Node #0,3,3: 11:[33, 74] Operation: 74/1=74
Exploring Operation: 74*1=74, Resulting Numbers: [33, 74]
Generated Node #0,3,4: 11:[33, 74] Operation: 74*1=74
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 11:[1, 41], Operations: ['99-66=33', '74-33=41']
Exploring Operation: 41/1=41, Resulting Numbers: [41]
41,11 unequal: No Solution
Exploring Operation: 41-1=40, Resulting Numbers: [40]
40,11 unequal: No Solution
Exploring Operation: 1+41=42, Resulting Numbers: [42]
42,11 unequal: No Solution
Exploring Operation: 1*41=41, Resulting Numbers: [41]
41,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 11:[74, 32], Operations: ['99-66=33', '33-1=32']
Exploring Operation: 74*32=2368, Resulting Numbers: [2368]
2368,11 unequal: No Solution
Exploring Operation: 74-32=42, Resulting Numbers: [42]
42,11 unequal: No Solution
Exploring Operation: 74+32=106, Resulting Numbers: [106]
106,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 11:[33, 73], Operations: ['99-66=33', '74-1=73']
Exploring Operation: 73-33=40, Resulting Numbers: [40]
40,11 unequal: No Solution
Exploring Operation: 33*73=2409, Resulting Numbers: [2409]
2409,11 unequal: No Solution
Exploring Operation: 33+73=106, Resulting Numbers: [106]
106,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 11:[33, 74], Operations: ['99-66=33', '74/1=74']
Exploring Operation: 33+74=107, Resulting Numbers: [107]
107,11 unequal: No Solution
Exploring Operation: 74-33=41, Resulting Numbers: [41]
41,11 unequal: No Solution
Exploring Operation: 33*74=2442, Resulting Numbers: [2442]
2442,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 11:[33, 74], Operations: ['99-66=33', '74*1=74']
Exploring Operation: 33*74=2442, Resulting Numbers: [2442]
2442,11 unequal: No Solution
Exploring Operation: 74-33=41, Resulting Numbers: [41]
41,11 unequal: No Solution
Exploring Operation: 33+74=107, Resulting Numbers: [107]
107,11 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: 11:[99, 1, 8], Operations: ['74-66=8']
Exploring Operation: 99*1=99, Resulting Numbers: [8, 99]
Generated Node #0,1,0: 11:[8, 99] Operation: 99*1=99
Exploring Operation: 99-8=91, Resulting Numbers: [1, 91]
Generated Node #0,1,1: 11:[1, 91] Operation: 99-8=91
Exploring Operation: 1+8=9, Resulting Numbers: [99, 9]
Generated Node #0,1,2: 11:[99, 9] Operation: 1+8=9
Exploring Operation: 99/1=99, Resulting Numbers: [8, 99]
Generated Node #0,1,3: 11:[8, 99] Operation: 99/1=99
Exploring Operation: 99-1=98, Resulting Numbers: [8, 98]
Generated Node #0,1,4: 11:[8, 98] Operation: 99-1=98
Moving to Node #0,2
Current State: 11:[74, 66, 98], Operations: ['99-1=98']
Exploring Operation: 74+98=172, Resulting Numbers: [66, 172]
Generated Node #0,2,0: 11:[66, 172] Operation: 74+98=172
Exploring Operation: 98-66=32, Resulting Numbers: [74, 32]
Generated Node #0,2,1: 11:[74, 32] Operation: 98-66=32
Exploring Operation: 74+66=140, Resulting Numbers: [98, 140]
Generated Node #0,2,2: 11:[98, 140] Operation: 74+66=140
Exploring Operation: 98-74=24, Resulting Numbers: [66, 24]
Generated Node #0,2,3: 11:[66, 24] Operation: 98-74=24
Exploring Operation: 74-66=8, Resulting Numbers: [98, 8]
Generated Node #0,2,4: 11:[98, 8] Operation: 74-66=8
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 11:[66, 24], Operations: ['99-1=98', '98-74=24']
Exploring Operation: 66+24=90, Resulting Numbers: [90]
90,11 unequal: No Solution
Exploring Operation: 66-24=42, Resulting Numbers: [42]
42,11 unequal: No Solution
Exploring Operation: 66*24=1584, Resulting Numbers: [1584]
1584,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 11:[74, 32], Operations: ['99-1=98', '98-66=32']
Exploring Operation: 74+32=106, Resulting Numbers: [106]
106,11 unequal: No Solution
Exploring Operation: 74-32=42, Resulting Numbers: [42]
42,11 unequal: No Solution
Exploring Operation: 74*32=2368, Resulting Numbers: [2368]
2368,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 11:[98, 8], Operations: ['99-1=98', '74-66=8']
Exploring Operation: 98*8=784, Resulting Numbers: [784]
784,11 unequal: No Solution
Exploring Operation: 98-8=90, Resulting Numbers: [90]
90,11 unequal: No Solution
Exploring Operation: 98+8=106, Resulting Numbers: [106]
106,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 11:[66, 172], Operations: ['99-1=98', '74+98=172']
Exploring Operation: 66*172=11352, Resulting Numbers: [11352]
11352,11 unequal: No Solution
Exploring Operation: 66+172=238, Resulting Numbers: [238]
238,11 unequal: No Solution
Exploring Operation: 172-66=106, Resulting Numbers: [106]
106,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 11:[98, 140], Operations: ['99-1=98', '74+66=140']
Exploring Operation: 98+140=238, Resulting Numbers: [238]
238,11 unequal: No Solution
Exploring Operation: 98*140=13720, Resulting Numbers: [13720]
13720,11 unequal: No Solution
Exploring Operation: 140-98=42, Resulting Numbers: [42]
42,11 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: 11:[99, 66, 73], Operations: ['74-1=73']
Exploring Operation: 73-66=7, Resulting Numbers: [99, 7]
Generated Node #0,4,0: 11:[99, 7] Operation: 73-66=7
Exploring Operation: 99-66=33, Resulting Numbers: [73, 33]
Generated Node #0,4,1: 11:[73, 33] Operation: 99-66=33
Exploring Operation: 99+73=172, Resulting Numbers: [66, 172]
Generated Node #0,4,2: 11:[66, 172] Operation: 99+73=172
Exploring Operation: 99-73=26, Resulting Numbers: [66, 26]
Generated Node #0,4,3: 11:[66, 26] Operation: 99-73=26
Exploring Operation: 99+66=165, Resulting Numbers: [73, 165]
Generated Node #0,4,4: 11:[73, 165] Operation: 99+66=165
Moving to Node #0,0,1
Current State: 11:[1, 41], Operations: ['99-74=25', '66-25=41']
Exploring Operation: 1*41=41, Resulting Numbers: [41]
41,11 unequal: No Solution
Exploring Operation: 1+41=42, Resulting Numbers: [42]
42,11 unequal: No Solution
Exploring Operation: 41/1=41, Resulting Numbers: [41]
41,11 unequal: No Solution
Exploring Operation: 41-1=40, Resulting Numbers: [40]
40,11 unequal: No Solution
Moving to Node #0,0,4
Current State: 11:[25, 65], Operations: ['99-74=25', '66-1=65']
Exploring Operation: 65-25=40, Resulting Numbers: [40]
40,11 unequal: No Solution
Exploring Operation: 25*65=1625, Resulting Numbers: [1625]
1625,11 unequal: No Solution
Exploring Operation: 25+65=90, Resulting Numbers: [90]
90,11 unequal: No Solution
Moving to Node #0,0,2
Current State: 11:[66, 24], Operations: ['99-74=25', '25-1=24']
Exploring Operation: 66*24=1584, Resulting Numbers: [1584]
1584,11 unequal: No Solution
Exploring Operation: 66+24=90, Resulting Numbers: [90]
90,11 unequal: No Solution
Exploring Operation: 66-24=42, Resulting Numbers: [42]
42,11 unequal: No Solution
Moving to Node #0,0,3
Current State: 11:[25, 66], Operations: ['99-74=25', '66/1=66']
Exploring Operation: 25*66=1650, Resulting Numbers: [1650]
1650,11 unequal: No Solution
Exploring Operation: 25+66=91, Resulting Numbers: [91]
91,11 unequal: No Solution
Exploring Operation: 66-25=41, Resulting Numbers: [41]
41,11 unequal: No Solution
Moving to Node #0,0,0
Current State: 11:[25, 66], Operations: ['99-74=25', '66*1=66']
Exploring Operation: 66-25=41, Resulting Numbers: [41]
41,11 unequal: No Solution
Exploring Operation: 25+66=91, Resulting Numbers: [91]
91,11 unequal: No Solution
Exploring Operation: 25*66=1650, Resulting Numbers: [1650]
1650,11 unequal: No Solution
Moving to Node #0,4,3
Current State: 11:[66, 26], Operations: ['74-1=73', '99-73=26']
Exploring Operation: 66+26=92, Resulting Numbers: [92]
92,11 unequal: No Solution
Exploring Operation: 66*26=1716, Resulting Numbers: [1716]
1716,11 unequal: No Solution
Exploring Operation: 66-26=40, Resulting Numbers: [40]
40,11 unequal: No Solution
Moving to Node #0,4,1
Current State: 11:[73, 33], Operations: ['74-1=73', '99-66=33']
Exploring Operation: 73+33=106, Resulting Numbers: [106]
106,11 unequal: No Solution
Exploring Operation: 73-33=40, Resulting Numbers: [40]
40,11 unequal: No Solution
Exploring Operation: 73*33=2409, Resulting Numbers: [2409]
2409,11 unequal: No Solution
Moving to Node #0,1,2
Current State: 11:[99, 9], Operations: ['74-66=8', '1+8=9']
Exploring Operation: 99/9=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[99, 74, 66, 1], Operations: []
Exploring Operation: 74-66=8, Resulting Numbers: [99, 1, 8]
Generated Node #0,1: 11:[99, 1, 8] Operation: 74-66=8
Moving to Node #0,1
Current State: 11:[99, 1, 8], Operations: ['74-66=8']
Exploring Operation: 1+8=9, Resulting Numbers: [99, 9]
Generated Node #0,1,2: 11:[99, 9] Operation: 1+8=9
Moving to Node #0,1,2
Current State: 11:[99, 9], Operations: ['74-66=8', '1+8=9']
Exploring Operation: 99/9=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 0.923611 | hs_5 | sum_heuristic |
[
19,
32,
4,
34
] | 89 | [
"19+32=51",
"4+34=38",
"51+38=89"
] | Current State: 89:[19, 32, 4, 34], Operations: []
Exploring Operation: 19+32=51, Resulting Numbers: [4, 34, 51]
Generated Node #2: [4, 34, 51] from Operation: 19+32=51
Current State: 89:[4, 34, 51], Operations: ['19+32=51']
Exploring Operation: 4+34=38, Resulting Numbers: [51, 38]
Generated Node #3: [51, 38] from Operation: 4+34=38
Current State: 89:[51, 38], Operations: ['19+32=51', '4+34=38']
Exploring Operation: 51+38=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[19, 32, 4, 34], Operations: []
Exploring Operation: 4*34=136, Resulting Numbers: [19, 32, 136]
Generated Node #0,0: 89:[19, 32, 136] Operation: 4*34=136
Exploring Operation: 19*4=76, Resulting Numbers: [32, 34, 76]
Generated Node #0,1: 89:[32, 34, 76] Operation: 19*4=76
Exploring Operation: 32*4=128, Resulting Numbers: [19, 34, 128]
Generated Node #0,2: 89:[19, 34, 128] Operation: 32*4=128
Moving to Node #0,1
Current State: 89:[32, 34, 76], Operations: ['19*4=76']
Exploring Operation: 34+76=110, Resulting Numbers: [32, 110]
Generated Node #0,1,0: 89:[32, 110] Operation: 34+76=110
Exploring Operation: 32+34=66, Resulting Numbers: [76, 66]
Generated Node #0,1,1: 89:[76, 66] Operation: 32+34=66
Exploring Operation: 32+76=108, Resulting Numbers: [34, 108]
Generated Node #0,1,2: 89:[34, 108] Operation: 32+76=108
Moving to Node #0,2
Current State: 89:[19, 34, 128], Operations: ['32*4=128']
Exploring Operation: 128-19=109, Resulting Numbers: [34, 109]
Generated Node #0,2,0: 89:[34, 109] Operation: 128-19=109
Exploring Operation: 128-34=94, Resulting Numbers: [19, 94]
Generated Node #0,2,1: 89:[19, 94] Operation: 128-34=94
Exploring Operation: 19+34=53, Resulting Numbers: [128, 53]
Generated Node #0,2,2: 89:[128, 53] Operation: 19+34=53
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 89:[34, 109], Operations: ['32*4=128', '128-19=109']
Exploring Operation: 34+109=143, Resulting Numbers: [143]
143,89 unequal: No Solution
Exploring Operation: 109-34=75, Resulting Numbers: [75]
75,89 unequal: No Solution
Exploring Operation: 34*109=3706, Resulting Numbers: [3706]
3706,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 89:[19, 94], Operations: ['32*4=128', '128-34=94']
Exploring Operation: 19*94=1786, Resulting Numbers: [1786]
1786,89 unequal: No Solution
Exploring Operation: 94-19=75, Resulting Numbers: [75]
75,89 unequal: No Solution
Exploring Operation: 19+94=113, Resulting Numbers: [113]
113,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 89:[128, 53], Operations: ['32*4=128', '19+34=53']
Exploring Operation: 128+53=181, Resulting Numbers: [181]
181,89 unequal: No Solution
Exploring Operation: 128*53=6784, Resulting Numbers: [6784]
6784,89 unequal: No Solution
Exploring Operation: 128-53=75, Resulting Numbers: [75]
75,89 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: 89:[19, 32, 136], Operations: ['4*34=136']
Exploring Operation: 136-19=117, Resulting Numbers: [32, 117]
Generated Node #0,0,0: 89:[32, 117] Operation: 136-19=117
Exploring Operation: 19+32=51, Resulting Numbers: [136, 51]
Generated Node #0,0,1: 89:[136, 51] Operation: 19+32=51
Exploring Operation: 136-32=104, Resulting Numbers: [19, 104]
Generated Node #0,0,2: 89:[19, 104] Operation: 136-32=104
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 89:[32, 117], Operations: ['4*34=136', '136-19=117']
Exploring Operation: 117-32=85, Resulting Numbers: [85]
85,89 unequal: No Solution
Exploring Operation: 32+117=149, Resulting Numbers: [149]
149,89 unequal: No Solution
Exploring Operation: 32*117=3744, Resulting Numbers: [3744]
3744,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:[136, 51], Operations: ['4*34=136', '19+32=51']
Exploring Operation: 136+51=187, Resulting Numbers: [187]
187,89 unequal: No Solution
Exploring Operation: 136-51=85, Resulting Numbers: [85]
85,89 unequal: No Solution
Exploring Operation: 136*51=6936, Resulting Numbers: [6936]
6936,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 89:[19, 104], Operations: ['4*34=136', '136-32=104']
Exploring Operation: 19*104=1976, Resulting Numbers: [1976]
1976,89 unequal: No Solution
Exploring Operation: 19+104=123, Resulting Numbers: [123]
123,89 unequal: No Solution
Exploring Operation: 104-19=85, Resulting Numbers: [85]
85,89 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: 89:[76, 66], Operations: ['19*4=76', '32+34=66']
Exploring Operation: 76*66=5016, Resulting Numbers: [5016]
5016,89 unequal: No Solution
Exploring Operation: 76+66=142, Resulting Numbers: [142]
142,89 unequal: No Solution
Exploring Operation: 76-66=10, Resulting Numbers: [10]
10,89 unequal: No Solution
Moving to Node #0,1,2
Current State: 89:[34, 108], Operations: ['19*4=76', '32+76=108']
Exploring Operation: 108-34=74, Resulting Numbers: [74]
74,89 unequal: No Solution
Exploring Operation: 34*108=3672, Resulting Numbers: [3672]
3672,89 unequal: No Solution
Exploring Operation: 34+108=142, Resulting Numbers: [142]
142,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[32, 110], Operations: ['19*4=76', '34+76=110']
Exploring Operation: 32*110=3520, Resulting Numbers: [3520]
3520,89 unequal: No Solution
Exploring Operation: 32+110=142, Resulting Numbers: [142]
142,89 unequal: No Solution
Exploring Operation: 110-32=78, Resulting Numbers: [78]
78,89 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
3,
13,
51,
41
] | 43 | [
"51-41=10",
"3*10=30",
"13+30=43"
] | Current State: 43:[3, 13, 51, 41], Operations: []
Exploring Operation: 51-41=10, Resulting Numbers: [3, 13, 10]
Generated Node #2: [3, 13, 10] from Operation: 51-41=10
Current State: 43:[3, 13, 10], Operations: ['51-41=10']
Exploring Operation: 3*10=30, Resulting Numbers: [13, 30]
Generated Node #3: [13, 30] from Operation: 3*10=30
Current State: 43:[13, 30], Operations: ['51-41=10', '3*10=30']
Exploring Operation: 13+30=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[3, 13, 51, 41], Operations: []
Exploring Operation: 51-3=48, Resulting Numbers: [13, 41, 48]
Generated Node #0,0: 43:[13, 41, 48] Operation: 51-3=48
Exploring Operation: 3+41=44, Resulting Numbers: [13, 51, 44]
Generated Node #0,1: 43:[13, 51, 44] Operation: 3+41=44
Exploring Operation: 3*13=39, Resulting Numbers: [51, 41, 39]
Generated Node #0,2: 43:[51, 41, 39] Operation: 3*13=39
Exploring Operation: 3+13=16, Resulting Numbers: [51, 41, 16]
Generated Node #0,3: 43:[51, 41, 16] Operation: 3+13=16
Start Sub Search at level 1: Moving to Node #0,2
Current State: 43:[51, 41, 39], Operations: ['3*13=39']
Exploring Operation: 51-41=10, Resulting Numbers: [39, 10]
Generated Node #0,2,0: 43:[39, 10] Operation: 51-41=10
Exploring Operation: 51-39=12, Resulting Numbers: [41, 12]
Generated Node #0,2,1: 43:[41, 12] Operation: 51-39=12
Exploring Operation: 51+39=90, Resulting Numbers: [41, 90]
Generated Node #0,2,2: 43:[41, 90] Operation: 51+39=90
Exploring Operation: 41+39=80, Resulting Numbers: [51, 80]
Generated Node #0,2,3: 43:[51, 80] Operation: 41+39=80
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 43:[41, 12], Operations: ['3*13=39', '51-39=12']
Exploring Operation: 41-12=29, Resulting Numbers: [29]
29,43 unequal: No Solution
Exploring Operation: 41*12=492, Resulting Numbers: [492]
492,43 unequal: No Solution
Exploring Operation: 41+12=53, Resulting Numbers: [53]
53,43 unequal: No Solution
No 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: 43:[39, 10], Operations: ['3*13=39', '51-41=10']
Exploring Operation: 39*10=390, Resulting Numbers: [390]
390,43 unequal: No Solution
Exploring Operation: 39+10=49, Resulting Numbers: [49]
49,43 unequal: No Solution
Exploring Operation: 39-10=29, Resulting Numbers: [29]
29,43 unequal: No Solution
No 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: 43:[51, 80], Operations: ['3*13=39', '41+39=80']
Exploring Operation: 80-51=29, Resulting Numbers: [29]
29,43 unequal: No Solution
Exploring Operation: 51+80=131, Resulting Numbers: [131]
131,43 unequal: No Solution
Exploring Operation: 51*80=4080, Resulting Numbers: [4080]
4080,43 unequal: No Solution
No 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: 43:[41, 90], Operations: ['3*13=39', '51+39=90']
Exploring Operation: 41*90=3690, Resulting Numbers: [3690]
3690,43 unequal: No Solution
Exploring Operation: 41+90=131, Resulting Numbers: [131]
131,43 unequal: No Solution
Exploring Operation: 90-41=49, Resulting Numbers: [49]
49,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
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[13, 41, 48], Operations: ['51-3=48']
Exploring Operation: 48-13=35, Resulting Numbers: [41, 35]
Generated Node #0,0,0: 43:[41, 35] Operation: 48-13=35
Exploring Operation: 41-13=28, Resulting Numbers: [48, 28]
Generated Node #0,0,1: 43:[48, 28] Operation: 41-13=28
Exploring Operation: 13+41=54, Resulting Numbers: [48, 54]
Generated Node #0,0,2: 43:[48, 54] Operation: 13+41=54
Exploring Operation: 13+48=61, Resulting Numbers: [41, 61]
Generated Node #0,0,3: 43:[41, 61] Operation: 13+48=61
Moving to Node #0,0,0
Current State: 43:[41, 35], Operations: ['51-3=48', '48-13=35']
Exploring Operation: 41-35=6, Resulting Numbers: [6]
6,43 unequal: No Solution
Exploring Operation: 41*35=1435, Resulting Numbers: [1435]
1435,43 unequal: No Solution
Exploring Operation: 41+35=76, Resulting Numbers: [76]
76,43 unequal: No Solution
Moving to Node #0,0,2
Current State: 43:[48, 54], Operations: ['51-3=48', '13+41=54']
Exploring Operation: 54-48=6, Resulting Numbers: [6]
6,43 unequal: No Solution
Exploring Operation: 48+54=102, Resulting Numbers: [102]
102,43 unequal: No Solution
Exploring Operation: 48*54=2592, Resulting Numbers: [2592]
2592,43 unequal: No Solution
Moving to Node #0,0,3
Current State: 43:[41, 61], Operations: ['51-3=48', '13+48=61']
Exploring Operation: 41*61=2501, Resulting Numbers: [2501]
2501,43 unequal: No Solution
Exploring Operation: 41+61=102, Resulting Numbers: [102]
102,43 unequal: No Solution
Exploring Operation: 61-41=20, Resulting Numbers: [20]
20,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[48, 28], Operations: ['51-3=48', '41-13=28']
Exploring Operation: 48-28=20, Resulting Numbers: [20]
20,43 unequal: No Solution
Exploring Operation: 48+28=76, Resulting Numbers: [76]
76,43 unequal: No Solution
Exploring Operation: 48*28=1344, Resulting Numbers: [1344]
1344,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,3
Current State: 43:[51, 41, 16], Operations: ['3+13=16']
Exploring Operation: 51-16=35, Resulting Numbers: [41, 35]
Generated Node #0,3,0: 43:[41, 35] Operation: 51-16=35
Exploring Operation: 51+16=67, Resulting Numbers: [41, 67]
Generated Node #0,3,1: 43:[41, 67] Operation: 51+16=67
Exploring Operation: 41-16=25, Resulting Numbers: [51, 25]
Generated Node #0,3,2: 43:[51, 25] Operation: 41-16=25
Exploring Operation: 41+16=57, Resulting Numbers: [51, 57]
Generated Node #0,3,3: 43:[51, 57] Operation: 41+16=57
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 43:[41, 35], Operations: ['3+13=16', '51-16=35']
Exploring Operation: 41*35=1435, Resulting Numbers: [1435]
1435,43 unequal: No Solution
Exploring Operation: 41-35=6, Resulting Numbers: [6]
6,43 unequal: No Solution
Exploring Operation: 41+35=76, Resulting Numbers: [76]
76,43 unequal: No Solution
No 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: 43:[51, 57], Operations: ['3+13=16', '41+16=57']
Exploring Operation: 51+57=108, Resulting Numbers: [108]
108,43 unequal: No Solution
Exploring Operation: 57-51=6, Resulting Numbers: [6]
6,43 unequal: No Solution
Exploring Operation: 51*57=2907, Resulting Numbers: [2907]
2907,43 unequal: No Solution
No 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: 43:[41, 67], Operations: ['3+13=16', '51+16=67']
Exploring Operation: 67-41=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 41+67=108, Resulting Numbers: [108]
108,43 unequal: No Solution
Exploring Operation: 41*67=2747, Resulting Numbers: [2747]
2747,43 unequal: No Solution
No 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: 43:[51, 25], Operations: ['3+13=16', '41-16=25']
Exploring Operation: 51+25=76, Resulting Numbers: [76]
76,43 unequal: No Solution
Exploring Operation: 51-25=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 51*25=1275, Resulting Numbers: [1275]
1275,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
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[13, 51, 44], Operations: ['3+41=44']
Exploring Operation: 13+44=57, Resulting Numbers: [51, 57]
Generated Node #0,1,0: 43:[51, 57] Operation: 13+44=57
Exploring Operation: 13+51=64, Resulting Numbers: [44, 64]
Generated Node #0,1,1: 43:[44, 64] Operation: 13+51=64
Exploring Operation: 51-13=38, Resulting Numbers: [44, 38]
Generated Node #0,1,2: 43:[44, 38] Operation: 51-13=38
Exploring Operation: 44-13=31, Resulting Numbers: [51, 31]
Generated Node #0,1,3: 43:[51, 31] Operation: 44-13=31
Moving to Node #0,1,2
Current State: 43:[44, 38], Operations: ['3+41=44', '51-13=38']
Exploring Operation: 44+38=82, Resulting Numbers: [82]
82,43 unequal: No Solution
Exploring Operation: 44-38=6, Resulting Numbers: [6]
6,43 unequal: No Solution
Exploring Operation: 44*38=1672, Resulting Numbers: [1672]
1672,43 unequal: No Solution
Moving to Node #0,1,3
Current State: 43:[51, 31], Operations: ['3+41=44', '44-13=31']
Exploring Operation: 51-31=20, Resulting Numbers: [20]
20,43 unequal: No Solution
Exploring Operation: 51*31=1581, Resulting Numbers: [1581]
1581,43 unequal: No Solution
Exploring Operation: 51+31=82, Resulting Numbers: [82]
82,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[44, 64], Operations: ['3+41=44', '13+51=64']
Exploring Operation: 64-44=20, Resulting Numbers: [20]
20,43 unequal: No Solution
Exploring Operation: 44+64=108, Resulting Numbers: [108]
108,43 unequal: No Solution
Exploring Operation: 44*64=2816, Resulting Numbers: [2816]
2816,43 unequal: No Solution
Moving to Node #0,1,0
Current State: 43:[51, 57], Operations: ['3+41=44', '13+44=57']
Exploring Operation: 51+57=108, Resulting Numbers: [108]
108,43 unequal: No Solution
Exploring Operation: 57-51=6, Resulting Numbers: [6]
6,43 unequal: No Solution
Exploring Operation: 51*57=2907, Resulting Numbers: [2907]
2907,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
2,
64,
65,
37
] | 18 | [
"65-64=1",
"37-1=36",
"36/2=18"
] | Current State: 18:[2, 64, 65, 37], Operations: []
Exploring Operation: 65-64=1, Resulting Numbers: [2, 37, 1]
Generated Node #2: [2, 37, 1] from Operation: 65-64=1
Current State: 18:[2, 37, 1], Operations: ['65-64=1']
Exploring Operation: 37-1=36, Resulting Numbers: [2, 36]
Generated Node #3: [2, 36] from Operation: 37-1=36
Current State: 18:[2, 36], Operations: ['65-64=1', '37-1=36']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[2, 64, 65, 37], Operations: []
Exploring Operation: 65-64=1, Resulting Numbers: [2, 37, 1]
Generated Node #0,0: 18:[2, 37, 1] Operation: 65-64=1
Moving to Node #0,0
Current State: 18:[2, 37, 1], Operations: ['65-64=1']
Exploring Operation: 37-2=35, Resulting Numbers: [1, 35]
Generated Node #0,0,0: 18:[1, 35] Operation: 37-2=35
Moving to Node #0,0,0
Current State: 18:[1, 35], Operations: ['65-64=1', '37-2=35']
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,18 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
80,
45,
22,
29
] | 90 | [
"80-22=58",
"45*58=2610",
"2610/29=90"
] | Current State: 90:[80, 45, 22, 29], Operations: []
Exploring Operation: 80-22=58, Resulting Numbers: [45, 29, 58]
Generated Node #2: [45, 29, 58] from Operation: 80-22=58
Current State: 90:[45, 29, 58], Operations: ['80-22=58']
Exploring Operation: 45*58=2610, Resulting Numbers: [29, 2610]
Generated Node #3: [29, 2610] from Operation: 45*58=2610
Current State: 90:[29, 2610], Operations: ['80-22=58', '45*58=2610']
Exploring Operation: 2610/29=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[80, 45, 22, 29], Operations: []
Exploring Operation: 80-45=35, Resulting Numbers: [22, 29, 35]
Generated Node #0,0: 90:[22, 29, 35] Operation: 80-45=35
Moving to Node #0,0
Current State: 90:[22, 29, 35], Operations: ['80-45=35']
Exploring Operation: 35-22=13, Resulting Numbers: [29, 13]
Generated Node #0,0,0: 90:[29, 13] Operation: 35-22=13
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 90:[29, 13], Operations: ['80-45=35', '35-22=13']
Exploring Operation: 29-13=16, Resulting Numbers: [16]
16,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
3,
4,
18,
22
] | 32 | [
"18/3=6",
"4+22=26",
"6+26=32"
] | Current State: 32:[3, 4, 18, 22], Operations: []
Exploring Operation: 18/3=6, Resulting Numbers: [4, 22, 6]
Generated Node #2: [4, 22, 6] from Operation: 18/3=6
Current State: 32:[4, 22, 6], Operations: ['18/3=6']
Exploring Operation: 4+22=26, Resulting Numbers: [6, 26]
Generated Node #3: [6, 26] from Operation: 4+22=26
Current State: 32:[6, 26], Operations: ['18/3=6', '4+22=26']
Exploring Operation: 6+26=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[3, 4, 18, 22], Operations: []
Exploring Operation: 22-3=19, Resulting Numbers: [4, 18, 19]
Generated Node #0,0: 32:[4, 18, 19] Operation: 22-3=19
Exploring Operation: 18/3=6, Resulting Numbers: [4, 22, 6]
Generated Node #0,1: 32:[4, 22, 6] Operation: 18/3=6
Exploring Operation: 22-4=18, Resulting Numbers: [3, 18, 18]
Generated Node #0,2: 32:[3, 18, 18] Operation: 22-4=18
Exploring Operation: 18-3=15, Resulting Numbers: [4, 22, 15]
Generated Node #0,3: 32:[4, 22, 15] Operation: 18-3=15
Exploring Operation: 22-18=4, Resulting Numbers: [3, 4, 4]
Generated Node #0,4: 32:[3, 4, 4] Operation: 22-18=4
Start Sub Search at level 1: Moving to Node #0,4
Current State: 32:[3, 4, 4], Operations: ['22-18=4']
Exploring Operation: 4-3=1, Resulting Numbers: [4, 1]
Generated Node #0,4,0: 32:[4, 1] Operation: 4-3=1
Exploring Operation: 4+4=8, Resulting Numbers: [3, 8]
Generated Node #0,4,1: 32:[3, 8] Operation: 4+4=8
Exploring Operation: 3+4=7, Resulting Numbers: [4, 7]
Generated Node #0,4,2: 32:[4, 7] Operation: 3+4=7
Exploring Operation: 3+4=7, Resulting Numbers: [4, 7]
Generated Node #0,4,3: 32:[4, 7] Operation: 3+4=7
Exploring Operation: 4-3=1, Resulting Numbers: [4, 1]
Generated Node #0,4,4: 32:[4, 1] Operation: 4-3=1
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 32:[4, 1], Operations: ['22-18=4', '4-3=1']
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,32 unequal: No Solution
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,32 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,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,4,1
Current State: 32:[3, 8], Operations: ['22-18=4', '4+4=8']
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,32 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,32 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,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,4,2
Current State: 32:[4, 7], Operations: ['22-18=4', '3+4=7']
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,32 unequal: No Solution
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,32 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,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,4,3
Current State: 32:[4, 7], Operations: ['22-18=4', '3+4=7']
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,32 unequal: No Solution
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,32 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,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,4,4
Current State: 32:[4, 1], Operations: ['22-18=4', '4-3=1']
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,32 unequal: No Solution
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[4, 18, 19], Operations: ['22-3=19']
Exploring Operation: 19-18=1, Resulting Numbers: [4, 1]
Generated Node #0,0,0: 32:[4, 1] Operation: 19-18=1
Exploring Operation: 19-4=15, Resulting Numbers: [18, 15]
Generated Node #0,0,1: 32:[18, 15] Operation: 19-4=15
Exploring Operation: 18+19=37, Resulting Numbers: [4, 37]
Generated Node #0,0,2: 32:[4, 37] Operation: 18+19=37
Exploring Operation: 4+18=22, Resulting Numbers: [19, 22]
Generated Node #0,0,3: 32:[19, 22] Operation: 4+18=22
Exploring Operation: 18-4=14, Resulting Numbers: [19, 14]
Generated Node #0,0,4: 32:[19, 14] Operation: 18-4=14
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 32:[4, 1], Operations: ['22-3=19', '19-18=1']
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,32 unequal: No Solution
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,32 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 32:[18, 15], Operations: ['22-3=19', '19-4=15']
Exploring Operation: 18-15=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Exploring Operation: 18*15=270, Resulting Numbers: [270]
270,32 unequal: No Solution
Exploring Operation: 18+15=33, Resulting Numbers: [33]
33,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:[4, 37], Operations: ['22-3=19', '18+19=37']
Exploring Operation: 4*37=148, Resulting Numbers: [148]
148,32 unequal: No Solution
Exploring Operation: 4+37=41, Resulting Numbers: [41]
41,32 unequal: No Solution
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,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:[19, 14], Operations: ['22-3=19', '18-4=14']
Exploring Operation: 19+14=33, Resulting Numbers: [33]
33,32 unequal: No Solution
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Exploring Operation: 19*14=266, Resulting Numbers: [266]
266,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:[19, 22], Operations: ['22-3=19', '4+18=22']
Exploring Operation: 19*22=418, Resulting Numbers: [418]
418,32 unequal: No Solution
Exploring Operation: 19+22=41, Resulting Numbers: [41]
41,32 unequal: No Solution
Exploring Operation: 22-19=3, Resulting Numbers: [3]
3,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:[3, 18, 18], Operations: ['22-4=18']
Exploring Operation: 18-3=15, Resulting Numbers: [18, 15]
Generated Node #0,2,0: 32:[18, 15] Operation: 18-3=15
Exploring Operation: 18/18=1, Resulting Numbers: [3, 1]
Generated Node #0,2,1: 32:[3, 1] Operation: 18/18=1
Exploring Operation: 18-3=15, Resulting Numbers: [18, 15]
Generated Node #0,2,2: 32:[18, 15] Operation: 18-3=15
Exploring Operation: 18-18=0, Resulting Numbers: [3, 0]
Generated Node #0,2,3: 32:[3, 0] Operation: 18-18=0
Exploring Operation: 18/3=6, Resulting Numbers: [18, 6]
Generated Node #0,2,4: 32:[18, 6] Operation: 18/3=6
Moving to Node #0,2,1
Current State: 32:[3, 1], Operations: ['22-4=18', '18/18=1']
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,32 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,32 unequal: No Solution
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Moving to Node #0,2,2
Current State: 32:[18, 15], Operations: ['22-4=18', '18-3=15']
Exploring Operation: 18*15=270, Resulting Numbers: [270]
270,32 unequal: No Solution
Exploring Operation: 18-15=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Exploring Operation: 18+15=33, Resulting Numbers: [33]
33,32 unequal: No Solution
Moving to Node #0,2,0
Current State: 32:[18, 15], Operations: ['22-4=18', '18-3=15']
Exploring Operation: 18+15=33, Resulting Numbers: [33]
33,32 unequal: No Solution
Exploring Operation: 18*15=270, Resulting Numbers: [270]
270,32 unequal: No Solution
Exploring Operation: 18-15=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Moving to Node #0,2,3
Current State: 32:[3, 0], Operations: ['22-4=18', '18-18=0']
Exploring Operation: 3-0=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Exploring Operation: 3*0=0, Resulting Numbers: [0]
0,32 unequal: No Solution
Exploring Operation: 3+0=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Moving to Node #0,2,4
Current State: 32:[18, 6], Operations: ['22-4=18', '18/3=6']
Exploring Operation: 18*6=108, Resulting Numbers: [108]
108,32 unequal: No Solution
Exploring Operation: 18+6=24, Resulting Numbers: [24]
24,32 unequal: No Solution
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 32:[4, 22, 15], Operations: ['18-3=15']
Exploring Operation: 22-4=18, Resulting Numbers: [15, 18]
Generated Node #0,3,0: 32:[15, 18] Operation: 22-4=18
Exploring Operation: 4+22=26, Resulting Numbers: [15, 26]
Generated Node #0,3,1: 32:[15, 26] Operation: 4+22=26
Exploring Operation: 22-15=7, Resulting Numbers: [4, 7]
Generated Node #0,3,2: 32:[4, 7] Operation: 22-15=7
Exploring Operation: 22+15=37, Resulting Numbers: [4, 37]
Generated Node #0,3,3: 32:[4, 37] Operation: 22+15=37
Exploring Operation: 4+15=19, Resulting Numbers: [22, 19]
Generated Node #0,3,4: 32:[22, 19] Operation: 4+15=19
Moving to Node #0,3,2
Current State: 32:[4, 7], Operations: ['18-3=15', '22-15=7']
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,32 unequal: No Solution
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,32 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Moving to Node #0,3,0
Current State: 32:[15, 18], Operations: ['18-3=15', '22-4=18']
Exploring Operation: 18-15=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Exploring Operation: 15*18=270, Resulting Numbers: [270]
270,32 unequal: No Solution
Exploring Operation: 15+18=33, Resulting Numbers: [33]
33,32 unequal: No Solution
Moving to Node #0,3,3
Current State: 32:[4, 37], Operations: ['18-3=15', '22+15=37']
Exploring Operation: 4*37=148, Resulting Numbers: [148]
148,32 unequal: No Solution
Exploring Operation: 4+37=41, Resulting Numbers: [41]
41,32 unequal: No Solution
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,32 unequal: No Solution
Moving to Node #0,3,1
Current State: 32:[15, 26], Operations: ['18-3=15', '4+22=26']
Exploring Operation: 15+26=41, Resulting Numbers: [41]
41,32 unequal: No Solution
Exploring Operation: 15*26=390, Resulting Numbers: [390]
390,32 unequal: No Solution
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,32 unequal: No Solution
Moving to Node #0,3,4
Current State: 32:[22, 19], Operations: ['18-3=15', '4+15=19']
Exploring Operation: 22+19=41, Resulting Numbers: [41]
41,32 unequal: No Solution
Exploring Operation: 22-19=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Exploring Operation: 22*19=418, Resulting Numbers: [418]
418,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:[4, 22, 6], Operations: ['18/3=6']
Exploring Operation: 22-4=18, Resulting Numbers: [6, 18]
Generated Node #0,1,0: 32:[6, 18] Operation: 22-4=18
Exploring Operation: 4+22=26, Resulting Numbers: [6, 26]
Generated Node #0,1,1: 32:[6, 26] Operation: 4+22=26
Exploring Operation: 6-4=2, Resulting Numbers: [22, 2]
Generated Node #0,1,2: 32:[22, 2] Operation: 6-4=2
Exploring Operation: 22+6=28, Resulting Numbers: [4, 28]
Generated Node #0,1,3: 32:[4, 28] Operation: 22+6=28
Exploring Operation: 22-6=16, Resulting Numbers: [4, 16]
Generated Node #0,1,4: 32:[4, 16] Operation: 22-6=16
Moving to Node #0,1,4
Current State: 32:[4, 16], Operations: ['18/3=6', '22-6=16']
Exploring Operation: 4*16=64, Resulting Numbers: [64]
64,32 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,32 unequal: No Solution
Exploring Operation: 4+16=20, Resulting Numbers: [20]
20,32 unequal: No Solution
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,32 unequal: No Solution
Moving to Node #0,1,3
Current State: 32:[4, 28], Operations: ['18/3=6', '22+6=28']
Exploring Operation: 4*28=112, Resulting Numbers: [112]
112,32 unequal: No Solution
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,32 unequal: No Solution
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,32 unequal: No Solution
Exploring Operation: 4+28=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[3, 4, 18, 22], Operations: []
Exploring Operation: 18/3=6, Resulting Numbers: [4, 22, 6]
Generated Node #0,1: 32:[4, 22, 6] Operation: 18/3=6
Moving to Node #0,1
Current State: 32:[4, 22, 6], Operations: ['18/3=6']
Exploring Operation: 22+6=28, Resulting Numbers: [4, 28]
Generated Node #0,1,3: 32:[4, 28] Operation: 22+6=28
Moving to Node #0,1,3
Current State: 32:[4, 28], Operations: ['18/3=6', '22+6=28']
Exploring Operation: 4+28=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.907118 | hs_5 | sum_heuristic |
[
80,
73,
47,
9
] | 16 | [
"80-73=7",
"9*7=63",
"63-47=16"
] | Current State: 16:[80, 73, 47, 9], Operations: []
Exploring Operation: 80-73=7, Resulting Numbers: [47, 9, 7]
Generated Node #2: [47, 9, 7] from Operation: 80-73=7
Current State: 16:[47, 9, 7], Operations: ['80-73=7']
Exploring Operation: 9*7=63, Resulting Numbers: [47, 63]
Generated Node #3: [47, 63] from Operation: 9*7=63
Current State: 16:[47, 63], Operations: ['80-73=7', '9*7=63']
Exploring Operation: 63-47=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[80, 73, 47, 9], Operations: []
Exploring Operation: 80-73=7, Resulting Numbers: [47, 9, 7]
Generated Node #0,0: 16:[47, 9, 7] Operation: 80-73=7
Moving to Node #0,0
Current State: 16:[47, 9, 7], Operations: ['80-73=7']
Exploring Operation: 47-9=38, Resulting Numbers: [7, 38]
Generated Node #0,0,0: 16:[7, 38] Operation: 47-9=38
Moving to Node #0,0,0
Current State: 16:[7, 38], Operations: ['80-73=7', '47-9=38']
Exploring Operation: 38-7=31, Resulting Numbers: [31]
31,16 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
31,
93,
72,
59
] | 16 | [
"93/31=3",
"72-59=13",
"3+13=16"
] | Current State: 16:[31, 93, 72, 59], Operations: []
Exploring Operation: 93/31=3, Resulting Numbers: [72, 59, 3]
Generated Node #2: [72, 59, 3] from Operation: 93/31=3
Current State: 16:[72, 59, 3], Operations: ['93/31=3']
Exploring Operation: 72-59=13, Resulting Numbers: [3, 13]
Generated Node #3: [3, 13] from Operation: 72-59=13
Current State: 16:[3, 13], Operations: ['93/31=3', '72-59=13']
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[31, 93, 72, 59], Operations: []
Exploring Operation: 93/31=3, Resulting Numbers: [72, 59, 3]
Generated Node #0,0: 16:[72, 59, 3] Operation: 93/31=3
Exploring Operation: 93-59=34, Resulting Numbers: [31, 72, 34]
Generated Node #0,1: 16:[31, 72, 34] Operation: 93-59=34
Exploring Operation: 72-59=13, Resulting Numbers: [31, 93, 13]
Generated Node #0,2: 16:[31, 93, 13] Operation: 72-59=13
Exploring Operation: 93-72=21, Resulting Numbers: [31, 59, 21]
Generated Node #0,3: 16:[31, 59, 21] Operation: 93-72=21
Start Sub Search at level 1: Moving to Node #0,3
Current State: 16:[31, 59, 21], Operations: ['93-72=21']
Exploring Operation: 59-31=28, Resulting Numbers: [21, 28]
Generated Node #0,3,0: 16:[21, 28] Operation: 59-31=28
Exploring Operation: 59-21=38, Resulting Numbers: [31, 38]
Generated Node #0,3,1: 16:[31, 38] Operation: 59-21=38
Exploring Operation: 31-21=10, Resulting Numbers: [59, 10]
Generated Node #0,3,2: 16:[59, 10] Operation: 31-21=10
Exploring Operation: 31+59=90, Resulting Numbers: [21, 90]
Generated Node #0,3,3: 16:[21, 90] Operation: 31+59=90
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 16:[21, 28], Operations: ['93-72=21', '59-31=28']
Exploring Operation: 21+28=49, Resulting Numbers: [49]
49,16 unequal: No Solution
Exploring Operation: 21*28=588, Resulting Numbers: [588]
588,16 unequal: No Solution
Exploring Operation: 28-21=7, Resulting Numbers: [7]
7,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 16:[31, 38], Operations: ['93-72=21', '59-21=38']
Exploring Operation: 38-31=7, Resulting Numbers: [7]
7,16 unequal: No Solution
Exploring Operation: 31*38=1178, Resulting Numbers: [1178]
1178,16 unequal: No Solution
Exploring Operation: 31+38=69, Resulting Numbers: [69]
69,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 16:[59, 10], Operations: ['93-72=21', '31-21=10']
Exploring Operation: 59-10=49, Resulting Numbers: [49]
49,16 unequal: No Solution
Exploring Operation: 59+10=69, Resulting Numbers: [69]
69,16 unequal: No Solution
Exploring Operation: 59*10=590, Resulting Numbers: [590]
590,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 16:[21, 90], Operations: ['93-72=21', '31+59=90']
Exploring Operation: 21+90=111, Resulting Numbers: [111]
111,16 unequal: No Solution
Exploring Operation: 21*90=1890, Resulting Numbers: [1890]
1890,16 unequal: No Solution
Exploring Operation: 90-21=69, Resulting Numbers: [69]
69,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 16:[31, 72, 34], Operations: ['93-59=34']
Exploring Operation: 31+72=103, Resulting Numbers: [34, 103]
Generated Node #0,1,0: 16:[34, 103] Operation: 31+72=103
Exploring Operation: 34-31=3, Resulting Numbers: [72, 3]
Generated Node #0,1,1: 16:[72, 3] Operation: 34-31=3
Exploring Operation: 72-31=41, Resulting Numbers: [34, 41]
Generated Node #0,1,2: 16:[34, 41] Operation: 72-31=41
Exploring Operation: 72-34=38, Resulting Numbers: [31, 38]
Generated Node #0,1,3: 16:[31, 38] Operation: 72-34=38
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 16:[31, 38], Operations: ['93-59=34', '72-34=38']
Exploring Operation: 38-31=7, Resulting Numbers: [7]
7,16 unequal: No Solution
Exploring Operation: 31*38=1178, Resulting Numbers: [1178]
1178,16 unequal: No Solution
Exploring Operation: 31+38=69, Resulting Numbers: [69]
69,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 16:[34, 41], Operations: ['93-59=34', '72-31=41']
Exploring Operation: 34+41=75, Resulting Numbers: [75]
75,16 unequal: No Solution
Exploring Operation: 34*41=1394, Resulting Numbers: [1394]
1394,16 unequal: No Solution
Exploring Operation: 41-34=7, Resulting Numbers: [7]
7,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 16:[72, 3], Operations: ['93-59=34', '34-31=3']
Exploring Operation: 72*3=216, Resulting Numbers: [216]
216,16 unequal: No Solution
Exploring Operation: 72/3=24, Resulting Numbers: [24]
24,16 unequal: No Solution
Exploring Operation: 72+3=75, Resulting Numbers: [75]
75,16 unequal: No Solution
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 16:[34, 103], Operations: ['93-59=34', '31+72=103']
Exploring Operation: 34+103=137, Resulting Numbers: [137]
137,16 unequal: No Solution
Exploring Operation: 34*103=3502, Resulting Numbers: [3502]
3502,16 unequal: No Solution
Exploring Operation: 103-34=69, Resulting Numbers: [69]
69,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 16:[31, 93, 13], Operations: ['72-59=13']
Exploring Operation: 93/31=3, Resulting Numbers: [13, 3]
Generated Node #0,2,0: 16:[13, 3] Operation: 93/31=3
Exploring Operation: 31-13=18, Resulting Numbers: [93, 18]
Generated Node #0,2,1: 16:[93, 18] Operation: 31-13=18
Exploring Operation: 93-31=62, Resulting Numbers: [13, 62]
Generated Node #0,2,2: 16:[13, 62] Operation: 93-31=62
Exploring Operation: 93-13=80, Resulting Numbers: [31, 80]
Generated Node #0,2,3: 16:[31, 80] Operation: 93-13=80
Moving to Node #0,2,0
Current State: 16:[13, 3], Operations: ['72-59=13', '93/31=3']
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,16 unequal: No Solution
Exploring Operation: 13+3=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[31, 93, 72, 59], Operations: []
Exploring Operation: 72-59=13, Resulting Numbers: [31, 93, 13]
Generated Node #0,2: 16:[31, 93, 13] Operation: 72-59=13
Moving to Node #0,2
Current State: 16:[31, 93, 13], Operations: ['72-59=13']
Exploring Operation: 93/31=3, Resulting Numbers: [13, 3]
Generated Node #0,2,0: 16:[13, 3] Operation: 93/31=3
Moving to Node #0,2,0
Current State: 16:[13, 3], Operations: ['72-59=13', '93/31=3']
Exploring Operation: 13+3=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.959201 | hs_4 | sum_heuristic |
[
89,
65,
84,
7
] | 63 | [
"89+65=154",
"84+7=91",
"154-91=63"
] | Current State: 63:[89, 65, 84, 7], Operations: []
Exploring Operation: 89+65=154, Resulting Numbers: [84, 7, 154]
Generated Node #2: [84, 7, 154] from Operation: 89+65=154
Current State: 63:[84, 7, 154], Operations: ['89+65=154']
Exploring Operation: 84+7=91, Resulting Numbers: [154, 91]
Generated Node #3: [154, 91] from Operation: 84+7=91
Current State: 63:[154, 91], Operations: ['89+65=154', '84+7=91']
Exploring Operation: 154-91=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[89, 65, 84, 7], Operations: []
Exploring Operation: 89-84=5, Resulting Numbers: [65, 7, 5]
Generated Node #0,0: 63:[65, 7, 5] Operation: 89-84=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[65, 7, 5], Operations: ['89-84=5']
Exploring Operation: 65-5=60, Resulting Numbers: [7, 60]
Generated Node #0,0,0: 63:[7, 60] Operation: 65-5=60
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 63:[7, 60], Operations: ['89-84=5', '65-5=60']
Exploring Operation: 7+60=67, Resulting Numbers: [67]
67,63 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,
81,
33,
21
] | 17 | [
"81-52=29",
"33-21=12",
"29-12=17"
] | Current State: 17:[52, 81, 33, 21], Operations: []
Exploring Operation: 81-52=29, Resulting Numbers: [33, 21, 29]
Generated Node #2: [33, 21, 29] from Operation: 81-52=29
Current State: 17:[33, 21, 29], Operations: ['81-52=29']
Exploring Operation: 33-21=12, Resulting Numbers: [29, 12]
Generated Node #3: [29, 12] from Operation: 33-21=12
Current State: 17:[29, 12], Operations: ['81-52=29', '33-21=12']
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[52, 81, 33, 21], Operations: []
Exploring Operation: 52-33=19, Resulting Numbers: [81, 21, 19]
Generated Node #0,0: 17:[81, 21, 19] Operation: 52-33=19
Exploring Operation: 81-52=29, Resulting Numbers: [33, 21, 29]
Generated Node #0,1: 17:[33, 21, 29] Operation: 81-52=29
Exploring Operation: 52-21=31, Resulting Numbers: [81, 33, 31]
Generated Node #0,2: 17:[81, 33, 31] Operation: 52-21=31
Exploring Operation: 81-33=48, Resulting Numbers: [52, 21, 48]
Generated Node #0,3: 17:[52, 21, 48] Operation: 81-33=48
Exploring Operation: 81-21=60, Resulting Numbers: [52, 33, 60]
Generated Node #0,4: 17:[52, 33, 60] Operation: 81-21=60
Start Sub Search at level 1: Moving to Node #0,1
Current State: 17:[33, 21, 29], Operations: ['81-52=29']
Exploring Operation: 33+29=62, Resulting Numbers: [21, 62]
Generated Node #0,1,0: 17:[21, 62] Operation: 33+29=62
Exploring Operation: 29-21=8, Resulting Numbers: [33, 8]
Generated Node #0,1,1: 17:[33, 8] Operation: 29-21=8
Exploring Operation: 33-29=4, Resulting Numbers: [21, 4]
Generated Node #0,1,2: 17:[21, 4] Operation: 33-29=4
Exploring Operation: 33+21=54, Resulting Numbers: [29, 54]
Generated Node #0,1,3: 17:[29, 54] Operation: 33+21=54
Exploring Operation: 33-21=12, Resulting Numbers: [29, 12]
Generated Node #0,1,4: 17:[29, 12] Operation: 33-21=12
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 17:[21, 4], Operations: ['81-52=29', '33-29=4']
Exploring Operation: 21*4=84, Resulting Numbers: [84]
84,17 unequal: No Solution
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[52, 81, 33, 21], Operations: []
Exploring Operation: 81-52=29, Resulting Numbers: [33, 21, 29]
Generated Node #0,1: 17:[33, 21, 29] Operation: 81-52=29
Moving to Node #0,1
Current State: 17:[33, 21, 29], Operations: ['81-52=29']
Exploring Operation: 33-29=4, Resulting Numbers: [21, 4]
Generated Node #0,1,2: 17:[21, 4] Operation: 33-29=4
Moving to Node #0,1,2
Current State: 17:[21, 4], Operations: ['81-52=29', '33-29=4']
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
37,
12,
95,
4
] | 64 | [
"37*12=444",
"95*4=380",
"444-380=64"
] | Current State: 64:[37, 12, 95, 4], Operations: []
Exploring Operation: 37*12=444, Resulting Numbers: [95, 4, 444]
Generated Node #2: [95, 4, 444] from Operation: 37*12=444
Current State: 64:[95, 4, 444], Operations: ['37*12=444']
Exploring Operation: 95*4=380, Resulting Numbers: [444, 380]
Generated Node #3: [444, 380] from Operation: 95*4=380
Current State: 64:[444, 380], Operations: ['37*12=444', '95*4=380']
Exploring Operation: 444-380=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[37, 12, 95, 4], Operations: []
Exploring Operation: 95-12=83, Resulting Numbers: [37, 4, 83]
Generated Node #0,0: 64:[37, 4, 83] Operation: 95-12=83
Exploring Operation: 95-37=58, Resulting Numbers: [12, 4, 58]
Generated Node #0,1: 64:[12, 4, 58] Operation: 95-37=58
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[12, 4, 58], Operations: ['95-37=58']
Exploring Operation: 12-4=8, Resulting Numbers: [58, 8]
Generated Node #0,1,0: 64:[58, 8] Operation: 12-4=8
Exploring Operation: 12+4=16, Resulting Numbers: [58, 16]
Generated Node #0,1,1: 64:[58, 16] Operation: 12+4=16
Moving to Node #0,1,0
Current State: 64:[58, 8], Operations: ['95-37=58', '12-4=8']
Exploring Operation: 58-8=50, Resulting Numbers: [50]
50,64 unequal: No Solution
Exploring Operation: 58+8=66, Resulting Numbers: [66]
66,64 unequal: No Solution
Moving to Node #0,1,1
Current State: 64:[58, 16], Operations: ['95-37=58', '12+4=16']
Exploring Operation: 58+16=74, Resulting Numbers: [74]
74,64 unequal: No Solution
Exploring Operation: 58-16=42, Resulting Numbers: [42]
42,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,0
Current State: 64:[37, 4, 83], Operations: ['95-12=83']
Exploring Operation: 83-37=46, Resulting Numbers: [4, 46]
Generated Node #0,0,0: 64:[4, 46] Operation: 83-37=46
Exploring Operation: 37-4=33, Resulting Numbers: [83, 33]
Generated Node #0,0,1: 64:[83, 33] Operation: 37-4=33
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 64:[4, 46], Operations: ['95-12=83', '83-37=46']
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,64 unequal: No Solution
Exploring Operation: 4+46=50, Resulting Numbers: [50]
50,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,0,1
Current State: 64:[83, 33], Operations: ['95-12=83', '37-4=33']
Exploring Operation: 83+33=116, Resulting Numbers: [116]
116,64 unequal: No Solution
Exploring Operation: 83-33=50, Resulting Numbers: [50]
50,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
11,
22,
54,
61
] | 14 | [
"22/11=2",
"61-54=7",
"2*7=14"
] | Current State: 14:[11, 22, 54, 61], Operations: []
Exploring Operation: 22/11=2, Resulting Numbers: [54, 61, 2]
Generated Node #2: [54, 61, 2] from Operation: 22/11=2
Current State: 14:[54, 61, 2], Operations: ['22/11=2']
Exploring Operation: 61-54=7, Resulting Numbers: [2, 7]
Generated Node #3: [2, 7] from Operation: 61-54=7
Current State: 14:[2, 7], Operations: ['22/11=2', '61-54=7']
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[11, 22, 54, 61], Operations: []
Exploring Operation: 61-54=7, Resulting Numbers: [11, 22, 7]
Generated Node #0,0: 14:[11, 22, 7] Operation: 61-54=7
Exploring Operation: 54-22=32, Resulting Numbers: [11, 61, 32]
Generated Node #0,1: 14:[11, 61, 32] Operation: 54-22=32
Moving to Node #0,0
Current State: 14:[11, 22, 7], Operations: ['61-54=7']
Exploring Operation: 22-11=11, Resulting Numbers: [7, 11]
Generated Node #0,0,0: 14:[7, 11] Operation: 22-11=11
Exploring Operation: 22/11=2, Resulting Numbers: [7, 2]
Generated Node #0,0,1: 14:[7, 2] Operation: 22/11=2
Moving to Node #0,1
Current State: 14:[11, 61, 32], Operations: ['54-22=32']
Exploring Operation: 61-11=50, Resulting Numbers: [32, 50]
Generated Node #0,1,0: 14:[32, 50] Operation: 61-11=50
Exploring Operation: 61-32=29, Resulting Numbers: [11, 29]
Generated Node #0,1,1: 14:[11, 29] Operation: 61-32=29
Moving to Node #0,0,1
Current State: 14:[7, 2], Operations: ['61-54=7', '22/11=2']
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[11, 22, 54, 61], Operations: []
Exploring Operation: 61-54=7, Resulting Numbers: [11, 22, 7]
Generated Node #0,0: 14:[11, 22, 7] Operation: 61-54=7
Moving to Node #0,0
Current State: 14:[11, 22, 7], Operations: ['61-54=7']
Exploring Operation: 22/11=2, Resulting Numbers: [7, 2]
Generated Node #0,0,1: 14:[7, 2] Operation: 22/11=2
Moving to Node #0,0,1
Current State: 14:[7, 2], Operations: ['61-54=7', '22/11=2']
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 0.990451 | hs_2 | sum_heuristic |
[
4,
45,
4,
79
] | 18 | [
"4*4=16",
"79-45=34",
"34-16=18"
] | Current State: 18:[4, 45, 4, 79], Operations: []
Exploring Operation: 4*4=16, Resulting Numbers: [45, 79, 16]
Generated Node #2: [45, 79, 16] from Operation: 4*4=16
Current State: 18:[45, 79, 16], Operations: ['4*4=16']
Exploring Operation: 79-45=34, Resulting Numbers: [16, 34]
Generated Node #3: [16, 34] from Operation: 79-45=34
Current State: 18:[16, 34], Operations: ['4*4=16', '79-45=34']
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[4, 45, 4, 79], Operations: []
Exploring Operation: 79-45=34, Resulting Numbers: [4, 4, 34]
Generated Node #0,0: 18:[4, 4, 34] Operation: 79-45=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[4, 4, 34], Operations: ['79-45=34']
Exploring Operation: 34-4=30, Resulting Numbers: [4, 30]
Generated Node #0,0,0: 18:[4, 30] Operation: 34-4=30
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 18:[4, 30], Operations: ['79-45=34', '34-4=30']
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
81,
22,
44,
66
] | 86 | [
"44+66=110",
"110/22=5",
"81+5=86"
] | Current State: 86:[81, 22, 44, 66], Operations: []
Exploring Operation: 44+66=110, Resulting Numbers: [81, 22, 110]
Generated Node #2: [81, 22, 110] from Operation: 44+66=110
Current State: 86:[81, 22, 110], Operations: ['44+66=110']
Exploring Operation: 110/22=5, Resulting Numbers: [81, 5]
Generated Node #3: [81, 5] from Operation: 110/22=5
Current State: 86:[81, 5], Operations: ['44+66=110', '110/22=5']
Exploring Operation: 81+5=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[81, 22, 44, 66], Operations: []
Exploring Operation: 66-22=44, Resulting Numbers: [81, 44, 44]
Generated Node #0,0: 86:[81, 44, 44] Operation: 66-22=44
Moving to Node #0,0
Current State: 86:[81, 44, 44], Operations: ['66-22=44']
Exploring Operation: 44/44=1, Resulting Numbers: [81, 1]
Generated Node #0,0,0: 86:[81, 1] Operation: 44/44=1
Moving to Node #0,0,0
Current State: 86:[81, 1], Operations: ['66-22=44', '44/44=1']
Exploring Operation: 81+1=82, Resulting Numbers: [82]
82,86 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
10,
27,
15,
84
] | 62 | [
"10+27=37",
"15+84=99",
"99-37=62"
] | Current State: 62:[10, 27, 15, 84], Operations: []
Exploring Operation: 10+27=37, Resulting Numbers: [15, 84, 37]
Generated Node #2: [15, 84, 37] from Operation: 10+27=37
Current State: 62:[15, 84, 37], Operations: ['10+27=37']
Exploring Operation: 15+84=99, Resulting Numbers: [37, 99]
Generated Node #3: [37, 99] from Operation: 15+84=99
Current State: 62:[37, 99], Operations: ['10+27=37', '15+84=99']
Exploring Operation: 99-37=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[10, 27, 15, 84], Operations: []
Exploring Operation: 15-10=5, Resulting Numbers: [27, 84, 5]
Generated Node #0,0: 62:[27, 84, 5] Operation: 15-10=5
Exploring Operation: 84-15=69, Resulting Numbers: [10, 27, 69]
Generated Node #0,1: 62:[10, 27, 69] Operation: 84-15=69
Exploring Operation: 84-27=57, Resulting Numbers: [10, 15, 57]
Generated Node #0,2: 62:[10, 15, 57] Operation: 84-27=57
Moving to Node #0,1
Current State: 62:[10, 27, 69], Operations: ['84-15=69']
Exploring Operation: 69-27=42, Resulting Numbers: [10, 42]
Generated Node #0,1,0: 62:[10, 42] Operation: 69-27=42
Exploring Operation: 69-10=59, Resulting Numbers: [27, 59]
Generated Node #0,1,1: 62:[27, 59] Operation: 69-10=59
Exploring Operation: 10+27=37, Resulting Numbers: [69, 37]
Generated Node #0,1,2: 62:[69, 37] Operation: 10+27=37
Moving to Node #0,2
Current State: 62:[10, 15, 57], Operations: ['84-27=57']
Exploring Operation: 15-10=5, Resulting Numbers: [57, 5]
Generated Node #0,2,0: 62:[57, 5] Operation: 15-10=5
Exploring Operation: 10+57=67, Resulting Numbers: [15, 67]
Generated Node #0,2,1: 62:[15, 67] Operation: 10+57=67
Exploring Operation: 10+15=25, Resulting Numbers: [57, 25]
Generated Node #0,2,2: 62:[57, 25] Operation: 10+15=25
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 62:[57, 5], Operations: ['84-27=57', '15-10=5']
Exploring Operation: 57*5=285, Resulting Numbers: [285]
285,62 unequal: No Solution
Exploring Operation: 57+5=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[10, 27, 15, 84], Operations: []
Exploring Operation: 84-27=57, Resulting Numbers: [10, 15, 57]
Generated Node #0,2: 62:[10, 15, 57] Operation: 84-27=57
Moving to Node #0,2
Current State: 62:[10, 15, 57], Operations: ['84-27=57']
Exploring Operation: 15-10=5, Resulting Numbers: [57, 5]
Generated Node #0,2,0: 62:[57, 5] Operation: 15-10=5
Moving to Node #0,2,0
Current State: 62:[57, 5], Operations: ['84-27=57', '15-10=5']
Exploring Operation: 57+5=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | sum_heuristic |
[
13,
31,
96,
98
] | 36 | [
"31-13=18",
"98-96=2",
"18*2=36"
] | Current State: 36:[13, 31, 96, 98], Operations: []
Exploring Operation: 31-13=18, Resulting Numbers: [96, 98, 18]
Generated Node #2: [96, 98, 18] from Operation: 31-13=18
Current State: 36:[96, 98, 18], Operations: ['31-13=18']
Exploring Operation: 98-96=2, Resulting Numbers: [18, 2]
Generated Node #3: [18, 2] from Operation: 98-96=2
Current State: 36:[18, 2], Operations: ['31-13=18', '98-96=2']
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[13, 31, 96, 98], Operations: []
Exploring Operation: 98-96=2, Resulting Numbers: [13, 31, 2]
Generated Node #0,0: 36:[13, 31, 2] Operation: 98-96=2
Moving to Node #0,0
Current State: 36:[13, 31, 2], Operations: ['98-96=2']
Exploring Operation: 31-13=18, Resulting Numbers: [2, 18]
Generated Node #0,0,0: 36:[2, 18] Operation: 31-13=18
Moving to Node #0,0,0
Current State: 36:[2, 18], Operations: ['98-96=2', '31-13=18']
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[13, 31, 96, 98], Operations: []
Exploring Operation: 98-96=2, Resulting Numbers: [13, 31, 2]
Generated Node #0,0: 36:[13, 31, 2] Operation: 98-96=2
Moving to Node #0,0
Current State: 36:[13, 31, 2], Operations: ['98-96=2']
Exploring Operation: 31-13=18, Resulting Numbers: [2, 18]
Generated Node #0,0,0: 36:[2, 18] Operation: 31-13=18
Moving to Node #0,0,0
Current State: 36:[2, 18], Operations: ['98-96=2', '31-13=18']
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
21,
56,
37,
67
] | 39 | [
"37+67=104",
"21*104=2184",
"2184/56=39"
] | Current State: 39:[21, 56, 37, 67], Operations: []
Exploring Operation: 37+67=104, Resulting Numbers: [21, 56, 104]
Generated Node #2: [21, 56, 104] from Operation: 37+67=104
Current State: 39:[21, 56, 104], Operations: ['37+67=104']
Exploring Operation: 21*104=2184, Resulting Numbers: [56, 2184]
Generated Node #3: [56, 2184] from Operation: 21*104=2184
Current State: 39:[56, 2184], Operations: ['37+67=104', '21*104=2184']
Exploring Operation: 2184/56=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[21, 56, 37, 67], Operations: []
Exploring Operation: 67-37=30, Resulting Numbers: [21, 56, 30]
Generated Node #0,0: 39:[21, 56, 30] Operation: 67-37=30
Exploring Operation: 67-21=46, Resulting Numbers: [56, 37, 46]
Generated Node #0,1: 39:[56, 37, 46] Operation: 67-21=46
Exploring Operation: 67-56=11, Resulting Numbers: [21, 37, 11]
Generated Node #0,2: 39:[21, 37, 11] Operation: 67-56=11
Exploring Operation: 56-37=19, Resulting Numbers: [21, 67, 19]
Generated Node #0,3: 39:[21, 67, 19] Operation: 56-37=19
Exploring Operation: 56-21=35, Resulting Numbers: [37, 67, 35]
Generated Node #0,4: 39:[37, 67, 35] Operation: 56-21=35
Moving to Node #0,2
Current State: 39:[21, 37, 11], Operations: ['67-56=11']
Exploring Operation: 21+37=58, Resulting Numbers: [11, 58]
Generated Node #0,2,0: 39:[11, 58] Operation: 21+37=58
Exploring Operation: 37-21=16, Resulting Numbers: [11, 16]
Generated Node #0,2,1: 39:[11, 16] Operation: 37-21=16
Exploring Operation: 21-11=10, Resulting Numbers: [37, 10]
Generated Node #0,2,2: 39:[37, 10] Operation: 21-11=10
Exploring Operation: 37+11=48, Resulting Numbers: [21, 48]
Generated Node #0,2,3: 39:[21, 48] Operation: 37+11=48
Exploring Operation: 21+11=32, Resulting Numbers: [37, 32]
Generated Node #0,2,4: 39:[37, 32] Operation: 21+11=32
Moving to Node #0,1
Current State: 39:[56, 37, 46], Operations: ['67-21=46']
Exploring Operation: 46-37=9, Resulting Numbers: [56, 9]
Generated Node #0,1,0: 39:[56, 9] Operation: 46-37=9
Exploring Operation: 56-37=19, Resulting Numbers: [46, 19]
Generated Node #0,1,1: 39:[46, 19] Operation: 56-37=19
Exploring Operation: 37+46=83, Resulting Numbers: [56, 83]
Generated Node #0,1,2: 39:[56, 83] Operation: 37+46=83
Exploring Operation: 56-46=10, Resulting Numbers: [37, 10]
Generated Node #0,1,3: 39:[37, 10] Operation: 56-46=10
Exploring Operation: 56+37=93, Resulting Numbers: [46, 93]
Generated Node #0,1,4: 39:[46, 93] Operation: 56+37=93
Moving to Node #0,0
Current State: 39:[21, 56, 30], Operations: ['67-37=30']
Exploring Operation: 21+30=51, Resulting Numbers: [56, 51]
Generated Node #0,0,0: 39:[56, 51] Operation: 21+30=51
Exploring Operation: 56-21=35, Resulting Numbers: [30, 35]
Generated Node #0,0,1: 39:[30, 35] Operation: 56-21=35
Exploring Operation: 56-30=26, Resulting Numbers: [21, 26]
Generated Node #0,0,2: 39:[21, 26] Operation: 56-30=26
Exploring Operation: 30-21=9, Resulting Numbers: [56, 9]
Generated Node #0,0,3: 39:[56, 9] Operation: 30-21=9
Exploring Operation: 21+56=77, Resulting Numbers: [30, 77]
Generated Node #0,0,4: 39:[30, 77] Operation: 21+56=77
Moving to Node #0,4
Current State: 39:[37, 67, 35], Operations: ['56-21=35']
Exploring Operation: 67-35=32, Resulting Numbers: [37, 32]
Generated Node #0,4,0: 39:[37, 32] Operation: 67-35=32
Exploring Operation: 37+35=72, Resulting Numbers: [67, 72]
Generated Node #0,4,1: 39:[67, 72] Operation: 37+35=72
Exploring Operation: 67+35=102, Resulting Numbers: [37, 102]
Generated Node #0,4,2: 39:[37, 102] Operation: 67+35=102
Exploring Operation: 67-37=30, Resulting Numbers: [35, 30]
Generated Node #0,4,3: 39:[35, 30] Operation: 67-37=30
Exploring Operation: 37-35=2, Resulting Numbers: [67, 2]
Generated Node #0,4,4: 39:[67, 2] Operation: 37-35=2
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 39:[37, 32], Operations: ['56-21=35', '67-35=32']
Exploring Operation: 37*32=1184, Resulting Numbers: [1184]
1184,39 unequal: No Solution
Exploring Operation: 37-32=5, Resulting Numbers: [5]
5,39 unequal: No Solution
Exploring Operation: 37+32=69, Resulting Numbers: [69]
69,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 39:[35, 30], Operations: ['56-21=35', '67-37=30']
Exploring Operation: 35-30=5, Resulting Numbers: [5]
5,39 unequal: No Solution
Exploring Operation: 35+30=65, Resulting Numbers: [65]
65,39 unequal: No Solution
Exploring Operation: 35*30=1050, Resulting Numbers: [1050]
1050,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 39:[67, 2], Operations: ['56-21=35', '37-35=2']
Exploring Operation: 67+2=69, Resulting Numbers: [69]
69,39 unequal: No Solution
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,39 unequal: No Solution
Exploring Operation: 67*2=134, Resulting Numbers: [134]
134,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 39:[67, 72], Operations: ['56-21=35', '37+35=72']
Exploring Operation: 72-67=5, Resulting Numbers: [5]
5,39 unequal: No Solution
Exploring Operation: 67*72=4824, Resulting Numbers: [4824]
4824,39 unequal: No Solution
Exploring Operation: 67+72=139, Resulting Numbers: [139]
139,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 39:[37, 102], Operations: ['56-21=35', '67+35=102']
Exploring Operation: 37+102=139, Resulting Numbers: [139]
139,39 unequal: No Solution
Exploring Operation: 102-37=65, Resulting Numbers: [65]
65,39 unequal: No Solution
Exploring Operation: 37*102=3774, Resulting Numbers: [3774]
3774,39 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: 39:[21, 67, 19], Operations: ['56-37=19']
Exploring Operation: 67-19=48, Resulting Numbers: [21, 48]
Generated Node #0,3,0: 39:[21, 48] Operation: 67-19=48
Exploring Operation: 21-19=2, Resulting Numbers: [67, 2]
Generated Node #0,3,1: 39:[67, 2] Operation: 21-19=2
Exploring Operation: 67-21=46, Resulting Numbers: [19, 46]
Generated Node #0,3,2: 39:[19, 46] Operation: 67-21=46
Exploring Operation: 21+67=88, Resulting Numbers: [19, 88]
Generated Node #0,3,3: 39:[19, 88] Operation: 21+67=88
Exploring Operation: 21+19=40, Resulting Numbers: [67, 40]
Generated Node #0,3,4: 39:[67, 40] Operation: 21+19=40
Moving to Node #0,2,1
Current State: 39:[11, 16], Operations: ['67-56=11', '37-21=16']
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,39 unequal: No Solution
Exploring Operation: 11*16=176, Resulting Numbers: [176]
176,39 unequal: No Solution
Exploring Operation: 11+16=27, Resulting Numbers: [27]
27,39 unequal: No Solution
Moving to Node #0,1,3
Current State: 39:[37, 10], Operations: ['67-21=46', '56-46=10']
Exploring Operation: 37-10=27, Resulting Numbers: [27]
27,39 unequal: No Solution
Exploring Operation: 37*10=370, Resulting Numbers: [370]
370,39 unequal: No Solution
Exploring Operation: 37+10=47, Resulting Numbers: [47]
47,39 unequal: No Solution
Moving to Node #0,2,2
Current State: 39:[37, 10], Operations: ['67-56=11', '21-11=10']
Exploring Operation: 37+10=47, Resulting Numbers: [47]
47,39 unequal: No Solution
Exploring Operation: 37-10=27, Resulting Numbers: [27]
27,39 unequal: No Solution
Exploring Operation: 37*10=370, Resulting Numbers: [370]
370,39 unequal: No Solution
Moving to Node #0,2,4
Current State: 39:[37, 32], Operations: ['67-56=11', '21+11=32']
Exploring Operation: 37-32=5, Resulting Numbers: [5]
5,39 unequal: No Solution
Exploring Operation: 37+32=69, Resulting Numbers: [69]
69,39 unequal: No Solution
Exploring Operation: 37*32=1184, Resulting Numbers: [1184]
1184,39 unequal: No Solution
Moving to Node #0,1,1
Current State: 39:[46, 19], Operations: ['67-21=46', '56-37=19']
Exploring Operation: 46*19=874, Resulting Numbers: [874]
874,39 unequal: No Solution
Exploring Operation: 46+19=65, Resulting Numbers: [65]
65,39 unequal: No Solution
Exploring Operation: 46-19=27, Resulting Numbers: [27]
27,39 unequal: No Solution
Moving to Node #0,0,1
Current State: 39:[30, 35], Operations: ['67-37=30', '56-21=35']
Exploring Operation: 35-30=5, Resulting Numbers: [5]
5,39 unequal: No Solution
Exploring Operation: 30+35=65, Resulting Numbers: [65]
65,39 unequal: No Solution
Exploring Operation: 30*35=1050, Resulting Numbers: [1050]
1050,39 unequal: No Solution
Moving to Node #0,3,2
Current State: 39:[19, 46], Operations: ['56-37=19', '67-21=46']
Exploring Operation: 19+46=65, Resulting Numbers: [65]
65,39 unequal: No Solution
Exploring Operation: 19*46=874, Resulting Numbers: [874]
874,39 unequal: No Solution
Exploring Operation: 46-19=27, Resulting Numbers: [27]
27,39 unequal: No Solution
Moving to Node #0,3,0
Current State: 39:[21, 48], Operations: ['56-37=19', '67-19=48']
Exploring Operation: 21+48=69, Resulting Numbers: [69]
69,39 unequal: No Solution
Exploring Operation: 21*48=1008, Resulting Numbers: [1008]
1008,39 unequal: No Solution
Exploring Operation: 48-21=27, Resulting Numbers: [27]
27,39 unequal: No Solution
Moving to Node #0,2,3
Current State: 39:[21, 48], Operations: ['67-56=11', '37+11=48']
Exploring Operation: 21*48=1008, Resulting Numbers: [1008]
1008,39 unequal: No Solution
Exploring Operation: 48-21=27, Resulting Numbers: [27]
27,39 unequal: No Solution
Exploring Operation: 21+48=69, Resulting Numbers: [69]
69,39 unequal: No Solution
Moving to Node #0,0,3
Current State: 39:[56, 9], Operations: ['67-37=30', '30-21=9']
Exploring Operation: 56-9=47, Resulting Numbers: [47]
47,39 unequal: No Solution
Exploring Operation: 56*9=504, Resulting Numbers: [504]
504,39 unequal: No Solution
Exploring Operation: 56+9=65, Resulting Numbers: [65]
65,39 unequal: No Solution
Moving to Node #0,0,2
Current State: 39:[21, 26], Operations: ['67-37=30', '56-30=26']
Exploring Operation: 21*26=546, Resulting Numbers: [546]
546,39 unequal: No Solution
Exploring Operation: 21+26=47, Resulting Numbers: [47]
47,39 unequal: No Solution
Exploring Operation: 26-21=5, Resulting Numbers: [5]
5,39 unequal: No Solution
Moving to Node #0,2,0
Current State: 39:[11, 58], Operations: ['67-56=11', '21+37=58']
Exploring Operation: 58-11=47, Resulting Numbers: [47]
47,39 unequal: No Solution
Exploring Operation: 11*58=638, Resulting Numbers: [638]
638,39 unequal: No Solution
Exploring Operation: 11+58=69, Resulting Numbers: [69]
69,39 unequal: No Solution
Moving to Node #0,1,0
Current State: 39:[56, 9], Operations: ['67-21=46', '46-37=9']
Exploring Operation: 56-9=47, Resulting Numbers: [47]
47,39 unequal: No Solution
Exploring Operation: 56*9=504, Resulting Numbers: [504]
504,39 unequal: No Solution
Exploring Operation: 56+9=65, Resulting Numbers: [65]
65,39 unequal: No Solution
Moving to Node #0,0,0
Current State: 39:[56, 51], Operations: ['67-37=30', '21+30=51']
Exploring Operation: 56*51=2856, Resulting Numbers: [2856]
2856,39 unequal: No Solution
Exploring Operation: 56+51=107, Resulting Numbers: [107]
107,39 unequal: No Solution
Exploring Operation: 56-51=5, Resulting Numbers: [5]
5,39 unequal: No Solution
Moving to Node #0,3,4
Current State: 39:[67, 40], Operations: ['56-37=19', '21+19=40']
Exploring Operation: 67+40=107, Resulting Numbers: [107]
107,39 unequal: No Solution
Exploring Operation: 67*40=2680, Resulting Numbers: [2680]
2680,39 unequal: No Solution
Exploring Operation: 67-40=27, Resulting Numbers: [27]
27,39 unequal: No Solution
Moving to Node #0,3,1
Current State: 39:[67, 2], Operations: ['56-37=19', '21-19=2']
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,39 unequal: No Solution
Exploring Operation: 67*2=134, Resulting Numbers: [134]
134,39 unequal: No Solution
Exploring Operation: 67+2=69, Resulting Numbers: [69]
69,39 unequal: No Solution
Moving to Node #0,0,4
Current State: 39:[30, 77], Operations: ['67-37=30', '21+56=77']
Exploring Operation: 77-30=47, Resulting Numbers: [47]
47,39 unequal: No Solution
Exploring Operation: 30*77=2310, Resulting Numbers: [2310]
2310,39 unequal: No Solution
Exploring Operation: 30+77=107, Resulting Numbers: [107]
107,39 unequal: No Solution
Moving to Node #0,3,3
Current State: 39:[19, 88], Operations: ['56-37=19', '21+67=88']
Exploring Operation: 19*88=1672, Resulting Numbers: [1672]
1672,39 unequal: No Solution
Exploring Operation: 19+88=107, Resulting Numbers: [107]
107,39 unequal: No Solution
Exploring Operation: 88-19=69, Resulting Numbers: [69]
69,39 unequal: No Solution
Moving to Node #0,1,4
Current State: 39:[46, 93], Operations: ['67-21=46', '56+37=93']
Exploring Operation: 46+93=139, Resulting Numbers: [139]
139,39 unequal: No Solution
Exploring Operation: 93-46=47, Resulting Numbers: [47]
47,39 unequal: No Solution
Exploring Operation: 46*93=4278, Resulting Numbers: [4278]
4278,39 unequal: No Solution
Moving to Node #0,1,2
Current State: 39:[56, 83], Operations: ['67-21=46', '37+46=83']
Exploring Operation: 83-56=27, Resulting Numbers: [27]
27,39 unequal: No Solution
Exploring Operation: 56*83=4648, Resulting Numbers: [4648]
4648,39 unequal: No Solution
Exploring Operation: 56+83=139, Resulting Numbers: [139]
139,39 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
20,
42,
12,
18
] | 43 | [
"42*18=756",
"756/12=63",
"63-20=43"
] | Current State: 43:[20, 42, 12, 18], Operations: []
Exploring Operation: 42*18=756, Resulting Numbers: [20, 12, 756]
Generated Node #2: [20, 12, 756] from Operation: 42*18=756
Current State: 43:[20, 12, 756], Operations: ['42*18=756']
Exploring Operation: 756/12=63, Resulting Numbers: [20, 63]
Generated Node #3: [20, 63] from Operation: 756/12=63
Current State: 43:[20, 63], Operations: ['42*18=756', '756/12=63']
Exploring Operation: 63-20=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[20, 42, 12, 18], Operations: []
Exploring Operation: 20+12=32, Resulting Numbers: [42, 18, 32]
Generated Node #0,0: 43:[42, 18, 32] Operation: 20+12=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[42, 18, 32], Operations: ['20+12=32']
Exploring Operation: 18+32=50, Resulting Numbers: [42, 50]
Generated Node #0,0,0: 43:[42, 50] Operation: 18+32=50
Moving to Node #0,0,0
Current State: 43:[42, 50], Operations: ['20+12=32', '18+32=50']
Exploring Operation: 50-42=8, Resulting Numbers: [8]
8,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 |
[
2,
42,
84,
22
] | 48 | [
"2+22=24",
"84/42=2",
"24*2=48"
] | Current State: 48:[2, 42, 84, 22], Operations: []
Exploring Operation: 2+22=24, Resulting Numbers: [42, 84, 24]
Generated Node #2: [42, 84, 24] from Operation: 2+22=24
Current State: 48:[42, 84, 24], Operations: ['2+22=24']
Exploring Operation: 84/42=2, Resulting Numbers: [24, 2]
Generated Node #3: [24, 2] from Operation: 84/42=2
Current State: 48:[24, 2], Operations: ['2+22=24', '84/42=2']
Exploring Operation: 24*2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[2, 42, 84, 22], Operations: []
Exploring Operation: 84/42=2, Resulting Numbers: [2, 22, 2]
Generated Node #0,0: 48:[2, 22, 2] Operation: 84/42=2
Exploring Operation: 84-42=42, Resulting Numbers: [2, 22, 42]
Generated Node #0,1: 48:[2, 22, 42] Operation: 84-42=42
Exploring Operation: 84/2=42, Resulting Numbers: [42, 22, 42]
Generated Node #0,2: 48:[42, 22, 42] Operation: 84/2=42
Exploring Operation: 84-22=62, Resulting Numbers: [2, 42, 62]
Generated Node #0,3: 48:[2, 42, 62] Operation: 84-22=62
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[2, 22, 2], Operations: ['84/42=2']
Exploring Operation: 2+22=24, Resulting Numbers: [2, 24]
Generated Node #0,0,0: 48:[2, 24] Operation: 2+22=24
Exploring Operation: 22/2=11, Resulting Numbers: [2, 11]
Generated Node #0,0,1: 48:[2, 11] Operation: 22/2=11
Exploring Operation: 22+2=24, Resulting Numbers: [2, 24]
Generated Node #0,0,2: 48:[2, 24] Operation: 22+2=24
Exploring Operation: 22/2=11, Resulting Numbers: [2, 11]
Generated Node #0,0,3: 48:[2, 11] Operation: 22/2=11
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 48:[2, 24], Operations: ['84/42=2', '2+22=24']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,48 unequal: No Solution
Exploring Operation: 2+24=26, Resulting Numbers: [26]
26,48 unequal: No Solution
Exploring Operation: 2*24=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[2, 42, 84, 22], Operations: []
Exploring Operation: 84/42=2, Resulting Numbers: [2, 22, 2]
Generated Node #0,0: 48:[2, 22, 2] Operation: 84/42=2
Moving to Node #0,0
Current State: 48:[2, 22, 2], Operations: ['84/42=2']
Exploring Operation: 2+22=24, Resulting Numbers: [2, 24]
Generated Node #0,0,0: 48:[2, 24] Operation: 2+22=24
Moving to Node #0,0,0
Current State: 48:[2, 24], Operations: ['84/42=2', '2+22=24']
Exploring Operation: 2*24=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
24,
6,
19,
17
] | 55 | [
"24-19=5",
"17-6=11",
"5*11=55"
] | Current State: 55:[24, 6, 19, 17], Operations: []
Exploring Operation: 24-19=5, Resulting Numbers: [6, 17, 5]
Generated Node #2: [6, 17, 5] from Operation: 24-19=5
Current State: 55:[6, 17, 5], Operations: ['24-19=5']
Exploring Operation: 17-6=11, Resulting Numbers: [5, 11]
Generated Node #3: [5, 11] from Operation: 17-6=11
Current State: 55:[5, 11], Operations: ['24-19=5', '17-6=11']
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[24, 6, 19, 17], Operations: []
Exploring Operation: 24-19=5, Resulting Numbers: [6, 17, 5]
Generated Node #0,0: 55:[6, 17, 5] Operation: 24-19=5
Exploring Operation: 24-17=7, Resulting Numbers: [6, 19, 7]
Generated Node #0,1: 55:[6, 19, 7] Operation: 24-17=7
Exploring Operation: 19-17=2, Resulting Numbers: [24, 6, 2]
Generated Node #0,2: 55:[24, 6, 2] Operation: 19-17=2
Exploring Operation: 24/6=4, Resulting Numbers: [19, 17, 4]
Generated Node #0,3: 55:[19, 17, 4] Operation: 24/6=4
Moving to Node #0,0
Current State: 55:[6, 17, 5], Operations: ['24-19=5']
Exploring Operation: 17-5=12, Resulting Numbers: [6, 12]
Generated Node #0,0,0: 55:[6, 12] Operation: 17-5=12
Exploring Operation: 6+5=11, Resulting Numbers: [17, 11]
Generated Node #0,0,1: 55:[17, 11] Operation: 6+5=11
Exploring Operation: 17-6=11, Resulting Numbers: [5, 11]
Generated Node #0,0,2: 55:[5, 11] Operation: 17-6=11
Exploring Operation: 6-5=1, Resulting Numbers: [17, 1]
Generated Node #0,0,3: 55:[17, 1] Operation: 6-5=1
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 55:[5, 11], Operations: ['24-19=5', '17-6=11']
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,55 unequal: No Solution
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[24, 6, 19, 17], Operations: []
Exploring Operation: 24-19=5, Resulting Numbers: [6, 17, 5]
Generated Node #0,0: 55:[6, 17, 5] Operation: 24-19=5
Moving to Node #0,0
Current State: 55:[6, 17, 5], Operations: ['24-19=5']
Exploring Operation: 17-6=11, Resulting Numbers: [5, 11]
Generated Node #0,0,2: 55:[5, 11] Operation: 17-6=11
Moving to Node #0,0,2
Current State: 55:[5, 11], Operations: ['24-19=5', '17-6=11']
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
51,
13,
3,
41
] | 11 | [
"51/3=17",
"41-13=28",
"28-17=11"
] | Current State: 11:[51, 13, 3, 41], Operations: []
Exploring Operation: 51/3=17, Resulting Numbers: [13, 41, 17]
Generated Node #2: [13, 41, 17] from Operation: 51/3=17
Current State: 11:[13, 41, 17], Operations: ['51/3=17']
Exploring Operation: 41-13=28, Resulting Numbers: [17, 28]
Generated Node #3: [17, 28] from Operation: 41-13=28
Current State: 11:[17, 28], Operations: ['51/3=17', '41-13=28']
Exploring Operation: 28-17=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[51, 13, 3, 41], Operations: []
Exploring Operation: 51-41=10, Resulting Numbers: [13, 3, 10]
Generated Node #0,0: 11:[13, 3, 10] Operation: 51-41=10
Exploring Operation: 51/3=17, Resulting Numbers: [13, 41, 17]
Generated Node #0,1: 11:[13, 41, 17] Operation: 51/3=17
Exploring Operation: 51-13=38, Resulting Numbers: [3, 41, 38]
Generated Node #0,2: 11:[3, 41, 38] Operation: 51-13=38
Moving to Node #0,0
Current State: 11:[13, 3, 10], Operations: ['51-41=10']
Exploring Operation: 3+10=13, Resulting Numbers: [13, 13]
Generated Node #0,0,0: 11:[13, 13] Operation: 3+10=13
Exploring Operation: 13-3=10, Resulting Numbers: [10, 10]
Generated Node #0,0,1: 11:[10, 10] Operation: 13-3=10
Exploring Operation: 13+3=16, Resulting Numbers: [10, 16]
Generated Node #0,0,2: 11:[10, 16] Operation: 13+3=16
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 11:[10, 10], Operations: ['51-41=10', '13-3=10']
Exploring Operation: 10/10=1, Resulting Numbers: [1]
1,11 unequal: No Solution
Exploring Operation: 10-10=0, Resulting Numbers: [0]
0,11 unequal: No Solution
Exploring Operation: 10+10=20, Resulting Numbers: [20]
20,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 11:[13, 13], Operations: ['51-41=10', '3+10=13']
Exploring Operation: 13/13=1, Resulting Numbers: [1]
1,11 unequal: No Solution
Exploring Operation: 13-13=0, Resulting Numbers: [0]
0,11 unequal: No Solution
Exploring Operation: 13+13=26, Resulting Numbers: [26]
26,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 11:[10, 16], Operations: ['51-41=10', '13+3=16']
Exploring Operation: 10+16=26, Resulting Numbers: [26]
26,11 unequal: No Solution
Exploring Operation: 10*16=160, Resulting Numbers: [160]
160,11 unequal: No Solution
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,11 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: 11:[13, 41, 17], Operations: ['51/3=17']
Exploring Operation: 17-13=4, Resulting Numbers: [41, 4]
Generated Node #0,1,0: 11:[41, 4] Operation: 17-13=4
Exploring Operation: 41-17=24, Resulting Numbers: [13, 24]
Generated Node #0,1,1: 11:[13, 24] Operation: 41-17=24
Exploring Operation: 41-13=28, Resulting Numbers: [17, 28]
Generated Node #0,1,2: 11:[17, 28] Operation: 41-13=28
Moving to Node #0,2
Current State: 11:[3, 41, 38], Operations: ['51-13=38']
Exploring Operation: 41-3=38, Resulting Numbers: [38, 38]
Generated Node #0,2,0: 11:[38, 38] Operation: 41-3=38
Exploring Operation: 41-38=3, Resulting Numbers: [3, 3]
Generated Node #0,2,1: 11:[3, 3] Operation: 41-38=3
Exploring Operation: 38-3=35, Resulting Numbers: [41, 35]
Generated Node #0,2,2: 11:[41, 35] Operation: 38-3=35
Moving to Node #0,1,1
Current State: 11:[13, 24], Operations: ['51/3=17', '41-17=24']
Exploring Operation: 13*24=312, Resulting Numbers: [312]
312,11 unequal: No Solution
Exploring Operation: 24-13=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[51, 13, 3, 41], Operations: []
Exploring Operation: 51/3=17, Resulting Numbers: [13, 41, 17]
Generated Node #0,1: 11:[13, 41, 17] Operation: 51/3=17
Moving to Node #0,1
Current State: 11:[13, 41, 17], Operations: ['51/3=17']
Exploring Operation: 41-17=24, Resulting Numbers: [13, 24]
Generated Node #0,1,1: 11:[13, 24] Operation: 41-17=24
Moving to Node #0,1,1
Current State: 11:[13, 24], Operations: ['51/3=17', '41-17=24']
Exploring Operation: 24-13=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 0.976563 | hs_3 | mult_heuristic |
[
66,
5,
47,
12
] | 79 | [
"66-47=19",
"5*12=60",
"19+60=79"
] | Current State: 79:[66, 5, 47, 12], Operations: []
Exploring Operation: 66-47=19, Resulting Numbers: [5, 12, 19]
Generated Node #2: [5, 12, 19] from Operation: 66-47=19
Current State: 79:[5, 12, 19], Operations: ['66-47=19']
Exploring Operation: 5*12=60, Resulting Numbers: [19, 60]
Generated Node #3: [19, 60] from Operation: 5*12=60
Current State: 79:[19, 60], Operations: ['66-47=19', '5*12=60']
Exploring Operation: 19+60=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[66, 5, 47, 12], Operations: []
Exploring Operation: 5*12=60, Resulting Numbers: [66, 47, 60]
Generated Node #0,0: 79:[66, 47, 60] Operation: 5*12=60
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[66, 47, 60], Operations: ['5*12=60']
Exploring Operation: 47+60=107, Resulting Numbers: [66, 107]
Generated Node #0,0,0: 79:[66, 107] Operation: 47+60=107
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[66, 107], Operations: ['5*12=60', '47+60=107']
Exploring Operation: 107-66=41, Resulting Numbers: [41]
41,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_1 | mult_heuristic |
[
16,
26,
98,
18
] | 21 | [
"98-18=80",
"80/16=5",
"26-5=21"
] | Current State: 21:[16, 26, 98, 18], Operations: []
Exploring Operation: 98-18=80, Resulting Numbers: [16, 26, 80]
Generated Node #2: [16, 26, 80] from Operation: 98-18=80
Current State: 21:[16, 26, 80], Operations: ['98-18=80']
Exploring Operation: 80/16=5, Resulting Numbers: [26, 5]
Generated Node #3: [26, 5] from Operation: 80/16=5
Current State: 21:[26, 5], Operations: ['98-18=80', '80/16=5']
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[16, 26, 98, 18], Operations: []
Exploring Operation: 98-26=72, Resulting Numbers: [16, 18, 72]
Generated Node #0,0: 21:[16, 18, 72] Operation: 98-26=72
Moving to Node #0,0
Current State: 21:[16, 18, 72], Operations: ['98-26=72']
Exploring Operation: 72/18=4, Resulting Numbers: [16, 4]
Generated Node #0,0,0: 21:[16, 4] Operation: 72/18=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 21:[16, 4], Operations: ['98-26=72', '72/18=4']
Exploring Operation: 16+4=20, Resulting Numbers: [20]
20,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.