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 |
|---|---|---|---|---|---|---|---|---|
[
34,
49,
65,
33
] | 47 | [
"49-34=15",
"65-33=32",
"15+32=47"
] | Current State: 47:[34, 49, 65, 33], Operations: []
Exploring Operation: 49-34=15, Resulting Numbers: [65, 33, 15]
Generated Node #2: [65, 33, 15] from Operation: 49-34=15
Current State: 47:[65, 33, 15], Operations: ['49-34=15']
Exploring Operation: 65-33=32, Resulting Numbers: [15, 32]
Generated Node #3: [15, 32] from Operation: 65-33=32
Current State: 47:[15, 32], Operations: ['49-34=15', '65-33=32']
Exploring Operation: 15+32=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[34, 49, 65, 33], Operations: []
Exploring Operation: 65-33=32, Resulting Numbers: [34, 49, 32]
Generated Node #0,0: 47:[34, 49, 32] Operation: 65-33=32
Exploring Operation: 65-34=31, Resulting Numbers: [49, 33, 31]
Generated Node #0,1: 47:[49, 33, 31] Operation: 65-34=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[34, 49, 32], Operations: ['65-33=32']
Exploring Operation: 34+32=66, Resulting Numbers: [49, 66]
Generated Node #0,0,0: 47:[49, 66] Operation: 34+32=66
Exploring Operation: 49-32=17, Resulting Numbers: [34, 17]
Generated Node #0,0,1: 47:[34, 17] Operation: 49-32=17
Moving to Node #0,0,0
Current State: 47:[49, 66], Operations: ['65-33=32', '34+32=66']
Exploring Operation: 49+66=115, Resulting Numbers: [115]
115,47 unequal: No Solution
Exploring Operation: 66-49=17, Resulting Numbers: [17]
17,47 unequal: No Solution
Moving to Node #0,0,1
Current State: 47:[34, 17], Operations: ['65-33=32', '49-32=17']
Exploring Operation: 34-17=17, Resulting Numbers: [17]
17,47 unequal: No Solution
Exploring Operation: 34+17=51, Resulting Numbers: [51]
51,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[49, 33, 31], Operations: ['65-34=31']
Exploring Operation: 49-31=18, Resulting Numbers: [33, 18]
Generated Node #0,1,0: 47:[33, 18] Operation: 49-31=18
Exploring Operation: 33+31=64, Resulting Numbers: [49, 64]
Generated Node #0,1,1: 47:[49, 64] Operation: 33+31=64
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 47:[49, 64], Operations: ['65-34=31', '33+31=64']
Exploring Operation: 49+64=113, Resulting Numbers: [113]
113,47 unequal: No Solution
Exploring Operation: 64-49=15, Resulting Numbers: [15]
15,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 47:[33, 18], Operations: ['65-34=31', '49-31=18']
Exploring Operation: 33+18=51, Resulting Numbers: [51]
51,47 unequal: No Solution
Exploring Operation: 33-18=15, Resulting Numbers: [15]
15,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
54,
21,
65,
23
] | 52 | [
"65-23=42",
"42/21=2",
"54-2=52"
] | Current State: 52:[54, 21, 65, 23], Operations: []
Exploring Operation: 65-23=42, Resulting Numbers: [54, 21, 42]
Generated Node #2: [54, 21, 42] from Operation: 65-23=42
Current State: 52:[54, 21, 42], Operations: ['65-23=42']
Exploring Operation: 42/21=2, Resulting Numbers: [54, 2]
Generated Node #3: [54, 2] from Operation: 42/21=2
Current State: 52:[54, 2], Operations: ['65-23=42', '42/21=2']
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[54, 21, 65, 23], Operations: []
Exploring Operation: 65-54=11, Resulting Numbers: [21, 23, 11]
Generated Node #0,0: 52:[21, 23, 11] Operation: 65-54=11
Exploring Operation: 65-21=44, Resulting Numbers: [54, 23, 44]
Generated Node #0,1: 52:[54, 23, 44] Operation: 65-21=44
Moving to Node #0,0
Current State: 52:[21, 23, 11], Operations: ['65-54=11']
Exploring Operation: 23-21=2, Resulting Numbers: [11, 2]
Generated Node #0,0,0: 52:[11, 2] Operation: 23-21=2
Exploring Operation: 21-11=10, Resulting Numbers: [23, 10]
Generated Node #0,0,1: 52:[23, 10] Operation: 21-11=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[11, 2], Operations: ['65-54=11', '23-21=2']
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,52 unequal: No Solution
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,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,1
Current State: 52:[23, 10], Operations: ['65-54=11', '21-11=10']
Exploring Operation: 23+10=33, Resulting Numbers: [33]
33,52 unequal: No Solution
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 52:[54, 23, 44], Operations: ['65-21=44']
Exploring Operation: 54-44=10, Resulting Numbers: [23, 10]
Generated Node #0,1,0: 52:[23, 10] Operation: 54-44=10
Exploring Operation: 44-23=21, Resulting Numbers: [54, 21]
Generated Node #0,1,1: 52:[54, 21] Operation: 44-23=21
Moving to Node #0,1,0
Current State: 52:[23, 10], Operations: ['65-21=44', '54-44=10']
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,52 unequal: No Solution
Exploring Operation: 23+10=33, Resulting Numbers: [33]
33,52 unequal: No Solution
Moving to Node #0,1,1
Current State: 52:[54, 21], Operations: ['65-21=44', '44-23=21']
Exploring Operation: 54-21=33, Resulting Numbers: [33]
33,52 unequal: No Solution
Exploring Operation: 54+21=75, Resulting Numbers: [75]
75,52 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
86,
13,
97,
39
] | 78 | [
"86+13=99",
"99-97=2",
"39*2=78"
] | Current State: 78:[86, 13, 97, 39], Operations: []
Exploring Operation: 86+13=99, Resulting Numbers: [97, 39, 99]
Generated Node #2: [97, 39, 99] from Operation: 86+13=99
Current State: 78:[97, 39, 99], Operations: ['86+13=99']
Exploring Operation: 99-97=2, Resulting Numbers: [39, 2]
Generated Node #3: [39, 2] from Operation: 99-97=2
Current State: 78:[39, 2], Operations: ['86+13=99', '99-97=2']
Exploring Operation: 39*2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[86, 13, 97, 39], Operations: []
Exploring Operation: 97-13=84, Resulting Numbers: [86, 39, 84]
Generated Node #0,0: 78:[86, 39, 84] Operation: 97-13=84
Exploring Operation: 86-13=73, Resulting Numbers: [97, 39, 73]
Generated Node #0,1: 78:[97, 39, 73] Operation: 86-13=73
Exploring Operation: 97-86=11, Resulting Numbers: [13, 39, 11]
Generated Node #0,2: 78:[13, 39, 11] Operation: 97-86=11
Exploring Operation: 86-39=47, Resulting Numbers: [13, 97, 47]
Generated Node #0,3: 78:[13, 97, 47] Operation: 86-39=47
Start Sub Search at level 1: Moving to Node #0,2
Current State: 78:[13, 39, 11], Operations: ['97-86=11']
Exploring Operation: 39/13=3, Resulting Numbers: [11, 3]
Generated Node #0,2,0: 78:[11, 3] Operation: 39/13=3
Exploring Operation: 13-11=2, Resulting Numbers: [39, 2]
Generated Node #0,2,1: 78:[39, 2] Operation: 13-11=2
Exploring Operation: 39-13=26, Resulting Numbers: [11, 26]
Generated Node #0,2,2: 78:[11, 26] Operation: 39-13=26
Exploring Operation: 13+11=24, Resulting Numbers: [39, 24]
Generated Node #0,2,3: 78:[39, 24] Operation: 13+11=24
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 78:[39, 2], Operations: ['97-86=11', '13-11=2']
Exploring Operation: 39+2=41, Resulting Numbers: [41]
41,78 unequal: No Solution
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,78 unequal: No Solution
Exploring Operation: 39*2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[86, 13, 97, 39], Operations: []
Exploring Operation: 97-86=11, Resulting Numbers: [13, 39, 11]
Generated Node #0,2: 78:[13, 39, 11] Operation: 97-86=11
Moving to Node #0,2
Current State: 78:[13, 39, 11], Operations: ['97-86=11']
Exploring Operation: 13-11=2, Resulting Numbers: [39, 2]
Generated Node #0,2,1: 78:[39, 2] Operation: 13-11=2
Moving to Node #0,2,1
Current State: 78:[39, 2], Operations: ['97-86=11', '13-11=2']
Exploring Operation: 39*2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
19,
60,
33,
41
] | 49 | [
"60-19=41",
"41-33=8",
"41+8=49"
] | Current State: 49:[19, 60, 33, 41], Operations: []
Exploring Operation: 60-19=41, Resulting Numbers: [33, 41, 41]
Generated Node #2: [33, 41, 41] from Operation: 60-19=41
Current State: 49:[33, 41, 41], Operations: ['60-19=41']
Exploring Operation: 41-33=8, Resulting Numbers: [8]
8,49 equal: Goal Reached
Exploring Operation: 41+8=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[19, 60, 33, 41], Operations: []
Exploring Operation: 19+33=52, Resulting Numbers: [60, 41, 52]
Generated Node #0,0: 49:[60, 41, 52] Operation: 19+33=52
Moving to Node #0,0
Current State: 49:[60, 41, 52], Operations: ['19+33=52']
Exploring Operation: 60-52=8, Resulting Numbers: [41, 8]
Generated Node #0,0,0: 49:[41, 8] Operation: 60-52=8
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 49:[41, 8], Operations: ['19+33=52', '60-52=8']
Exploring Operation: 41+8=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[19, 60, 33, 41], Operations: []
Exploring Operation: 19+33=52, Resulting Numbers: [60, 41, 52]
Generated Node #0,0: 49:[60, 41, 52] Operation: 19+33=52
Moving to Node #0,0
Current State: 49:[60, 41, 52], Operations: ['19+33=52']
Exploring Operation: 60-52=8, Resulting Numbers: [41, 8]
Generated Node #0,0,0: 49:[41, 8] Operation: 60-52=8
Moving to Node #0,0,0
Current State: 49:[41, 8], Operations: ['19+33=52', '60-52=8']
Exploring Operation: 41+8=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
13,
98,
61,
79
] | 29 | [
"13+98=111",
"61+79=140",
"140-111=29"
] | Current State: 29:[13, 98, 61, 79], Operations: []
Exploring Operation: 13+98=111, Resulting Numbers: [61, 79, 111]
Generated Node #2: [61, 79, 111] from Operation: 13+98=111
Current State: 29:[61, 79, 111], Operations: ['13+98=111']
Exploring Operation: 61+79=140, Resulting Numbers: [111, 140]
Generated Node #3: [111, 140] from Operation: 61+79=140
Current State: 29:[111, 140], Operations: ['13+98=111', '61+79=140']
Exploring Operation: 140-111=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[13, 98, 61, 79], Operations: []
Exploring Operation: 61-13=48, Resulting Numbers: [98, 79, 48]
Generated Node #0,0: 29:[98, 79, 48] Operation: 61-13=48
Exploring Operation: 98-79=19, Resulting Numbers: [13, 61, 19]
Generated Node #0,1: 29:[13, 61, 19] Operation: 98-79=19
Exploring Operation: 98-61=37, Resulting Numbers: [13, 79, 37]
Generated Node #0,2: 29:[13, 79, 37] Operation: 98-61=37
Exploring Operation: 98-13=85, Resulting Numbers: [61, 79, 85]
Generated Node #0,3: 29:[61, 79, 85] Operation: 98-13=85
Exploring Operation: 79-61=18, Resulting Numbers: [13, 98, 18]
Generated Node #0,4: 29:[13, 98, 18] Operation: 79-61=18
Moving to Node #0,1
Current State: 29:[13, 61, 19], Operations: ['98-79=19']
Exploring Operation: 13+61=74, Resulting Numbers: [19, 74]
Generated Node #0,1,0: 29:[19, 74] Operation: 13+61=74
Exploring Operation: 13+19=32, Resulting Numbers: [61, 32]
Generated Node #0,1,1: 29:[61, 32] Operation: 13+19=32
Exploring Operation: 19-13=6, Resulting Numbers: [61, 6]
Generated Node #0,1,2: 29:[61, 6] Operation: 19-13=6
Exploring Operation: 61-13=48, Resulting Numbers: [19, 48]
Generated Node #0,1,3: 29:[19, 48] Operation: 61-13=48
Exploring Operation: 61-19=42, Resulting Numbers: [13, 42]
Generated Node #0,1,4: 29:[13, 42] Operation: 61-19=42
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 29:[19, 48], Operations: ['98-79=19', '61-13=48']
Exploring Operation: 19+48=67, Resulting Numbers: [67]
67,29 unequal: No Solution
Exploring Operation: 48-19=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[13, 98, 61, 79], Operations: []
Exploring Operation: 98-79=19, Resulting Numbers: [13, 61, 19]
Generated Node #0,1: 29:[13, 61, 19] Operation: 98-79=19
Moving to Node #0,1
Current State: 29:[13, 61, 19], Operations: ['98-79=19']
Exploring Operation: 61-13=48, Resulting Numbers: [19, 48]
Generated Node #0,1,3: 29:[19, 48] Operation: 61-13=48
Moving to Node #0,1,3
Current State: 29:[19, 48], Operations: ['98-79=19', '61-13=48']
Exploring Operation: 48-19=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
41,
89,
9,
31
] | 97 | [
"41+31=72",
"72/9=8",
"89+8=97"
] | Current State: 97:[41, 89, 9, 31], Operations: []
Exploring Operation: 41+31=72, Resulting Numbers: [89, 9, 72]
Generated Node #2: [89, 9, 72] from Operation: 41+31=72
Current State: 97:[89, 9, 72], Operations: ['41+31=72']
Exploring Operation: 72/9=8, Resulting Numbers: [89, 8]
Generated Node #3: [89, 8] from Operation: 72/9=8
Current State: 97:[89, 8], Operations: ['41+31=72', '72/9=8']
Exploring Operation: 89+8=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[41, 89, 9, 31], Operations: []
Exploring Operation: 89+9=98, Resulting Numbers: [41, 31, 98]
Generated Node #0,0: 97:[41, 31, 98] Operation: 89+9=98
Exploring Operation: 41+9=50, Resulting Numbers: [89, 31, 50]
Generated Node #0,1: 97:[89, 31, 50] Operation: 41+9=50
Exploring Operation: 9+31=40, Resulting Numbers: [41, 89, 40]
Generated Node #0,2: 97:[41, 89, 40] Operation: 9+31=40
Exploring Operation: 41+31=72, Resulting Numbers: [89, 9, 72]
Generated Node #0,3: 97:[89, 9, 72] Operation: 41+31=72
Moving to Node #0,1
Current State: 97:[89, 31, 50], Operations: ['41+9=50']
Exploring Operation: 89+31=120, Resulting Numbers: [50, 120]
Generated Node #0,1,0: 97:[50, 120] Operation: 89+31=120
Exploring Operation: 31+50=81, Resulting Numbers: [89, 81]
Generated Node #0,1,1: 97:[89, 81] Operation: 31+50=81
Exploring Operation: 89-31=58, Resulting Numbers: [50, 58]
Generated Node #0,1,2: 97:[50, 58] Operation: 89-31=58
Exploring Operation: 50-31=19, Resulting Numbers: [89, 19]
Generated Node #0,1,3: 97:[89, 19] Operation: 50-31=19
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 97:[89, 81], Operations: ['41+9=50', '31+50=81']
Exploring Operation: 89+81=170, Resulting Numbers: [170]
170,97 unequal: No Solution
Exploring Operation: 89*81=7209, Resulting Numbers: [7209]
7209,97 unequal: No Solution
Exploring Operation: 89-81=8, Resulting Numbers: [8]
8,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:[50, 120], Operations: ['41+9=50', '89+31=120']
Exploring Operation: 50*120=6000, Resulting Numbers: [6000]
6000,97 unequal: No Solution
Exploring Operation: 50+120=170, Resulting Numbers: [170]
170,97 unequal: No Solution
Exploring Operation: 120-50=70, Resulting Numbers: [70]
70,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:[50, 58], Operations: ['41+9=50', '89-31=58']
Exploring Operation: 50*58=2900, Resulting Numbers: [2900]
2900,97 unequal: No Solution
Exploring Operation: 50+58=108, Resulting Numbers: [108]
108,97 unequal: No Solution
Exploring Operation: 58-50=8, Resulting Numbers: [8]
8,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,3
Current State: 97:[89, 19], Operations: ['41+9=50', '50-31=19']
Exploring Operation: 89-19=70, Resulting Numbers: [70]
70,97 unequal: No Solution
Exploring Operation: 89*19=1691, Resulting Numbers: [1691]
1691,97 unequal: No Solution
Exploring Operation: 89+19=108, Resulting Numbers: [108]
108,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 97:[89, 9, 72], Operations: ['41+31=72']
Exploring Operation: 89+9=98, Resulting Numbers: [72, 98]
Generated Node #0,3,0: 97:[72, 98] Operation: 89+9=98
Exploring Operation: 9+72=81, Resulting Numbers: [89, 81]
Generated Node #0,3,1: 97:[89, 81] Operation: 9+72=81
Exploring Operation: 89-9=80, Resulting Numbers: [72, 80]
Generated Node #0,3,2: 97:[72, 80] Operation: 89-9=80
Exploring Operation: 72-9=63, Resulting Numbers: [89, 63]
Generated Node #0,3,3: 97:[89, 63] Operation: 72-9=63
Moving to Node #0,2
Current State: 97:[41, 89, 40], Operations: ['9+31=40']
Exploring Operation: 89+40=129, Resulting Numbers: [41, 129]
Generated Node #0,2,0: 97:[41, 129] Operation: 89+40=129
Exploring Operation: 41+40=81, Resulting Numbers: [89, 81]
Generated Node #0,2,1: 97:[89, 81] Operation: 41+40=81
Exploring Operation: 41-40=1, Resulting Numbers: [89, 1]
Generated Node #0,2,2: 97:[89, 1] Operation: 41-40=1
Exploring Operation: 41+89=130, Resulting Numbers: [40, 130]
Generated Node #0,2,3: 97:[40, 130] Operation: 41+89=130
Moving to Node #0,0
Current State: 97:[41, 31, 98], Operations: ['89+9=98']
Exploring Operation: 31+98=129, Resulting Numbers: [41, 129]
Generated Node #0,0,0: 97:[41, 129] Operation: 31+98=129
Exploring Operation: 41+31=72, Resulting Numbers: [98, 72]
Generated Node #0,0,1: 97:[98, 72] Operation: 41+31=72
Exploring Operation: 98-31=67, Resulting Numbers: [41, 67]
Generated Node #0,0,2: 97:[41, 67] Operation: 98-31=67
Exploring Operation: 41-31=10, Resulting Numbers: [98, 10]
Generated Node #0,0,3: 97:[98, 10] Operation: 41-31=10
Moving to Node #0,3,1
Current State: 97:[89, 81], Operations: ['41+31=72', '9+72=81']
Exploring Operation: 89*81=7209, Resulting Numbers: [7209]
7209,97 unequal: No Solution
Exploring Operation: 89-81=8, Resulting Numbers: [8]
8,97 unequal: No Solution
Exploring Operation: 89+81=170, Resulting Numbers: [170]
170,97 unequal: No Solution
Moving to Node #0,2,1
Current State: 97:[89, 81], Operations: ['9+31=40', '41+40=81']
Exploring Operation: 89+81=170, Resulting Numbers: [170]
170,97 unequal: No Solution
Exploring Operation: 89*81=7209, Resulting Numbers: [7209]
7209,97 unequal: No Solution
Exploring Operation: 89-81=8, Resulting Numbers: [8]
8,97 unequal: No Solution
Moving to Node #0,3,0
Current State: 97:[72, 98], Operations: ['41+31=72', '89+9=98']
Exploring Operation: 72*98=7056, Resulting Numbers: [7056]
7056,97 unequal: No Solution
Exploring Operation: 98-72=26, Resulting Numbers: [26]
26,97 unequal: No Solution
Exploring Operation: 72+98=170, Resulting Numbers: [170]
170,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[98, 72], Operations: ['89+9=98', '41+31=72']
Exploring Operation: 98-72=26, Resulting Numbers: [26]
26,97 unequal: No Solution
Exploring Operation: 98*72=7056, Resulting Numbers: [7056]
7056,97 unequal: No Solution
Exploring Operation: 98+72=170, Resulting Numbers: [170]
170,97 unequal: No Solution
Moving to Node #0,3,2
Current State: 97:[72, 80], Operations: ['41+31=72', '89-9=80']
Exploring Operation: 72+80=152, Resulting Numbers: [152]
152,97 unequal: No Solution
Exploring Operation: 80-72=8, Resulting Numbers: [8]
8,97 unequal: No Solution
Exploring Operation: 72*80=5760, Resulting Numbers: [5760]
5760,97 unequal: No Solution
Moving to Node #0,3,3
Current State: 97:[89, 63], Operations: ['41+31=72', '72-9=63']
Exploring Operation: 89-63=26, Resulting Numbers: [26]
26,97 unequal: No Solution
Exploring Operation: 89+63=152, Resulting Numbers: [152]
152,97 unequal: No Solution
Exploring Operation: 89*63=5607, Resulting Numbers: [5607]
5607,97 unequal: No Solution
Moving to Node #0,0,2
Current State: 97:[41, 67], Operations: ['89+9=98', '98-31=67']
Exploring Operation: 41+67=108, Resulting Numbers: [108]
108,97 unequal: No Solution
Exploring Operation: 67-41=26, Resulting Numbers: [26]
26,97 unequal: No Solution
Exploring Operation: 41*67=2747, Resulting Numbers: [2747]
2747,97 unequal: No Solution
Moving to Node #0,2,0
Current State: 97:[41, 129], Operations: ['9+31=40', '89+40=129']
Exploring Operation: 41*129=5289, Resulting Numbers: [5289]
5289,97 unequal: No Solution
Exploring Operation: 129-41=88, Resulting Numbers: [88]
88,97 unequal: No Solution
Exploring Operation: 41+129=170, Resulting Numbers: [170]
170,97 unequal: No Solution
Moving to Node #0,0,3
Current State: 97:[98, 10], Operations: ['89+9=98', '41-31=10']
Exploring Operation: 98-10=88, Resulting Numbers: [88]
88,97 unequal: No Solution
Exploring Operation: 98*10=980, Resulting Numbers: [980]
980,97 unequal: No Solution
Exploring Operation: 98+10=108, Resulting Numbers: [108]
108,97 unequal: No Solution
Moving to Node #0,0,0
Current State: 97:[41, 129], Operations: ['89+9=98', '31+98=129']
Exploring Operation: 41*129=5289, Resulting Numbers: [5289]
5289,97 unequal: No Solution
Exploring Operation: 129-41=88, Resulting Numbers: [88]
88,97 unequal: No Solution
Exploring Operation: 41+129=170, Resulting Numbers: [170]
170,97 unequal: No Solution
Moving to Node #0,2,3
Current State: 97:[40, 130], Operations: ['9+31=40', '41+89=130']
Exploring Operation: 130-40=90, Resulting Numbers: [90]
90,97 unequal: No Solution
Exploring Operation: 40+130=170, Resulting Numbers: [170]
170,97 unequal: No Solution
Exploring Operation: 40*130=5200, Resulting Numbers: [5200]
5200,97 unequal: No Solution
Moving to Node #0,2,2
Current State: 97:[89, 1], Operations: ['9+31=40', '41-40=1']
Exploring Operation: 89-1=88, Resulting Numbers: [88]
88,97 unequal: No Solution
Exploring Operation: 89/1=89, Resulting Numbers: [89]
89,97 unequal: No Solution
Exploring Operation: 89+1=90, Resulting Numbers: [90]
90,97 unequal: No Solution
Exploring Operation: 89*1=89, Resulting Numbers: [89]
89,97 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
93,
2,
64,
11
] | 46 | [
"93-11=82",
"2*64=128",
"128-82=46"
] | Current State: 46:[93, 2, 64, 11], Operations: []
Exploring Operation: 93-11=82, Resulting Numbers: [2, 64, 82]
Generated Node #2: [2, 64, 82] from Operation: 93-11=82
Current State: 46:[2, 64, 82], Operations: ['93-11=82']
Exploring Operation: 2*64=128, Resulting Numbers: [82, 128]
Generated Node #3: [82, 128] from Operation: 2*64=128
Current State: 46:[82, 128], Operations: ['93-11=82', '2*64=128']
Exploring Operation: 128-82=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[93, 2, 64, 11], Operations: []
Exploring Operation: 64-11=53, Resulting Numbers: [93, 2, 53]
Generated Node #0,0: 46:[93, 2, 53] Operation: 64-11=53
Exploring Operation: 93-11=82, Resulting Numbers: [2, 64, 82]
Generated Node #0,1: 46:[2, 64, 82] Operation: 93-11=82
Exploring Operation: 93-64=29, Resulting Numbers: [2, 11, 29]
Generated Node #0,2: 46:[2, 11, 29] Operation: 93-64=29
Exploring Operation: 64/2=32, Resulting Numbers: [93, 11, 32]
Generated Node #0,3: 46:[93, 11, 32] Operation: 64/2=32
Moving to Node #0,2
Current State: 46:[2, 11, 29], Operations: ['93-64=29']
Exploring Operation: 29-11=18, Resulting Numbers: [2, 18]
Generated Node #0,2,0: 46:[2, 18] Operation: 29-11=18
Exploring Operation: 11-2=9, Resulting Numbers: [29, 9]
Generated Node #0,2,1: 46:[29, 9] Operation: 11-2=9
Exploring Operation: 11+29=40, Resulting Numbers: [2, 40]
Generated Node #0,2,2: 46:[2, 40] Operation: 11+29=40
Exploring Operation: 2*11=22, Resulting Numbers: [29, 22]
Generated Node #0,2,3: 46:[29, 22] Operation: 2*11=22
Moving to Node #0,1
Current State: 46:[2, 64, 82], Operations: ['93-11=82']
Exploring Operation: 82-64=18, Resulting Numbers: [2, 18]
Generated Node #0,1,0: 46:[2, 18] Operation: 82-64=18
Exploring Operation: 64-2=62, Resulting Numbers: [82, 62]
Generated Node #0,1,1: 46:[82, 62] Operation: 64-2=62
Exploring Operation: 82/2=41, Resulting Numbers: [64, 41]
Generated Node #0,1,2: 46:[64, 41] Operation: 82/2=41
Exploring Operation: 64/2=32, Resulting Numbers: [82, 32]
Generated Node #0,1,3: 46:[82, 32] Operation: 64/2=32
Moving to Node #0,0
Current State: 46:[93, 2, 53], Operations: ['64-11=53']
Exploring Operation: 93+2=95, Resulting Numbers: [53, 95]
Generated Node #0,0,0: 46:[53, 95] Operation: 93+2=95
Exploring Operation: 93-53=40, Resulting Numbers: [2, 40]
Generated Node #0,0,1: 46:[2, 40] Operation: 93-53=40
Exploring Operation: 93-2=91, Resulting Numbers: [53, 91]
Generated Node #0,0,2: 46:[53, 91] Operation: 93-2=91
Exploring Operation: 53-2=51, Resulting Numbers: [93, 51]
Generated Node #0,0,3: 46:[93, 51] Operation: 53-2=51
Moving to Node #0,3
Current State: 46:[93, 11, 32], Operations: ['64/2=32']
Exploring Operation: 32-11=21, Resulting Numbers: [93, 21]
Generated Node #0,3,0: 46:[93, 21] Operation: 32-11=21
Exploring Operation: 93-32=61, Resulting Numbers: [11, 61]
Generated Node #0,3,1: 46:[11, 61] Operation: 93-32=61
Exploring Operation: 11+32=43, Resulting Numbers: [93, 43]
Generated Node #0,3,2: 46:[93, 43] Operation: 11+32=43
Exploring Operation: 93-11=82, Resulting Numbers: [32, 82]
Generated Node #0,3,3: 46:[32, 82] Operation: 93-11=82
Moving to Node #0,2,0
Current State: 46:[2, 18], Operations: ['93-64=29', '29-11=18']
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,46 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,46 unequal: No Solution
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,46 unequal: No Solution
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,46 unequal: No Solution
Moving to Node #0,1,0
Current State: 46:[2, 18], Operations: ['93-11=82', '82-64=18']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,46 unequal: No Solution
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,46 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,46 unequal: No Solution
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,46 unequal: No Solution
Moving to Node #0,2,2
Current State: 46:[2, 40], Operations: ['93-64=29', '11+29=40']
Exploring Operation: 2*40=80, Resulting Numbers: [80]
80,46 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,46 unequal: No Solution
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,46 unequal: No Solution
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,46 unequal: No Solution
Moving to Node #0,0,1
Current State: 46:[2, 40], Operations: ['64-11=53', '93-53=40']
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,46 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,46 unequal: No Solution
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,46 unequal: No Solution
Exploring Operation: 2*40=80, Resulting Numbers: [80]
80,46 unequal: No Solution
Moving to Node #0,2,3
Current State: 46:[29, 22], Operations: ['93-64=29', '2*11=22']
Exploring Operation: 29+22=51, Resulting Numbers: [51]
51,46 unequal: No Solution
Exploring Operation: 29-22=7, Resulting Numbers: [7]
7,46 unequal: No Solution
Exploring Operation: 29*22=638, Resulting Numbers: [638]
638,46 unequal: No Solution
Moving to Node #0,2,1
Current State: 46:[29, 9], Operations: ['93-64=29', '11-2=9']
Exploring Operation: 29*9=261, Resulting Numbers: [261]
261,46 unequal: No Solution
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,46 unequal: No Solution
Exploring Operation: 29+9=38, Resulting Numbers: [38]
38,46 unequal: No Solution
Moving to Node #0,1,2
Current State: 46:[64, 41], Operations: ['93-11=82', '82/2=41']
Exploring Operation: 64+41=105, Resulting Numbers: [105]
105,46 unequal: No Solution
Exploring Operation: 64-41=23, Resulting Numbers: [23]
23,46 unequal: No Solution
Exploring Operation: 64*41=2624, Resulting Numbers: [2624]
2624,46 unequal: No Solution
Moving to Node #0,3,1
Current State: 46:[11, 61], Operations: ['64/2=32', '93-32=61']
Exploring Operation: 11+61=72, Resulting Numbers: [72]
72,46 unequal: No Solution
Exploring Operation: 11*61=671, Resulting Numbers: [671]
671,46 unequal: No Solution
Exploring Operation: 61-11=50, Resulting Numbers: [50]
50,46 unequal: No Solution
Moving to Node #0,1,3
Current State: 46:[82, 32], Operations: ['93-11=82', '64/2=32']
Exploring Operation: 82*32=2624, Resulting Numbers: [2624]
2624,46 unequal: No Solution
Exploring Operation: 82-32=50, Resulting Numbers: [50]
50,46 unequal: No Solution
Exploring Operation: 82+32=114, Resulting Numbers: [114]
114,46 unequal: No Solution
Moving to Node #0,3,3
Current State: 46:[32, 82], Operations: ['64/2=32', '93-11=82']
Exploring Operation: 32+82=114, Resulting Numbers: [114]
114,46 unequal: No Solution
Exploring Operation: 32*82=2624, Resulting Numbers: [2624]
2624,46 unequal: No Solution
Exploring Operation: 82-32=50, Resulting Numbers: [50]
50,46 unequal: No Solution
Moving to Node #0,3,0
Current State: 46:[93, 21], Operations: ['64/2=32', '32-11=21']
Exploring Operation: 93*21=1953, Resulting Numbers: [1953]
1953,46 unequal: No Solution
Exploring Operation: 93-21=72, Resulting Numbers: [72]
72,46 unequal: No Solution
Exploring Operation: 93+21=114, Resulting Numbers: [114]
114,46 unequal: No Solution
Moving to Node #0,3,2
Current State: 46:[93, 43], Operations: ['64/2=32', '11+32=43']
Exploring Operation: 93-43=50, Resulting Numbers: [50]
50,46 unequal: No Solution
Exploring Operation: 93*43=3999, Resulting Numbers: [3999]
3999,46 unequal: No Solution
Exploring Operation: 93+43=136, Resulting Numbers: [136]
136,46 unequal: No Solution
Moving to Node #0,0,2
Current State: 46:[53, 91], Operations: ['64-11=53', '93-2=91']
Exploring Operation: 53+91=144, Resulting Numbers: [144]
144,46 unequal: No Solution
Exploring Operation: 53*91=4823, Resulting Numbers: [4823]
4823,46 unequal: No Solution
Exploring Operation: 91-53=38, Resulting Numbers: [38]
38,46 unequal: No Solution
Moving to Node #0,1,1
Current State: 46:[82, 62], Operations: ['93-11=82', '64-2=62']
Exploring Operation: 82+62=144, Resulting Numbers: [144]
144,46 unequal: No Solution
Exploring Operation: 82*62=5084, Resulting Numbers: [5084]
5084,46 unequal: No Solution
Exploring Operation: 82-62=20, Resulting Numbers: [20]
20,46 unequal: No Solution
Moving to Node #0,0,3
Current State: 46:[93, 51], Operations: ['64-11=53', '53-2=51']
Exploring Operation: 93*51=4743, Resulting Numbers: [4743]
4743,46 unequal: No Solution
Exploring Operation: 93+51=144, Resulting Numbers: [144]
144,46 unequal: No Solution
Exploring Operation: 93-51=42, Resulting Numbers: [42]
42,46 unequal: No Solution
Moving to Node #0,0,0
Current State: 46:[53, 95], Operations: ['64-11=53', '93+2=95']
Exploring Operation: 53*95=5035, Resulting Numbers: [5035]
5035,46 unequal: No Solution
Exploring Operation: 53+95=148, Resulting Numbers: [148]
148,46 unequal: No Solution
Exploring Operation: 95-53=42, Resulting Numbers: [42]
42,46 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
2,
84,
6,
91
] | 55 | [
"84/2=42",
"6+91=97",
"97-42=55"
] | Current State: 55:[2, 84, 6, 91], Operations: []
Exploring Operation: 84/2=42, Resulting Numbers: [6, 91, 42]
Generated Node #2: [6, 91, 42] from Operation: 84/2=42
Current State: 55:[6, 91, 42], Operations: ['84/2=42']
Exploring Operation: 6+91=97, Resulting Numbers: [42, 97]
Generated Node #3: [42, 97] from Operation: 6+91=97
Current State: 55:[42, 97], Operations: ['84/2=42', '6+91=97']
Exploring Operation: 97-42=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[2, 84, 6, 91], Operations: []
Exploring Operation: 91-84=7, Resulting Numbers: [2, 6, 7]
Generated Node #0,0: 55:[2, 6, 7] Operation: 91-84=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[2, 6, 7], Operations: ['91-84=7']
Exploring Operation: 7-2=5, Resulting Numbers: [6, 5]
Generated Node #0,0,0: 55:[6, 5] Operation: 7-2=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 55:[6, 5], Operations: ['91-84=7', '7-2=5']
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
65,
40,
6,
68
] | 38 | [
"68-65=3",
"6/3=2",
"40-2=38"
] | Current State: 38:[65, 40, 6, 68], Operations: []
Exploring Operation: 68-65=3, Resulting Numbers: [40, 6, 3]
Generated Node #2: [40, 6, 3] from Operation: 68-65=3
Current State: 38:[40, 6, 3], Operations: ['68-65=3']
Exploring Operation: 6/3=2, Resulting Numbers: [40, 2]
Generated Node #3: [40, 2] from Operation: 6/3=2
Current State: 38:[40, 2], Operations: ['68-65=3', '6/3=2']
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[65, 40, 6, 68], Operations: []
Exploring Operation: 68-6=62, Resulting Numbers: [65, 40, 62]
Generated Node #0,0: 38:[65, 40, 62] Operation: 68-6=62
Exploring Operation: 65-40=25, Resulting Numbers: [6, 68, 25]
Generated Node #0,1: 38:[6, 68, 25] Operation: 65-40=25
Exploring Operation: 68-65=3, Resulting Numbers: [40, 6, 3]
Generated Node #0,2: 38:[40, 6, 3] Operation: 68-65=3
Exploring Operation: 65-6=59, Resulting Numbers: [40, 68, 59]
Generated Node #0,3: 38:[40, 68, 59] Operation: 65-6=59
Exploring Operation: 68-40=28, Resulting Numbers: [65, 6, 28]
Generated Node #0,4: 38:[65, 6, 28] Operation: 68-40=28
Moving to Node #0,2
Current State: 38:[40, 6, 3], Operations: ['68-65=3']
Exploring Operation: 6*3=18, Resulting Numbers: [40, 18]
Generated Node #0,2,0: 38:[40, 18] Operation: 6*3=18
Exploring Operation: 40-3=37, Resulting Numbers: [6, 37]
Generated Node #0,2,1: 38:[6, 37] Operation: 40-3=37
Exploring Operation: 6-3=3, Resulting Numbers: [40, 3]
Generated Node #0,2,2: 38:[40, 3] Operation: 6-3=3
Exploring Operation: 6/3=2, Resulting Numbers: [40, 2]
Generated Node #0,2,3: 38:[40, 2] Operation: 6/3=2
Exploring Operation: 40-6=34, Resulting Numbers: [3, 34]
Generated Node #0,2,4: 38:[3, 34] Operation: 40-6=34
Moving to Node #0,4
Current State: 38:[65, 6, 28], Operations: ['68-40=28']
Exploring Operation: 65-28=37, Resulting Numbers: [6, 37]
Generated Node #0,4,0: 38:[6, 37] Operation: 65-28=37
Exploring Operation: 65+6=71, Resulting Numbers: [28, 71]
Generated Node #0,4,1: 38:[28, 71] Operation: 65+6=71
Exploring Operation: 65-6=59, Resulting Numbers: [28, 59]
Generated Node #0,4,2: 38:[28, 59] Operation: 65-6=59
Exploring Operation: 6+28=34, Resulting Numbers: [65, 34]
Generated Node #0,4,3: 38:[65, 34] Operation: 6+28=34
Exploring Operation: 28-6=22, Resulting Numbers: [65, 22]
Generated Node #0,4,4: 38:[65, 22] Operation: 28-6=22
Moving to Node #0,1
Current State: 38:[6, 68, 25], Operations: ['65-40=25']
Exploring Operation: 25-6=19, Resulting Numbers: [68, 19]
Generated Node #0,1,0: 38:[68, 19] Operation: 25-6=19
Exploring Operation: 68-25=43, Resulting Numbers: [6, 43]
Generated Node #0,1,1: 38:[6, 43] Operation: 68-25=43
Exploring Operation: 6+68=74, Resulting Numbers: [25, 74]
Generated Node #0,1,2: 38:[25, 74] Operation: 6+68=74
Exploring Operation: 6+25=31, Resulting Numbers: [68, 31]
Generated Node #0,1,3: 38:[68, 31] Operation: 6+25=31
Exploring Operation: 68-6=62, Resulting Numbers: [25, 62]
Generated Node #0,1,4: 38:[25, 62] Operation: 68-6=62
Moving to Node #0,0
Current State: 38:[65, 40, 62], Operations: ['68-6=62']
Exploring Operation: 65-40=25, Resulting Numbers: [62, 25]
Generated Node #0,0,0: 38:[62, 25] Operation: 65-40=25
Exploring Operation: 62-40=22, Resulting Numbers: [65, 22]
Generated Node #0,0,1: 38:[65, 22] Operation: 62-40=22
Exploring Operation: 65-62=3, Resulting Numbers: [40, 3]
Generated Node #0,0,2: 38:[40, 3] Operation: 65-62=3
Exploring Operation: 65+62=127, Resulting Numbers: [40, 127]
Generated Node #0,0,3: 38:[40, 127] Operation: 65+62=127
Exploring Operation: 65+40=105, Resulting Numbers: [62, 105]
Generated Node #0,0,4: 38:[62, 105] Operation: 65+40=105
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 38:[40, 3], Operations: ['68-6=62', '65-62=3']
Exploring Operation: 40*3=120, Resulting Numbers: [120]
120,38 unequal: No Solution
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,38 unequal: No Solution
Exploring Operation: 40+3=43, Resulting Numbers: [43]
43,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 38:[62, 25], Operations: ['68-6=62', '65-40=25']
Exploring Operation: 62+25=87, Resulting Numbers: [87]
87,38 unequal: No Solution
Exploring Operation: 62-25=37, Resulting Numbers: [37]
37,38 unequal: No Solution
Exploring Operation: 62*25=1550, Resulting Numbers: [1550]
1550,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 38:[65, 22], Operations: ['68-6=62', '62-40=22']
Exploring Operation: 65-22=43, Resulting Numbers: [43]
43,38 unequal: No Solution
Exploring Operation: 65+22=87, Resulting Numbers: [87]
87,38 unequal: No Solution
Exploring Operation: 65*22=1430, Resulting Numbers: [1430]
1430,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 38:[40, 127], Operations: ['68-6=62', '65+62=127']
Exploring Operation: 40*127=5080, Resulting Numbers: [5080]
5080,38 unequal: No Solution
Exploring Operation: 127-40=87, Resulting Numbers: [87]
87,38 unequal: No Solution
Exploring Operation: 40+127=167, Resulting Numbers: [167]
167,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 38:[62, 105], Operations: ['68-6=62', '65+40=105']
Exploring Operation: 105-62=43, Resulting Numbers: [43]
43,38 unequal: No Solution
Exploring Operation: 62+105=167, Resulting Numbers: [167]
167,38 unequal: No Solution
Exploring Operation: 62*105=6510, Resulting Numbers: [6510]
6510,38 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: 38:[40, 68, 59], Operations: ['65-6=59']
Exploring Operation: 40+68=108, Resulting Numbers: [59, 108]
Generated Node #0,3,0: 38:[59, 108] Operation: 40+68=108
Exploring Operation: 68-59=9, Resulting Numbers: [40, 9]
Generated Node #0,3,1: 38:[40, 9] Operation: 68-59=9
Exploring Operation: 59-40=19, Resulting Numbers: [68, 19]
Generated Node #0,3,2: 38:[68, 19] Operation: 59-40=19
Exploring Operation: 40+59=99, Resulting Numbers: [68, 99]
Generated Node #0,3,3: 38:[68, 99] Operation: 40+59=99
Exploring Operation: 68-40=28, Resulting Numbers: [59, 28]
Generated Node #0,3,4: 38:[59, 28] Operation: 68-40=28
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 38:[40, 9], Operations: ['65-6=59', '68-59=9']
Exploring Operation: 40-9=31, Resulting Numbers: [31]
31,38 unequal: No Solution
Exploring Operation: 40+9=49, Resulting Numbers: [49]
49,38 unequal: No Solution
Exploring Operation: 40*9=360, Resulting Numbers: [360]
360,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 38:[68, 19], Operations: ['65-6=59', '59-40=19']
Exploring Operation: 68+19=87, Resulting Numbers: [87]
87,38 unequal: No Solution
Exploring Operation: 68*19=1292, Resulting Numbers: [1292]
1292,38 unequal: No Solution
Exploring Operation: 68-19=49, Resulting Numbers: [49]
49,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 38:[59, 28], Operations: ['65-6=59', '68-40=28']
Exploring Operation: 59*28=1652, Resulting Numbers: [1652]
1652,38 unequal: No Solution
Exploring Operation: 59-28=31, Resulting Numbers: [31]
31,38 unequal: No Solution
Exploring Operation: 59+28=87, Resulting Numbers: [87]
87,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 38:[59, 108], Operations: ['65-6=59', '40+68=108']
Exploring Operation: 108-59=49, Resulting Numbers: [49]
49,38 unequal: No Solution
Exploring Operation: 59+108=167, Resulting Numbers: [167]
167,38 unequal: No Solution
Exploring Operation: 59*108=6372, Resulting Numbers: [6372]
6372,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 38:[68, 99], Operations: ['65-6=59', '40+59=99']
Exploring Operation: 68+99=167, Resulting Numbers: [167]
167,38 unequal: No Solution
Exploring Operation: 68*99=6732, Resulting Numbers: [6732]
6732,38 unequal: No Solution
Exploring Operation: 99-68=31, Resulting Numbers: [31]
31,38 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: 38:[40, 2], Operations: ['68-65=3', '6/3=2']
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[65, 40, 6, 68], Operations: []
Exploring Operation: 68-65=3, Resulting Numbers: [40, 6, 3]
Generated Node #0,2: 38:[40, 6, 3] Operation: 68-65=3
Moving to Node #0,2
Current State: 38:[40, 6, 3], Operations: ['68-65=3']
Exploring Operation: 6/3=2, Resulting Numbers: [40, 2]
Generated Node #0,2,3: 38:[40, 2] Operation: 6/3=2
Moving to Node #0,2,3
Current State: 38:[40, 2], Operations: ['68-65=3', '6/3=2']
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 0.943576 | hs_5 | mult_heuristic |
[
75,
2,
47,
56
] | 57 | [
"56-47=9",
"2*9=18",
"75-18=57"
] | Current State: 57:[75, 2, 47, 56], Operations: []
Exploring Operation: 56-47=9, Resulting Numbers: [75, 2, 9]
Generated Node #2: [75, 2, 9] from Operation: 56-47=9
Current State: 57:[75, 2, 9], Operations: ['56-47=9']
Exploring Operation: 2*9=18, Resulting Numbers: [75, 18]
Generated Node #3: [75, 18] from Operation: 2*9=18
Current State: 57:[75, 18], Operations: ['56-47=9', '2*9=18']
Exploring Operation: 75-18=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[75, 2, 47, 56], Operations: []
Exploring Operation: 75-47=28, Resulting Numbers: [2, 56, 28]
Generated Node #0,0: 57:[2, 56, 28] Operation: 75-47=28
Exploring Operation: 75-56=19, Resulting Numbers: [2, 47, 19]
Generated Node #0,1: 57:[2, 47, 19] Operation: 75-56=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[2, 56, 28], Operations: ['75-47=28']
Exploring Operation: 56/28=2, Resulting Numbers: [2, 2]
Generated Node #0,0,0: 57:[2, 2] Operation: 56/28=2
Exploring Operation: 2*28=56, Resulting Numbers: [56, 56]
Generated Node #0,0,1: 57:[56, 56] Operation: 2*28=56
Moving to Node #0,0,0
Current State: 57:[2, 2], Operations: ['75-47=28', '56/28=2']
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,57 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,57 unequal: No Solution
Moving to Node #0,0,1
Current State: 57:[56, 56], Operations: ['75-47=28', '2*28=56']
Exploring Operation: 56/56=1, Resulting Numbers: [1]
1,57 unequal: No Solution
Exploring Operation: 56-56=0, Resulting Numbers: [0]
0,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[2, 47, 19], Operations: ['75-56=19']
Exploring Operation: 2+47=49, Resulting Numbers: [19, 49]
Generated Node #0,1,0: 57:[19, 49] Operation: 2+47=49
Exploring Operation: 47+19=66, Resulting Numbers: [2, 66]
Generated Node #0,1,1: 57:[2, 66] Operation: 47+19=66
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 57:[19, 49], Operations: ['75-56=19', '2+47=49']
Exploring Operation: 49-19=30, Resulting Numbers: [30]
30,57 unequal: No Solution
Exploring Operation: 19+49=68, Resulting Numbers: [68]
68,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 57:[2, 66], Operations: ['75-56=19', '47+19=66']
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,57 unequal: No Solution
Exploring Operation: 2+66=68, Resulting Numbers: [68]
68,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
7,
54,
51,
84
] | 28 | [
"7+54=61",
"84-51=33",
"61-33=28"
] | Current State: 28:[7, 54, 51, 84], Operations: []
Exploring Operation: 7+54=61, Resulting Numbers: [51, 84, 61]
Generated Node #2: [51, 84, 61] from Operation: 7+54=61
Current State: 28:[51, 84, 61], Operations: ['7+54=61']
Exploring Operation: 84-51=33, Resulting Numbers: [61, 33]
Generated Node #3: [61, 33] from Operation: 84-51=33
Current State: 28:[61, 33], Operations: ['7+54=61', '84-51=33']
Exploring Operation: 61-33=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[7, 54, 51, 84], Operations: []
Exploring Operation: 84-54=30, Resulting Numbers: [7, 51, 30]
Generated Node #0,0: 28:[7, 51, 30] Operation: 84-54=30
Exploring Operation: 84-51=33, Resulting Numbers: [7, 54, 33]
Generated Node #0,1: 28:[7, 54, 33] Operation: 84-51=33
Moving to Node #0,0
Current State: 28:[7, 51, 30], Operations: ['84-54=30']
Exploring Operation: 51-30=21, Resulting Numbers: [7, 21]
Generated Node #0,0,0: 28:[7, 21] Operation: 51-30=21
Exploring Operation: 51-7=44, Resulting Numbers: [30, 44]
Generated Node #0,0,1: 28:[30, 44] Operation: 51-7=44
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 28:[7, 21], Operations: ['84-54=30', '51-30=21']
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,28 unequal: No Solution
Exploring Operation: 7+21=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[7, 54, 51, 84], Operations: []
Exploring Operation: 84-54=30, Resulting Numbers: [7, 51, 30]
Generated Node #0,0: 28:[7, 51, 30] Operation: 84-54=30
Moving to Node #0,0
Current State: 28:[7, 51, 30], Operations: ['84-54=30']
Exploring Operation: 51-30=21, Resulting Numbers: [7, 21]
Generated Node #0,0,0: 28:[7, 21] Operation: 51-30=21
Moving to Node #0,0,0
Current State: 28:[7, 21], Operations: ['84-54=30', '51-30=21']
Exploring Operation: 7+21=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
28,
47,
25,
40
] | 37 | [
"28+47=75",
"75/25=3",
"40-3=37"
] | Current State: 37:[28, 47, 25, 40], Operations: []
Exploring Operation: 28+47=75, Resulting Numbers: [25, 40, 75]
Generated Node #2: [25, 40, 75] from Operation: 28+47=75
Current State: 37:[25, 40, 75], Operations: ['28+47=75']
Exploring Operation: 75/25=3, Resulting Numbers: [40, 3]
Generated Node #3: [40, 3] from Operation: 75/25=3
Current State: 37:[40, 3], Operations: ['28+47=75', '75/25=3']
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[28, 47, 25, 40], Operations: []
Exploring Operation: 47-25=22, Resulting Numbers: [28, 40, 22]
Generated Node #0,0: 37:[28, 40, 22] Operation: 47-25=22
Exploring Operation: 28+25=53, Resulting Numbers: [47, 40, 53]
Generated Node #0,1: 37:[47, 40, 53] Operation: 28+25=53
Exploring Operation: 47-28=19, Resulting Numbers: [25, 40, 19]
Generated Node #0,2: 37:[25, 40, 19] Operation: 47-28=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[28, 40, 22], Operations: ['47-25=22']
Exploring Operation: 40-22=18, Resulting Numbers: [28, 18]
Generated Node #0,0,0: 37:[28, 18] Operation: 40-22=18
Exploring Operation: 28-22=6, Resulting Numbers: [40, 6]
Generated Node #0,0,1: 37:[40, 6] Operation: 28-22=6
Exploring Operation: 28+22=50, Resulting Numbers: [40, 50]
Generated Node #0,0,2: 37:[40, 50] Operation: 28+22=50
Moving to Node #0,0,2
Current State: 37:[40, 50], Operations: ['47-25=22', '28+22=50']
Exploring Operation: 40+50=90, Resulting Numbers: [90]
90,37 unequal: No Solution
Exploring Operation: 40*50=2000, Resulting Numbers: [2000]
2000,37 unequal: No Solution
Exploring Operation: 50-40=10, Resulting Numbers: [10]
10,37 unequal: No Solution
Moving to Node #0,0,0
Current State: 37:[28, 18], Operations: ['47-25=22', '40-22=18']
Exploring Operation: 28*18=504, Resulting Numbers: [504]
504,37 unequal: No Solution
Exploring Operation: 28-18=10, Resulting Numbers: [10]
10,37 unequal: No Solution
Exploring Operation: 28+18=46, Resulting Numbers: [46]
46,37 unequal: No Solution
Moving to Node #0,0,1
Current State: 37:[40, 6], Operations: ['47-25=22', '28-22=6']
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Exploring Operation: 40+6=46, Resulting Numbers: [46]
46,37 unequal: No Solution
Exploring Operation: 40*6=240, Resulting Numbers: [240]
240,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,1
Current State: 37:[47, 40, 53], Operations: ['28+25=53']
Exploring Operation: 53-40=13, Resulting Numbers: [47, 13]
Generated Node #0,1,0: 37:[47, 13] Operation: 53-40=13
Exploring Operation: 47-40=7, Resulting Numbers: [53, 7]
Generated Node #0,1,1: 37:[53, 7] Operation: 47-40=7
Exploring Operation: 53-47=6, Resulting Numbers: [40, 6]
Generated Node #0,1,2: 37:[40, 6] Operation: 53-47=6
Moving to Node #0,1,0
Current State: 37:[47, 13], Operations: ['28+25=53', '53-40=13']
Exploring Operation: 47*13=611, Resulting Numbers: [611]
611,37 unequal: No Solution
Exploring Operation: 47-13=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Exploring Operation: 47+13=60, Resulting Numbers: [60]
60,37 unequal: No Solution
Moving to Node #0,1,2
Current State: 37:[40, 6], Operations: ['28+25=53', '53-47=6']
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Exploring Operation: 40+6=46, Resulting Numbers: [46]
46,37 unequal: No Solution
Exploring Operation: 40*6=240, Resulting Numbers: [240]
240,37 unequal: No Solution
Moving to Node #0,1,1
Current State: 37:[53, 7], Operations: ['28+25=53', '47-40=7']
Exploring Operation: 53*7=371, Resulting Numbers: [371]
371,37 unequal: No Solution
Exploring Operation: 53+7=60, Resulting Numbers: [60]
60,37 unequal: No Solution
Exploring Operation: 53-7=46, Resulting Numbers: [46]
46,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:[25, 40, 19], Operations: ['47-28=19']
Exploring Operation: 25-19=6, Resulting Numbers: [40, 6]
Generated Node #0,2,0: 37:[40, 6] Operation: 25-19=6
Exploring Operation: 40-19=21, Resulting Numbers: [25, 21]
Generated Node #0,2,1: 37:[25, 21] Operation: 40-19=21
Exploring Operation: 25+19=44, Resulting Numbers: [40, 44]
Generated Node #0,2,2: 37:[40, 44] Operation: 25+19=44
Moving to Node #0,2,2
Current State: 37:[40, 44], Operations: ['47-28=19', '25+19=44']
Exploring Operation: 44-40=4, Resulting Numbers: [4]
4,37 unequal: No Solution
Exploring Operation: 40*44=1760, Resulting Numbers: [1760]
1760,37 unequal: No Solution
Exploring Operation: 40+44=84, Resulting Numbers: [84]
84,37 unequal: No Solution
Moving to Node #0,2,1
Current State: 37:[25, 21], Operations: ['47-28=19', '40-19=21']
Exploring Operation: 25+21=46, Resulting Numbers: [46]
46,37 unequal: No Solution
Exploring Operation: 25*21=525, Resulting Numbers: [525]
525,37 unequal: No Solution
Exploring Operation: 25-21=4, Resulting Numbers: [4]
4,37 unequal: No Solution
Moving to Node #0,2,0
Current State: 37:[40, 6], Operations: ['47-28=19', '25-19=6']
Exploring Operation: 40+6=46, Resulting Numbers: [46]
46,37 unequal: No Solution
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Exploring Operation: 40*6=240, Resulting Numbers: [240]
240,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
8,
5,
11,
43
] | 67 | [
"8+5=13",
"11+43=54",
"13+54=67"
] | Current State: 67:[8, 5, 11, 43], Operations: []
Exploring Operation: 8+5=13, Resulting Numbers: [11, 43, 13]
Generated Node #2: [11, 43, 13] from Operation: 8+5=13
Current State: 67:[11, 43, 13], Operations: ['8+5=13']
Exploring Operation: 11+43=54, Resulting Numbers: [13, 54]
Generated Node #3: [13, 54] from Operation: 11+43=54
Current State: 67:[13, 54], Operations: ['8+5=13', '11+43=54']
Exploring Operation: 13+54=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[8, 5, 11, 43], Operations: []
Exploring Operation: 5*11=55, Resulting Numbers: [8, 43, 55]
Generated Node #0,0: 67:[8, 43, 55] Operation: 5*11=55
Moving to Node #0,0
Current State: 67:[8, 43, 55], Operations: ['5*11=55']
Exploring Operation: 8+43=51, Resulting Numbers: [55, 51]
Generated Node #0,0,0: 67:[55, 51] Operation: 8+43=51
Moving to Node #0,0,0
Current State: 67:[55, 51], Operations: ['5*11=55', '8+43=51']
Exploring Operation: 55+51=106, Resulting Numbers: [106]
106,67 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
51,
89,
14,
5
] | 93 | [
"51+5=56",
"56/14=4",
"89+4=93"
] | Current State: 93:[51, 89, 14, 5], Operations: []
Exploring Operation: 51+5=56, Resulting Numbers: [89, 14, 56]
Generated Node #2: [89, 14, 56] from Operation: 51+5=56
Current State: 93:[89, 14, 56], Operations: ['51+5=56']
Exploring Operation: 56/14=4, Resulting Numbers: [89, 4]
Generated Node #3: [89, 4] from Operation: 56/14=4
Current State: 93:[89, 4], Operations: ['51+5=56', '56/14=4']
Exploring Operation: 89+4=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[51, 89, 14, 5], Operations: []
Exploring Operation: 51-14=37, Resulting Numbers: [89, 5, 37]
Generated Node #0,0: 93:[89, 5, 37] Operation: 51-14=37
Exploring Operation: 89-51=38, Resulting Numbers: [14, 5, 38]
Generated Node #0,1: 93:[14, 5, 38] Operation: 89-51=38
Moving to Node #0,0
Current State: 93:[89, 5, 37], Operations: ['51-14=37']
Exploring Operation: 89+5=94, Resulting Numbers: [37, 94]
Generated Node #0,0,0: 93:[37, 94] Operation: 89+5=94
Exploring Operation: 37-5=32, Resulting Numbers: [89, 32]
Generated Node #0,0,1: 93:[89, 32] Operation: 37-5=32
Moving to Node #0,1
Current State: 93:[14, 5, 38], Operations: ['89-51=38']
Exploring Operation: 38-14=24, Resulting Numbers: [5, 24]
Generated Node #0,1,0: 93:[5, 24] Operation: 38-14=24
Exploring Operation: 14-5=9, Resulting Numbers: [38, 9]
Generated Node #0,1,1: 93:[38, 9] Operation: 14-5=9
Moving to Node #0,0,1
Current State: 93:[89, 32], Operations: ['51-14=37', '37-5=32']
Exploring Operation: 89+32=121, Resulting Numbers: [121]
121,93 unequal: No Solution
Exploring Operation: 89-32=57, Resulting Numbers: [57]
57,93 unequal: No Solution
Moving to Node #0,0,0
Current State: 93:[37, 94], Operations: ['51-14=37', '89+5=94']
Exploring Operation: 94-37=57, Resulting Numbers: [57]
57,93 unequal: No Solution
Exploring Operation: 37+94=131, Resulting Numbers: [131]
131,93 unequal: No Solution
Moving to Node #0,1,0
Current State: 93:[5, 24], Operations: ['89-51=38', '38-14=24']
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,93 unequal: No Solution
Exploring Operation: 5+24=29, Resulting Numbers: [29]
29,93 unequal: No Solution
Moving to Node #0,1,1
Current State: 93:[38, 9], Operations: ['89-51=38', '14-5=9']
Exploring Operation: 38+9=47, Resulting Numbers: [47]
47,93 unequal: No Solution
Exploring Operation: 38-9=29, Resulting Numbers: [29]
29,93 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
7,
85,
19,
83
] | 14 | [
"85-7=78",
"83-19=64",
"78-64=14"
] | Current State: 14:[7, 85, 19, 83], Operations: []
Exploring Operation: 85-7=78, Resulting Numbers: [19, 83, 78]
Generated Node #2: [19, 83, 78] from Operation: 85-7=78
Current State: 14:[19, 83, 78], Operations: ['85-7=78']
Exploring Operation: 83-19=64, Resulting Numbers: [78, 64]
Generated Node #3: [78, 64] from Operation: 83-19=64
Current State: 14:[78, 64], Operations: ['85-7=78', '83-19=64']
Exploring Operation: 78-64=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[7, 85, 19, 83], Operations: []
Exploring Operation: 85-83=2, Resulting Numbers: [7, 19, 2]
Generated Node #0,0: 14:[7, 19, 2] Operation: 85-83=2
Moving to Node #0,0
Current State: 14:[7, 19, 2], Operations: ['85-83=2']
Exploring Operation: 19-7=12, Resulting Numbers: [2, 12]
Generated Node #0,0,0: 14:[2, 12] Operation: 19-7=12
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 14:[2, 12], Operations: ['85-83=2', '19-7=12']
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[7, 85, 19, 83], Operations: []
Exploring Operation: 85-83=2, Resulting Numbers: [7, 19, 2]
Generated Node #0,0: 14:[7, 19, 2] Operation: 85-83=2
Moving to Node #0,0
Current State: 14:[7, 19, 2], Operations: ['85-83=2']
Exploring Operation: 19-7=12, Resulting Numbers: [2, 12]
Generated Node #0,0,0: 14:[2, 12] Operation: 19-7=12
Moving to Node #0,0,0
Current State: 14:[2, 12], Operations: ['85-83=2', '19-7=12']
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
14,
44,
79,
55
] | 82 | [
"14+44=58",
"79-55=24",
"58+24=82"
] | Current State: 82:[14, 44, 79, 55], Operations: []
Exploring Operation: 14+44=58, Resulting Numbers: [79, 55, 58]
Generated Node #2: [79, 55, 58] from Operation: 14+44=58
Current State: 82:[79, 55, 58], Operations: ['14+44=58']
Exploring Operation: 79-55=24, Resulting Numbers: [58, 24]
Generated Node #3: [58, 24] from Operation: 79-55=24
Current State: 82:[58, 24], Operations: ['14+44=58', '79-55=24']
Exploring Operation: 58+24=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[14, 44, 79, 55], Operations: []
Exploring Operation: 55-14=41, Resulting Numbers: [44, 79, 41]
Generated Node #0,0: 82:[44, 79, 41] Operation: 55-14=41
Moving to Node #0,0
Current State: 82:[44, 79, 41], Operations: ['55-14=41']
Exploring Operation: 44-41=3, Resulting Numbers: [79, 3]
Generated Node #0,0,0: 82:[79, 3] Operation: 44-41=3
Moving to Node #0,0,0
Current State: 82:[79, 3], Operations: ['55-14=41', '44-41=3']
Exploring Operation: 79+3=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[14, 44, 79, 55], Operations: []
Exploring Operation: 55-14=41, Resulting Numbers: [44, 79, 41]
Generated Node #0,0: 82:[44, 79, 41] Operation: 55-14=41
Moving to Node #0,0
Current State: 82:[44, 79, 41], Operations: ['55-14=41']
Exploring Operation: 44-41=3, Resulting Numbers: [79, 3]
Generated Node #0,0,0: 82:[79, 3] Operation: 44-41=3
Moving to Node #0,0,0
Current State: 82:[79, 3], Operations: ['55-14=41', '44-41=3']
Exploring Operation: 79+3=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
28,
61,
52,
38
] | 63 | [
"52-38=14",
"28/14=2",
"61+2=63"
] | Current State: 63:[28, 61, 52, 38], Operations: []
Exploring Operation: 52-38=14, Resulting Numbers: [28, 61, 14]
Generated Node #2: [28, 61, 14] from Operation: 52-38=14
Current State: 63:[28, 61, 14], Operations: ['52-38=14']
Exploring Operation: 28/14=2, Resulting Numbers: [61, 2]
Generated Node #3: [61, 2] from Operation: 28/14=2
Current State: 63:[61, 2], Operations: ['52-38=14', '28/14=2']
Exploring Operation: 61+2=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[28, 61, 52, 38], Operations: []
Exploring Operation: 38-28=10, Resulting Numbers: [61, 52, 10]
Generated Node #0,0: 63:[61, 52, 10] Operation: 38-28=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[61, 52, 10], Operations: ['38-28=10']
Exploring Operation: 61-52=9, Resulting Numbers: [10, 9]
Generated Node #0,0,0: 63:[10, 9] Operation: 61-52=9
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 63:[10, 9], Operations: ['38-28=10', '61-52=9']
Exploring Operation: 10+9=19, Resulting Numbers: [19]
19,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 |
[
9,
28,
10,
57
] | 31 | [
"9+10=19",
"57/19=3",
"28+3=31"
] | Current State: 31:[9, 28, 10, 57], Operations: []
Exploring Operation: 9+10=19, Resulting Numbers: [28, 57, 19]
Generated Node #2: [28, 57, 19] from Operation: 9+10=19
Current State: 31:[28, 57, 19], Operations: ['9+10=19']
Exploring Operation: 57/19=3, Resulting Numbers: [28, 3]
Generated Node #3: [28, 3] from Operation: 57/19=3
Current State: 31:[28, 3], Operations: ['9+10=19', '57/19=3']
Exploring Operation: 28+3=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[9, 28, 10, 57], Operations: []
Exploring Operation: 9+10=19, Resulting Numbers: [28, 57, 19]
Generated Node #0,0: 31:[28, 57, 19] Operation: 9+10=19
Exploring Operation: 57-9=48, Resulting Numbers: [28, 10, 48]
Generated Node #0,1: 31:[28, 10, 48] Operation: 57-9=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[28, 57, 19], Operations: ['9+10=19']
Exploring Operation: 57-19=38, Resulting Numbers: [28, 38]
Generated Node #0,0,0: 31:[28, 38] Operation: 57-19=38
Exploring Operation: 57-28=29, Resulting Numbers: [19, 29]
Generated Node #0,0,1: 31:[19, 29] Operation: 57-28=29
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 31:[28, 38], Operations: ['9+10=19', '57-19=38']
Exploring Operation: 28+38=66, Resulting Numbers: [66]
66,31 unequal: No Solution
Exploring Operation: 38-28=10, Resulting Numbers: [10]
10,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 31:[19, 29], Operations: ['9+10=19', '57-28=29']
Exploring Operation: 19+29=48, Resulting Numbers: [48]
48,31 unequal: No Solution
Exploring Operation: 29-19=10, Resulting Numbers: [10]
10,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 31:[28, 10, 48], Operations: ['57-9=48']
Exploring Operation: 28+10=38, Resulting Numbers: [48, 38]
Generated Node #0,1,0: 31:[48, 38] Operation: 28+10=38
Exploring Operation: 48-10=38, Resulting Numbers: [28, 38]
Generated Node #0,1,1: 31:[28, 38] Operation: 48-10=38
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 31:[28, 38], Operations: ['57-9=48', '48-10=38']
Exploring Operation: 28+38=66, Resulting Numbers: [66]
66,31 unequal: No Solution
Exploring Operation: 38-28=10, Resulting Numbers: [10]
10,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 31:[48, 38], Operations: ['57-9=48', '28+10=38']
Exploring Operation: 48-38=10, Resulting Numbers: [10]
10,31 unequal: No Solution
Exploring Operation: 48+38=86, Resulting Numbers: [86]
86,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
52,
32,
83,
24
] | 87 | [
"52-32=20",
"83+24=107",
"107-20=87"
] | Current State: 87:[52, 32, 83, 24], Operations: []
Exploring Operation: 52-32=20, Resulting Numbers: [83, 24, 20]
Generated Node #2: [83, 24, 20] from Operation: 52-32=20
Current State: 87:[83, 24, 20], Operations: ['52-32=20']
Exploring Operation: 83+24=107, Resulting Numbers: [20, 107]
Generated Node #3: [20, 107] from Operation: 83+24=107
Current State: 87:[20, 107], Operations: ['52-32=20', '83+24=107']
Exploring Operation: 107-20=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[52, 32, 83, 24], Operations: []
Exploring Operation: 52-24=28, Resulting Numbers: [32, 83, 28]
Generated Node #0,0: 87:[32, 83, 28] Operation: 52-24=28
Moving to Node #0,0
Current State: 87:[32, 83, 28], Operations: ['52-24=28']
Exploring Operation: 32-28=4, Resulting Numbers: [83, 4]
Generated Node #0,0,0: 87:[83, 4] Operation: 32-28=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 87:[83, 4], Operations: ['52-24=28', '32-28=4']
Exploring Operation: 83+4=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[52, 32, 83, 24], Operations: []
Exploring Operation: 52-24=28, Resulting Numbers: [32, 83, 28]
Generated Node #0,0: 87:[32, 83, 28] Operation: 52-24=28
Moving to Node #0,0
Current State: 87:[32, 83, 28], Operations: ['52-24=28']
Exploring Operation: 32-28=4, Resulting Numbers: [83, 4]
Generated Node #0,0,0: 87:[83, 4] Operation: 32-28=4
Moving to Node #0,0,0
Current State: 87:[83, 4], Operations: ['52-24=28', '32-28=4']
Exploring Operation: 83+4=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
3,
4,
76,
8
] | 35 | [
"4*76=304",
"304/8=38",
"38-3=35"
] | Current State: 35:[3, 4, 76, 8], Operations: []
Exploring Operation: 4*76=304, Resulting Numbers: [3, 8, 304]
Generated Node #2: [3, 8, 304] from Operation: 4*76=304
Current State: 35:[3, 8, 304], Operations: ['4*76=304']
Exploring Operation: 304/8=38, Resulting Numbers: [3, 38]
Generated Node #3: [3, 38] from Operation: 304/8=38
Current State: 35:[3, 38], Operations: ['4*76=304', '304/8=38']
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[3, 4, 76, 8], Operations: []
Exploring Operation: 76-3=73, Resulting Numbers: [4, 8, 73]
Generated Node #0,0: 35:[4, 8, 73] Operation: 76-3=73
Exploring Operation: 76-4=72, Resulting Numbers: [3, 8, 72]
Generated Node #0,1: 35:[3, 8, 72] Operation: 76-4=72
Exploring Operation: 76/4=19, Resulting Numbers: [3, 8, 19]
Generated Node #0,2: 35:[3, 8, 19] Operation: 76/4=19
Exploring Operation: 76-8=68, Resulting Numbers: [3, 4, 68]
Generated Node #0,3: 35:[3, 4, 68] Operation: 76-8=68
Moving to Node #0,2
Current State: 35:[3, 8, 19], Operations: ['76/4=19']
Exploring Operation: 19-3=16, Resulting Numbers: [8, 16]
Generated Node #0,2,0: 35:[8, 16] Operation: 19-3=16
Exploring Operation: 8-3=5, Resulting Numbers: [19, 5]
Generated Node #0,2,1: 35:[19, 5] Operation: 8-3=5
Exploring Operation: 19-8=11, Resulting Numbers: [3, 11]
Generated Node #0,2,2: 35:[3, 11] Operation: 19-8=11
Exploring Operation: 8+19=27, Resulting Numbers: [3, 27]
Generated Node #0,2,3: 35:[3, 27] Operation: 8+19=27
Moving to Node #0,3
Current State: 35:[3, 4, 68], Operations: ['76-8=68']
Exploring Operation: 68-3=65, Resulting Numbers: [4, 65]
Generated Node #0,3,0: 35:[4, 65] Operation: 68-3=65
Exploring Operation: 68/4=17, Resulting Numbers: [3, 17]
Generated Node #0,3,1: 35:[3, 17] Operation: 68/4=17
Exploring Operation: 68-4=64, Resulting Numbers: [3, 64]
Generated Node #0,3,2: 35:[3, 64] Operation: 68-4=64
Exploring Operation: 3+4=7, Resulting Numbers: [68, 7]
Generated Node #0,3,3: 35:[68, 7] Operation: 3+4=7
Moving to Node #0,1
Current State: 35:[3, 8, 72], Operations: ['76-4=72']
Exploring Operation: 72-3=69, Resulting Numbers: [8, 69]
Generated Node #0,1,0: 35:[8, 69] Operation: 72-3=69
Exploring Operation: 72/8=9, Resulting Numbers: [3, 9]
Generated Node #0,1,1: 35:[3, 9] Operation: 72/8=9
Exploring Operation: 72/3=24, Resulting Numbers: [8, 24]
Generated Node #0,1,2: 35:[8, 24] Operation: 72/3=24
Exploring Operation: 72-8=64, Resulting Numbers: [3, 64]
Generated Node #0,1,3: 35:[3, 64] Operation: 72-8=64
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 35:[3, 9], Operations: ['76-4=72', '72/8=9']
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 3+9=12, Resulting Numbers: [12]
12,35 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Exploring Operation: 3*9=27, Resulting Numbers: [27]
27,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 35:[8, 24], Operations: ['76-4=72', '72/3=24']
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 8+24=32, Resulting Numbers: [32]
32,35 unequal: No Solution
Exploring Operation: 8*24=192, Resulting Numbers: [192]
192,35 unequal: No Solution
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 35:[3, 64], Operations: ['76-4=72', '72-8=64']
Exploring Operation: 64-3=61, Resulting Numbers: [61]
61,35 unequal: No Solution
Exploring Operation: 3+64=67, Resulting Numbers: [67]
67,35 unequal: No Solution
Exploring Operation: 3*64=192, Resulting Numbers: [192]
192,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 35:[8, 69], Operations: ['76-4=72', '72-3=69']
Exploring Operation: 8+69=77, Resulting Numbers: [77]
77,35 unequal: No Solution
Exploring Operation: 69-8=61, Resulting Numbers: [61]
61,35 unequal: No Solution
Exploring Operation: 8*69=552, Resulting Numbers: [552]
552,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 35:[4, 8, 73], Operations: ['76-3=73']
Exploring Operation: 73-4=69, Resulting Numbers: [8, 69]
Generated Node #0,0,0: 35:[8, 69] Operation: 73-4=69
Exploring Operation: 8-4=4, Resulting Numbers: [73, 4]
Generated Node #0,0,1: 35:[73, 4] Operation: 8-4=4
Exploring Operation: 73-8=65, Resulting Numbers: [4, 65]
Generated Node #0,0,2: 35:[4, 65] Operation: 73-8=65
Exploring Operation: 4*8=32, Resulting Numbers: [73, 32]
Generated Node #0,0,3: 35:[73, 32] Operation: 4*8=32
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 35:[4, 65], Operations: ['76-3=73', '73-8=65']
Exploring Operation: 4+65=69, Resulting Numbers: [69]
69,35 unequal: No Solution
Exploring Operation: 65-4=61, Resulting Numbers: [61]
61,35 unequal: No Solution
Exploring Operation: 4*65=260, Resulting Numbers: [260]
260,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 35:[8, 69], Operations: ['76-3=73', '73-4=69']
Exploring Operation: 69-8=61, Resulting Numbers: [61]
61,35 unequal: No Solution
Exploring Operation: 8+69=77, Resulting Numbers: [77]
77,35 unequal: No Solution
Exploring Operation: 8*69=552, Resulting Numbers: [552]
552,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 35:[73, 4], Operations: ['76-3=73', '8-4=4']
Exploring Operation: 73+4=77, Resulting Numbers: [77]
77,35 unequal: No Solution
Exploring Operation: 73*4=292, Resulting Numbers: [292]
292,35 unequal: No Solution
Exploring Operation: 73-4=69, Resulting Numbers: [69]
69,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 35:[73, 32], Operations: ['76-3=73', '4*8=32']
Exploring Operation: 73-32=41, Resulting Numbers: [41]
41,35 unequal: No Solution
Exploring Operation: 73+32=105, Resulting Numbers: [105]
105,35 unequal: No Solution
Exploring Operation: 73*32=2336, Resulting Numbers: [2336]
2336,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 35:[3, 11], Operations: ['76/4=19', '19-8=11']
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,35 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,35 unequal: No Solution
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,35 unequal: No Solution
Moving to Node #0,2,3
Current State: 35:[3, 27], Operations: ['76/4=19', '8+19=27']
Exploring Operation: 3+27=30, Resulting Numbers: [30]
30,35 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,35 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,35 unequal: No Solution
Exploring Operation: 3*27=81, Resulting Numbers: [81]
81,35 unequal: No Solution
Moving to Node #0,2,0
Current State: 35:[8, 16], Operations: ['76/4=19', '19-3=16']
Exploring Operation: 8*16=128, Resulting Numbers: [128]
128,35 unequal: No Solution
Exploring Operation: 8+16=24, Resulting Numbers: [24]
24,35 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,35 unequal: No Solution
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,35 unequal: No Solution
Moving to Node #0,3,1
Current State: 35:[3, 17], Operations: ['76-8=68', '68/4=17']
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,35 unequal: No Solution
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,35 unequal: No Solution
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Moving to Node #0,2,1
Current State: 35:[19, 5], Operations: ['76/4=19', '8-3=5']
Exploring Operation: 19+5=24, Resulting Numbers: [24]
24,35 unequal: No Solution
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,35 unequal: No Solution
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,35 unequal: No Solution
Moving to Node #0,3,2
Current State: 35:[3, 64], Operations: ['76-8=68', '68-4=64']
Exploring Operation: 3*64=192, Resulting Numbers: [192]
192,35 unequal: No Solution
Exploring Operation: 3+64=67, Resulting Numbers: [67]
67,35 unequal: No Solution
Exploring Operation: 64-3=61, Resulting Numbers: [61]
61,35 unequal: No Solution
Moving to Node #0,3,0
Current State: 35:[4, 65], Operations: ['76-8=68', '68-3=65']
Exploring Operation: 4*65=260, Resulting Numbers: [260]
260,35 unequal: No Solution
Exploring Operation: 65-4=61, Resulting Numbers: [61]
61,35 unequal: No Solution
Exploring Operation: 4+65=69, Resulting Numbers: [69]
69,35 unequal: No Solution
Moving to Node #0,3,3
Current State: 35:[68, 7], Operations: ['76-8=68', '3+4=7']
Exploring Operation: 68*7=476, Resulting Numbers: [476]
476,35 unequal: No Solution
Exploring Operation: 68+7=75, Resulting Numbers: [75]
75,35 unequal: No Solution
Exploring Operation: 68-7=61, Resulting Numbers: [61]
61,35 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
74,
4,
55,
10
] | 86 | [
"74-55=19",
"4*19=76",
"10+76=86"
] | Current State: 86:[74, 4, 55, 10], Operations: []
Exploring Operation: 74-55=19, Resulting Numbers: [4, 10, 19]
Generated Node #2: [4, 10, 19] from Operation: 74-55=19
Current State: 86:[4, 10, 19], Operations: ['74-55=19']
Exploring Operation: 4*19=76, Resulting Numbers: [10, 76]
Generated Node #3: [10, 76] from Operation: 4*19=76
Current State: 86:[10, 76], Operations: ['74-55=19', '4*19=76']
Exploring Operation: 10+76=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[74, 4, 55, 10], Operations: []
Exploring Operation: 55-10=45, Resulting Numbers: [74, 4, 45]
Generated Node #0,0: 86:[74, 4, 45] Operation: 55-10=45
Exploring Operation: 74+10=84, Resulting Numbers: [4, 55, 84]
Generated Node #0,1: 86:[4, 55, 84] Operation: 74+10=84
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[74, 4, 45], Operations: ['55-10=45']
Exploring Operation: 74+4=78, Resulting Numbers: [45, 78]
Generated Node #0,0,0: 86:[45, 78] Operation: 74+4=78
Exploring Operation: 45-4=41, Resulting Numbers: [74, 41]
Generated Node #0,0,1: 86:[74, 41] Operation: 45-4=41
Moving to Node #0,0,0
Current State: 86:[45, 78], Operations: ['55-10=45', '74+4=78']
Exploring Operation: 78-45=33, Resulting Numbers: [33]
33,86 unequal: No Solution
Exploring Operation: 45+78=123, Resulting Numbers: [123]
123,86 unequal: No Solution
Moving to Node #0,0,1
Current State: 86:[74, 41], Operations: ['55-10=45', '45-4=41']
Exploring Operation: 74+41=115, Resulting Numbers: [115]
115,86 unequal: No Solution
Exploring Operation: 74-41=33, Resulting Numbers: [33]
33,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 86:[4, 55, 84], Operations: ['74+10=84']
Exploring Operation: 55-4=51, Resulting Numbers: [84, 51]
Generated Node #0,1,0: 86:[84, 51] Operation: 55-4=51
Exploring Operation: 4+84=88, Resulting Numbers: [55, 88]
Generated Node #0,1,1: 86:[55, 88] Operation: 4+84=88
Moving to Node #0,1,0
Current State: 86:[84, 51], Operations: ['74+10=84', '55-4=51']
Exploring Operation: 84-51=33, Resulting Numbers: [33]
33,86 unequal: No Solution
Exploring Operation: 84+51=135, Resulting Numbers: [135]
135,86 unequal: No Solution
Moving to Node #0,1,1
Current State: 86:[55, 88], Operations: ['74+10=84', '4+84=88']
Exploring Operation: 88-55=33, Resulting Numbers: [33]
33,86 unequal: No Solution
Exploring Operation: 55+88=143, Resulting Numbers: [143]
143,86 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 |
[
11,
42,
48,
76
] | 81 | [
"11+42=53",
"76-48=28",
"53+28=81"
] | Current State: 81:[11, 42, 48, 76], Operations: []
Exploring Operation: 11+42=53, Resulting Numbers: [48, 76, 53]
Generated Node #2: [48, 76, 53] from Operation: 11+42=53
Current State: 81:[48, 76, 53], Operations: ['11+42=53']
Exploring Operation: 76-48=28, Resulting Numbers: [53, 28]
Generated Node #3: [53, 28] from Operation: 76-48=28
Current State: 81:[53, 28], Operations: ['11+42=53', '76-48=28']
Exploring Operation: 53+28=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[11, 42, 48, 76], Operations: []
Exploring Operation: 42+48=90, Resulting Numbers: [11, 76, 90]
Generated Node #0,0: 81:[11, 76, 90] Operation: 42+48=90
Exploring Operation: 76-48=28, Resulting Numbers: [11, 42, 28]
Generated Node #0,1: 81:[11, 42, 28] Operation: 76-48=28
Exploring Operation: 48-11=37, Resulting Numbers: [42, 76, 37]
Generated Node #0,2: 81:[42, 76, 37] Operation: 48-11=37
Exploring Operation: 42-11=31, Resulting Numbers: [48, 76, 31]
Generated Node #0,3: 81:[48, 76, 31] Operation: 42-11=31
Exploring Operation: 48-42=6, Resulting Numbers: [11, 76, 6]
Generated Node #0,4: 81:[11, 76, 6] Operation: 48-42=6
Moving to Node #0,4
Current State: 81:[11, 76, 6], Operations: ['48-42=6']
Exploring Operation: 11+76=87, Resulting Numbers: [6, 87]
Generated Node #0,4,0: 81:[6, 87] Operation: 11+76=87
Exploring Operation: 76-6=70, Resulting Numbers: [11, 70]
Generated Node #0,4,1: 81:[11, 70] Operation: 76-6=70
Exploring Operation: 11-6=5, Resulting Numbers: [76, 5]
Generated Node #0,4,2: 81:[76, 5] Operation: 11-6=5
Exploring Operation: 76+6=82, Resulting Numbers: [11, 82]
Generated Node #0,4,3: 81:[11, 82] Operation: 76+6=82
Exploring Operation: 11+6=17, Resulting Numbers: [76, 17]
Generated Node #0,4,4: 81:[76, 17] Operation: 11+6=17
Moving to Node #0,0
Current State: 81:[11, 76, 90], Operations: ['42+48=90']
Exploring Operation: 76-11=65, Resulting Numbers: [90, 65]
Generated Node #0,0,0: 81:[90, 65] Operation: 76-11=65
Exploring Operation: 90-11=79, Resulting Numbers: [76, 79]
Generated Node #0,0,1: 81:[76, 79] Operation: 90-11=79
Exploring Operation: 90-76=14, Resulting Numbers: [11, 14]
Generated Node #0,0,2: 81:[11, 14] Operation: 90-76=14
Exploring Operation: 11+76=87, Resulting Numbers: [90, 87]
Generated Node #0,0,3: 81:[90, 87] Operation: 11+76=87
Exploring Operation: 11+90=101, Resulting Numbers: [76, 101]
Generated Node #0,0,4: 81:[76, 101] Operation: 11+90=101
Moving to Node #0,1
Current State: 81:[11, 42, 28], Operations: ['76-48=28']
Exploring Operation: 28-11=17, Resulting Numbers: [42, 17]
Generated Node #0,1,0: 81:[42, 17] Operation: 28-11=17
Exploring Operation: 42-28=14, Resulting Numbers: [11, 14]
Generated Node #0,1,1: 81:[11, 14] Operation: 42-28=14
Exploring Operation: 11+42=53, Resulting Numbers: [28, 53]
Generated Node #0,1,2: 81:[28, 53] Operation: 11+42=53
Exploring Operation: 42-11=31, Resulting Numbers: [28, 31]
Generated Node #0,1,3: 81:[28, 31] Operation: 42-11=31
Exploring Operation: 42+28=70, Resulting Numbers: [11, 70]
Generated Node #0,1,4: 81:[11, 70] Operation: 42+28=70
Moving to Node #0,2
Current State: 81:[42, 76, 37], Operations: ['48-11=37']
Exploring Operation: 76-42=34, Resulting Numbers: [37, 34]
Generated Node #0,2,0: 81:[37, 34] Operation: 76-42=34
Exploring Operation: 42+76=118, Resulting Numbers: [37, 118]
Generated Node #0,2,1: 81:[37, 118] Operation: 42+76=118
Exploring Operation: 42-37=5, Resulting Numbers: [76, 5]
Generated Node #0,2,2: 81:[76, 5] Operation: 42-37=5
Exploring Operation: 42+37=79, Resulting Numbers: [76, 79]
Generated Node #0,2,3: 81:[76, 79] Operation: 42+37=79
Exploring Operation: 76-37=39, Resulting Numbers: [42, 39]
Generated Node #0,2,4: 81:[42, 39] Operation: 76-37=39
Moving to Node #0,3
Current State: 81:[48, 76, 31], Operations: ['42-11=31']
Exploring Operation: 48+31=79, Resulting Numbers: [76, 79]
Generated Node #0,3,0: 81:[76, 79] Operation: 48+31=79
Exploring Operation: 48+76=124, Resulting Numbers: [31, 124]
Generated Node #0,3,1: 81:[31, 124] Operation: 48+76=124
Exploring Operation: 76-31=45, Resulting Numbers: [48, 45]
Generated Node #0,3,2: 81:[48, 45] Operation: 76-31=45
Exploring Operation: 76-48=28, Resulting Numbers: [31, 28]
Generated Node #0,3,3: 81:[31, 28] Operation: 76-48=28
Exploring Operation: 48-31=17, Resulting Numbers: [76, 17]
Generated Node #0,3,4: 81:[76, 17] Operation: 48-31=17
Moving to Node #0,4,3
Current State: 81:[11, 82], Operations: ['48-42=6', '76+6=82']
Exploring Operation: 11*82=902, Resulting Numbers: [902]
902,81 unequal: No Solution
Exploring Operation: 82-11=71, Resulting Numbers: [71]
71,81 unequal: No Solution
Exploring Operation: 11+82=93, Resulting Numbers: [93]
93,81 unequal: No Solution
Moving to Node #0,1,3
Current State: 81:[28, 31], Operations: ['76-48=28', '42-11=31']
Exploring Operation: 28+31=59, Resulting Numbers: [59]
59,81 unequal: No Solution
Exploring Operation: 31-28=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 28*31=868, Resulting Numbers: [868]
868,81 unequal: No Solution
Moving to Node #0,3,3
Current State: 81:[31, 28], Operations: ['42-11=31', '76-48=28']
Exploring Operation: 31-28=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 31+28=59, Resulting Numbers: [59]
59,81 unequal: No Solution
Exploring Operation: 31*28=868, Resulting Numbers: [868]
868,81 unequal: No Solution
Moving to Node #0,0,1
Current State: 81:[76, 79], Operations: ['42+48=90', '90-11=79']
Exploring Operation: 76*79=6004, Resulting Numbers: [6004]
6004,81 unequal: No Solution
Exploring Operation: 76+79=155, Resulting Numbers: [155]
155,81 unequal: No Solution
Exploring Operation: 79-76=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Moving to Node #0,0,2
Current State: 81:[11, 14], Operations: ['42+48=90', '90-76=14']
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 11+14=25, Resulting Numbers: [25]
25,81 unequal: No Solution
Exploring Operation: 11*14=154, Resulting Numbers: [154]
154,81 unequal: No Solution
Moving to Node #0,1,1
Current State: 81:[11, 14], Operations: ['76-48=28', '42-28=14']
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 11+14=25, Resulting Numbers: [25]
25,81 unequal: No Solution
Exploring Operation: 11*14=154, Resulting Numbers: [154]
154,81 unequal: No Solution
Moving to Node #0,3,0
Current State: 81:[76, 79], Operations: ['42-11=31', '48+31=79']
Exploring Operation: 76*79=6004, Resulting Numbers: [6004]
6004,81 unequal: No Solution
Exploring Operation: 76+79=155, Resulting Numbers: [155]
155,81 unequal: No Solution
Exploring Operation: 79-76=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Moving to Node #0,4,2
Current State: 81:[76, 5], Operations: ['48-42=6', '11-6=5']
Exploring Operation: 76*5=380, Resulting Numbers: [380]
380,81 unequal: No Solution
Exploring Operation: 76-5=71, Resulting Numbers: [71]
71,81 unequal: No Solution
Exploring Operation: 76+5=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[11, 42, 48, 76], Operations: []
Exploring Operation: 48-42=6, Resulting Numbers: [11, 76, 6]
Generated Node #0,4: 81:[11, 76, 6] Operation: 48-42=6
Moving to Node #0,4
Current State: 81:[11, 76, 6], Operations: ['48-42=6']
Exploring Operation: 11-6=5, Resulting Numbers: [76, 5]
Generated Node #0,4,2: 81:[76, 5] Operation: 11-6=5
Moving to Node #0,4,2
Current State: 81:[76, 5], Operations: ['48-42=6', '11-6=5']
Exploring Operation: 76+5=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 0.949653 | hs_5 | mult_heuristic |
[
75,
59,
33,
64
] | 62 | [
"75-64=11",
"33/11=3",
"59+3=62"
] | Current State: 62:[75, 59, 33, 64], Operations: []
Exploring Operation: 75-64=11, Resulting Numbers: [59, 33, 11]
Generated Node #2: [59, 33, 11] from Operation: 75-64=11
Current State: 62:[59, 33, 11], Operations: ['75-64=11']
Exploring Operation: 33/11=3, Resulting Numbers: [59, 3]
Generated Node #3: [59, 3] from Operation: 33/11=3
Current State: 62:[59, 3], Operations: ['75-64=11', '33/11=3']
Exploring Operation: 59+3=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[75, 59, 33, 64], Operations: []
Exploring Operation: 75-33=42, Resulting Numbers: [59, 64, 42]
Generated Node #0,0: 62:[59, 64, 42] Operation: 75-33=42
Exploring Operation: 75-64=11, Resulting Numbers: [59, 33, 11]
Generated Node #0,1: 62:[59, 33, 11] Operation: 75-64=11
Start Sub Search at level 1: Moving to Node #0,1
Current State: 62:[59, 33, 11], Operations: ['75-64=11']
Exploring Operation: 59+11=70, Resulting Numbers: [33, 70]
Generated Node #0,1,0: 62:[33, 70] Operation: 59+11=70
Exploring Operation: 33/11=3, Resulting Numbers: [59, 3]
Generated Node #0,1,1: 62:[59, 3] Operation: 33/11=3
Moving to Node #0,1,1
Current State: 62:[59, 3], Operations: ['75-64=11', '33/11=3']
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,62 unequal: No Solution
Exploring Operation: 59+3=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[75, 59, 33, 64], Operations: []
Exploring Operation: 75-64=11, Resulting Numbers: [59, 33, 11]
Generated Node #0,1: 62:[59, 33, 11] Operation: 75-64=11
Moving to Node #0,1
Current State: 62:[59, 33, 11], Operations: ['75-64=11']
Exploring Operation: 33/11=3, Resulting Numbers: [59, 3]
Generated Node #0,1,1: 62:[59, 3] Operation: 33/11=3
Moving to Node #0,1,1
Current State: 62:[59, 3], Operations: ['75-64=11', '33/11=3']
Exploring Operation: 59+3=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
60,
1,
31,
11
] | 40 | [
"60*1=60",
"31-11=20",
"60-20=40"
] | Current State: 40:[60, 1, 31, 11], Operations: []
Exploring Operation: 60*1=60, Resulting Numbers: [31, 11, 60]
Generated Node #2: [31, 11, 60] from Operation: 60*1=60
Current State: 40:[31, 11, 60], Operations: ['60*1=60']
Exploring Operation: 31-11=20, Resulting Numbers: [60, 20]
Generated Node #3: [60, 20] from Operation: 31-11=20
Current State: 40:[60, 20], Operations: ['60*1=60', '31-11=20']
Exploring Operation: 60-20=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[60, 1, 31, 11], Operations: []
Exploring Operation: 60-31=29, Resulting Numbers: [1, 11, 29]
Generated Node #0,0: 40:[1, 11, 29] Operation: 60-31=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[1, 11, 29], Operations: ['60-31=29']
Exploring Operation: 11+29=40, Resulting Numbers: [1, 40]
Generated Node #0,0,0: 40:[1, 40] Operation: 11+29=40
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 40:[1, 40], Operations: ['60-31=29', '11+29=40']
Exploring Operation: 1*40=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[60, 1, 31, 11], Operations: []
Exploring Operation: 60-31=29, Resulting Numbers: [1, 11, 29]
Generated Node #0,0: 40:[1, 11, 29] Operation: 60-31=29
Moving to Node #0,0
Current State: 40:[1, 11, 29], Operations: ['60-31=29']
Exploring Operation: 11+29=40, Resulting Numbers: [1, 40]
Generated Node #0,0,0: 40:[1, 40] Operation: 11+29=40
Moving to Node #0,0,0
Current State: 40:[1, 40], Operations: ['60-31=29', '11+29=40']
Exploring Operation: 1*40=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
63,
93,
8,
10
] | 32 | [
"93-63=30",
"10-8=2",
"30+2=32"
] | Current State: 32:[63, 93, 8, 10], Operations: []
Exploring Operation: 93-63=30, Resulting Numbers: [8, 10, 30]
Generated Node #2: [8, 10, 30] from Operation: 93-63=30
Current State: 32:[8, 10, 30], Operations: ['93-63=30']
Exploring Operation: 10-8=2, Resulting Numbers: [30, 2]
Generated Node #3: [30, 2] from Operation: 10-8=2
Current State: 32:[30, 2], Operations: ['93-63=30', '10-8=2']
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[63, 93, 8, 10], Operations: []
Exploring Operation: 63-10=53, Resulting Numbers: [93, 8, 53]
Generated Node #0,0: 32:[93, 8, 53] Operation: 63-10=53
Exploring Operation: 93-63=30, Resulting Numbers: [8, 10, 30]
Generated Node #0,1: 32:[8, 10, 30] Operation: 93-63=30
Exploring Operation: 63-8=55, Resulting Numbers: [93, 10, 55]
Generated Node #0,2: 32:[93, 10, 55] Operation: 63-8=55
Exploring Operation: 93-10=83, Resulting Numbers: [63, 8, 83]
Generated Node #0,3: 32:[63, 8, 83] Operation: 93-10=83
Moving to Node #0,1
Current State: 32:[8, 10, 30], Operations: ['93-63=30']
Exploring Operation: 10-8=2, Resulting Numbers: [30, 2]
Generated Node #0,1,0: 32:[30, 2] Operation: 10-8=2
Exploring Operation: 30/10=3, Resulting Numbers: [8, 3]
Generated Node #0,1,1: 32:[8, 3] Operation: 30/10=3
Exploring Operation: 30-10=20, Resulting Numbers: [8, 20]
Generated Node #0,1,2: 32:[8, 20] Operation: 30-10=20
Exploring Operation: 8+10=18, Resulting Numbers: [30, 18]
Generated Node #0,1,3: 32:[30, 18] Operation: 8+10=18
Moving to Node #0,3
Current State: 32:[63, 8, 83], Operations: ['93-10=83']
Exploring Operation: 63-8=55, Resulting Numbers: [83, 55]
Generated Node #0,3,0: 32:[83, 55] Operation: 63-8=55
Exploring Operation: 83-8=75, Resulting Numbers: [63, 75]
Generated Node #0,3,1: 32:[63, 75] Operation: 83-8=75
Exploring Operation: 83-63=20, Resulting Numbers: [8, 20]
Generated Node #0,3,2: 32:[8, 20] Operation: 83-63=20
Exploring Operation: 63+8=71, Resulting Numbers: [83, 71]
Generated Node #0,3,3: 32:[83, 71] Operation: 63+8=71
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 32:[8, 20], Operations: ['93-10=83', '83-63=20']
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,32 unequal: No Solution
Exploring Operation: 8+20=28, Resulting Numbers: [28]
28,32 unequal: No Solution
Exploring Operation: 8*20=160, Resulting Numbers: [160]
160,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,0
Current State: 32:[83, 55], Operations: ['93-10=83', '63-8=55']
Exploring Operation: 83+55=138, Resulting Numbers: [138]
138,32 unequal: No Solution
Exploring Operation: 83-55=28, Resulting Numbers: [28]
28,32 unequal: No Solution
Exploring Operation: 83*55=4565, Resulting Numbers: [4565]
4565,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 32:[63, 75], Operations: ['93-10=83', '83-8=75']
Exploring Operation: 75-63=12, Resulting Numbers: [12]
12,32 unequal: No Solution
Exploring Operation: 63*75=4725, Resulting Numbers: [4725]
4725,32 unequal: No Solution
Exploring Operation: 63+75=138, Resulting Numbers: [138]
138,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 32:[83, 71], Operations: ['93-10=83', '63+8=71']
Exploring Operation: 83+71=154, Resulting Numbers: [154]
154,32 unequal: No Solution
Exploring Operation: 83-71=12, Resulting Numbers: [12]
12,32 unequal: No Solution
Exploring Operation: 83*71=5893, Resulting Numbers: [5893]
5893,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 32:[93, 8, 53], Operations: ['63-10=53']
Exploring Operation: 93-8=85, Resulting Numbers: [53, 85]
Generated Node #0,0,0: 32:[53, 85] Operation: 93-8=85
Exploring Operation: 53-8=45, Resulting Numbers: [93, 45]
Generated Node #0,0,1: 32:[93, 45] Operation: 53-8=45
Exploring Operation: 93-53=40, Resulting Numbers: [8, 40]
Generated Node #0,0,2: 32:[8, 40] Operation: 93-53=40
Exploring Operation: 93+8=101, Resulting Numbers: [53, 101]
Generated Node #0,0,3: 32:[53, 101] Operation: 93+8=101
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 32:[8, 40], Operations: ['63-10=53', '93-53=40']
Exploring Operation: 40-8=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[63, 93, 8, 10], Operations: []
Exploring Operation: 63-10=53, Resulting Numbers: [93, 8, 53]
Generated Node #0,0: 32:[93, 8, 53] Operation: 63-10=53
Moving to Node #0,0
Current State: 32:[93, 8, 53], Operations: ['63-10=53']
Exploring Operation: 93-53=40, Resulting Numbers: [8, 40]
Generated Node #0,0,2: 32:[8, 40] Operation: 93-53=40
Moving to Node #0,0,2
Current State: 32:[8, 40], Operations: ['63-10=53', '93-53=40']
Exploring Operation: 40-8=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.971354 | hs_4 | mult_heuristic |
[
69,
86,
9,
56
] | 11 | [
"69+86=155",
"155-56=99",
"99/9=11"
] | Current State: 11:[69, 86, 9, 56], Operations: []
Exploring Operation: 69+86=155, Resulting Numbers: [9, 56, 155]
Generated Node #2: [9, 56, 155] from Operation: 69+86=155
Current State: 11:[9, 56, 155], Operations: ['69+86=155']
Exploring Operation: 155-56=99, Resulting Numbers: [9, 99]
Generated Node #3: [9, 99] from Operation: 155-56=99
Current State: 11:[9, 99], Operations: ['69+86=155', '155-56=99']
Exploring Operation: 99/9=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[69, 86, 9, 56], Operations: []
Exploring Operation: 86-56=30, Resulting Numbers: [69, 9, 30]
Generated Node #0,0: 11:[69, 9, 30] Operation: 86-56=30
Exploring Operation: 69-56=13, Resulting Numbers: [86, 9, 13]
Generated Node #0,1: 11:[86, 9, 13] Operation: 69-56=13
Exploring Operation: 86-69=17, Resulting Numbers: [9, 56, 17]
Generated Node #0,2: 11:[9, 56, 17] Operation: 86-69=17
Moving to Node #0,2
Current State: 11:[9, 56, 17], Operations: ['86-69=17']
Exploring Operation: 56-9=47, Resulting Numbers: [17, 47]
Generated Node #0,2,0: 11:[17, 47] Operation: 56-9=47
Exploring Operation: 17-9=8, Resulting Numbers: [56, 8]
Generated Node #0,2,1: 11:[56, 8] Operation: 17-9=8
Exploring Operation: 56-17=39, Resulting Numbers: [9, 39]
Generated Node #0,2,2: 11:[9, 39] Operation: 56-17=39
Moving to Node #0,0
Current State: 11:[69, 9, 30], Operations: ['86-56=30']
Exploring Operation: 69-30=39, Resulting Numbers: [9, 39]
Generated Node #0,0,0: 11:[9, 39] Operation: 69-30=39
Exploring Operation: 30-9=21, Resulting Numbers: [69, 21]
Generated Node #0,0,1: 11:[69, 21] Operation: 30-9=21
Exploring Operation: 69-9=60, Resulting Numbers: [30, 60]
Generated Node #0,0,2: 11:[30, 60] Operation: 69-9=60
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 11:[9, 39], Operations: ['86-56=30', '69-30=39']
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,11 unequal: No Solution
Exploring Operation: 9*39=351, Resulting Numbers: [351]
351,11 unequal: No Solution
Exploring Operation: 9+39=48, Resulting Numbers: [48]
48,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,1
Current State: 11:[69, 21], Operations: ['86-56=30', '30-9=21']
Exploring Operation: 69+21=90, Resulting Numbers: [90]
90,11 unequal: No Solution
Exploring Operation: 69*21=1449, Resulting Numbers: [1449]
1449,11 unequal: No Solution
Exploring Operation: 69-21=48, Resulting Numbers: [48]
48,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:[30, 60], Operations: ['86-56=30', '69-9=60']
Exploring Operation: 60-30=30, Resulting Numbers: [30]
30,11 unequal: No Solution
Exploring Operation: 30+60=90, Resulting Numbers: [90]
90,11 unequal: No Solution
Exploring Operation: 60/30=2, Resulting Numbers: [2]
2,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:[86, 9, 13], Operations: ['69-56=13']
Exploring Operation: 86-9=77, Resulting Numbers: [13, 77]
Generated Node #0,1,0: 11:[13, 77] Operation: 86-9=77
Exploring Operation: 13-9=4, Resulting Numbers: [86, 4]
Generated Node #0,1,1: 11:[86, 4] Operation: 13-9=4
Exploring Operation: 86-13=73, Resulting Numbers: [9, 73]
Generated Node #0,1,2: 11:[9, 73] Operation: 86-13=73
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 11:[9, 73], Operations: ['69-56=13', '86-13=73']
Exploring Operation: 73-9=64, Resulting Numbers: [64]
64,11 unequal: No Solution
Exploring Operation: 9+73=82, Resulting Numbers: [82]
82,11 unequal: No Solution
Exploring Operation: 9*73=657, Resulting Numbers: [657]
657,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,1,0
Current State: 11:[13, 77], Operations: ['69-56=13', '86-9=77']
Exploring Operation: 13+77=90, Resulting Numbers: [90]
90,11 unequal: No Solution
Exploring Operation: 13*77=1001, Resulting Numbers: [1001]
1001,11 unequal: No Solution
Exploring Operation: 77-13=64, Resulting Numbers: [64]
64,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,1,1
Current State: 11:[86, 4], Operations: ['69-56=13', '13-9=4']
Exploring Operation: 86*4=344, Resulting Numbers: [344]
344,11 unequal: No Solution
Exploring Operation: 86-4=82, Resulting Numbers: [82]
82,11 unequal: No Solution
Exploring Operation: 86+4=90, Resulting Numbers: [90]
90,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 11:[9, 39], Operations: ['86-69=17', '56-17=39']
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,11 unequal: No Solution
Exploring Operation: 9*39=351, Resulting Numbers: [351]
351,11 unequal: No Solution
Exploring Operation: 9+39=48, Resulting Numbers: [48]
48,11 unequal: No Solution
Moving to Node #0,2,0
Current State: 11:[17, 47], Operations: ['86-69=17', '56-9=47']
Exploring Operation: 17*47=799, Resulting Numbers: [799]
799,11 unequal: No Solution
Exploring Operation: 47-17=30, Resulting Numbers: [30]
30,11 unequal: No Solution
Exploring Operation: 17+47=64, Resulting Numbers: [64]
64,11 unequal: No Solution
Moving to Node #0,2,1
Current State: 11:[56, 8], Operations: ['86-69=17', '17-9=8']
Exploring Operation: 56-8=48, Resulting Numbers: [48]
48,11 unequal: No Solution
Exploring Operation: 56+8=64, Resulting Numbers: [64]
64,11 unequal: No Solution
Exploring Operation: 56/8=7, Resulting Numbers: [7]
7,11 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
31,
67,
59,
9
] | 57 | [
"31+59=90",
"90/9=10",
"67-10=57"
] | Current State: 57:[31, 67, 59, 9], Operations: []
Exploring Operation: 31+59=90, Resulting Numbers: [67, 9, 90]
Generated Node #2: [67, 9, 90] from Operation: 31+59=90
Current State: 57:[67, 9, 90], Operations: ['31+59=90']
Exploring Operation: 90/9=10, Resulting Numbers: [67, 10]
Generated Node #3: [67, 10] from Operation: 90/9=10
Current State: 57:[67, 10], Operations: ['31+59=90', '90/9=10']
Exploring Operation: 67-10=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[31, 67, 59, 9], Operations: []
Exploring Operation: 31-9=22, Resulting Numbers: [67, 59, 22]
Generated Node #0,0: 57:[67, 59, 22] Operation: 31-9=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[67, 59, 22], Operations: ['31-9=22']
Exploring Operation: 67-59=8, Resulting Numbers: [22, 8]
Generated Node #0,0,0: 57:[22, 8] Operation: 67-59=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 57:[22, 8], Operations: ['31-9=22', '67-59=8']
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
84,
42,
46,
97
] | 93 | [
"84-42=42",
"97-46=51",
"42+51=93"
] | Current State: 93:[84, 42, 46, 97], Operations: []
Exploring Operation: 84-42=42, Resulting Numbers: [46, 97, 42]
Generated Node #2: [46, 97, 42] from Operation: 84-42=42
Current State: 93:[46, 97, 42], Operations: ['84-42=42']
Exploring Operation: 97-46=51, Resulting Numbers: [42, 51]
Generated Node #3: [42, 51] from Operation: 97-46=51
Current State: 93:[42, 51], Operations: ['84-42=42', '97-46=51']
Exploring Operation: 42+51=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[84, 42, 46, 97], Operations: []
Exploring Operation: 46-42=4, Resulting Numbers: [84, 97, 4]
Generated Node #0,0: 93:[84, 97, 4] Operation: 46-42=4
Moving to Node #0,0
Current State: 93:[84, 97, 4], Operations: ['46-42=4']
Exploring Operation: 84+4=88, Resulting Numbers: [97, 88]
Generated Node #0,0,0: 93:[97, 88] Operation: 84+4=88
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 93:[97, 88], Operations: ['46-42=4', '84+4=88']
Exploring Operation: 97-88=9, Resulting Numbers: [9]
9,93 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 |
[
88,
59,
5,
62
] | 38 | [
"88-59=29",
"5+62=67",
"67-29=38"
] | Current State: 38:[88, 59, 5, 62], Operations: []
Exploring Operation: 88-59=29, Resulting Numbers: [5, 62, 29]
Generated Node #2: [5, 62, 29] from Operation: 88-59=29
Current State: 38:[5, 62, 29], Operations: ['88-59=29']
Exploring Operation: 5+62=67, Resulting Numbers: [29, 67]
Generated Node #3: [29, 67] from Operation: 5+62=67
Current State: 38:[29, 67], Operations: ['88-59=29', '5+62=67']
Exploring Operation: 67-29=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[88, 59, 5, 62], Operations: []
Exploring Operation: 88-59=29, Resulting Numbers: [5, 62, 29]
Generated Node #0,0: 38:[5, 62, 29] Operation: 88-59=29
Exploring Operation: 62-59=3, Resulting Numbers: [88, 5, 3]
Generated Node #0,1: 38:[88, 5, 3] Operation: 62-59=3
Exploring Operation: 88-62=26, Resulting Numbers: [59, 5, 26]
Generated Node #0,2: 38:[59, 5, 26] Operation: 88-62=26
Moving to Node #0,2
Current State: 38:[59, 5, 26], Operations: ['88-62=26']
Exploring Operation: 26-5=21, Resulting Numbers: [59, 21]
Generated Node #0,2,0: 38:[59, 21] Operation: 26-5=21
Exploring Operation: 59-5=54, Resulting Numbers: [26, 54]
Generated Node #0,2,1: 38:[26, 54] Operation: 59-5=54
Exploring Operation: 59-26=33, Resulting Numbers: [5, 33]
Generated Node #0,2,2: 38:[5, 33] Operation: 59-26=33
Moving to Node #0,0
Current State: 38:[5, 62, 29], Operations: ['88-59=29']
Exploring Operation: 62-29=33, Resulting Numbers: [5, 33]
Generated Node #0,0,0: 38:[5, 33] Operation: 62-29=33
Exploring Operation: 5+29=34, Resulting Numbers: [62, 34]
Generated Node #0,0,1: 38:[62, 34] Operation: 5+29=34
Exploring Operation: 62-5=57, Resulting Numbers: [29, 57]
Generated Node #0,0,2: 38:[29, 57] Operation: 62-5=57
Moving to Node #0,1
Current State: 38:[88, 5, 3], Operations: ['62-59=3']
Exploring Operation: 88-3=85, Resulting Numbers: [5, 85]
Generated Node #0,1,0: 38:[5, 85] Operation: 88-3=85
Exploring Operation: 5-3=2, Resulting Numbers: [88, 2]
Generated Node #0,1,1: 38:[88, 2] Operation: 5-3=2
Exploring Operation: 88-5=83, Resulting Numbers: [3, 83]
Generated Node #0,1,2: 38:[3, 83] Operation: 88-5=83
Moving to Node #0,2,2
Current State: 38:[5, 33], Operations: ['88-62=26', '59-26=33']
Exploring Operation: 5+33=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[88, 59, 5, 62], Operations: []
Exploring Operation: 88-62=26, Resulting Numbers: [59, 5, 26]
Generated Node #0,2: 38:[59, 5, 26] Operation: 88-62=26
Moving to Node #0,2
Current State: 38:[59, 5, 26], Operations: ['88-62=26']
Exploring Operation: 59-26=33, Resulting Numbers: [5, 33]
Generated Node #0,2,2: 38:[5, 33] Operation: 59-26=33
Moving to Node #0,2,2
Current State: 38:[5, 33], Operations: ['88-62=26', '59-26=33']
Exploring Operation: 5+33=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 0.985243 | hs_3 | sum_heuristic |
[
25,
14,
52,
50
] | 32 | [
"52-50=2",
"14/2=7",
"25+7=32"
] | Current State: 32:[25, 14, 52, 50], Operations: []
Exploring Operation: 52-50=2, Resulting Numbers: [25, 14, 2]
Generated Node #2: [25, 14, 2] from Operation: 52-50=2
Current State: 32:[25, 14, 2], Operations: ['52-50=2']
Exploring Operation: 14/2=7, Resulting Numbers: [25, 7]
Generated Node #3: [25, 7] from Operation: 14/2=7
Current State: 32:[25, 7], Operations: ['52-50=2', '14/2=7']
Exploring Operation: 25+7=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[25, 14, 52, 50], Operations: []
Exploring Operation: 50/25=2, Resulting Numbers: [14, 52, 2]
Generated Node #0,0: 32:[14, 52, 2] Operation: 50/25=2
Exploring Operation: 52-50=2, Resulting Numbers: [25, 14, 2]
Generated Node #0,1: 32:[25, 14, 2] Operation: 52-50=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 32:[25, 14, 2], Operations: ['52-50=2']
Exploring Operation: 25+14=39, Resulting Numbers: [2, 39]
Generated Node #0,1,0: 32:[2, 39] Operation: 25+14=39
Exploring Operation: 25-14=11, Resulting Numbers: [2, 11]
Generated Node #0,1,1: 32:[2, 11] Operation: 25-14=11
Moving to Node #0,1,1
Current State: 32:[2, 11], Operations: ['52-50=2', '25-14=11']
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,32 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,32 unequal: No Solution
Moving to Node #0,1,0
Current State: 32:[2, 39], Operations: ['52-50=2', '25+14=39']
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,32 unequal: No Solution
Exploring Operation: 2+39=41, Resulting Numbers: [41]
41,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[14, 52, 2], Operations: ['50/25=2']
Exploring Operation: 52-14=38, Resulting Numbers: [2, 38]
Generated Node #0,0,0: 32:[2, 38] Operation: 52-14=38
Exploring Operation: 52/2=26, Resulting Numbers: [14, 26]
Generated Node #0,0,1: 32:[14, 26] Operation: 52/2=26
Moving to Node #0,0,0
Current State: 32:[2, 38], Operations: ['50/25=2', '52-14=38']
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,32 unequal: No Solution
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,32 unequal: No Solution
Moving to Node #0,0,1
Current State: 32:[14, 26], Operations: ['50/25=2', '52/2=26']
Exploring Operation: 14+26=40, Resulting Numbers: [40]
40,32 unequal: No Solution
Exploring Operation: 26-14=12, Resulting Numbers: [12]
12,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
96,
33,
55,
58
] | 16 | [
"96+33=129",
"55+58=113",
"129-113=16"
] | Current State: 16:[96, 33, 55, 58], Operations: []
Exploring Operation: 96+33=129, Resulting Numbers: [55, 58, 129]
Generated Node #2: [55, 58, 129] from Operation: 96+33=129
Current State: 16:[55, 58, 129], Operations: ['96+33=129']
Exploring Operation: 55+58=113, Resulting Numbers: [129, 113]
Generated Node #3: [129, 113] from Operation: 55+58=113
Current State: 16:[129, 113], Operations: ['96+33=129', '55+58=113']
Exploring Operation: 129-113=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[96, 33, 55, 58], Operations: []
Exploring Operation: 96-58=38, Resulting Numbers: [33, 55, 38]
Generated Node #0,0: 16:[33, 55, 38] Operation: 96-58=38
Exploring Operation: 96-55=41, Resulting Numbers: [33, 58, 41]
Generated Node #0,1: 16:[33, 58, 41] Operation: 96-55=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[33, 55, 38], Operations: ['96-58=38']
Exploring Operation: 55-38=17, Resulting Numbers: [33, 17]
Generated Node #0,0,0: 16:[33, 17] Operation: 55-38=17
Exploring Operation: 55-33=22, Resulting Numbers: [38, 22]
Generated Node #0,0,1: 16:[38, 22] Operation: 55-33=22
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 16:[33, 17], Operations: ['96-58=38', '55-38=17']
Exploring Operation: 33-17=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[96, 33, 55, 58], Operations: []
Exploring Operation: 96-58=38, Resulting Numbers: [33, 55, 38]
Generated Node #0,0: 16:[33, 55, 38] Operation: 96-58=38
Moving to Node #0,0
Current State: 16:[33, 55, 38], Operations: ['96-58=38']
Exploring Operation: 55-38=17, Resulting Numbers: [33, 17]
Generated Node #0,0,0: 16:[33, 17] Operation: 55-38=17
Moving to Node #0,0,0
Current State: 16:[33, 17], Operations: ['96-58=38', '55-38=17']
Exploring Operation: 33-17=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
32,
43,
40,
92
] | 12 | [
"43-32=11",
"40+92=132",
"132/11=12"
] | Current State: 12:[32, 43, 40, 92], Operations: []
Exploring Operation: 43-32=11, Resulting Numbers: [40, 92, 11]
Generated Node #2: [40, 92, 11] from Operation: 43-32=11
Current State: 12:[40, 92, 11], Operations: ['43-32=11']
Exploring Operation: 40+92=132, Resulting Numbers: [11, 132]
Generated Node #3: [11, 132] from Operation: 40+92=132
Current State: 12:[11, 132], Operations: ['43-32=11', '40+92=132']
Exploring Operation: 132/11=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[32, 43, 40, 92], Operations: []
Exploring Operation: 43-32=11, Resulting Numbers: [40, 92, 11]
Generated Node #0,0: 12:[40, 92, 11] Operation: 43-32=11
Exploring Operation: 92-32=60, Resulting Numbers: [43, 40, 60]
Generated Node #0,1: 12:[43, 40, 60] Operation: 92-32=60
Exploring Operation: 43-40=3, Resulting Numbers: [32, 92, 3]
Generated Node #0,2: 12:[32, 92, 3] Operation: 43-40=3
Exploring Operation: 92-40=52, Resulting Numbers: [32, 43, 52]
Generated Node #0,3: 12:[32, 43, 52] Operation: 92-40=52
Exploring Operation: 92-43=49, Resulting Numbers: [32, 40, 49]
Generated Node #0,4: 12:[32, 40, 49] Operation: 92-43=49
Start Sub Search at level 1: Moving to Node #0,4
Current State: 12:[32, 40, 49], Operations: ['92-43=49']
Exploring Operation: 32+49=81, Resulting Numbers: [40, 81]
Generated Node #0,4,0: 12:[40, 81] Operation: 32+49=81
Exploring Operation: 49-32=17, Resulting Numbers: [40, 17]
Generated Node #0,4,1: 12:[40, 17] Operation: 49-32=17
Exploring Operation: 49-40=9, Resulting Numbers: [32, 9]
Generated Node #0,4,2: 12:[32, 9] Operation: 49-40=9
Exploring Operation: 40-32=8, Resulting Numbers: [49, 8]
Generated Node #0,4,3: 12:[49, 8] Operation: 40-32=8
Exploring Operation: 32+40=72, Resulting Numbers: [49, 72]
Generated Node #0,4,4: 12:[49, 72] Operation: 32+40=72
Moving to Node #0,4,2
Current State: 12:[32, 9], Operations: ['92-43=49', '49-40=9']
Exploring Operation: 32+9=41, Resulting Numbers: [41]
41,12 unequal: No Solution
Exploring Operation: 32*9=288, Resulting Numbers: [288]
288,12 unequal: No Solution
Exploring Operation: 32-9=23, Resulting Numbers: [23]
23,12 unequal: No Solution
Moving to Node #0,4,1
Current State: 12:[40, 17], Operations: ['92-43=49', '49-32=17']
Exploring Operation: 40*17=680, Resulting Numbers: [680]
680,12 unequal: No Solution
Exploring Operation: 40+17=57, Resulting Numbers: [57]
57,12 unequal: No Solution
Exploring Operation: 40-17=23, Resulting Numbers: [23]
23,12 unequal: No Solution
Moving to Node #0,4,3
Current State: 12:[49, 8], Operations: ['92-43=49', '40-32=8']
Exploring Operation: 49-8=41, Resulting Numbers: [41]
41,12 unequal: No Solution
Exploring Operation: 49+8=57, Resulting Numbers: [57]
57,12 unequal: No Solution
Exploring Operation: 49*8=392, Resulting Numbers: [392]
392,12 unequal: No Solution
Moving to Node #0,4,0
Current State: 12:[40, 81], Operations: ['92-43=49', '32+49=81']
Exploring Operation: 40+81=121, Resulting Numbers: [121]
121,12 unequal: No Solution
Exploring Operation: 81-40=41, Resulting Numbers: [41]
41,12 unequal: No Solution
Exploring Operation: 40*81=3240, Resulting Numbers: [3240]
3240,12 unequal: No Solution
Moving to Node #0,4,4
Current State: 12:[49, 72], Operations: ['92-43=49', '32+40=72']
Exploring Operation: 49*72=3528, Resulting Numbers: [3528]
3528,12 unequal: No Solution
Exploring Operation: 49+72=121, Resulting Numbers: [121]
121,12 unequal: No Solution
Exploring Operation: 72-49=23, Resulting Numbers: [23]
23,12 unequal: No Solution
No 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: 12:[32, 43, 52], Operations: ['92-40=52']
Exploring Operation: 32+52=84, Resulting Numbers: [43, 84]
Generated Node #0,3,0: 12:[43, 84] Operation: 32+52=84
Exploring Operation: 32+43=75, Resulting Numbers: [52, 75]
Generated Node #0,3,1: 12:[52, 75] Operation: 32+43=75
Exploring Operation: 52-32=20, Resulting Numbers: [43, 20]
Generated Node #0,3,2: 12:[43, 20] Operation: 52-32=20
Exploring Operation: 43-32=11, Resulting Numbers: [52, 11]
Generated Node #0,3,3: 12:[52, 11] Operation: 43-32=11
Exploring Operation: 52-43=9, Resulting Numbers: [32, 9]
Generated Node #0,3,4: 12:[32, 9] Operation: 52-43=9
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 12:[32, 9], Operations: ['92-40=52', '52-43=9']
Exploring Operation: 32-9=23, Resulting Numbers: [23]
23,12 unequal: No Solution
Exploring Operation: 32+9=41, Resulting Numbers: [41]
41,12 unequal: No Solution
Exploring Operation: 32*9=288, Resulting Numbers: [288]
288,12 unequal: No Solution
No 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: 12:[43, 20], Operations: ['92-40=52', '52-32=20']
Exploring Operation: 43-20=23, Resulting Numbers: [23]
23,12 unequal: No Solution
Exploring Operation: 43+20=63, Resulting Numbers: [63]
63,12 unequal: No Solution
Exploring Operation: 43*20=860, Resulting Numbers: [860]
860,12 unequal: No Solution
No 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: 12:[52, 11], Operations: ['92-40=52', '43-32=11']
Exploring Operation: 52-11=41, Resulting Numbers: [41]
41,12 unequal: No Solution
Exploring Operation: 52*11=572, Resulting Numbers: [572]
572,12 unequal: No Solution
Exploring Operation: 52+11=63, Resulting Numbers: [63]
63,12 unequal: No Solution
No 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: 12:[43, 84], Operations: ['92-40=52', '32+52=84']
Exploring Operation: 84-43=41, Resulting Numbers: [41]
41,12 unequal: No Solution
Exploring Operation: 43*84=3612, Resulting Numbers: [3612]
3612,12 unequal: No Solution
Exploring Operation: 43+84=127, Resulting Numbers: [127]
127,12 unequal: No Solution
No 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: 12:[52, 75], Operations: ['92-40=52', '32+43=75']
Exploring Operation: 52*75=3900, Resulting Numbers: [3900]
3900,12 unequal: No Solution
Exploring Operation: 75-52=23, Resulting Numbers: [23]
23,12 unequal: No Solution
Exploring Operation: 52+75=127, Resulting Numbers: [127]
127,12 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: 12:[32, 92, 3], Operations: ['43-40=3']
Exploring Operation: 92+3=95, Resulting Numbers: [32, 95]
Generated Node #0,2,0: 12:[32, 95] Operation: 92+3=95
Exploring Operation: 32-3=29, Resulting Numbers: [92, 29]
Generated Node #0,2,1: 12:[92, 29] Operation: 32-3=29
Exploring Operation: 92-32=60, Resulting Numbers: [3, 60]
Generated Node #0,2,2: 12:[3, 60] Operation: 92-32=60
Exploring Operation: 32+3=35, Resulting Numbers: [92, 35]
Generated Node #0,2,3: 12:[92, 35] Operation: 32+3=35
Exploring Operation: 92-3=89, Resulting Numbers: [32, 89]
Generated Node #0,2,4: 12:[32, 89] Operation: 92-3=89
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 12:[3, 60], Operations: ['43-40=3', '92-32=60']
Exploring Operation: 3+60=63, Resulting Numbers: [63]
63,12 unequal: No Solution
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,12 unequal: No Solution
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,12 unequal: No Solution
Exploring Operation: 3*60=180, Resulting Numbers: [180]
180,12 unequal: No Solution
No 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: 12:[92, 29], Operations: ['43-40=3', '32-3=29']
Exploring Operation: 92*29=2668, Resulting Numbers: [2668]
2668,12 unequal: No Solution
Exploring Operation: 92+29=121, Resulting Numbers: [121]
121,12 unequal: No Solution
Exploring Operation: 92-29=63, Resulting Numbers: [63]
63,12 unequal: No Solution
No 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: 12:[32, 89], Operations: ['43-40=3', '92-3=89']
Exploring Operation: 32+89=121, Resulting Numbers: [121]
121,12 unequal: No Solution
Exploring Operation: 89-32=57, Resulting Numbers: [57]
57,12 unequal: No Solution
Exploring Operation: 32*89=2848, Resulting Numbers: [2848]
2848,12 unequal: No Solution
No 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: 12:[32, 95], Operations: ['43-40=3', '92+3=95']
Exploring Operation: 32*95=3040, Resulting Numbers: [3040]
3040,12 unequal: No Solution
Exploring Operation: 95-32=63, Resulting Numbers: [63]
63,12 unequal: No Solution
Exploring Operation: 32+95=127, Resulting Numbers: [127]
127,12 unequal: No Solution
No 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: 12:[92, 35], Operations: ['43-40=3', '32+3=35']
Exploring Operation: 92*35=3220, Resulting Numbers: [3220]
3220,12 unequal: No Solution
Exploring Operation: 92+35=127, Resulting Numbers: [127]
127,12 unequal: No Solution
Exploring Operation: 92-35=57, Resulting Numbers: [57]
57,12 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: 12:[43, 40, 60], Operations: ['92-32=60']
Exploring Operation: 43+60=103, Resulting Numbers: [40, 103]
Generated Node #0,1,0: 12:[40, 103] Operation: 43+60=103
Exploring Operation: 43+40=83, Resulting Numbers: [60, 83]
Generated Node #0,1,1: 12:[60, 83] Operation: 43+40=83
Exploring Operation: 60-43=17, Resulting Numbers: [40, 17]
Generated Node #0,1,2: 12:[40, 17] Operation: 60-43=17
Exploring Operation: 60-40=20, Resulting Numbers: [43, 20]
Generated Node #0,1,3: 12:[43, 20] Operation: 60-40=20
Exploring Operation: 43-40=3, Resulting Numbers: [60, 3]
Generated Node #0,1,4: 12:[60, 3] Operation: 43-40=3
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 12:[40, 17], Operations: ['92-32=60', '60-43=17']
Exploring Operation: 40*17=680, Resulting Numbers: [680]
680,12 unequal: No Solution
Exploring Operation: 40+17=57, Resulting Numbers: [57]
57,12 unequal: No Solution
Exploring Operation: 40-17=23, Resulting Numbers: [23]
23,12 unequal: No Solution
No 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: 12:[43, 20], Operations: ['92-32=60', '60-40=20']
Exploring Operation: 43-20=23, Resulting Numbers: [23]
23,12 unequal: No Solution
Exploring Operation: 43*20=860, Resulting Numbers: [860]
860,12 unequal: No Solution
Exploring Operation: 43+20=63, Resulting Numbers: [63]
63,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 12:[60, 3], Operations: ['92-32=60', '43-40=3']
Exploring Operation: 60*3=180, Resulting Numbers: [180]
180,12 unequal: No Solution
Exploring Operation: 60+3=63, Resulting Numbers: [63]
63,12 unequal: No Solution
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,12 unequal: No Solution
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,12 unequal: No Solution
No 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: 12:[40, 103], Operations: ['92-32=60', '43+60=103']
Exploring Operation: 40+103=143, Resulting Numbers: [143]
143,12 unequal: No Solution
Exploring Operation: 40*103=4120, Resulting Numbers: [4120]
4120,12 unequal: No Solution
Exploring Operation: 103-40=63, Resulting Numbers: [63]
63,12 unequal: No Solution
No 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: 12:[60, 83], Operations: ['92-32=60', '43+40=83']
Exploring Operation: 83-60=23, Resulting Numbers: [23]
23,12 unequal: No Solution
Exploring Operation: 60*83=4980, Resulting Numbers: [4980]
4980,12 unequal: No Solution
Exploring Operation: 60+83=143, Resulting Numbers: [143]
143,12 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: 12:[40, 92, 11], Operations: ['43-32=11']
Exploring Operation: 40+11=51, Resulting Numbers: [92, 51]
Generated Node #0,0,0: 12:[92, 51] Operation: 40+11=51
Exploring Operation: 92+11=103, Resulting Numbers: [40, 103]
Generated Node #0,0,1: 12:[40, 103] Operation: 92+11=103
Exploring Operation: 40-11=29, Resulting Numbers: [92, 29]
Generated Node #0,0,2: 12:[92, 29] Operation: 40-11=29
Exploring Operation: 92-40=52, Resulting Numbers: [11, 52]
Generated Node #0,0,3: 12:[11, 52] Operation: 92-40=52
Exploring Operation: 92-11=81, Resulting Numbers: [40, 81]
Generated Node #0,0,4: 12:[40, 81] Operation: 92-11=81
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 12:[11, 52], Operations: ['43-32=11', '92-40=52']
Exploring Operation: 11*52=572, Resulting Numbers: [572]
572,12 unequal: No Solution
Exploring Operation: 52-11=41, Resulting Numbers: [41]
41,12 unequal: No Solution
Exploring Operation: 11+52=63, Resulting Numbers: [63]
63,12 unequal: No Solution
No 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: 12:[92, 29], Operations: ['43-32=11', '40-11=29']
Exploring Operation: 92+29=121, Resulting Numbers: [121]
121,12 unequal: No Solution
Exploring Operation: 92*29=2668, Resulting Numbers: [2668]
2668,12 unequal: No Solution
Exploring Operation: 92-29=63, Resulting Numbers: [63]
63,12 unequal: No Solution
No 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: 12:[40, 81], Operations: ['43-32=11', '92-11=81']
Exploring Operation: 81-40=41, Resulting Numbers: [41]
41,12 unequal: No Solution
Exploring Operation: 40+81=121, Resulting Numbers: [121]
121,12 unequal: No Solution
Exploring Operation: 40*81=3240, Resulting Numbers: [3240]
3240,12 unequal: No Solution
No 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: 12:[92, 51], Operations: ['43-32=11', '40+11=51']
Exploring Operation: 92+51=143, Resulting Numbers: [143]
143,12 unequal: No Solution
Exploring Operation: 92-51=41, Resulting Numbers: [41]
41,12 unequal: No Solution
Exploring Operation: 92*51=4692, Resulting Numbers: [4692]
4692,12 unequal: No Solution
No 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: 12:[40, 103], Operations: ['43-32=11', '92+11=103']
Exploring Operation: 40+103=143, Resulting Numbers: [143]
143,12 unequal: No Solution
Exploring Operation: 40*103=4120, Resulting Numbers: [4120]
4120,12 unequal: No Solution
Exploring Operation: 103-40=63, Resulting Numbers: [63]
63,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
61,
14,
25,
15
] | 12 | [
"61+14=75",
"75/25=3",
"15-3=12"
] | Current State: 12:[61, 14, 25, 15], Operations: []
Exploring Operation: 61+14=75, Resulting Numbers: [25, 15, 75]
Generated Node #2: [25, 15, 75] from Operation: 61+14=75
Current State: 12:[25, 15, 75], Operations: ['61+14=75']
Exploring Operation: 75/25=3, Resulting Numbers: [15, 3]
Generated Node #3: [15, 3] from Operation: 75/25=3
Current State: 12:[15, 3], Operations: ['61+14=75', '75/25=3']
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[61, 14, 25, 15], Operations: []
Exploring Operation: 25-15=10, Resulting Numbers: [61, 14, 10]
Generated Node #0,0: 12:[61, 14, 10] Operation: 25-15=10
Exploring Operation: 25-14=11, Resulting Numbers: [61, 15, 11]
Generated Node #0,1: 12:[61, 15, 11] Operation: 25-14=11
Exploring Operation: 61-14=47, Resulting Numbers: [25, 15, 47]
Generated Node #0,2: 12:[25, 15, 47] Operation: 61-14=47
Exploring Operation: 61-15=46, Resulting Numbers: [14, 25, 46]
Generated Node #0,3: 12:[14, 25, 46] Operation: 61-15=46
Exploring Operation: 61-25=36, Resulting Numbers: [14, 15, 36]
Generated Node #0,4: 12:[14, 15, 36] Operation: 61-25=36
Start Sub Search at level 1: Moving to Node #0,4
Current State: 12:[14, 15, 36], Operations: ['61-25=36']
Exploring Operation: 14+15=29, Resulting Numbers: [36, 29]
Generated Node #0,4,0: 12:[36, 29] Operation: 14+15=29
Exploring Operation: 36-15=21, Resulting Numbers: [14, 21]
Generated Node #0,4,1: 12:[14, 21] Operation: 36-15=21
Exploring Operation: 36-14=22, Resulting Numbers: [15, 22]
Generated Node #0,4,2: 12:[15, 22] Operation: 36-14=22
Exploring Operation: 15-14=1, Resulting Numbers: [36, 1]
Generated Node #0,4,3: 12:[36, 1] Operation: 15-14=1
Exploring Operation: 14+36=50, Resulting Numbers: [15, 50]
Generated Node #0,4,4: 12:[15, 50] Operation: 14+36=50
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 12:[14, 21], Operations: ['61-25=36', '36-15=21']
Exploring Operation: 14+21=35, Resulting Numbers: [35]
35,12 unequal: No Solution
Exploring Operation: 14*21=294, Resulting Numbers: [294]
294,12 unequal: No Solution
Exploring Operation: 21-14=7, Resulting Numbers: [7]
7,12 unequal: No Solution
No 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: 12:[15, 22], Operations: ['61-25=36', '36-14=22']
Exploring Operation: 22-15=7, Resulting Numbers: [7]
7,12 unequal: No Solution
Exploring Operation: 15*22=330, Resulting Numbers: [330]
330,12 unequal: No Solution
Exploring Operation: 15+22=37, Resulting Numbers: [37]
37,12 unequal: No Solution
No 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: 12:[36, 1], Operations: ['61-25=36', '15-14=1']
Exploring Operation: 36-1=35, Resulting Numbers: [35]
35,12 unequal: No Solution
Exploring Operation: 36*1=36, Resulting Numbers: [36]
36,12 unequal: No Solution
Exploring Operation: 36/1=36, Resulting Numbers: [36]
36,12 unequal: No Solution
Exploring Operation: 36+1=37, Resulting Numbers: [37]
37,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 12:[36, 29], Operations: ['61-25=36', '14+15=29']
Exploring Operation: 36-29=7, Resulting Numbers: [7]
7,12 unequal: No Solution
Exploring Operation: 36+29=65, Resulting Numbers: [65]
65,12 unequal: No Solution
Exploring Operation: 36*29=1044, Resulting Numbers: [1044]
1044,12 unequal: No Solution
No 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: 12:[15, 50], Operations: ['61-25=36', '14+36=50']
Exploring Operation: 50-15=35, Resulting Numbers: [35]
35,12 unequal: No Solution
Exploring Operation: 15+50=65, Resulting Numbers: [65]
65,12 unequal: No Solution
Exploring Operation: 15*50=750, Resulting Numbers: [750]
750,12 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: 12:[14, 25, 46], Operations: ['61-15=46']
Exploring Operation: 14+25=39, Resulting Numbers: [46, 39]
Generated Node #0,3,0: 12:[46, 39] Operation: 14+25=39
Exploring Operation: 46-14=32, Resulting Numbers: [25, 32]
Generated Node #0,3,1: 12:[25, 32] Operation: 46-14=32
Exploring Operation: 46-25=21, Resulting Numbers: [14, 21]
Generated Node #0,3,2: 12:[14, 21] Operation: 46-25=21
Exploring Operation: 14+46=60, Resulting Numbers: [25, 60]
Generated Node #0,3,3: 12:[25, 60] Operation: 14+46=60
Exploring Operation: 25-14=11, Resulting Numbers: [46, 11]
Generated Node #0,3,4: 12:[46, 11] Operation: 25-14=11
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 12:[14, 21], Operations: ['61-15=46', '46-25=21']
Exploring Operation: 14+21=35, Resulting Numbers: [35]
35,12 unequal: No Solution
Exploring Operation: 21-14=7, Resulting Numbers: [7]
7,12 unequal: No Solution
Exploring Operation: 14*21=294, Resulting Numbers: [294]
294,12 unequal: No Solution
No 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: 12:[25, 32], Operations: ['61-15=46', '46-14=32']
Exploring Operation: 25+32=57, Resulting Numbers: [57]
57,12 unequal: No Solution
Exploring Operation: 25*32=800, Resulting Numbers: [800]
800,12 unequal: No Solution
Exploring Operation: 32-25=7, Resulting Numbers: [7]
7,12 unequal: No Solution
No 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: 12:[46, 11], Operations: ['61-15=46', '25-14=11']
Exploring Operation: 46-11=35, Resulting Numbers: [35]
35,12 unequal: No Solution
Exploring Operation: 46+11=57, Resulting Numbers: [57]
57,12 unequal: No Solution
Exploring Operation: 46*11=506, Resulting Numbers: [506]
506,12 unequal: No Solution
No 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: 12:[46, 39], Operations: ['61-15=46', '14+25=39']
Exploring Operation: 46-39=7, Resulting Numbers: [7]
7,12 unequal: No Solution
Exploring Operation: 46*39=1794, Resulting Numbers: [1794]
1794,12 unequal: No Solution
Exploring Operation: 46+39=85, Resulting Numbers: [85]
85,12 unequal: No Solution
No 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: 12:[25, 60], Operations: ['61-15=46', '14+46=60']
Exploring Operation: 25+60=85, Resulting Numbers: [85]
85,12 unequal: No Solution
Exploring Operation: 25*60=1500, Resulting Numbers: [1500]
1500,12 unequal: No Solution
Exploring Operation: 60-25=35, Resulting Numbers: [35]
35,12 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: 12:[25, 15, 47], Operations: ['61-14=47']
Exploring Operation: 25-15=10, Resulting Numbers: [47, 10]
Generated Node #0,2,0: 12:[47, 10] Operation: 25-15=10
Exploring Operation: 25+47=72, Resulting Numbers: [15, 72]
Generated Node #0,2,1: 12:[15, 72] Operation: 25+47=72
Exploring Operation: 47-25=22, Resulting Numbers: [15, 22]
Generated Node #0,2,2: 12:[15, 22] Operation: 47-25=22
Exploring Operation: 47-15=32, Resulting Numbers: [25, 32]
Generated Node #0,2,3: 12:[25, 32] Operation: 47-15=32
Exploring Operation: 25+15=40, Resulting Numbers: [47, 40]
Generated Node #0,2,4: 12:[47, 40] Operation: 25+15=40
Moving to Node #0,2,2
Current State: 12:[15, 22], Operations: ['61-14=47', '47-25=22']
Exploring Operation: 15*22=330, Resulting Numbers: [330]
330,12 unequal: No Solution
Exploring Operation: 15+22=37, Resulting Numbers: [37]
37,12 unequal: No Solution
Exploring Operation: 22-15=7, Resulting Numbers: [7]
7,12 unequal: No Solution
Moving to Node #0,2,3
Current State: 12:[25, 32], Operations: ['61-14=47', '47-15=32']
Exploring Operation: 32-25=7, Resulting Numbers: [7]
7,12 unequal: No Solution
Exploring Operation: 25*32=800, Resulting Numbers: [800]
800,12 unequal: No Solution
Exploring Operation: 25+32=57, Resulting Numbers: [57]
57,12 unequal: No Solution
Moving to Node #0,2,0
Current State: 12:[47, 10], Operations: ['61-14=47', '25-15=10']
Exploring Operation: 47-10=37, Resulting Numbers: [37]
37,12 unequal: No Solution
Exploring Operation: 47*10=470, Resulting Numbers: [470]
470,12 unequal: No Solution
Exploring Operation: 47+10=57, Resulting Numbers: [57]
57,12 unequal: No Solution
Moving to Node #0,2,1
Current State: 12:[15, 72], Operations: ['61-14=47', '25+47=72']
Exploring Operation: 72-15=57, Resulting Numbers: [57]
57,12 unequal: No Solution
Exploring Operation: 15+72=87, Resulting Numbers: [87]
87,12 unequal: No Solution
Exploring Operation: 15*72=1080, Resulting Numbers: [1080]
1080,12 unequal: No Solution
Moving to Node #0,2,4
Current State: 12:[47, 40], Operations: ['61-14=47', '25+15=40']
Exploring Operation: 47+40=87, Resulting Numbers: [87]
87,12 unequal: No Solution
Exploring Operation: 47-40=7, Resulting Numbers: [7]
7,12 unequal: No Solution
Exploring Operation: 47*40=1880, Resulting Numbers: [1880]
1880,12 unequal: No Solution
No 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: 12:[61, 14, 10], Operations: ['25-15=10']
Exploring Operation: 14-10=4, Resulting Numbers: [61, 4]
Generated Node #0,0,0: 12:[61, 4] Operation: 14-10=4
Exploring Operation: 14+10=24, Resulting Numbers: [61, 24]
Generated Node #0,0,1: 12:[61, 24] Operation: 14+10=24
Exploring Operation: 61+10=71, Resulting Numbers: [14, 71]
Generated Node #0,0,2: 12:[14, 71] Operation: 61+10=71
Exploring Operation: 61-10=51, Resulting Numbers: [14, 51]
Generated Node #0,0,3: 12:[14, 51] Operation: 61-10=51
Exploring Operation: 61-14=47, Resulting Numbers: [10, 47]
Generated Node #0,0,4: 12:[10, 47] Operation: 61-14=47
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 12:[10, 47], Operations: ['25-15=10', '61-14=47']
Exploring Operation: 47-10=37, Resulting Numbers: [37]
37,12 unequal: No Solution
Exploring Operation: 10*47=470, Resulting Numbers: [470]
470,12 unequal: No Solution
Exploring Operation: 10+47=57, Resulting Numbers: [57]
57,12 unequal: No Solution
No 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: 12:[14, 51], Operations: ['25-15=10', '61-10=51']
Exploring Operation: 14+51=65, Resulting Numbers: [65]
65,12 unequal: No Solution
Exploring Operation: 51-14=37, Resulting Numbers: [37]
37,12 unequal: No Solution
Exploring Operation: 14*51=714, Resulting Numbers: [714]
714,12 unequal: No Solution
No 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: 12:[61, 4], Operations: ['25-15=10', '14-10=4']
Exploring Operation: 61+4=65, Resulting Numbers: [65]
65,12 unequal: No Solution
Exploring Operation: 61*4=244, Resulting Numbers: [244]
244,12 unequal: No Solution
Exploring Operation: 61-4=57, Resulting Numbers: [57]
57,12 unequal: No Solution
No 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: 12:[61, 24], Operations: ['25-15=10', '14+10=24']
Exploring Operation: 61*24=1464, Resulting Numbers: [1464]
1464,12 unequal: No Solution
Exploring Operation: 61-24=37, Resulting Numbers: [37]
37,12 unequal: No Solution
Exploring Operation: 61+24=85, Resulting Numbers: [85]
85,12 unequal: No Solution
No 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: 12:[14, 71], Operations: ['25-15=10', '61+10=71']
Exploring Operation: 14+71=85, Resulting Numbers: [85]
85,12 unequal: No Solution
Exploring Operation: 71-14=57, Resulting Numbers: [57]
57,12 unequal: No Solution
Exploring Operation: 14*71=994, Resulting Numbers: [994]
994,12 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: 12:[61, 15, 11], Operations: ['25-14=11']
Exploring Operation: 61-15=46, Resulting Numbers: [11, 46]
Generated Node #0,1,0: 12:[11, 46] Operation: 61-15=46
Exploring Operation: 61+11=72, Resulting Numbers: [15, 72]
Generated Node #0,1,1: 12:[15, 72] Operation: 61+11=72
Exploring Operation: 61-11=50, Resulting Numbers: [15, 50]
Generated Node #0,1,2: 12:[15, 50] Operation: 61-11=50
Exploring Operation: 15-11=4, Resulting Numbers: [61, 4]
Generated Node #0,1,3: 12:[61, 4] Operation: 15-11=4
Exploring Operation: 15+11=26, Resulting Numbers: [61, 26]
Generated Node #0,1,4: 12:[61, 26] Operation: 15+11=26
Moving to Node #0,1,0
Current State: 12:[11, 46], Operations: ['25-14=11', '61-15=46']
Exploring Operation: 11+46=57, Resulting Numbers: [57]
57,12 unequal: No Solution
Exploring Operation: 11*46=506, Resulting Numbers: [506]
506,12 unequal: No Solution
Exploring Operation: 46-11=35, Resulting Numbers: [35]
35,12 unequal: No Solution
Moving to Node #0,1,2
Current State: 12:[15, 50], Operations: ['25-14=11', '61-11=50']
Exploring Operation: 50-15=35, Resulting Numbers: [35]
35,12 unequal: No Solution
Exploring Operation: 15+50=65, Resulting Numbers: [65]
65,12 unequal: No Solution
Exploring Operation: 15*50=750, Resulting Numbers: [750]
750,12 unequal: No Solution
Moving to Node #0,1,3
Current State: 12:[61, 4], Operations: ['25-14=11', '15-11=4']
Exploring Operation: 61-4=57, Resulting Numbers: [57]
57,12 unequal: No Solution
Exploring Operation: 61+4=65, Resulting Numbers: [65]
65,12 unequal: No Solution
Exploring Operation: 61*4=244, Resulting Numbers: [244]
244,12 unequal: No Solution
Moving to Node #0,1,1
Current State: 12:[15, 72], Operations: ['25-14=11', '61+11=72']
Exploring Operation: 15*72=1080, Resulting Numbers: [1080]
1080,12 unequal: No Solution
Exploring Operation: 72-15=57, Resulting Numbers: [57]
57,12 unequal: No Solution
Exploring Operation: 15+72=87, Resulting Numbers: [87]
87,12 unequal: No Solution
Moving to Node #0,1,4
Current State: 12:[61, 26], Operations: ['25-14=11', '15+11=26']
Exploring Operation: 61-26=35, Resulting Numbers: [35]
35,12 unequal: No Solution
Exploring Operation: 61*26=1586, Resulting Numbers: [1586]
1586,12 unequal: No Solution
Exploring Operation: 61+26=87, Resulting Numbers: [87]
87,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
20,
56,
9,
54
] | 10 | [
"56-20=36",
"54+36=90",
"90/9=10"
] | Current State: 10:[20, 56, 9, 54], Operations: []
Exploring Operation: 56-20=36, Resulting Numbers: [9, 54, 36]
Generated Node #2: [9, 54, 36] from Operation: 56-20=36
Current State: 10:[9, 54, 36], Operations: ['56-20=36']
Exploring Operation: 54+36=90, Resulting Numbers: [9, 90]
Generated Node #3: [9, 90] from Operation: 54+36=90
Current State: 10:[9, 90], Operations: ['56-20=36', '54+36=90']
Exploring Operation: 90/9=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[20, 56, 9, 54], Operations: []
Exploring Operation: 56-54=2, Resulting Numbers: [20, 9, 2]
Generated Node #0,0: 10:[20, 9, 2] Operation: 56-54=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[20, 9, 2], Operations: ['56-54=2']
Exploring Operation: 20-9=11, Resulting Numbers: [2, 11]
Generated Node #0,0,0: 10:[2, 11] Operation: 20-9=11
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 10:[2, 11], Operations: ['56-54=2', '20-9=11']
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,10 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 |
[
22,
66,
31,
79
] | 71 | [
"31+79=110",
"110/22=5",
"66+5=71"
] | Current State: 71:[22, 66, 31, 79], Operations: []
Exploring Operation: 31+79=110, Resulting Numbers: [22, 66, 110]
Generated Node #2: [22, 66, 110] from Operation: 31+79=110
Current State: 71:[22, 66, 110], Operations: ['31+79=110']
Exploring Operation: 110/22=5, Resulting Numbers: [66, 5]
Generated Node #3: [66, 5] from Operation: 110/22=5
Current State: 71:[66, 5], Operations: ['31+79=110', '110/22=5']
Exploring Operation: 66+5=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[22, 66, 31, 79], Operations: []
Exploring Operation: 79-22=57, Resulting Numbers: [66, 31, 57]
Generated Node #0,0: 71:[66, 31, 57] Operation: 79-22=57
Exploring Operation: 22+31=53, Resulting Numbers: [66, 79, 53]
Generated Node #0,1: 71:[66, 79, 53] Operation: 22+31=53
Moving to Node #0,1
Current State: 71:[66, 79, 53], Operations: ['22+31=53']
Exploring Operation: 66+53=119, Resulting Numbers: [79, 119]
Generated Node #0,1,0: 71:[79, 119] Operation: 66+53=119
Exploring Operation: 79-53=26, Resulting Numbers: [66, 26]
Generated Node #0,1,1: 71:[66, 26] Operation: 79-53=26
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 71:[66, 26], Operations: ['22+31=53', '79-53=26']
Exploring Operation: 66+26=92, Resulting Numbers: [92]
92,71 unequal: No Solution
Exploring Operation: 66-26=40, Resulting Numbers: [40]
40,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 71:[79, 119], Operations: ['22+31=53', '66+53=119']
Exploring Operation: 119-79=40, Resulting Numbers: [40]
40,71 unequal: No Solution
Exploring Operation: 79+119=198, Resulting Numbers: [198]
198,71 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: 71:[66, 31, 57], Operations: ['79-22=57']
Exploring Operation: 66+31=97, Resulting Numbers: [57, 97]
Generated Node #0,0,0: 71:[57, 97] Operation: 66+31=97
Exploring Operation: 31+57=88, Resulting Numbers: [66, 88]
Generated Node #0,0,1: 71:[66, 88] Operation: 31+57=88
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 71:[66, 88], Operations: ['79-22=57', '31+57=88']
Exploring Operation: 66+88=154, Resulting Numbers: [154]
154,71 unequal: No Solution
Exploring Operation: 88-66=22, Resulting Numbers: [22]
22,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,0,0
Current State: 71:[57, 97], Operations: ['79-22=57', '66+31=97']
Exploring Operation: 57+97=154, Resulting Numbers: [154]
154,71 unequal: No Solution
Exploring Operation: 97-57=40, Resulting Numbers: [40]
40,71 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 |
[
47,
5,
59,
65
] | 82 | [
"47-5=42",
"59+65=124",
"124-42=82"
] | Current State: 82:[47, 5, 59, 65], Operations: []
Exploring Operation: 47-5=42, Resulting Numbers: [59, 65, 42]
Generated Node #2: [59, 65, 42] from Operation: 47-5=42
Current State: 82:[59, 65, 42], Operations: ['47-5=42']
Exploring Operation: 59+65=124, Resulting Numbers: [42, 124]
Generated Node #3: [42, 124] from Operation: 59+65=124
Current State: 82:[42, 124], Operations: ['47-5=42', '59+65=124']
Exploring Operation: 124-42=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[47, 5, 59, 65], Operations: []
Exploring Operation: 59-5=54, Resulting Numbers: [47, 65, 54]
Generated Node #0,0: 82:[47, 65, 54] Operation: 59-5=54
Exploring Operation: 59-47=12, Resulting Numbers: [5, 65, 12]
Generated Node #0,1: 82:[5, 65, 12] Operation: 59-47=12
Exploring Operation: 47-5=42, Resulting Numbers: [59, 65, 42]
Generated Node #0,2: 82:[59, 65, 42] Operation: 47-5=42
Exploring Operation: 65-59=6, Resulting Numbers: [47, 5, 6]
Generated Node #0,3: 82:[47, 5, 6] Operation: 65-59=6
Exploring Operation: 65/5=13, Resulting Numbers: [47, 59, 13]
Generated Node #0,4: 82:[47, 59, 13] Operation: 65/5=13
Moving to Node #0,3
Current State: 82:[47, 5, 6], Operations: ['65-59=6']
Exploring Operation: 47+5=52, Resulting Numbers: [6, 52]
Generated Node #0,3,0: 82:[6, 52] Operation: 47+5=52
Exploring Operation: 47+6=53, Resulting Numbers: [5, 53]
Generated Node #0,3,1: 82:[5, 53] Operation: 47+6=53
Exploring Operation: 47-5=42, Resulting Numbers: [6, 42]
Generated Node #0,3,2: 82:[6, 42] Operation: 47-5=42
Exploring Operation: 47-6=41, Resulting Numbers: [5, 41]
Generated Node #0,3,3: 82:[5, 41] Operation: 47-6=41
Exploring Operation: 6-5=1, Resulting Numbers: [47, 1]
Generated Node #0,3,4: 82:[47, 1] Operation: 6-5=1
Moving to Node #0,1
Current State: 82:[5, 65, 12], Operations: ['59-47=12']
Exploring Operation: 12-5=7, Resulting Numbers: [65, 7]
Generated Node #0,1,0: 82:[65, 7] Operation: 12-5=7
Exploring Operation: 65+12=77, Resulting Numbers: [5, 77]
Generated Node #0,1,1: 82:[5, 77] Operation: 65+12=77
Exploring Operation: 65-12=53, Resulting Numbers: [5, 53]
Generated Node #0,1,2: 82:[5, 53] Operation: 65-12=53
Exploring Operation: 65/5=13, Resulting Numbers: [12, 13]
Generated Node #0,1,3: 82:[12, 13] Operation: 65/5=13
Exploring Operation: 5+65=70, Resulting Numbers: [12, 70]
Generated Node #0,1,4: 82:[12, 70] Operation: 5+65=70
Moving to Node #0,4
Current State: 82:[47, 59, 13], Operations: ['65/5=13']
Exploring Operation: 47+59=106, Resulting Numbers: [13, 106]
Generated Node #0,4,0: 82:[13, 106] Operation: 47+59=106
Exploring Operation: 59-13=46, Resulting Numbers: [47, 46]
Generated Node #0,4,1: 82:[47, 46] Operation: 59-13=46
Exploring Operation: 59-47=12, Resulting Numbers: [13, 12]
Generated Node #0,4,2: 82:[13, 12] Operation: 59-47=12
Exploring Operation: 59+13=72, Resulting Numbers: [47, 72]
Generated Node #0,4,3: 82:[47, 72] Operation: 59+13=72
Exploring Operation: 47-13=34, Resulting Numbers: [59, 34]
Generated Node #0,4,4: 82:[59, 34] Operation: 47-13=34
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 82:[47, 46], Operations: ['65/5=13', '59-13=46']
Exploring Operation: 47-46=1, Resulting Numbers: [1]
1,82 unequal: No Solution
Exploring Operation: 47*46=2162, Resulting Numbers: [2162]
2162,82 unequal: No Solution
Exploring Operation: 47+46=93, Resulting Numbers: [93]
93,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 82:[47, 72], Operations: ['65/5=13', '59+13=72']
Exploring Operation: 72-47=25, Resulting Numbers: [25]
25,82 unequal: No Solution
Exploring Operation: 47*72=3384, Resulting Numbers: [3384]
3384,82 unequal: No Solution
Exploring Operation: 47+72=119, Resulting Numbers: [119]
119,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 82:[13, 12], Operations: ['65/5=13', '59-47=12']
Exploring Operation: 13*12=156, Resulting Numbers: [156]
156,82 unequal: No Solution
Exploring Operation: 13+12=25, Resulting Numbers: [25]
25,82 unequal: No Solution
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 82:[59, 34], Operations: ['65/5=13', '47-13=34']
Exploring Operation: 59*34=2006, Resulting Numbers: [2006]
2006,82 unequal: No Solution
Exploring Operation: 59+34=93, Resulting Numbers: [93]
93,82 unequal: No Solution
Exploring Operation: 59-34=25, Resulting Numbers: [25]
25,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 82:[13, 106], Operations: ['65/5=13', '47+59=106']
Exploring Operation: 106-13=93, Resulting Numbers: [93]
93,82 unequal: No Solution
Exploring Operation: 13+106=119, Resulting Numbers: [119]
119,82 unequal: No Solution
Exploring Operation: 13*106=1378, Resulting Numbers: [1378]
1378,82 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: 82:[47, 65, 54], Operations: ['59-5=54']
Exploring Operation: 65-47=18, Resulting Numbers: [54, 18]
Generated Node #0,0,0: 82:[54, 18] Operation: 65-47=18
Exploring Operation: 65-54=11, Resulting Numbers: [47, 11]
Generated Node #0,0,1: 82:[47, 11] Operation: 65-54=11
Exploring Operation: 54-47=7, Resulting Numbers: [65, 7]
Generated Node #0,0,2: 82:[65, 7] Operation: 54-47=7
Exploring Operation: 47+54=101, Resulting Numbers: [65, 101]
Generated Node #0,0,3: 82:[65, 101] Operation: 47+54=101
Exploring Operation: 47+65=112, Resulting Numbers: [54, 112]
Generated Node #0,0,4: 82:[54, 112] Operation: 47+65=112
Moving to Node #0,2
Current State: 82:[59, 65, 42], Operations: ['47-5=42']
Exploring Operation: 65-59=6, Resulting Numbers: [42, 6]
Generated Node #0,2,0: 82:[42, 6] Operation: 65-59=6
Exploring Operation: 59-42=17, Resulting Numbers: [65, 17]
Generated Node #0,2,1: 82:[65, 17] Operation: 59-42=17
Exploring Operation: 65-42=23, Resulting Numbers: [59, 23]
Generated Node #0,2,2: 82:[59, 23] Operation: 65-42=23
Exploring Operation: 59+42=101, Resulting Numbers: [65, 101]
Generated Node #0,2,3: 82:[65, 101] Operation: 59+42=101
Exploring Operation: 59+65=124, Resulting Numbers: [42, 124]
Generated Node #0,2,4: 82:[42, 124] Operation: 59+65=124
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 82:[42, 6], Operations: ['47-5=42', '65-59=6']
Exploring Operation: 42/6=7, Resulting Numbers: [7]
7,82 unequal: No Solution
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,82 unequal: No Solution
Exploring Operation: 42*6=252, Resulting Numbers: [252]
252,82 unequal: No Solution
Exploring Operation: 42+6=48, Resulting Numbers: [48]
48,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 82:[65, 17], Operations: ['47-5=42', '59-42=17']
Exploring Operation: 65+17=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[47, 5, 59, 65], Operations: []
Exploring Operation: 47-5=42, Resulting Numbers: [59, 65, 42]
Generated Node #0,2: 82:[59, 65, 42] Operation: 47-5=42
Moving to Node #0,2
Current State: 82:[59, 65, 42], Operations: ['47-5=42']
Exploring Operation: 59-42=17, Resulting Numbers: [65, 17]
Generated Node #0,2,1: 82:[65, 17] Operation: 59-42=17
Moving to Node #0,2,1
Current State: 82:[65, 17], Operations: ['47-5=42', '59-42=17']
Exploring Operation: 65+17=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.953125 | hs_5 | mult_heuristic |
[
52,
49,
7,
97
] | 93 | [
"52-49=3",
"97-7=90",
"3+90=93"
] | Current State: 93:[52, 49, 7, 97], Operations: []
Exploring Operation: 52-49=3, Resulting Numbers: [7, 97, 3]
Generated Node #2: [7, 97, 3] from Operation: 52-49=3
Current State: 93:[7, 97, 3], Operations: ['52-49=3']
Exploring Operation: 97-7=90, Resulting Numbers: [3, 90]
Generated Node #3: [3, 90] from Operation: 97-7=90
Current State: 93:[3, 90], Operations: ['52-49=3', '97-7=90']
Exploring Operation: 3+90=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[52, 49, 7, 97], Operations: []
Exploring Operation: 52+49=101, Resulting Numbers: [7, 97, 101]
Generated Node #0,0: 93:[7, 97, 101] Operation: 52+49=101
Exploring Operation: 97-52=45, Resulting Numbers: [49, 7, 45]
Generated Node #0,1: 93:[49, 7, 45] Operation: 97-52=45
Exploring Operation: 49/7=7, Resulting Numbers: [52, 97, 7]
Generated Node #0,2: 93:[52, 97, 7] Operation: 49/7=7
Exploring Operation: 52-49=3, Resulting Numbers: [7, 97, 3]
Generated Node #0,3: 93:[7, 97, 3] Operation: 52-49=3
Exploring Operation: 52-7=45, Resulting Numbers: [49, 97, 45]
Generated Node #0,4: 93:[49, 97, 45] Operation: 52-7=45
Start Sub Search at level 1: Moving to Node #0,3
Current State: 93:[7, 97, 3], Operations: ['52-49=3']
Exploring Operation: 7-3=4, Resulting Numbers: [97, 4]
Generated Node #0,3,0: 93:[97, 4] Operation: 7-3=4
Exploring Operation: 97-3=94, Resulting Numbers: [7, 94]
Generated Node #0,3,1: 93:[7, 94] Operation: 97-3=94
Exploring Operation: 7+97=104, Resulting Numbers: [3, 104]
Generated Node #0,3,2: 93:[3, 104] Operation: 7+97=104
Exploring Operation: 97-7=90, Resulting Numbers: [3, 90]
Generated Node #0,3,3: 93:[3, 90] Operation: 97-7=90
Exploring Operation: 7+3=10, Resulting Numbers: [97, 10]
Generated Node #0,3,4: 93:[97, 10] Operation: 7+3=10
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 93:[3, 90], Operations: ['52-49=3', '97-7=90']
Exploring Operation: 3*90=270, Resulting Numbers: [270]
270,93 unequal: No Solution
Exploring Operation: 3+90=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[52, 49, 7, 97], Operations: []
Exploring Operation: 52-49=3, Resulting Numbers: [7, 97, 3]
Generated Node #0,3: 93:[7, 97, 3] Operation: 52-49=3
Moving to Node #0,3
Current State: 93:[7, 97, 3], Operations: ['52-49=3']
Exploring Operation: 97-7=90, Resulting Numbers: [3, 90]
Generated Node #0,3,3: 93:[3, 90] Operation: 97-7=90
Moving to Node #0,3,3
Current State: 93:[3, 90], Operations: ['52-49=3', '97-7=90']
Exploring Operation: 3+90=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
29,
24,
40,
2
] | 46 | [
"40-29=11",
"2*11=22",
"24+22=46"
] | Current State: 46:[29, 24, 40, 2], Operations: []
Exploring Operation: 40-29=11, Resulting Numbers: [24, 2, 11]
Generated Node #2: [24, 2, 11] from Operation: 40-29=11
Current State: 46:[24, 2, 11], Operations: ['40-29=11']
Exploring Operation: 2*11=22, Resulting Numbers: [24, 22]
Generated Node #3: [24, 22] from Operation: 2*11=22
Current State: 46:[24, 22], Operations: ['40-29=11', '2*11=22']
Exploring Operation: 24+22=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[29, 24, 40, 2], Operations: []
Exploring Operation: 29-24=5, Resulting Numbers: [40, 2, 5]
Generated Node #0,0: 46:[40, 2, 5] Operation: 29-24=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[40, 2, 5], Operations: ['29-24=5']
Exploring Operation: 40+5=45, Resulting Numbers: [2, 45]
Generated Node #0,0,0: 46:[2, 45] Operation: 40+5=45
Moving to Node #0,0,0
Current State: 46:[2, 45], Operations: ['29-24=5', '40+5=45']
Exploring Operation: 2+45=47, Resulting Numbers: [47]
47,46 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 |
[
36,
72,
30,
29
] | 35 | [
"72-36=36",
"30-29=1",
"36-1=35"
] | Current State: 35:[36, 72, 30, 29], Operations: []
Exploring Operation: 72-36=36, Resulting Numbers: [30, 29, 36]
Generated Node #2: [30, 29, 36] from Operation: 72-36=36
Current State: 35:[30, 29, 36], Operations: ['72-36=36']
Exploring Operation: 30-29=1, Resulting Numbers: [36, 1]
Generated Node #3: [36, 1] from Operation: 30-29=1
Current State: 35:[36, 1], Operations: ['72-36=36', '30-29=1']
Exploring Operation: 36-1=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[36, 72, 30, 29], Operations: []
Exploring Operation: 72/36=2, Resulting Numbers: [30, 29, 2]
Generated Node #0,0: 35:[30, 29, 2] Operation: 72/36=2
Exploring Operation: 72-36=36, Resulting Numbers: [30, 29, 36]
Generated Node #0,1: 35:[30, 29, 36] Operation: 72-36=36
Exploring Operation: 36-29=7, Resulting Numbers: [72, 30, 7]
Generated Node #0,2: 35:[72, 30, 7] Operation: 36-29=7
Exploring Operation: 72-29=43, Resulting Numbers: [36, 30, 43]
Generated Node #0,3: 35:[36, 30, 43] Operation: 72-29=43
Exploring Operation: 72-30=42, Resulting Numbers: [36, 29, 42]
Generated Node #0,4: 35:[36, 29, 42] Operation: 72-30=42
Moving to Node #0,1
Current State: 35:[30, 29, 36], Operations: ['72-36=36']
Exploring Operation: 36-30=6, Resulting Numbers: [29, 6]
Generated Node #0,1,0: 35:[29, 6] Operation: 36-30=6
Exploring Operation: 36-29=7, Resulting Numbers: [30, 7]
Generated Node #0,1,1: 35:[30, 7] Operation: 36-29=7
Exploring Operation: 30+29=59, Resulting Numbers: [36, 59]
Generated Node #0,1,2: 35:[36, 59] Operation: 30+29=59
Exploring Operation: 30-29=1, Resulting Numbers: [36, 1]
Generated Node #0,1,3: 35:[36, 1] Operation: 30-29=1
Exploring Operation: 29+36=65, Resulting Numbers: [30, 65]
Generated Node #0,1,4: 35:[30, 65] Operation: 29+36=65
Moving to Node #0,3
Current State: 35:[36, 30, 43], Operations: ['72-29=43']
Exploring Operation: 36-30=6, Resulting Numbers: [43, 6]
Generated Node #0,3,0: 35:[43, 6] Operation: 36-30=6
Exploring Operation: 36+30=66, Resulting Numbers: [43, 66]
Generated Node #0,3,1: 35:[43, 66] Operation: 36+30=66
Exploring Operation: 43-30=13, Resulting Numbers: [36, 13]
Generated Node #0,3,2: 35:[36, 13] Operation: 43-30=13
Exploring Operation: 30+43=73, Resulting Numbers: [36, 73]
Generated Node #0,3,3: 35:[36, 73] Operation: 30+43=73
Exploring Operation: 43-36=7, Resulting Numbers: [30, 7]
Generated Node #0,3,4: 35:[30, 7] Operation: 43-36=7
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 35:[30, 7], Operations: ['72-29=43', '43-36=7']
Exploring Operation: 30+7=37, Resulting Numbers: [37]
37,35 unequal: No Solution
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,35 unequal: No Solution
Exploring Operation: 30*7=210, Resulting Numbers: [210]
210,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 35:[36, 13], Operations: ['72-29=43', '43-30=13']
Exploring Operation: 36*13=468, Resulting Numbers: [468]
468,35 unequal: No Solution
Exploring Operation: 36+13=49, Resulting Numbers: [49]
49,35 unequal: No Solution
Exploring Operation: 36-13=23, Resulting Numbers: [23]
23,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 35:[43, 6], Operations: ['72-29=43', '36-30=6']
Exploring Operation: 43*6=258, Resulting Numbers: [258]
258,35 unequal: No Solution
Exploring Operation: 43-6=37, Resulting Numbers: [37]
37,35 unequal: No Solution
Exploring Operation: 43+6=49, Resulting Numbers: [49]
49,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 35:[43, 66], Operations: ['72-29=43', '36+30=66']
Exploring Operation: 66-43=23, Resulting Numbers: [23]
23,35 unequal: No Solution
Exploring Operation: 43+66=109, Resulting Numbers: [109]
109,35 unequal: No Solution
Exploring Operation: 43*66=2838, Resulting Numbers: [2838]
2838,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 35:[36, 73], Operations: ['72-29=43', '30+43=73']
Exploring Operation: 36+73=109, Resulting Numbers: [109]
109,35 unequal: No Solution
Exploring Operation: 36*73=2628, Resulting Numbers: [2628]
2628,35 unequal: No Solution
Exploring Operation: 73-36=37, Resulting Numbers: [37]
37,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 35:[30, 29, 2], Operations: ['72/36=2']
Exploring Operation: 30-2=28, Resulting Numbers: [29, 28]
Generated Node #0,0,0: 35:[29, 28] Operation: 30-2=28
Exploring Operation: 29+2=31, Resulting Numbers: [30, 31]
Generated Node #0,0,1: 35:[30, 31] Operation: 29+2=31
Exploring Operation: 30-29=1, Resulting Numbers: [2, 1]
Generated Node #0,0,2: 35:[2, 1] Operation: 30-29=1
Exploring Operation: 29-2=27, Resulting Numbers: [30, 27]
Generated Node #0,0,3: 35:[30, 27] Operation: 29-2=27
Exploring Operation: 30+2=32, Resulting Numbers: [29, 32]
Generated Node #0,0,4: 35:[29, 32] Operation: 30+2=32
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 35:[2, 1], Operations: ['72/36=2', '30-29=1']
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,35 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,35 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 35:[30, 31], Operations: ['72/36=2', '29+2=31']
Exploring Operation: 30*31=930, Resulting Numbers: [930]
930,35 unequal: No Solution
Exploring Operation: 31-30=1, Resulting Numbers: [1]
1,35 unequal: No Solution
Exploring Operation: 30+31=61, Resulting Numbers: [61]
61,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 35:[29, 32], Operations: ['72/36=2', '30+2=32']
Exploring Operation: 29+32=61, Resulting Numbers: [61]
61,35 unequal: No Solution
Exploring Operation: 32-29=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 29*32=928, Resulting Numbers: [928]
928,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 35:[29, 28], Operations: ['72/36=2', '30-2=28']
Exploring Operation: 29+28=57, Resulting Numbers: [57]
57,35 unequal: No Solution
Exploring Operation: 29-28=1, Resulting Numbers: [1]
1,35 unequal: No Solution
Exploring Operation: 29*28=812, Resulting Numbers: [812]
812,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 35:[30, 27], Operations: ['72/36=2', '29-2=27']
Exploring Operation: 30+27=57, Resulting Numbers: [57]
57,35 unequal: No Solution
Exploring Operation: 30-27=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 30*27=810, Resulting Numbers: [810]
810,35 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: 35:[36, 29, 42], Operations: ['72-30=42']
Exploring Operation: 36-29=7, Resulting Numbers: [42, 7]
Generated Node #0,4,0: 35:[42, 7] Operation: 36-29=7
Exploring Operation: 29+42=71, Resulting Numbers: [36, 71]
Generated Node #0,4,1: 35:[36, 71] Operation: 29+42=71
Exploring Operation: 42-36=6, Resulting Numbers: [29, 6]
Generated Node #0,4,2: 35:[29, 6] Operation: 42-36=6
Exploring Operation: 42-29=13, Resulting Numbers: [36, 13]
Generated Node #0,4,3: 35:[36, 13] Operation: 42-29=13
Exploring Operation: 36+29=65, Resulting Numbers: [42, 65]
Generated Node #0,4,4: 35:[42, 65] Operation: 36+29=65
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 35:[42, 7], Operations: ['72-30=42', '36-29=7']
Exploring Operation: 42+7=49, Resulting Numbers: [49]
49,35 unequal: No Solution
Exploring Operation: 42/7=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Exploring Operation: 42-7=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[36, 72, 30, 29], Operations: []
Exploring Operation: 72-30=42, Resulting Numbers: [36, 29, 42]
Generated Node #0,4: 35:[36, 29, 42] Operation: 72-30=42
Moving to Node #0,4
Current State: 35:[36, 29, 42], Operations: ['72-30=42']
Exploring Operation: 36-29=7, Resulting Numbers: [42, 7]
Generated Node #0,4,0: 35:[42, 7] Operation: 36-29=7
Moving to Node #0,4,0
Current State: 35:[42, 7], Operations: ['72-30=42', '36-29=7']
Exploring Operation: 42-7=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.945313 | hs_5 | mult_heuristic |
[
10,
15,
49,
83
] | 39 | [
"15-10=5",
"83-49=34",
"5+34=39"
] | Current State: 39:[10, 15, 49, 83], Operations: []
Exploring Operation: 15-10=5, Resulting Numbers: [49, 83, 5]
Generated Node #2: [49, 83, 5] from Operation: 15-10=5
Current State: 39:[49, 83, 5], Operations: ['15-10=5']
Exploring Operation: 83-49=34, Resulting Numbers: [5, 34]
Generated Node #3: [5, 34] from Operation: 83-49=34
Current State: 39:[5, 34], Operations: ['15-10=5', '83-49=34']
Exploring Operation: 5+34=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[10, 15, 49, 83], Operations: []
Exploring Operation: 83-49=34, Resulting Numbers: [10, 15, 34]
Generated Node #0,0: 39:[10, 15, 34] Operation: 83-49=34
Exploring Operation: 83-15=68, Resulting Numbers: [10, 49, 68]
Generated Node #0,1: 39:[10, 49, 68] Operation: 83-15=68
Exploring Operation: 49-10=39, Resulting Numbers: [15, 83, 39]
Generated Node #0,2: 39:[15, 83, 39] Operation: 49-10=39
Exploring Operation: 83-10=73, Resulting Numbers: [15, 49, 73]
Generated Node #0,3: 39:[15, 49, 73] Operation: 83-10=73
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[10, 15, 34], Operations: ['83-49=34']
Exploring Operation: 15-10=5, Resulting Numbers: [34, 5]
Generated Node #0,0,0: 39:[34, 5] Operation: 15-10=5
Exploring Operation: 34-10=24, Resulting Numbers: [15, 24]
Generated Node #0,0,1: 39:[15, 24] Operation: 34-10=24
Exploring Operation: 10+34=44, Resulting Numbers: [15, 44]
Generated Node #0,0,2: 39:[15, 44] Operation: 10+34=44
Exploring Operation: 34-15=19, Resulting Numbers: [10, 19]
Generated Node #0,0,3: 39:[10, 19] Operation: 34-15=19
Moving to Node #0,0,0
Current State: 39:[34, 5], Operations: ['83-49=34', '15-10=5']
Exploring Operation: 34*5=170, Resulting Numbers: [170]
170,39 unequal: No Solution
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,39 unequal: No Solution
Exploring Operation: 34+5=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[10, 15, 49, 83], Operations: []
Exploring Operation: 83-49=34, Resulting Numbers: [10, 15, 34]
Generated Node #0,0: 39:[10, 15, 34] Operation: 83-49=34
Moving to Node #0,0
Current State: 39:[10, 15, 34], Operations: ['83-49=34']
Exploring Operation: 15-10=5, Resulting Numbers: [34, 5]
Generated Node #0,0,0: 39:[34, 5] Operation: 15-10=5
Moving to Node #0,0,0
Current State: 39:[34, 5], Operations: ['83-49=34', '15-10=5']
Exploring Operation: 34+5=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
57,
21,
42,
3
] | 56 | [
"57-3=54",
"42/21=2",
"54+2=56"
] | Current State: 56:[57, 21, 42, 3], Operations: []
Exploring Operation: 57-3=54, Resulting Numbers: [21, 42, 54]
Generated Node #2: [21, 42, 54] from Operation: 57-3=54
Current State: 56:[21, 42, 54], Operations: ['57-3=54']
Exploring Operation: 42/21=2, Resulting Numbers: [54, 2]
Generated Node #3: [54, 2] from Operation: 42/21=2
Current State: 56:[54, 2], Operations: ['57-3=54', '42/21=2']
Exploring Operation: 54+2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[57, 21, 42, 3], Operations: []
Exploring Operation: 42/3=14, Resulting Numbers: [57, 21, 14]
Generated Node #0,0: 56:[57, 21, 14] Operation: 42/3=14
Exploring Operation: 42/21=2, Resulting Numbers: [57, 3, 2]
Generated Node #0,1: 56:[57, 3, 2] Operation: 42/21=2
Moving to Node #0,1
Current State: 56:[57, 3, 2], Operations: ['42/21=2']
Exploring Operation: 57-2=55, Resulting Numbers: [3, 55]
Generated Node #0,1,0: 56:[3, 55] Operation: 57-2=55
Exploring Operation: 57-3=54, Resulting Numbers: [2, 54]
Generated Node #0,1,1: 56:[2, 54] Operation: 57-3=54
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 56:[3, 55], Operations: ['42/21=2', '57-2=55']
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,56 unequal: No Solution
Exploring Operation: 3+55=58, Resulting Numbers: [58]
58,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 56:[2, 54], Operations: ['42/21=2', '57-3=54']
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,56 unequal: No Solution
Exploring Operation: 2+54=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[57, 21, 42, 3], Operations: []
Exploring Operation: 42/21=2, Resulting Numbers: [57, 3, 2]
Generated Node #0,1: 56:[57, 3, 2] Operation: 42/21=2
Moving to Node #0,1
Current State: 56:[57, 3, 2], Operations: ['42/21=2']
Exploring Operation: 57-3=54, Resulting Numbers: [2, 54]
Generated Node #0,1,1: 56:[2, 54] Operation: 57-3=54
Moving to Node #0,1,1
Current State: 56:[2, 54], Operations: ['42/21=2', '57-3=54']
Exploring Operation: 2+54=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
4,
92,
6,
54
] | 25 | [
"4+92=96",
"54+96=150",
"150/6=25"
] | Current State: 25:[4, 92, 6, 54], Operations: []
Exploring Operation: 4+92=96, Resulting Numbers: [6, 54, 96]
Generated Node #2: [6, 54, 96] from Operation: 4+92=96
Current State: 25:[6, 54, 96], Operations: ['4+92=96']
Exploring Operation: 54+96=150, Resulting Numbers: [6, 150]
Generated Node #3: [6, 150] from Operation: 54+96=150
Current State: 25:[6, 150], Operations: ['4+92=96', '54+96=150']
Exploring Operation: 150/6=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[4, 92, 6, 54], Operations: []
Exploring Operation: 92/4=23, Resulting Numbers: [6, 54, 23]
Generated Node #0,0: 25:[6, 54, 23] Operation: 92/4=23
Exploring Operation: 92-54=38, Resulting Numbers: [4, 6, 38]
Generated Node #0,1: 25:[4, 6, 38] Operation: 92-54=38
Start Sub Search at level 1: Moving to Node #0,1
Current State: 25:[4, 6, 38], Operations: ['92-54=38']
Exploring Operation: 38-4=34, Resulting Numbers: [6, 34]
Generated Node #0,1,0: 25:[6, 34] Operation: 38-4=34
Exploring Operation: 38-6=32, Resulting Numbers: [4, 32]
Generated Node #0,1,1: 25:[4, 32] Operation: 38-6=32
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 25:[4, 32], Operations: ['92-54=38', '38-6=32']
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,25 unequal: No Solution
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 25:[6, 34], Operations: ['92-54=38', '38-4=34']
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,25 unequal: No Solution
Exploring Operation: 6+34=40, Resulting Numbers: [40]
40,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[6, 54, 23], Operations: ['92/4=23']
Exploring Operation: 54-23=31, Resulting Numbers: [6, 31]
Generated Node #0,0,0: 25:[6, 31] Operation: 54-23=31
Exploring Operation: 54/6=9, Resulting Numbers: [23, 9]
Generated Node #0,0,1: 25:[23, 9] Operation: 54/6=9
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 25:[23, 9], Operations: ['92/4=23', '54/6=9']
Exploring Operation: 23+9=32, Resulting Numbers: [32]
32,25 unequal: No Solution
Exploring Operation: 23-9=14, Resulting Numbers: [14]
14,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 25:[6, 31], Operations: ['92/4=23', '54-23=31']
Exploring Operation: 31-6=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[4, 92, 6, 54], Operations: []
Exploring Operation: 92/4=23, Resulting Numbers: [6, 54, 23]
Generated Node #0,0: 25:[6, 54, 23] Operation: 92/4=23
Moving to Node #0,0
Current State: 25:[6, 54, 23], Operations: ['92/4=23']
Exploring Operation: 54-23=31, Resulting Numbers: [6, 31]
Generated Node #0,0,0: 25:[6, 31] Operation: 54-23=31
Moving to Node #0,0,0
Current State: 25:[6, 31], Operations: ['92/4=23', '54-23=31']
Exploring Operation: 31-6=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_2 | mult_heuristic |
[
32,
44,
37,
30
] | 19 | [
"44-32=12",
"37-30=7",
"12+7=19"
] | Current State: 19:[32, 44, 37, 30], Operations: []
Exploring Operation: 44-32=12, Resulting Numbers: [37, 30, 12]
Generated Node #2: [37, 30, 12] from Operation: 44-32=12
Current State: 19:[37, 30, 12], Operations: ['44-32=12']
Exploring Operation: 37-30=7, Resulting Numbers: [12, 7]
Generated Node #3: [12, 7] from Operation: 37-30=7
Current State: 19:[12, 7], Operations: ['44-32=12', '37-30=7']
Exploring Operation: 12+7=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[32, 44, 37, 30], Operations: []
Exploring Operation: 44-30=14, Resulting Numbers: [32, 37, 14]
Generated Node #0,0: 19:[32, 37, 14] Operation: 44-30=14
Exploring Operation: 37-32=5, Resulting Numbers: [44, 30, 5]
Generated Node #0,1: 19:[44, 30, 5] Operation: 37-32=5
Exploring Operation: 37-30=7, Resulting Numbers: [32, 44, 7]
Generated Node #0,2: 19:[32, 44, 7] Operation: 37-30=7
Exploring Operation: 44-32=12, Resulting Numbers: [37, 30, 12]
Generated Node #0,3: 19:[37, 30, 12] Operation: 44-32=12
Exploring Operation: 44-37=7, Resulting Numbers: [32, 30, 7]
Generated Node #0,4: 19:[32, 30, 7] Operation: 44-37=7
Moving to Node #0,0
Current State: 19:[32, 37, 14], Operations: ['44-30=14']
Exploring Operation: 37-14=23, Resulting Numbers: [32, 23]
Generated Node #0,0,0: 19:[32, 23] Operation: 37-14=23
Exploring Operation: 37-32=5, Resulting Numbers: [14, 5]
Generated Node #0,0,1: 19:[14, 5] Operation: 37-32=5
Exploring Operation: 32-14=18, Resulting Numbers: [37, 18]
Generated Node #0,0,2: 19:[37, 18] Operation: 32-14=18
Exploring Operation: 32+14=46, Resulting Numbers: [37, 46]
Generated Node #0,0,3: 19:[37, 46] Operation: 32+14=46
Exploring Operation: 37+14=51, Resulting Numbers: [32, 51]
Generated Node #0,0,4: 19:[32, 51] Operation: 37+14=51
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[32, 23], Operations: ['44-30=14', '37-14=23']
Exploring Operation: 32*23=736, Resulting Numbers: [736]
736,19 unequal: No Solution
Exploring Operation: 32+23=55, Resulting Numbers: [55]
55,19 unequal: No Solution
Exploring Operation: 32-23=9, Resulting Numbers: [9]
9,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,1
Current State: 19:[14, 5], Operations: ['44-30=14', '37-32=5']
Exploring Operation: 14*5=70, Resulting Numbers: [70]
70,19 unequal: No Solution
Exploring Operation: 14+5=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[32, 44, 37, 30], Operations: []
Exploring Operation: 44-30=14, Resulting Numbers: [32, 37, 14]
Generated Node #0,0: 19:[32, 37, 14] Operation: 44-30=14
Moving to Node #0,0
Current State: 19:[32, 37, 14], Operations: ['44-30=14']
Exploring Operation: 37-32=5, Resulting Numbers: [14, 5]
Generated Node #0,0,1: 19:[14, 5] Operation: 37-32=5
Moving to Node #0,0,1
Current State: 19:[14, 5], Operations: ['44-30=14', '37-32=5']
Exploring Operation: 14+5=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_5 | mult_heuristic |
[
79,
6,
10,
74
] | 80 | [
"79-74=5",
"6+10=16",
"5*16=80"
] | Current State: 80:[79, 6, 10, 74], Operations: []
Exploring Operation: 79-74=5, Resulting Numbers: [6, 10, 5]
Generated Node #2: [6, 10, 5] from Operation: 79-74=5
Current State: 80:[6, 10, 5], Operations: ['79-74=5']
Exploring Operation: 6+10=16, Resulting Numbers: [5, 16]
Generated Node #3: [5, 16] from Operation: 6+10=16
Current State: 80:[5, 16], Operations: ['79-74=5', '6+10=16']
Exploring Operation: 5*16=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[79, 6, 10, 74], Operations: []
Exploring Operation: 79-74=5, Resulting Numbers: [6, 10, 5]
Generated Node #0,0: 80:[6, 10, 5] Operation: 79-74=5
Exploring Operation: 6+74=80, Resulting Numbers: [79, 10, 80]
Generated Node #0,1: 80:[79, 10, 80] Operation: 6+74=80
Exploring Operation: 6+10=16, Resulting Numbers: [79, 74, 16]
Generated Node #0,2: 80:[79, 74, 16] Operation: 6+10=16
Exploring Operation: 10+74=84, Resulting Numbers: [79, 6, 84]
Generated Node #0,3: 80:[79, 6, 84] Operation: 10+74=84
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[6, 10, 5], Operations: ['79-74=5']
Exploring Operation: 6+10=16, Resulting Numbers: [5, 16]
Generated Node #0,0,0: 80:[5, 16] Operation: 6+10=16
Exploring Operation: 6+5=11, Resulting Numbers: [10, 11]
Generated Node #0,0,1: 80:[10, 11] Operation: 6+5=11
Exploring Operation: 10-6=4, Resulting Numbers: [5, 4]
Generated Node #0,0,2: 80:[5, 4] Operation: 10-6=4
Exploring Operation: 6-5=1, Resulting Numbers: [10, 1]
Generated Node #0,0,3: 80:[10, 1] Operation: 6-5=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 80:[5, 16], Operations: ['79-74=5', '6+10=16']
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,80 unequal: No Solution
Exploring Operation: 5+16=21, Resulting Numbers: [21]
21,80 unequal: No Solution
Exploring Operation: 5*16=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[79, 6, 10, 74], Operations: []
Exploring Operation: 79-74=5, Resulting Numbers: [6, 10, 5]
Generated Node #0,0: 80:[6, 10, 5] Operation: 79-74=5
Moving to Node #0,0
Current State: 80:[6, 10, 5], Operations: ['79-74=5']
Exploring Operation: 6+10=16, Resulting Numbers: [5, 16]
Generated Node #0,0,0: 80:[5, 16] Operation: 6+10=16
Moving to Node #0,0,0
Current State: 80:[5, 16], Operations: ['79-74=5', '6+10=16']
Exploring Operation: 5*16=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
86,
37,
41,
10
] | 80 | [
"86-37=49",
"41-10=31",
"49+31=80"
] | Current State: 80:[86, 37, 41, 10], Operations: []
Exploring Operation: 86-37=49, Resulting Numbers: [41, 10, 49]
Generated Node #2: [41, 10, 49] from Operation: 86-37=49
Current State: 80:[41, 10, 49], Operations: ['86-37=49']
Exploring Operation: 41-10=31, Resulting Numbers: [49, 31]
Generated Node #3: [49, 31] from Operation: 41-10=31
Current State: 80:[49, 31], Operations: ['86-37=49', '41-10=31']
Exploring Operation: 49+31=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[86, 37, 41, 10], Operations: []
Exploring Operation: 86-10=76, Resulting Numbers: [37, 41, 76]
Generated Node #0,0: 80:[37, 41, 76] Operation: 86-10=76
Exploring Operation: 41-37=4, Resulting Numbers: [86, 10, 4]
Generated Node #0,1: 80:[86, 10, 4] Operation: 41-37=4
Exploring Operation: 86-41=45, Resulting Numbers: [37, 10, 45]
Generated Node #0,2: 80:[37, 10, 45] Operation: 86-41=45
Moving to Node #0,1
Current State: 80:[86, 10, 4], Operations: ['41-37=4']
Exploring Operation: 86-10=76, Resulting Numbers: [4, 76]
Generated Node #0,1,0: 80:[4, 76] Operation: 86-10=76
Exploring Operation: 10*4=40, Resulting Numbers: [86, 40]
Generated Node #0,1,1: 80:[86, 40] Operation: 10*4=40
Exploring Operation: 86-4=82, Resulting Numbers: [10, 82]
Generated Node #0,1,2: 80:[10, 82] Operation: 86-4=82
Moving to Node #0,0
Current State: 80:[37, 41, 76], Operations: ['86-10=76']
Exploring Operation: 76-37=39, Resulting Numbers: [41, 39]
Generated Node #0,0,0: 80:[41, 39] Operation: 76-37=39
Exploring Operation: 41-37=4, Resulting Numbers: [76, 4]
Generated Node #0,0,1: 80:[76, 4] Operation: 41-37=4
Exploring Operation: 37+41=78, Resulting Numbers: [76, 78]
Generated Node #0,0,2: 80:[76, 78] Operation: 37+41=78
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 80:[41, 39], Operations: ['86-10=76', '76-37=39']
Exploring Operation: 41-39=2, Resulting Numbers: [2]
2,80 unequal: No Solution
Exploring Operation: 41+39=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[86, 37, 41, 10], Operations: []
Exploring Operation: 86-10=76, Resulting Numbers: [37, 41, 76]
Generated Node #0,0: 80:[37, 41, 76] Operation: 86-10=76
Moving to Node #0,0
Current State: 80:[37, 41, 76], Operations: ['86-10=76']
Exploring Operation: 76-37=39, Resulting Numbers: [41, 39]
Generated Node #0,0,0: 80:[41, 39] Operation: 76-37=39
Moving to Node #0,0,0
Current State: 80:[41, 39], Operations: ['86-10=76', '76-37=39']
Exploring Operation: 41+39=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | mult_heuristic |
[
72,
5,
18,
44
] | 35 | [
"72/18=4",
"44-5=39",
"39-4=35"
] | Current State: 35:[72, 5, 18, 44], Operations: []
Exploring Operation: 72/18=4, Resulting Numbers: [5, 44, 4]
Generated Node #2: [5, 44, 4] from Operation: 72/18=4
Current State: 35:[5, 44, 4], Operations: ['72/18=4']
Exploring Operation: 44-5=39, Resulting Numbers: [4, 39]
Generated Node #3: [4, 39] from Operation: 44-5=39
Current State: 35:[4, 39], Operations: ['72/18=4', '44-5=39']
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[72, 5, 18, 44], Operations: []
Exploring Operation: 72/18=4, Resulting Numbers: [5, 44, 4]
Generated Node #0,0: 35:[5, 44, 4] Operation: 72/18=4
Exploring Operation: 72-18=54, Resulting Numbers: [5, 44, 54]
Generated Node #0,1: 35:[5, 44, 54] Operation: 72-18=54
Exploring Operation: 72-44=28, Resulting Numbers: [5, 18, 28]
Generated Node #0,2: 35:[5, 18, 28] Operation: 72-44=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[5, 44, 4], Operations: ['72/18=4']
Exploring Operation: 44-4=40, Resulting Numbers: [5, 40]
Generated Node #0,0,0: 35:[5, 40] Operation: 44-4=40
Exploring Operation: 44/4=11, Resulting Numbers: [5, 11]
Generated Node #0,0,1: 35:[5, 11] Operation: 44/4=11
Exploring Operation: 44-5=39, Resulting Numbers: [4, 39]
Generated Node #0,0,2: 35:[4, 39] Operation: 44-5=39
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 35:[5, 11], Operations: ['72/18=4', '44/4=11']
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,35 unequal: No Solution
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,35 unequal: No Solution
No 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: 35:[5, 40], Operations: ['72/18=4', '44-4=40']
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[72, 5, 18, 44], Operations: []
Exploring Operation: 72/18=4, Resulting Numbers: [5, 44, 4]
Generated Node #0,0: 35:[5, 44, 4] Operation: 72/18=4
Moving to Node #0,0
Current State: 35:[5, 44, 4], Operations: ['72/18=4']
Exploring Operation: 44-4=40, Resulting Numbers: [5, 40]
Generated Node #0,0,0: 35:[5, 40] Operation: 44-4=40
Moving to Node #0,0,0
Current State: 35:[5, 40], Operations: ['72/18=4', '44-4=40']
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_3 | sum_heuristic |
[
10,
21,
18,
21
] | 27 | [
"10+18=28",
"21/21=1",
"28-1=27"
] | Current State: 27:[10, 21, 18, 21], Operations: []
Exploring Operation: 10+18=28, Resulting Numbers: [21, 21, 28]
Generated Node #2: [21, 21, 28] from Operation: 10+18=28
Current State: 27:[21, 21, 28], Operations: ['10+18=28']
Exploring Operation: 21/21=1, Resulting Numbers: [28, 1]
Generated Node #3: [28, 1] from Operation: 21/21=1
Current State: 27:[28, 1], Operations: ['10+18=28', '21/21=1']
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[10, 21, 18, 21], Operations: []
Exploring Operation: 21/21=1, Resulting Numbers: [10, 18, 1]
Generated Node #0,0: 27:[10, 18, 1] Operation: 21/21=1
Exploring Operation: 21-18=3, Resulting Numbers: [10, 21, 3]
Generated Node #0,1: 27:[10, 21, 3] Operation: 21-18=3
Exploring Operation: 21-18=3, Resulting Numbers: [10, 21, 3]
Generated Node #0,2: 27:[10, 21, 3] Operation: 21-18=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 27:[10, 21, 3], Operations: ['21-18=3']
Exploring Operation: 21/3=7, Resulting Numbers: [10, 7]
Generated Node #0,1,0: 27:[10, 7] Operation: 21/3=7
Exploring Operation: 21-10=11, Resulting Numbers: [3, 11]
Generated Node #0,1,1: 27:[3, 11] Operation: 21-10=11
Exploring Operation: 10+21=31, Resulting Numbers: [3, 31]
Generated Node #0,1,2: 27:[3, 31] Operation: 10+21=31
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 27:[3, 11], Operations: ['21-18=3', '21-10=11']
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,27 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,27 unequal: No Solution
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,27 unequal: No Solution
No 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: 27:[10, 7], Operations: ['21-18=3', '21/3=7']
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,27 unequal: No Solution
Exploring Operation: 10+7=17, Resulting Numbers: [17]
17,27 unequal: No Solution
Exploring Operation: 10*7=70, Resulting Numbers: [70]
70,27 unequal: No Solution
No 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: 27:[3, 31], Operations: ['21-18=3', '10+21=31']
Exploring Operation: 3*31=93, Resulting Numbers: [93]
93,27 unequal: No Solution
Exploring Operation: 3+31=34, Resulting Numbers: [34]
34,27 unequal: No Solution
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,27 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: 27:[10, 21, 3], Operations: ['21-18=3']
Exploring Operation: 21/3=7, Resulting Numbers: [10, 7]
Generated Node #0,2,0: 27:[10, 7] Operation: 21/3=7
Exploring Operation: 10+21=31, Resulting Numbers: [3, 31]
Generated Node #0,2,1: 27:[3, 31] Operation: 10+21=31
Exploring Operation: 21-10=11, Resulting Numbers: [3, 11]
Generated Node #0,2,2: 27:[3, 11] Operation: 21-10=11
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 27:[3, 11], Operations: ['21-18=3', '21-10=11']
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,27 unequal: No Solution
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,27 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,27 unequal: No Solution
No 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: 27:[10, 7], Operations: ['21-18=3', '21/3=7']
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,27 unequal: No Solution
Exploring Operation: 10*7=70, Resulting Numbers: [70]
70,27 unequal: No Solution
Exploring Operation: 10+7=17, Resulting Numbers: [17]
17,27 unequal: No Solution
No 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: 27:[3, 31], Operations: ['21-18=3', '10+21=31']
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,27 unequal: No Solution
Exploring Operation: 3*31=93, Resulting Numbers: [93]
93,27 unequal: No Solution
Exploring Operation: 3+31=34, Resulting Numbers: [34]
34,27 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: 27:[10, 18, 1], Operations: ['21/21=1']
Exploring Operation: 18-10=8, Resulting Numbers: [1, 8]
Generated Node #0,0,0: 27:[1, 8] Operation: 18-10=8
Exploring Operation: 10-1=9, Resulting Numbers: [18, 9]
Generated Node #0,0,1: 27:[18, 9] Operation: 10-1=9
Exploring Operation: 10+18=28, Resulting Numbers: [1, 28]
Generated Node #0,0,2: 27:[1, 28] Operation: 10+18=28
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 27:[1, 8], Operations: ['21/21=1', '18-10=8']
Exploring Operation: 1*8=8, Resulting Numbers: [8]
8,27 unequal: No Solution
Exploring Operation: 1+8=9, Resulting Numbers: [9]
9,27 unequal: No Solution
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,27 unequal: No Solution
No 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: 27:[1, 28], Operations: ['21/21=1', '10+18=28']
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[10, 21, 18, 21], Operations: []
Exploring Operation: 21/21=1, Resulting Numbers: [10, 18, 1]
Generated Node #0,0: 27:[10, 18, 1] Operation: 21/21=1
Moving to Node #0,0
Current State: 27:[10, 18, 1], Operations: ['21/21=1']
Exploring Operation: 10+18=28, Resulting Numbers: [1, 28]
Generated Node #0,0,2: 27:[1, 28] Operation: 10+18=28
Moving to Node #0,0,2
Current State: 27:[1, 28], Operations: ['21/21=1', '10+18=28']
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967014 | hs_3 | sum_heuristic |
[
90,
30,
51,
90
] | 34 | [
"90-30=60",
"51*60=3060",
"3060/90=34"
] | Current State: 34:[90, 30, 51, 90], Operations: []
Exploring Operation: 90-30=60, Resulting Numbers: [51, 60]
Generated Node #2: [51, 60] from Operation: 90-30=60
Current State: 34:[51, 60], Operations: ['90-30=60']
Exploring Operation: 51*60=3060, Resulting Numbers: [3060]
3060,34 equal: Goal Reached
Exploring Operation: 3060/90=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[90, 30, 51, 90], Operations: []
Exploring Operation: 90/90=1, Resulting Numbers: [30, 51, 1]
Generated Node #0,0: 34:[30, 51, 1] Operation: 90/90=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[30, 51, 1], Operations: ['90/90=1']
Exploring Operation: 51-30=21, Resulting Numbers: [1, 21]
Generated Node #0,0,0: 34:[1, 21] Operation: 51-30=21
Moving to Node #0,0,0
Current State: 34:[1, 21], Operations: ['90/90=1', '51-30=21']
Exploring Operation: 21-1=20, Resulting Numbers: [20]
20,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 | mult_heuristic |
[
6,
77,
28,
71
] | 28 | [
"77-6=71",
"28+71=99",
"99-71=28"
] | Current State: 28:[6, 77, 28, 71], Operations: []
Exploring Operation: 77-6=71, Resulting Numbers: [28, 71, 71]
Generated Node #2: [28, 71, 71] from Operation: 77-6=71
Current State: 28:[28, 71, 71], Operations: ['77-6=71']
Exploring Operation: 28+71=99, Resulting Numbers: [99]
99,28 equal: Goal Reached
Exploring Operation: 99-71=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[6, 77, 28, 71], Operations: []
Exploring Operation: 77-71=6, Resulting Numbers: [6, 28, 6]
Generated Node #0,0: 28:[6, 28, 6] Operation: 77-71=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[6, 28, 6], Operations: ['77-71=6']
Exploring Operation: 6/6=1, Resulting Numbers: [28, 1]
Generated Node #0,0,0: 28:[28, 1] Operation: 6/6=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 28:[28, 1], Operations: ['77-71=6', '6/6=1']
Exploring Operation: 28*1=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[6, 77, 28, 71], Operations: []
Exploring Operation: 77-71=6, Resulting Numbers: [6, 28, 6]
Generated Node #0,0: 28:[6, 28, 6] Operation: 77-71=6
Moving to Node #0,0
Current State: 28:[6, 28, 6], Operations: ['77-71=6']
Exploring Operation: 6/6=1, Resulting Numbers: [28, 1]
Generated Node #0,0,0: 28:[28, 1] Operation: 6/6=1
Moving to Node #0,0,0
Current State: 28:[28, 1], Operations: ['77-71=6', '6/6=1']
Exploring Operation: 28*1=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
58,
37,
20,
94
] | 60 | [
"94-20=74",
"74/37=2",
"58+2=60"
] | Current State: 60:[58, 37, 20, 94], Operations: []
Exploring Operation: 94-20=74, Resulting Numbers: [58, 37, 74]
Generated Node #2: [58, 37, 74] from Operation: 94-20=74
Current State: 60:[58, 37, 74], Operations: ['94-20=74']
Exploring Operation: 74/37=2, Resulting Numbers: [58, 2]
Generated Node #3: [58, 2] from Operation: 74/37=2
Current State: 60:[58, 2], Operations: ['94-20=74', '74/37=2']
Exploring Operation: 58+2=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[58, 37, 20, 94], Operations: []
Exploring Operation: 94-37=57, Resulting Numbers: [58, 20, 57]
Generated Node #0,0: 60:[58, 20, 57] Operation: 94-37=57
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[58, 20, 57], Operations: ['94-37=57']
Exploring Operation: 58-57=1, Resulting Numbers: [20, 1]
Generated Node #0,0,0: 60:[20, 1] Operation: 58-57=1
Moving to Node #0,0,0
Current State: 60:[20, 1], Operations: ['94-37=57', '58-57=1']
Exploring Operation: 20*1=20, Resulting Numbers: [20]
20,60 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 |
[
37,
40,
24,
80
] | 27 | [
"37+40=77",
"24+80=104",
"104-77=27"
] | Current State: 27:[37, 40, 24, 80], Operations: []
Exploring Operation: 37+40=77, Resulting Numbers: [24, 80, 77]
Generated Node #2: [24, 80, 77] from Operation: 37+40=77
Current State: 27:[24, 80, 77], Operations: ['37+40=77']
Exploring Operation: 24+80=104, Resulting Numbers: [77, 104]
Generated Node #3: [77, 104] from Operation: 24+80=104
Current State: 27:[77, 104], Operations: ['37+40=77', '24+80=104']
Exploring Operation: 104-77=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[37, 40, 24, 80], Operations: []
Exploring Operation: 40-37=3, Resulting Numbers: [24, 80, 3]
Generated Node #0,0: 27:[24, 80, 3] Operation: 40-37=3
Exploring Operation: 80-40=40, Resulting Numbers: [37, 24, 40]
Generated Node #0,1: 27:[37, 24, 40] Operation: 80-40=40
Exploring Operation: 80-24=56, Resulting Numbers: [37, 40, 56]
Generated Node #0,2: 27:[37, 40, 56] Operation: 80-24=56
Exploring Operation: 80/40=2, Resulting Numbers: [37, 24, 2]
Generated Node #0,3: 27:[37, 24, 2] Operation: 80/40=2
Exploring Operation: 80-37=43, Resulting Numbers: [40, 24, 43]
Generated Node #0,4: 27:[40, 24, 43] Operation: 80-37=43
Moving to Node #0,3
Current State: 27:[37, 24, 2], Operations: ['80/40=2']
Exploring Operation: 37-2=35, Resulting Numbers: [24, 35]
Generated Node #0,3,0: 27:[24, 35] Operation: 37-2=35
Exploring Operation: 37+2=39, Resulting Numbers: [24, 39]
Generated Node #0,3,1: 27:[24, 39] Operation: 37+2=39
Exploring Operation: 24+2=26, Resulting Numbers: [37, 26]
Generated Node #0,3,2: 27:[37, 26] Operation: 24+2=26
Exploring Operation: 37-24=13, Resulting Numbers: [2, 13]
Generated Node #0,3,3: 27:[2, 13] Operation: 37-24=13
Exploring Operation: 24/2=12, Resulting Numbers: [37, 12]
Generated Node #0,3,4: 27:[37, 12] Operation: 24/2=12
Moving to Node #0,1
Current State: 27:[37, 24, 40], Operations: ['80-40=40']
Exploring Operation: 37-24=13, Resulting Numbers: [40, 13]
Generated Node #0,1,0: 27:[40, 13] Operation: 37-24=13
Exploring Operation: 24+40=64, Resulting Numbers: [37, 64]
Generated Node #0,1,1: 27:[37, 64] Operation: 24+40=64
Exploring Operation: 40-37=3, Resulting Numbers: [24, 3]
Generated Node #0,1,2: 27:[24, 3] Operation: 40-37=3
Exploring Operation: 37+24=61, Resulting Numbers: [40, 61]
Generated Node #0,1,3: 27:[40, 61] Operation: 37+24=61
Exploring Operation: 40-24=16, Resulting Numbers: [37, 16]
Generated Node #0,1,4: 27:[37, 16] Operation: 40-24=16
Moving to Node #0,4
Current State: 27:[40, 24, 43], Operations: ['80-37=43']
Exploring Operation: 43-40=3, Resulting Numbers: [24, 3]
Generated Node #0,4,0: 27:[24, 3] Operation: 43-40=3
Exploring Operation: 24+43=67, Resulting Numbers: [40, 67]
Generated Node #0,4,1: 27:[40, 67] Operation: 24+43=67
Exploring Operation: 40-24=16, Resulting Numbers: [43, 16]
Generated Node #0,4,2: 27:[43, 16] Operation: 40-24=16
Exploring Operation: 40+24=64, Resulting Numbers: [43, 64]
Generated Node #0,4,3: 27:[43, 64] Operation: 40+24=64
Exploring Operation: 43-24=19, Resulting Numbers: [40, 19]
Generated Node #0,4,4: 27:[40, 19] Operation: 43-24=19
Moving to Node #0,2
Current State: 27:[37, 40, 56], Operations: ['80-24=56']
Exploring Operation: 37+56=93, Resulting Numbers: [40, 93]
Generated Node #0,2,0: 27:[40, 93] Operation: 37+56=93
Exploring Operation: 56-37=19, Resulting Numbers: [40, 19]
Generated Node #0,2,1: 27:[40, 19] Operation: 56-37=19
Exploring Operation: 40-37=3, Resulting Numbers: [56, 3]
Generated Node #0,2,2: 27:[56, 3] Operation: 40-37=3
Exploring Operation: 37+40=77, Resulting Numbers: [56, 77]
Generated Node #0,2,3: 27:[56, 77] Operation: 37+40=77
Exploring Operation: 56-40=16, Resulting Numbers: [37, 16]
Generated Node #0,2,4: 27:[37, 16] Operation: 56-40=16
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 27:[37, 16], Operations: ['80-24=56', '56-40=16']
Exploring Operation: 37-16=21, Resulting Numbers: [21]
21,27 unequal: No Solution
Exploring Operation: 37+16=53, Resulting Numbers: [53]
53,27 unequal: No Solution
Exploring Operation: 37*16=592, Resulting Numbers: [592]
592,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 27:[40, 19], Operations: ['80-24=56', '56-37=19']
Exploring Operation: 40*19=760, Resulting Numbers: [760]
760,27 unequal: No Solution
Exploring Operation: 40-19=21, Resulting Numbers: [21]
21,27 unequal: No Solution
Exploring Operation: 40+19=59, Resulting Numbers: [59]
59,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 27:[56, 3], Operations: ['80-24=56', '40-37=3']
Exploring Operation: 56-3=53, Resulting Numbers: [53]
53,27 unequal: No Solution
Exploring Operation: 56+3=59, Resulting Numbers: [59]
59,27 unequal: No Solution
Exploring Operation: 56*3=168, Resulting Numbers: [168]
168,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 27:[40, 93], Operations: ['80-24=56', '37+56=93']
Exploring Operation: 40+93=133, Resulting Numbers: [133]
133,27 unequal: No Solution
Exploring Operation: 93-40=53, Resulting Numbers: [53]
53,27 unequal: No Solution
Exploring Operation: 40*93=3720, Resulting Numbers: [3720]
3720,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 27:[56, 77], Operations: ['80-24=56', '37+40=77']
Exploring Operation: 56+77=133, Resulting Numbers: [133]
133,27 unequal: No Solution
Exploring Operation: 56*77=4312, Resulting Numbers: [4312]
4312,27 unequal: No Solution
Exploring Operation: 77-56=21, Resulting Numbers: [21]
21,27 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: 27:[24, 80, 3], Operations: ['40-37=3']
Exploring Operation: 80-3=77, Resulting Numbers: [24, 77]
Generated Node #0,0,0: 27:[24, 77] Operation: 80-3=77
Exploring Operation: 24+3=27, Resulting Numbers: [80, 27]
Generated Node #0,0,1: 27:[80, 27] Operation: 24+3=27
Exploring Operation: 24/3=8, Resulting Numbers: [80, 8]
Generated Node #0,0,2: 27:[80, 8] Operation: 24/3=8
Exploring Operation: 80-24=56, Resulting Numbers: [3, 56]
Generated Node #0,0,3: 27:[3, 56] Operation: 80-24=56
Exploring Operation: 24-3=21, Resulting Numbers: [80, 21]
Generated Node #0,0,4: 27:[80, 21] Operation: 24-3=21
Moving to Node #0,1,2
Current State: 27:[24, 3], Operations: ['80-40=40', '40-37=3']
Exploring Operation: 24+3=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[37, 40, 24, 80], Operations: []
Exploring Operation: 80-40=40, Resulting Numbers: [37, 24, 40]
Generated Node #0,1: 27:[37, 24, 40] Operation: 80-40=40
Moving to Node #0,1
Current State: 27:[37, 24, 40], Operations: ['80-40=40']
Exploring Operation: 40-37=3, Resulting Numbers: [24, 3]
Generated Node #0,1,2: 27:[24, 3] Operation: 40-37=3
Moving to Node #0,1,2
Current State: 27:[24, 3], Operations: ['80-40=40', '40-37=3']
Exploring Operation: 24+3=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 0.956597 | hs_5 | mult_heuristic |
[
5,
57,
98,
63
] | 74 | [
"57+63=120",
"120/5=24",
"98-24=74"
] | Current State: 74:[5, 57, 98, 63], Operations: []
Exploring Operation: 57+63=120, Resulting Numbers: [5, 98, 120]
Generated Node #2: [5, 98, 120] from Operation: 57+63=120
Current State: 74:[5, 98, 120], Operations: ['57+63=120']
Exploring Operation: 120/5=24, Resulting Numbers: [98, 24]
Generated Node #3: [98, 24] from Operation: 120/5=24
Current State: 74:[98, 24], Operations: ['57+63=120', '120/5=24']
Exploring Operation: 98-24=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[5, 57, 98, 63], Operations: []
Exploring Operation: 63-57=6, Resulting Numbers: [5, 98, 6]
Generated Node #0,0: 74:[5, 98, 6] Operation: 63-57=6
Exploring Operation: 98-57=41, Resulting Numbers: [5, 63, 41]
Generated Node #0,1: 74:[5, 63, 41] Operation: 98-57=41
Exploring Operation: 98-63=35, Resulting Numbers: [5, 57, 35]
Generated Node #0,2: 74:[5, 57, 35] Operation: 98-63=35
Moving to Node #0,1
Current State: 74:[5, 63, 41], Operations: ['98-57=41']
Exploring Operation: 5+63=68, Resulting Numbers: [41, 68]
Generated Node #0,1,0: 74:[41, 68] Operation: 5+63=68
Exploring Operation: 41-5=36, Resulting Numbers: [63, 36]
Generated Node #0,1,1: 74:[63, 36] Operation: 41-5=36
Exploring Operation: 63-41=22, Resulting Numbers: [5, 22]
Generated Node #0,1,2: 74:[5, 22] Operation: 63-41=22
Moving to Node #0,2
Current State: 74:[5, 57, 35], Operations: ['98-63=35']
Exploring Operation: 57-35=22, Resulting Numbers: [5, 22]
Generated Node #0,2,0: 74:[5, 22] Operation: 57-35=22
Exploring Operation: 5+57=62, Resulting Numbers: [35, 62]
Generated Node #0,2,1: 74:[35, 62] Operation: 5+57=62
Exploring Operation: 57-5=52, Resulting Numbers: [35, 52]
Generated Node #0,2,2: 74:[35, 52] Operation: 57-5=52
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 74:[35, 62], Operations: ['98-63=35', '5+57=62']
Exploring Operation: 35*62=2170, Resulting Numbers: [2170]
2170,74 unequal: No Solution
Exploring Operation: 62-35=27, Resulting Numbers: [27]
27,74 unequal: No Solution
Exploring Operation: 35+62=97, Resulting Numbers: [97]
97,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 74:[35, 52], Operations: ['98-63=35', '57-5=52']
Exploring Operation: 52-35=17, Resulting Numbers: [17]
17,74 unequal: No Solution
Exploring Operation: 35+52=87, Resulting Numbers: [87]
87,74 unequal: No Solution
Exploring Operation: 35*52=1820, Resulting Numbers: [1820]
1820,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 74:[5, 22], Operations: ['98-63=35', '57-35=22']
Exploring Operation: 5+22=27, Resulting Numbers: [27]
27,74 unequal: No Solution
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,74 unequal: No Solution
Exploring Operation: 5*22=110, Resulting Numbers: [110]
110,74 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: 74:[5, 98, 6], Operations: ['63-57=6']
Exploring Operation: 98-6=92, Resulting Numbers: [5, 92]
Generated Node #0,0,0: 74:[5, 92] Operation: 98-6=92
Exploring Operation: 98-5=93, Resulting Numbers: [6, 93]
Generated Node #0,0,1: 74:[6, 93] Operation: 98-5=93
Exploring Operation: 6-5=1, Resulting Numbers: [98, 1]
Generated Node #0,0,2: 74:[98, 1] Operation: 6-5=1
Moving to Node #0,1,0
Current State: 74:[41, 68], Operations: ['98-57=41', '5+63=68']
Exploring Operation: 68-41=27, Resulting Numbers: [27]
27,74 unequal: No Solution
Exploring Operation: 41+68=109, Resulting Numbers: [109]
109,74 unequal: No Solution
Exploring Operation: 41*68=2788, Resulting Numbers: [2788]
2788,74 unequal: No Solution
Moving to Node #0,1,1
Current State: 74:[63, 36], Operations: ['98-57=41', '41-5=36']
Exploring Operation: 63-36=27, Resulting Numbers: [27]
27,74 unequal: No Solution
Exploring Operation: 63+36=99, Resulting Numbers: [99]
99,74 unequal: No Solution
Exploring Operation: 63*36=2268, Resulting Numbers: [2268]
2268,74 unequal: No Solution
Moving to Node #0,1,2
Current State: 74:[5, 22], Operations: ['98-57=41', '63-41=22']
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,74 unequal: No Solution
Exploring Operation: 5+22=27, Resulting Numbers: [27]
27,74 unequal: No Solution
Exploring Operation: 5*22=110, Resulting Numbers: [110]
110,74 unequal: No Solution
Moving to Node #0,0,0
Current State: 74:[5, 92], Operations: ['63-57=6', '98-6=92']
Exploring Operation: 92-5=87, Resulting Numbers: [87]
87,74 unequal: No Solution
Exploring Operation: 5*92=460, Resulting Numbers: [460]
460,74 unequal: No Solution
Exploring Operation: 5+92=97, Resulting Numbers: [97]
97,74 unequal: No Solution
Moving to Node #0,0,1
Current State: 74:[6, 93], Operations: ['63-57=6', '98-5=93']
Exploring Operation: 6*93=558, Resulting Numbers: [558]
558,74 unequal: No Solution
Exploring Operation: 6+93=99, Resulting Numbers: [99]
99,74 unequal: No Solution
Exploring Operation: 93-6=87, Resulting Numbers: [87]
87,74 unequal: No Solution
Moving to Node #0,0,2
Current State: 74:[98, 1], Operations: ['63-57=6', '6-5=1']
Exploring Operation: 98-1=97, Resulting Numbers: [97]
97,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
No solution found.
| 0 | hs_3 | mult_heuristic |
[
29,
65,
72,
64
] | 42 | [
"29+65=94",
"72+64=136",
"136-94=42"
] | Current State: 42:[29, 65, 72, 64], Operations: []
Exploring Operation: 29+65=94, Resulting Numbers: [72, 64, 94]
Generated Node #2: [72, 64, 94] from Operation: 29+65=94
Current State: 42:[72, 64, 94], Operations: ['29+65=94']
Exploring Operation: 72+64=136, Resulting Numbers: [94, 136]
Generated Node #3: [94, 136] from Operation: 72+64=136
Current State: 42:[94, 136], Operations: ['29+65=94', '72+64=136']
Exploring Operation: 136-94=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[29, 65, 72, 64], Operations: []
Exploring Operation: 72-65=7, Resulting Numbers: [29, 64, 7]
Generated Node #0,0: 42:[29, 64, 7] Operation: 72-65=7
Exploring Operation: 72-64=8, Resulting Numbers: [29, 65, 8]
Generated Node #0,1: 42:[29, 65, 8] Operation: 72-64=8
Moving to Node #0,0
Current State: 42:[29, 64, 7], Operations: ['72-65=7']
Exploring Operation: 64-29=35, Resulting Numbers: [7, 35]
Generated Node #0,0,0: 42:[7, 35] Operation: 64-29=35
Exploring Operation: 29-7=22, Resulting Numbers: [64, 22]
Generated Node #0,0,1: 42:[64, 22] Operation: 29-7=22
Moving to Node #0,1
Current State: 42:[29, 65, 8], Operations: ['72-64=8']
Exploring Operation: 65-29=36, Resulting Numbers: [8, 36]
Generated Node #0,1,0: 42:[8, 36] Operation: 65-29=36
Exploring Operation: 29-8=21, Resulting Numbers: [65, 21]
Generated Node #0,1,1: 42:[65, 21] Operation: 29-8=21
Moving to Node #0,0,0
Current State: 42:[7, 35], Operations: ['72-65=7', '64-29=35']
Exploring Operation: 35/7=5, Resulting Numbers: [5]
5,42 unequal: No Solution
Exploring Operation: 7+35=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[29, 65, 72, 64], Operations: []
Exploring Operation: 72-65=7, Resulting Numbers: [29, 64, 7]
Generated Node #0,0: 42:[29, 64, 7] Operation: 72-65=7
Moving to Node #0,0
Current State: 42:[29, 64, 7], Operations: ['72-65=7']
Exploring Operation: 64-29=35, Resulting Numbers: [7, 35]
Generated Node #0,0,0: 42:[7, 35] Operation: 64-29=35
Moving to Node #0,0,0
Current State: 42:[7, 35], Operations: ['72-65=7', '64-29=35']
Exploring Operation: 7+35=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 0.989583 | hs_2 | sum_heuristic |
[
69,
7,
18,
74
] | 61 | [
"74-18=56",
"56/7=8",
"69-8=61"
] | Current State: 61:[69, 7, 18, 74], Operations: []
Exploring Operation: 74-18=56, Resulting Numbers: [69, 7, 56]
Generated Node #2: [69, 7, 56] from Operation: 74-18=56
Current State: 61:[69, 7, 56], Operations: ['74-18=56']
Exploring Operation: 56/7=8, Resulting Numbers: [69, 8]
Generated Node #3: [69, 8] from Operation: 56/7=8
Current State: 61:[69, 8], Operations: ['74-18=56', '56/7=8']
Exploring Operation: 69-8=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[69, 7, 18, 74], Operations: []
Exploring Operation: 7+18=25, Resulting Numbers: [69, 74, 25]
Generated Node #0,0: 61:[69, 74, 25] Operation: 7+18=25
Exploring Operation: 74-7=67, Resulting Numbers: [69, 18, 67]
Generated Node #0,1: 61:[69, 18, 67] Operation: 74-7=67
Exploring Operation: 69-7=62, Resulting Numbers: [18, 74, 62]
Generated Node #0,2: 61:[18, 74, 62] Operation: 69-7=62
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[69, 74, 25], Operations: ['7+18=25']
Exploring Operation: 69-25=44, Resulting Numbers: [74, 44]
Generated Node #0,0,0: 61:[74, 44] Operation: 69-25=44
Exploring Operation: 69+25=94, Resulting Numbers: [74, 94]
Generated Node #0,0,1: 61:[74, 94] Operation: 69+25=94
Exploring Operation: 74-25=49, Resulting Numbers: [69, 49]
Generated Node #0,0,2: 61:[69, 49] Operation: 74-25=49
Moving to Node #0,0,2
Current State: 61:[69, 49], Operations: ['7+18=25', '74-25=49']
Exploring Operation: 69+49=118, Resulting Numbers: [118]
118,61 unequal: No Solution
Exploring Operation: 69*49=3381, Resulting Numbers: [3381]
3381,61 unequal: No Solution
Exploring Operation: 69-49=20, Resulting Numbers: [20]
20,61 unequal: No Solution
Moving to Node #0,0,0
Current State: 61:[74, 44], Operations: ['7+18=25', '69-25=44']
Exploring Operation: 74+44=118, Resulting Numbers: [118]
118,61 unequal: No Solution
Exploring Operation: 74*44=3256, Resulting Numbers: [3256]
3256,61 unequal: No Solution
Exploring Operation: 74-44=30, Resulting Numbers: [30]
30,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[74, 94], Operations: ['7+18=25', '69+25=94']
Exploring Operation: 74+94=168, Resulting Numbers: [168]
168,61 unequal: No Solution
Exploring Operation: 94-74=20, Resulting Numbers: [20]
20,61 unequal: No Solution
Exploring Operation: 74*94=6956, Resulting Numbers: [6956]
6956,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
Current State: 61:[69, 18, 67], Operations: ['74-7=67']
Exploring Operation: 67-18=49, Resulting Numbers: [69, 49]
Generated Node #0,1,0: 61:[69, 49] Operation: 67-18=49
Exploring Operation: 69-18=51, Resulting Numbers: [67, 51]
Generated Node #0,1,1: 61:[67, 51] Operation: 69-18=51
Exploring Operation: 69+18=87, Resulting Numbers: [67, 87]
Generated Node #0,1,2: 61:[67, 87] Operation: 69+18=87
Moving to Node #0,1,1
Current State: 61:[67, 51], Operations: ['74-7=67', '69-18=51']
Exploring Operation: 67*51=3417, Resulting Numbers: [3417]
3417,61 unequal: No Solution
Exploring Operation: 67-51=16, Resulting Numbers: [16]
16,61 unequal: No Solution
Exploring Operation: 67+51=118, Resulting Numbers: [118]
118,61 unequal: No Solution
Moving to Node #0,1,0
Current State: 61:[69, 49], Operations: ['74-7=67', '67-18=49']
Exploring Operation: 69+49=118, Resulting Numbers: [118]
118,61 unequal: No Solution
Exploring Operation: 69*49=3381, Resulting Numbers: [3381]
3381,61 unequal: No Solution
Exploring Operation: 69-49=20, Resulting Numbers: [20]
20,61 unequal: No Solution
Moving to Node #0,1,2
Current State: 61:[67, 87], Operations: ['74-7=67', '69+18=87']
Exploring Operation: 67*87=5829, Resulting Numbers: [5829]
5829,61 unequal: No Solution
Exploring Operation: 67+87=154, Resulting Numbers: [154]
154,61 unequal: No Solution
Exploring Operation: 87-67=20, Resulting Numbers: [20]
20,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,2
Current State: 61:[18, 74, 62], Operations: ['69-7=62']
Exploring Operation: 18+74=92, Resulting Numbers: [62, 92]
Generated Node #0,2,0: 61:[62, 92] Operation: 18+74=92
Exploring Operation: 62-18=44, Resulting Numbers: [74, 44]
Generated Node #0,2,1: 61:[74, 44] Operation: 62-18=44
Exploring Operation: 74-18=56, Resulting Numbers: [62, 56]
Generated Node #0,2,2: 61:[62, 56] Operation: 74-18=56
Moving to Node #0,2,2
Current State: 61:[62, 56], Operations: ['69-7=62', '74-18=56']
Exploring Operation: 62-56=6, Resulting Numbers: [6]
6,61 unequal: No Solution
Exploring Operation: 62+56=118, Resulting Numbers: [118]
118,61 unequal: No Solution
Exploring Operation: 62*56=3472, Resulting Numbers: [3472]
3472,61 unequal: No Solution
Moving to Node #0,2,1
Current State: 61:[74, 44], Operations: ['69-7=62', '62-18=44']
Exploring Operation: 74-44=30, Resulting Numbers: [30]
30,61 unequal: No Solution
Exploring Operation: 74*44=3256, Resulting Numbers: [3256]
3256,61 unequal: No Solution
Exploring Operation: 74+44=118, Resulting Numbers: [118]
118,61 unequal: No Solution
Moving to Node #0,2,0
Current State: 61:[62, 92], Operations: ['69-7=62', '18+74=92']
Exploring Operation: 62+92=154, Resulting Numbers: [154]
154,61 unequal: No Solution
Exploring Operation: 62*92=5704, Resulting Numbers: [5704]
5704,61 unequal: No Solution
Exploring Operation: 92-62=30, Resulting Numbers: [30]
30,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
23,
47,
45,
97
] | 28 | [
"47-23=24",
"97-45=52",
"52-24=28"
] | Current State: 28:[23, 47, 45, 97], Operations: []
Exploring Operation: 47-23=24, Resulting Numbers: [45, 97, 24]
Generated Node #2: [45, 97, 24] from Operation: 47-23=24
Current State: 28:[45, 97, 24], Operations: ['47-23=24']
Exploring Operation: 97-45=52, Resulting Numbers: [24, 52]
Generated Node #3: [24, 52] from Operation: 97-45=52
Current State: 28:[24, 52], Operations: ['47-23=24', '97-45=52']
Exploring Operation: 52-24=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[23, 47, 45, 97], Operations: []
Exploring Operation: 97-47=50, Resulting Numbers: [23, 45, 50]
Generated Node #0,0: 28:[23, 45, 50] Operation: 97-47=50
Exploring Operation: 97-23=74, Resulting Numbers: [47, 45, 74]
Generated Node #0,1: 28:[47, 45, 74] Operation: 97-23=74
Exploring Operation: 47-45=2, Resulting Numbers: [23, 97, 2]
Generated Node #0,2: 28:[23, 97, 2] Operation: 47-45=2
Exploring Operation: 47-23=24, Resulting Numbers: [45, 97, 24]
Generated Node #0,3: 28:[45, 97, 24] Operation: 47-23=24
Exploring Operation: 97-45=52, Resulting Numbers: [23, 47, 52]
Generated Node #0,4: 28:[23, 47, 52] Operation: 97-45=52
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[23, 45, 50], Operations: ['97-47=50']
Exploring Operation: 50-45=5, Resulting Numbers: [23, 5]
Generated Node #0,0,0: 28:[23, 5] Operation: 50-45=5
Exploring Operation: 23+50=73, Resulting Numbers: [45, 73]
Generated Node #0,0,1: 28:[45, 73] Operation: 23+50=73
Exploring Operation: 50-23=27, Resulting Numbers: [45, 27]
Generated Node #0,0,2: 28:[45, 27] Operation: 50-23=27
Exploring Operation: 45-23=22, Resulting Numbers: [50, 22]
Generated Node #0,0,3: 28:[50, 22] Operation: 45-23=22
Exploring Operation: 23+45=68, Resulting Numbers: [50, 68]
Generated Node #0,0,4: 28:[50, 68] Operation: 23+45=68
Moving to Node #0,0,0
Current State: 28:[23, 5], Operations: ['97-47=50', '50-45=5']
Exploring Operation: 23*5=115, Resulting Numbers: [115]
115,28 unequal: No Solution
Exploring Operation: 23+5=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[23, 47, 45, 97], Operations: []
Exploring Operation: 97-47=50, Resulting Numbers: [23, 45, 50]
Generated Node #0,0: 28:[23, 45, 50] Operation: 97-47=50
Moving to Node #0,0
Current State: 28:[23, 45, 50], Operations: ['97-47=50']
Exploring Operation: 50-45=5, Resulting Numbers: [23, 5]
Generated Node #0,0,0: 28:[23, 5] Operation: 50-45=5
Moving to Node #0,0,0
Current State: 28:[23, 5], Operations: ['97-47=50', '50-45=5']
Exploring Operation: 23+5=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
93,
12,
6,
4
] | 91 | [
"93-12=81",
"6+4=10",
"81+10=91"
] | Current State: 91:[93, 12, 6, 4], Operations: []
Exploring Operation: 93-12=81, Resulting Numbers: [6, 4, 81]
Generated Node #2: [6, 4, 81] from Operation: 93-12=81
Current State: 91:[6, 4, 81], Operations: ['93-12=81']
Exploring Operation: 6+4=10, Resulting Numbers: [81, 10]
Generated Node #3: [81, 10] from Operation: 6+4=10
Current State: 91:[81, 10], Operations: ['93-12=81', '6+4=10']
Exploring Operation: 81+10=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[93, 12, 6, 4], Operations: []
Exploring Operation: 93-4=89, Resulting Numbers: [12, 6, 89]
Generated Node #0,0: 91:[12, 6, 89] Operation: 93-4=89
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[12, 6, 89], Operations: ['93-4=89']
Exploring Operation: 12-6=6, Resulting Numbers: [89, 6]
Generated Node #0,0,0: 91:[89, 6] Operation: 12-6=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 91:[89, 6], Operations: ['93-4=89', '12-6=6']
Exploring Operation: 89+6=95, Resulting Numbers: [95]
95,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
48,
69,
96,
98
] | 27 | [
"96/48=2",
"98-69=29",
"29-2=27"
] | Current State: 27:[48, 69, 96, 98], Operations: []
Exploring Operation: 96/48=2, Resulting Numbers: [69, 98, 2]
Generated Node #2: [69, 98, 2] from Operation: 96/48=2
Current State: 27:[69, 98, 2], Operations: ['96/48=2']
Exploring Operation: 98-69=29, Resulting Numbers: [2, 29]
Generated Node #3: [2, 29] from Operation: 98-69=29
Current State: 27:[2, 29], Operations: ['96/48=2', '98-69=29']
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[48, 69, 96, 98], Operations: []
Exploring Operation: 98-69=29, Resulting Numbers: [48, 96, 29]
Generated Node #0,0: 27:[48, 96, 29] Operation: 98-69=29
Exploring Operation: 96-69=27, Resulting Numbers: [48, 98, 27]
Generated Node #0,1: 27:[48, 98, 27] Operation: 96-69=27
Exploring Operation: 96/48=2, Resulting Numbers: [69, 98, 2]
Generated Node #0,2: 27:[69, 98, 2] Operation: 96/48=2
Exploring Operation: 96-48=48, Resulting Numbers: [69, 98, 48]
Generated Node #0,3: 27:[69, 98, 48] Operation: 96-48=48
Exploring Operation: 98-96=2, Resulting Numbers: [48, 69, 2]
Generated Node #0,4: 27:[48, 69, 2] Operation: 98-96=2
Moving to Node #0,4
Current State: 27:[48, 69, 2], Operations: ['98-96=2']
Exploring Operation: 48/2=24, Resulting Numbers: [69, 24]
Generated Node #0,4,0: 27:[69, 24] Operation: 48/2=24
Exploring Operation: 69-2=67, Resulting Numbers: [48, 67]
Generated Node #0,4,1: 27:[48, 67] Operation: 69-2=67
Exploring Operation: 48-2=46, Resulting Numbers: [69, 46]
Generated Node #0,4,2: 27:[69, 46] Operation: 48-2=46
Exploring Operation: 48+2=50, Resulting Numbers: [69, 50]
Generated Node #0,4,3: 27:[69, 50] Operation: 48+2=50
Exploring Operation: 69-48=21, Resulting Numbers: [2, 21]
Generated Node #0,4,4: 27:[2, 21] Operation: 69-48=21
Moving to Node #0,1
Current State: 27:[48, 98, 27], Operations: ['96-69=27']
Exploring Operation: 98-27=71, Resulting Numbers: [48, 71]
Generated Node #0,1,0: 27:[48, 71] Operation: 98-27=71
Exploring Operation: 48+98=146, Resulting Numbers: [27, 146]
Generated Node #0,1,1: 27:[27, 146] Operation: 48+98=146
Exploring Operation: 48+27=75, Resulting Numbers: [98, 75]
Generated Node #0,1,2: 27:[98, 75] Operation: 48+27=75
Exploring Operation: 98-48=50, Resulting Numbers: [27, 50]
Generated Node #0,1,3: 27:[27, 50] Operation: 98-48=50
Exploring Operation: 48-27=21, Resulting Numbers: [98, 21]
Generated Node #0,1,4: 27:[98, 21] Operation: 48-27=21
Moving to Node #0,0
Current State: 27:[48, 96, 29], Operations: ['98-69=29']
Exploring Operation: 48+96=144, Resulting Numbers: [29, 144]
Generated Node #0,0,0: 27:[29, 144] Operation: 48+96=144
Exploring Operation: 96/48=2, Resulting Numbers: [29, 2]
Generated Node #0,0,1: 27:[29, 2] Operation: 96/48=2
Exploring Operation: 96-29=67, Resulting Numbers: [48, 67]
Generated Node #0,0,2: 27:[48, 67] Operation: 96-29=67
Exploring Operation: 48-29=19, Resulting Numbers: [96, 19]
Generated Node #0,0,3: 27:[96, 19] Operation: 48-29=19
Exploring Operation: 96-48=48, Resulting Numbers: [29, 48]
Generated Node #0,0,4: 27:[29, 48] Operation: 96-48=48
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 27:[29, 2], Operations: ['98-69=29', '96/48=2']
Exploring Operation: 29+2=31, Resulting Numbers: [31]
31,27 unequal: No Solution
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,27 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[48, 69, 96, 98], Operations: []
Exploring Operation: 98-69=29, Resulting Numbers: [48, 96, 29]
Generated Node #0,0: 27:[48, 96, 29] Operation: 98-69=29
Moving to Node #0,0
Current State: 27:[48, 96, 29], Operations: ['98-69=29']
Exploring Operation: 96/48=2, Resulting Numbers: [29, 2]
Generated Node #0,0,1: 27:[29, 2] Operation: 96/48=2
Moving to Node #0,0,1
Current State: 27:[29, 2], Operations: ['98-69=29', '96/48=2']
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_5 | mult_heuristic |
[
24,
13,
19,
74
] | 92 | [
"24+13=37",
"74-19=55",
"37+55=92"
] | Current State: 92:[24, 13, 19, 74], Operations: []
Exploring Operation: 24+13=37, Resulting Numbers: [19, 74, 37]
Generated Node #2: [19, 74, 37] from Operation: 24+13=37
Current State: 92:[19, 74, 37], Operations: ['24+13=37']
Exploring Operation: 74-19=55, Resulting Numbers: [37, 55]
Generated Node #3: [37, 55] from Operation: 74-19=55
Current State: 92:[37, 55], Operations: ['24+13=37', '74-19=55']
Exploring Operation: 37+55=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[24, 13, 19, 74], Operations: []
Exploring Operation: 13+74=87, Resulting Numbers: [24, 19, 87]
Generated Node #0,0: 92:[24, 19, 87] Operation: 13+74=87
Moving to Node #0,0
Current State: 92:[24, 19, 87], Operations: ['13+74=87']
Exploring Operation: 24-19=5, Resulting Numbers: [87, 5]
Generated Node #0,0,0: 92:[87, 5] Operation: 24-19=5
Moving to Node #0,0,0
Current State: 92:[87, 5], Operations: ['13+74=87', '24-19=5']
Exploring Operation: 87+5=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[24, 13, 19, 74], Operations: []
Exploring Operation: 13+74=87, Resulting Numbers: [24, 19, 87]
Generated Node #0,0: 92:[24, 19, 87] Operation: 13+74=87
Moving to Node #0,0
Current State: 92:[24, 19, 87], Operations: ['13+74=87']
Exploring Operation: 24-19=5, Resulting Numbers: [87, 5]
Generated Node #0,0,0: 92:[87, 5] Operation: 24-19=5
Moving to Node #0,0,0
Current State: 92:[87, 5], Operations: ['13+74=87', '24-19=5']
Exploring Operation: 87+5=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
45,
63,
6,
26
] | 14 | [
"63-45=18",
"6+26=32",
"32-18=14"
] | Current State: 14:[45, 63, 6, 26], Operations: []
Exploring Operation: 63-45=18, Resulting Numbers: [6, 26, 18]
Generated Node #2: [6, 26, 18] from Operation: 63-45=18
Current State: 14:[6, 26, 18], Operations: ['63-45=18']
Exploring Operation: 6+26=32, Resulting Numbers: [18, 32]
Generated Node #3: [18, 32] from Operation: 6+26=32
Current State: 14:[18, 32], Operations: ['63-45=18', '6+26=32']
Exploring Operation: 32-18=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[45, 63, 6, 26], Operations: []
Exploring Operation: 63-45=18, Resulting Numbers: [6, 26, 18]
Generated Node #0,0: 14:[6, 26, 18] Operation: 63-45=18
Exploring Operation: 45-6=39, Resulting Numbers: [63, 26, 39]
Generated Node #0,1: 14:[63, 26, 39] Operation: 45-6=39
Exploring Operation: 45-26=19, Resulting Numbers: [63, 6, 19]
Generated Node #0,2: 14:[63, 6, 19] Operation: 45-26=19
Exploring Operation: 63-26=37, Resulting Numbers: [45, 6, 37]
Generated Node #0,3: 14:[45, 6, 37] Operation: 63-26=37
Moving to Node #0,0
Current State: 14:[6, 26, 18], Operations: ['63-45=18']
Exploring Operation: 26-6=20, Resulting Numbers: [18, 20]
Generated Node #0,0,0: 14:[18, 20] Operation: 26-6=20
Exploring Operation: 26-18=8, Resulting Numbers: [6, 8]
Generated Node #0,0,1: 14:[6, 8] Operation: 26-18=8
Exploring Operation: 18/6=3, Resulting Numbers: [26, 3]
Generated Node #0,0,2: 14:[26, 3] Operation: 18/6=3
Exploring Operation: 18-6=12, Resulting Numbers: [26, 12]
Generated Node #0,0,3: 14:[26, 12] Operation: 18-6=12
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 14:[6, 8], Operations: ['63-45=18', '26-18=8']
Exploring Operation: 6*8=48, Resulting Numbers: [48]
48,14 unequal: No Solution
Exploring Operation: 6+8=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[45, 63, 6, 26], Operations: []
Exploring Operation: 63-45=18, Resulting Numbers: [6, 26, 18]
Generated Node #0,0: 14:[6, 26, 18] Operation: 63-45=18
Moving to Node #0,0
Current State: 14:[6, 26, 18], Operations: ['63-45=18']
Exploring Operation: 26-18=8, Resulting Numbers: [6, 8]
Generated Node #0,0,1: 14:[6, 8] Operation: 26-18=8
Moving to Node #0,0,1
Current State: 14:[6, 8], Operations: ['63-45=18', '26-18=8']
Exploring Operation: 6+8=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
2,
52,
11,
6
] | 68 | [
"2*11=22",
"52-6=46",
"22+46=68"
] | Current State: 68:[2, 52, 11, 6], Operations: []
Exploring Operation: 2*11=22, Resulting Numbers: [52, 6, 22]
Generated Node #2: [52, 6, 22] from Operation: 2*11=22
Current State: 68:[52, 6, 22], Operations: ['2*11=22']
Exploring Operation: 52-6=46, Resulting Numbers: [22, 46]
Generated Node #3: [22, 46] from Operation: 52-6=46
Current State: 68:[22, 46], Operations: ['2*11=22', '52-6=46']
Exploring Operation: 22+46=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[2, 52, 11, 6], Operations: []
Exploring Operation: 52-11=41, Resulting Numbers: [2, 6, 41]
Generated Node #0,0: 68:[2, 6, 41] Operation: 52-11=41
Exploring Operation: 52+6=58, Resulting Numbers: [2, 11, 58]
Generated Node #0,1: 68:[2, 11, 58] Operation: 52+6=58
Exploring Operation: 52+11=63, Resulting Numbers: [2, 6, 63]
Generated Node #0,2: 68:[2, 6, 63] Operation: 52+11=63
Exploring Operation: 52/2=26, Resulting Numbers: [11, 6, 26]
Generated Node #0,3: 68:[11, 6, 26] Operation: 52/2=26
Start Sub Search at level 1: Moving to Node #0,2
Current State: 68:[2, 6, 63], Operations: ['52+11=63']
Exploring Operation: 6+63=69, Resulting Numbers: [2, 69]
Generated Node #0,2,0: 68:[2, 69] Operation: 6+63=69
Exploring Operation: 6/2=3, Resulting Numbers: [63, 3]
Generated Node #0,2,1: 68:[63, 3] Operation: 6/2=3
Exploring Operation: 6-2=4, Resulting Numbers: [63, 4]
Generated Node #0,2,2: 68:[63, 4] Operation: 6-2=4
Exploring Operation: 2+63=65, Resulting Numbers: [6, 65]
Generated Node #0,2,3: 68:[6, 65] Operation: 2+63=65
Moving to Node #0,2,0
Current State: 68:[2, 69], Operations: ['52+11=63', '6+63=69']
Exploring Operation: 2*69=138, Resulting Numbers: [138]
138,68 unequal: No Solution
Exploring Operation: 2+69=71, Resulting Numbers: [71]
71,68 unequal: No Solution
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,68 unequal: No Solution
Moving to Node #0,2,3
Current State: 68:[6, 65], Operations: ['52+11=63', '2+63=65']
Exploring Operation: 65-6=59, Resulting Numbers: [59]
59,68 unequal: No Solution
Exploring Operation: 6+65=71, Resulting Numbers: [71]
71,68 unequal: No Solution
Exploring Operation: 6*65=390, Resulting Numbers: [390]
390,68 unequal: No Solution
Moving to Node #0,2,2
Current State: 68:[63, 4], Operations: ['52+11=63', '6-2=4']
Exploring Operation: 63-4=59, Resulting Numbers: [59]
59,68 unequal: No Solution
Exploring Operation: 63+4=67, Resulting Numbers: [67]
67,68 unequal: No Solution
Exploring Operation: 63*4=252, Resulting Numbers: [252]
252,68 unequal: No Solution
Moving to Node #0,2,1
Current State: 68:[63, 3], Operations: ['52+11=63', '6/2=3']
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,68 unequal: No Solution
Exploring Operation: 63*3=189, Resulting Numbers: [189]
189,68 unequal: No Solution
Exploring Operation: 63+3=66, Resulting Numbers: [66]
66,68 unequal: No Solution
Exploring Operation: 63-3=60, Resulting Numbers: [60]
60,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[2, 6, 41], Operations: ['52-11=41']
Exploring Operation: 41-2=39, Resulting Numbers: [6, 39]
Generated Node #0,0,0: 68:[6, 39] Operation: 41-2=39
Exploring Operation: 6/2=3, Resulting Numbers: [41, 3]
Generated Node #0,0,1: 68:[41, 3] Operation: 6/2=3
Exploring Operation: 6-2=4, Resulting Numbers: [41, 4]
Generated Node #0,0,2: 68:[41, 4] Operation: 6-2=4
Exploring Operation: 41-6=35, Resulting Numbers: [2, 35]
Generated Node #0,0,3: 68:[2, 35] Operation: 41-6=35
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 68:[2, 35], Operations: ['52-11=41', '41-6=35']
Exploring Operation: 2+35=37, Resulting Numbers: [37]
37,68 unequal: No Solution
Exploring Operation: 2*35=70, Resulting Numbers: [70]
70,68 unequal: No Solution
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 68:[6, 39], Operations: ['52-11=41', '41-2=39']
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,68 unequal: No Solution
Exploring Operation: 6*39=234, Resulting Numbers: [234]
234,68 unequal: No Solution
Exploring Operation: 6+39=45, Resulting Numbers: [45]
45,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 68:[41, 4], Operations: ['52-11=41', '6-2=4']
Exploring Operation: 41+4=45, Resulting Numbers: [45]
45,68 unequal: No Solution
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,68 unequal: No Solution
Exploring Operation: 41*4=164, Resulting Numbers: [164]
164,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 68:[41, 3], Operations: ['52-11=41', '6/2=3']
Exploring Operation: 41+3=44, Resulting Numbers: [44]
44,68 unequal: No Solution
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,68 unequal: No Solution
Exploring Operation: 41*3=123, Resulting Numbers: [123]
123,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 68:[2, 11, 58], Operations: ['52+6=58']
Exploring Operation: 58-11=47, Resulting Numbers: [2, 47]
Generated Node #0,1,0: 68:[2, 47] Operation: 58-11=47
Exploring Operation: 2+11=13, Resulting Numbers: [58, 13]
Generated Node #0,1,1: 68:[58, 13] Operation: 2+11=13
Exploring Operation: 11+58=69, Resulting Numbers: [2, 69]
Generated Node #0,1,2: 68:[2, 69] Operation: 11+58=69
Exploring Operation: 58/2=29, Resulting Numbers: [11, 29]
Generated Node #0,1,3: 68:[11, 29] Operation: 58/2=29
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 68:[2, 69], Operations: ['52+6=58', '11+58=69']
Exploring Operation: 2+69=71, Resulting Numbers: [71]
71,68 unequal: No Solution
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,68 unequal: No Solution
Exploring Operation: 2*69=138, Resulting Numbers: [138]
138,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 68:[11, 29], Operations: ['52+6=58', '58/2=29']
Exploring Operation: 11*29=319, Resulting Numbers: [319]
319,68 unequal: No Solution
Exploring Operation: 29-11=18, Resulting Numbers: [18]
18,68 unequal: No Solution
Exploring Operation: 11+29=40, Resulting Numbers: [40]
40,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 68:[2, 47], Operations: ['52+6=58', '58-11=47']
Exploring Operation: 2+47=49, Resulting Numbers: [49]
49,68 unequal: No Solution
Exploring Operation: 2*47=94, Resulting Numbers: [94]
94,68 unequal: No Solution
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 68:[58, 13], Operations: ['52+6=58', '2+11=13']
Exploring Operation: 58+13=71, Resulting Numbers: [71]
71,68 unequal: No Solution
Exploring Operation: 58*13=754, Resulting Numbers: [754]
754,68 unequal: No Solution
Exploring Operation: 58-13=45, Resulting Numbers: [45]
45,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 68:[11, 6, 26], Operations: ['52/2=26']
Exploring Operation: 11+26=37, Resulting Numbers: [6, 37]
Generated Node #0,3,0: 68:[6, 37] Operation: 11+26=37
Exploring Operation: 26-11=15, Resulting Numbers: [6, 15]
Generated Node #0,3,1: 68:[6, 15] Operation: 26-11=15
Exploring Operation: 11+6=17, Resulting Numbers: [26, 17]
Generated Node #0,3,2: 68:[26, 17] Operation: 11+6=17
Exploring Operation: 6+26=32, Resulting Numbers: [11, 32]
Generated Node #0,3,3: 68:[11, 32] Operation: 6+26=32
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 68:[6, 15], Operations: ['52/2=26', '26-11=15']
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,68 unequal: No Solution
Exploring Operation: 6*15=90, Resulting Numbers: [90]
90,68 unequal: No Solution
Exploring Operation: 6+15=21, Resulting Numbers: [21]
21,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 68:[6, 37], Operations: ['52/2=26', '11+26=37']
Exploring Operation: 6+37=43, Resulting Numbers: [43]
43,68 unequal: No Solution
Exploring Operation: 6*37=222, Resulting Numbers: [222]
222,68 unequal: No Solution
Exploring Operation: 37-6=31, Resulting Numbers: [31]
31,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 68:[26, 17], Operations: ['52/2=26', '11+6=17']
Exploring Operation: 26*17=442, Resulting Numbers: [442]
442,68 unequal: No Solution
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,68 unequal: No Solution
Exploring Operation: 26+17=43, Resulting Numbers: [43]
43,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 68:[11, 32], Operations: ['52/2=26', '6+26=32']
Exploring Operation: 11*32=352, Resulting Numbers: [352]
352,68 unequal: No Solution
Exploring Operation: 11+32=43, Resulting Numbers: [43]
43,68 unequal: No Solution
Exploring Operation: 32-11=21, Resulting Numbers: [21]
21,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
88,
42,
70,
18
] | 58 | [
"70*18=1260",
"1260/42=30",
"88-30=58"
] | Current State: 58:[88, 42, 70, 18], Operations: []
Exploring Operation: 70*18=1260, Resulting Numbers: [88, 42, 1260]
Generated Node #2: [88, 42, 1260] from Operation: 70*18=1260
Current State: 58:[88, 42, 1260], Operations: ['70*18=1260']
Exploring Operation: 1260/42=30, Resulting Numbers: [88, 30]
Generated Node #3: [88, 30] from Operation: 1260/42=30
Current State: 58:[88, 30], Operations: ['70*18=1260', '1260/42=30']
Exploring Operation: 88-30=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[88, 42, 70, 18], Operations: []
Exploring Operation: 88-18=70, Resulting Numbers: [42, 70, 70]
Generated Node #0,0: 58:[42, 70, 70] Operation: 88-18=70
Exploring Operation: 88-42=46, Resulting Numbers: [70, 18, 46]
Generated Node #0,1: 58:[70, 18, 46] Operation: 88-42=46
Exploring Operation: 88-70=18, Resulting Numbers: [42, 18, 18]
Generated Node #0,2: 58:[42, 18, 18] Operation: 88-70=18
Start Sub Search at level 1: Moving to Node #0,1
Current State: 58:[70, 18, 46], Operations: ['88-42=46']
Exploring Operation: 46-18=28, Resulting Numbers: [70, 28]
Generated Node #0,1,0: 58:[70, 28] Operation: 46-18=28
Exploring Operation: 70-46=24, Resulting Numbers: [18, 24]
Generated Node #0,1,1: 58:[18, 24] Operation: 70-46=24
Exploring Operation: 70-18=52, Resulting Numbers: [46, 52]
Generated Node #0,1,2: 58:[46, 52] Operation: 70-18=52
Moving to Node #0,1,0
Current State: 58:[70, 28], Operations: ['88-42=46', '46-18=28']
Exploring Operation: 70*28=1960, Resulting Numbers: [1960]
1960,58 unequal: No Solution
Exploring Operation: 70-28=42, Resulting Numbers: [42]
42,58 unequal: No Solution
Exploring Operation: 70+28=98, Resulting Numbers: [98]
98,58 unequal: No Solution
Moving to Node #0,1,1
Current State: 58:[18, 24], Operations: ['88-42=46', '70-46=24']
Exploring Operation: 24-18=6, Resulting Numbers: [6]
6,58 unequal: No Solution
Exploring Operation: 18+24=42, Resulting Numbers: [42]
42,58 unequal: No Solution
Exploring Operation: 18*24=432, Resulting Numbers: [432]
432,58 unequal: No Solution
Moving to Node #0,1,2
Current State: 58:[46, 52], Operations: ['88-42=46', '70-18=52']
Exploring Operation: 46+52=98, Resulting Numbers: [98]
98,58 unequal: No Solution
Exploring Operation: 52-46=6, Resulting Numbers: [6]
6,58 unequal: No Solution
Exploring Operation: 46*52=2392, Resulting Numbers: [2392]
2392,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:[42, 18, 18], Operations: ['88-70=18']
Exploring Operation: 18/18=1, Resulting Numbers: [42, 1]
Generated Node #0,2,0: 58:[42, 1] Operation: 18/18=1
Exploring Operation: 42+18=60, Resulting Numbers: [18, 60]
Generated Node #0,2,1: 58:[18, 60] Operation: 42+18=60
Exploring Operation: 42+18=60, Resulting Numbers: [18, 60]
Generated Node #0,2,2: 58:[18, 60] Operation: 42+18=60
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 58:[18, 60], Operations: ['88-70=18', '42+18=60']
Exploring Operation: 60-18=42, Resulting Numbers: [42]
42,58 unequal: No Solution
Exploring Operation: 18+60=78, Resulting Numbers: [78]
78,58 unequal: No Solution
Exploring Operation: 18*60=1080, Resulting Numbers: [1080]
1080,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:[18, 60], Operations: ['88-70=18', '42+18=60']
Exploring Operation: 60-18=42, Resulting Numbers: [42]
42,58 unequal: No Solution
Exploring Operation: 18+60=78, Resulting Numbers: [78]
78,58 unequal: No Solution
Exploring Operation: 18*60=1080, Resulting Numbers: [1080]
1080,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:[42, 1], Operations: ['88-70=18', '18/18=1']
Exploring Operation: 42*1=42, Resulting Numbers: [42]
42,58 unequal: No Solution
Exploring Operation: 42/1=42, Resulting Numbers: [42]
42,58 unequal: No Solution
Exploring Operation: 42-1=41, Resulting Numbers: [41]
41,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,0
Current State: 58:[42, 70, 70], Operations: ['88-18=70']
Exploring Operation: 70-42=28, Resulting Numbers: [70, 28]
Generated Node #0,0,0: 58:[70, 28] Operation: 70-42=28
Exploring Operation: 70-42=28, Resulting Numbers: [70, 28]
Generated Node #0,0,1: 58:[70, 28] Operation: 70-42=28
Exploring Operation: 70/70=1, Resulting Numbers: [42, 1]
Generated Node #0,0,2: 58:[42, 1] Operation: 70/70=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 58:[70, 28], Operations: ['88-18=70', '70-42=28']
Exploring Operation: 70*28=1960, Resulting Numbers: [1960]
1960,58 unequal: No Solution
Exploring Operation: 70+28=98, Resulting Numbers: [98]
98,58 unequal: No Solution
Exploring Operation: 70-28=42, Resulting Numbers: [42]
42,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,0,1
Current State: 58:[70, 28], Operations: ['88-18=70', '70-42=28']
Exploring Operation: 70+28=98, Resulting Numbers: [98]
98,58 unequal: No Solution
Exploring Operation: 70-28=42, Resulting Numbers: [42]
42,58 unequal: No Solution
Exploring Operation: 70*28=1960, Resulting Numbers: [1960]
1960,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,0,2
Current State: 58:[42, 1], Operations: ['88-18=70', '70/70=1']
Exploring Operation: 42-1=41, Resulting Numbers: [41]
41,58 unequal: No Solution
Exploring Operation: 42/1=42, Resulting Numbers: [42]
42,58 unequal: No Solution
Exploring Operation: 42*1=42, Resulting Numbers: [42]
42,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
69,
30,
91,
68
] | 22 | [
"69*30=2070",
"2070-68=2002",
"2002/91=22"
] | Current State: 22:[69, 30, 91, 68], Operations: []
Exploring Operation: 69*30=2070, Resulting Numbers: [91, 68, 2070]
Generated Node #2: [91, 68, 2070] from Operation: 69*30=2070
Current State: 22:[91, 68, 2070], Operations: ['69*30=2070']
Exploring Operation: 2070-68=2002, Resulting Numbers: [91, 2002]
Generated Node #3: [91, 2002] from Operation: 2070-68=2002
Current State: 22:[91, 2002], Operations: ['69*30=2070', '2070-68=2002']
Exploring Operation: 2002/91=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[69, 30, 91, 68], Operations: []
Exploring Operation: 91-68=23, Resulting Numbers: [69, 30, 23]
Generated Node #0,0: 22:[69, 30, 23] Operation: 91-68=23
Exploring Operation: 91-69=22, Resulting Numbers: [30, 68, 22]
Generated Node #0,1: 22:[30, 68, 22] Operation: 91-69=22
Moving to Node #0,1
Current State: 22:[30, 68, 22], Operations: ['91-69=22']
Exploring Operation: 68-30=38, Resulting Numbers: [22, 38]
Generated Node #0,1,0: 22:[22, 38] Operation: 68-30=38
Exploring Operation: 68-22=46, Resulting Numbers: [30, 46]
Generated Node #0,1,1: 22:[30, 46] Operation: 68-22=46
Moving to Node #0,0
Current State: 22:[69, 30, 23], Operations: ['91-68=23']
Exploring Operation: 69-30=39, Resulting Numbers: [23, 39]
Generated Node #0,0,0: 22:[23, 39] Operation: 69-30=39
Exploring Operation: 69/23=3, Resulting Numbers: [30, 3]
Generated Node #0,0,1: 22:[30, 3] Operation: 69/23=3
Moving to Node #0,0,1
Current State: 22:[30, 3], Operations: ['91-68=23', '69/23=3']
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,22 unequal: No Solution
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,22 unequal: No Solution
Moving to Node #0,1,0
Current State: 22:[22, 38], Operations: ['91-69=22', '68-30=38']
Exploring Operation: 22+38=60, Resulting Numbers: [60]
60,22 unequal: No Solution
Exploring Operation: 38-22=16, Resulting Numbers: [16]
16,22 unequal: No Solution
Moving to Node #0,0,0
Current State: 22:[23, 39], Operations: ['91-68=23', '69-30=39']
Exploring Operation: 39-23=16, Resulting Numbers: [16]
16,22 unequal: No Solution
Exploring Operation: 23+39=62, Resulting Numbers: [62]
62,22 unequal: No Solution
Moving to Node #0,1,1
Current State: 22:[30, 46], Operations: ['91-69=22', '68-22=46']
Exploring Operation: 30+46=76, Resulting Numbers: [76]
76,22 unequal: No Solution
Exploring Operation: 46-30=16, Resulting Numbers: [16]
16,22 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
81,
86,
94,
79
] | 90 | [
"81-79=2",
"86+94=180",
"180/2=90"
] | Current State: 90:[81, 86, 94, 79], Operations: []
Exploring Operation: 81-79=2, Resulting Numbers: [86, 94, 2]
Generated Node #2: [86, 94, 2] from Operation: 81-79=2
Current State: 90:[86, 94, 2], Operations: ['81-79=2']
Exploring Operation: 86+94=180, Resulting Numbers: [2, 180]
Generated Node #3: [2, 180] from Operation: 86+94=180
Current State: 90:[2, 180], Operations: ['81-79=2', '86+94=180']
Exploring Operation: 180/2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[81, 86, 94, 79], Operations: []
Exploring Operation: 94-79=15, Resulting Numbers: [81, 86, 15]
Generated Node #0,0: 90:[81, 86, 15] Operation: 94-79=15
Exploring Operation: 94-81=13, Resulting Numbers: [86, 79, 13]
Generated Node #0,1: 90:[86, 79, 13] Operation: 94-81=13
Exploring Operation: 81-79=2, Resulting Numbers: [86, 94, 2]
Generated Node #0,2: 90:[86, 94, 2] Operation: 81-79=2
Exploring Operation: 86-81=5, Resulting Numbers: [94, 79, 5]
Generated Node #0,3: 90:[94, 79, 5] Operation: 86-81=5
Exploring Operation: 86-79=7, Resulting Numbers: [81, 94, 7]
Generated Node #0,4: 90:[81, 94, 7] Operation: 86-79=7
Start Sub Search at level 1: Moving to Node #0,2
Current State: 90:[86, 94, 2], Operations: ['81-79=2']
Exploring Operation: 94/2=47, Resulting Numbers: [86, 47]
Generated Node #0,2,0: 90:[86, 47] Operation: 94/2=47
Exploring Operation: 86+2=88, Resulting Numbers: [94, 88]
Generated Node #0,2,1: 90:[94, 88] Operation: 86+2=88
Exploring Operation: 86/2=43, Resulting Numbers: [94, 43]
Generated Node #0,2,2: 90:[94, 43] Operation: 86/2=43
Exploring Operation: 94-2=92, Resulting Numbers: [86, 92]
Generated Node #0,2,3: 90:[86, 92] Operation: 94-2=92
Exploring Operation: 94-86=8, Resulting Numbers: [2, 8]
Generated Node #0,2,4: 90:[2, 8] Operation: 94-86=8
Moving to Node #0,2,4
Current State: 90:[2, 8], Operations: ['81-79=2', '94-86=8']
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,90 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,90 unequal: No Solution
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,90 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Moving to Node #0,2,1
Current State: 90:[94, 88], Operations: ['81-79=2', '86+2=88']
Exploring Operation: 94*88=8272, Resulting Numbers: [8272]
8272,90 unequal: No Solution
Exploring Operation: 94+88=182, Resulting Numbers: [182]
182,90 unequal: No Solution
Exploring Operation: 94-88=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Moving to Node #0,2,3
Current State: 90:[86, 92], Operations: ['81-79=2', '94-2=92']
Exploring Operation: 86*92=7912, Resulting Numbers: [7912]
7912,90 unequal: No Solution
Exploring Operation: 92-86=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 86+92=178, Resulting Numbers: [178]
178,90 unequal: No Solution
Moving to Node #0,2,0
Current State: 90:[86, 47], Operations: ['81-79=2', '94/2=47']
Exploring Operation: 86*47=4042, Resulting Numbers: [4042]
4042,90 unequal: No Solution
Exploring Operation: 86+47=133, Resulting Numbers: [133]
133,90 unequal: No Solution
Exploring Operation: 86-47=39, Resulting Numbers: [39]
39,90 unequal: No Solution
Moving to Node #0,2,2
Current State: 90:[94, 43], Operations: ['81-79=2', '86/2=43']
Exploring Operation: 94*43=4042, Resulting Numbers: [4042]
4042,90 unequal: No Solution
Exploring Operation: 94-43=51, Resulting Numbers: [51]
51,90 unequal: No Solution
Exploring Operation: 94+43=137, Resulting Numbers: [137]
137,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[81, 86, 15], Operations: ['94-79=15']
Exploring Operation: 81+15=96, Resulting Numbers: [86, 96]
Generated Node #0,0,0: 90:[86, 96] Operation: 81+15=96
Exploring Operation: 86-81=5, Resulting Numbers: [15, 5]
Generated Node #0,0,1: 90:[15, 5] Operation: 86-81=5
Exploring Operation: 86+15=101, Resulting Numbers: [81, 101]
Generated Node #0,0,2: 90:[81, 101] Operation: 86+15=101
Exploring Operation: 86-15=71, Resulting Numbers: [81, 71]
Generated Node #0,0,3: 90:[81, 71] Operation: 86-15=71
Exploring Operation: 81-15=66, Resulting Numbers: [86, 66]
Generated Node #0,0,4: 90:[86, 66] Operation: 81-15=66
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 90:[15, 5], Operations: ['94-79=15', '86-81=5']
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,90 unequal: No Solution
Exploring Operation: 15*5=75, Resulting Numbers: [75]
75,90 unequal: No Solution
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,90 unequal: No Solution
Exploring Operation: 15+5=20, Resulting Numbers: [20]
20,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 90:[86, 96], Operations: ['94-79=15', '81+15=96']
Exploring Operation: 86+96=182, Resulting Numbers: [182]
182,90 unequal: No Solution
Exploring Operation: 96-86=10, Resulting Numbers: [10]
10,90 unequal: No Solution
Exploring Operation: 86*96=8256, Resulting Numbers: [8256]
8256,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 90:[81, 101], Operations: ['94-79=15', '86+15=101']
Exploring Operation: 81+101=182, Resulting Numbers: [182]
182,90 unequal: No Solution
Exploring Operation: 101-81=20, Resulting Numbers: [20]
20,90 unequal: No Solution
Exploring Operation: 81*101=8181, Resulting Numbers: [8181]
8181,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 90:[86, 66], Operations: ['94-79=15', '81-15=66']
Exploring Operation: 86-66=20, Resulting Numbers: [20]
20,90 unequal: No Solution
Exploring Operation: 86+66=152, Resulting Numbers: [152]
152,90 unequal: No Solution
Exploring Operation: 86*66=5676, Resulting Numbers: [5676]
5676,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 90:[81, 71], Operations: ['94-79=15', '86-15=71']
Exploring Operation: 81+71=152, Resulting Numbers: [152]
152,90 unequal: No Solution
Exploring Operation: 81*71=5751, Resulting Numbers: [5751]
5751,90 unequal: No Solution
Exploring Operation: 81-71=10, Resulting Numbers: [10]
10,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 90:[81, 94, 7], Operations: ['86-79=7']
Exploring Operation: 94+7=101, Resulting Numbers: [81, 101]
Generated Node #0,4,0: 90:[81, 101] Operation: 94+7=101
Exploring Operation: 81+7=88, Resulting Numbers: [94, 88]
Generated Node #0,4,1: 90:[94, 88] Operation: 81+7=88
Exploring Operation: 94-81=13, Resulting Numbers: [7, 13]
Generated Node #0,4,2: 90:[7, 13] Operation: 94-81=13
Exploring Operation: 81-7=74, Resulting Numbers: [94, 74]
Generated Node #0,4,3: 90:[94, 74] Operation: 81-7=74
Exploring Operation: 94-7=87, Resulting Numbers: [81, 87]
Generated Node #0,4,4: 90:[81, 87] Operation: 94-7=87
Moving to Node #0,4,2
Current State: 90:[7, 13], Operations: ['86-79=7', '94-81=13']
Exploring Operation: 7*13=91, Resulting Numbers: [91]
91,90 unequal: No Solution
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 7+13=20, Resulting Numbers: [20]
20,90 unequal: No Solution
Moving to Node #0,4,1
Current State: 90:[94, 88], Operations: ['86-79=7', '81+7=88']
Exploring Operation: 94+88=182, Resulting Numbers: [182]
182,90 unequal: No Solution
Exploring Operation: 94*88=8272, Resulting Numbers: [8272]
8272,90 unequal: No Solution
Exploring Operation: 94-88=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Moving to Node #0,4,4
Current State: 90:[81, 87], Operations: ['86-79=7', '94-7=87']
Exploring Operation: 81+87=168, Resulting Numbers: [168]
168,90 unequal: No Solution
Exploring Operation: 87-81=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 81*87=7047, Resulting Numbers: [7047]
7047,90 unequal: No Solution
Moving to Node #0,4,0
Current State: 90:[81, 101], Operations: ['86-79=7', '94+7=101']
Exploring Operation: 81+101=182, Resulting Numbers: [182]
182,90 unequal: No Solution
Exploring Operation: 101-81=20, Resulting Numbers: [20]
20,90 unequal: No Solution
Exploring Operation: 81*101=8181, Resulting Numbers: [8181]
8181,90 unequal: No Solution
Moving to Node #0,4,3
Current State: 90:[94, 74], Operations: ['86-79=7', '81-7=74']
Exploring Operation: 94+74=168, Resulting Numbers: [168]
168,90 unequal: No Solution
Exploring Operation: 94*74=6956, Resulting Numbers: [6956]
6956,90 unequal: No Solution
Exploring Operation: 94-74=20, Resulting Numbers: [20]
20,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 90:[94, 79, 5], Operations: ['86-81=5']
Exploring Operation: 94-79=15, Resulting Numbers: [5, 15]
Generated Node #0,3,0: 90:[5, 15] Operation: 94-79=15
Exploring Operation: 79-5=74, Resulting Numbers: [94, 74]
Generated Node #0,3,1: 90:[94, 74] Operation: 79-5=74
Exploring Operation: 79+5=84, Resulting Numbers: [94, 84]
Generated Node #0,3,2: 90:[94, 84] Operation: 79+5=84
Exploring Operation: 94+5=99, Resulting Numbers: [79, 99]
Generated Node #0,3,3: 90:[79, 99] Operation: 94+5=99
Exploring Operation: 94-5=89, Resulting Numbers: [79, 89]
Generated Node #0,3,4: 90:[79, 89] Operation: 94-5=89
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 90:[5, 15], Operations: ['86-81=5', '94-79=15']
Exploring Operation: 5*15=75, Resulting Numbers: [75]
75,90 unequal: No Solution
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,90 unequal: No Solution
Exploring Operation: 5+15=20, Resulting Numbers: [20]
20,90 unequal: No Solution
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 90:[94, 84], Operations: ['86-81=5', '79+5=84']
Exploring Operation: 94-84=10, Resulting Numbers: [10]
10,90 unequal: No Solution
Exploring Operation: 94+84=178, Resulting Numbers: [178]
178,90 unequal: No Solution
Exploring Operation: 94*84=7896, Resulting Numbers: [7896]
7896,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 90:[79, 89], Operations: ['86-81=5', '94-5=89']
Exploring Operation: 89-79=10, Resulting Numbers: [10]
10,90 unequal: No Solution
Exploring Operation: 79+89=168, Resulting Numbers: [168]
168,90 unequal: No Solution
Exploring Operation: 79*89=7031, Resulting Numbers: [7031]
7031,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 90:[94, 74], Operations: ['86-81=5', '79-5=74']
Exploring Operation: 94-74=20, Resulting Numbers: [20]
20,90 unequal: No Solution
Exploring Operation: 94+74=168, Resulting Numbers: [168]
168,90 unequal: No Solution
Exploring Operation: 94*74=6956, Resulting Numbers: [6956]
6956,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 90:[79, 99], Operations: ['86-81=5', '94+5=99']
Exploring Operation: 99-79=20, Resulting Numbers: [20]
20,90 unequal: No Solution
Exploring Operation: 79+99=178, Resulting Numbers: [178]
178,90 unequal: No Solution
Exploring Operation: 79*99=7821, Resulting Numbers: [7821]
7821,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 90:[86, 79, 13], Operations: ['94-81=13']
Exploring Operation: 79-13=66, Resulting Numbers: [86, 66]
Generated Node #0,1,0: 90:[86, 66] Operation: 79-13=66
Exploring Operation: 86-13=73, Resulting Numbers: [79, 73]
Generated Node #0,1,1: 90:[79, 73] Operation: 86-13=73
Exploring Operation: 79+13=92, Resulting Numbers: [86, 92]
Generated Node #0,1,2: 90:[86, 92] Operation: 79+13=92
Exploring Operation: 86+13=99, Resulting Numbers: [79, 99]
Generated Node #0,1,3: 90:[79, 99] Operation: 86+13=99
Exploring Operation: 86-79=7, Resulting Numbers: [13, 7]
Generated Node #0,1,4: 90:[13, 7] Operation: 86-79=7
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 90:[13, 7], Operations: ['94-81=13', '86-79=7']
Exploring Operation: 13+7=20, Resulting Numbers: [20]
20,90 unequal: No Solution
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 13*7=91, Resulting Numbers: [91]
91,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 90:[86, 92], Operations: ['94-81=13', '79+13=92']
Exploring Operation: 92-86=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 86*92=7912, Resulting Numbers: [7912]
7912,90 unequal: No Solution
Exploring Operation: 86+92=178, Resulting Numbers: [178]
178,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 90:[79, 99], Operations: ['94-81=13', '86+13=99']
Exploring Operation: 79+99=178, Resulting Numbers: [178]
178,90 unequal: No Solution
Exploring Operation: 99-79=20, Resulting Numbers: [20]
20,90 unequal: No Solution
Exploring Operation: 79*99=7821, Resulting Numbers: [7821]
7821,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 90:[86, 66], Operations: ['94-81=13', '79-13=66']
Exploring Operation: 86-66=20, Resulting Numbers: [20]
20,90 unequal: No Solution
Exploring Operation: 86*66=5676, Resulting Numbers: [5676]
5676,90 unequal: No Solution
Exploring Operation: 86+66=152, Resulting Numbers: [152]
152,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 90:[79, 73], Operations: ['94-81=13', '86-13=73']
Exploring Operation: 79*73=5767, Resulting Numbers: [5767]
5767,90 unequal: No Solution
Exploring Operation: 79+73=152, Resulting Numbers: [152]
152,90 unequal: No Solution
Exploring Operation: 79-73=6, Resulting Numbers: [6]
6,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
62,
62,
81,
16
] | 59 | [
"62+62=124",
"81-16=65",
"124-65=59"
] | Current State: 59:[62, 62, 81, 16], Operations: []
Exploring Operation: 62+62=124, Resulting Numbers: [81, 16, 124]
Generated Node #2: [81, 16, 124] from Operation: 62+62=124
Current State: 59:[81, 16, 124], Operations: ['62+62=124']
Exploring Operation: 81-16=65, Resulting Numbers: [124, 65]
Generated Node #3: [124, 65] from Operation: 81-16=65
Current State: 59:[124, 65], Operations: ['62+62=124', '81-16=65']
Exploring Operation: 124-65=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[62, 62, 81, 16], Operations: []
Exploring Operation: 62+16=78, Resulting Numbers: [62, 81, 78]
Generated Node #0,0: 59:[62, 81, 78] Operation: 62+16=78
Exploring Operation: 62-16=46, Resulting Numbers: [62, 81, 46]
Generated Node #0,1: 59:[62, 81, 46] Operation: 62-16=46
Exploring Operation: 62-16=46, Resulting Numbers: [62, 81, 46]
Generated Node #0,2: 59:[62, 81, 46] Operation: 62-16=46
Exploring Operation: 81-16=65, Resulting Numbers: [62, 62, 65]
Generated Node #0,3: 59:[62, 62, 65] Operation: 81-16=65
Start Sub Search at level 1: Moving to Node #0,3
Current State: 59:[62, 62, 65], Operations: ['81-16=65']
Exploring Operation: 62-62=0, Resulting Numbers: [65, 0]
Generated Node #0,3,0: 59:[65, 0] Operation: 62-62=0
Exploring Operation: 65-62=3, Resulting Numbers: [62, 3]
Generated Node #0,3,1: 59:[62, 3] Operation: 65-62=3
Exploring Operation: 65-62=3, Resulting Numbers: [62, 3]
Generated Node #0,3,2: 59:[62, 3] Operation: 65-62=3
Exploring Operation: 62/62=1, Resulting Numbers: [65, 1]
Generated Node #0,3,3: 59:[65, 1] Operation: 62/62=1
Moving to Node #0,3,1
Current State: 59:[62, 3], Operations: ['81-16=65', '65-62=3']
Exploring Operation: 62*3=186, Resulting Numbers: [186]
186,59 unequal: No Solution
Exploring Operation: 62+3=65, Resulting Numbers: [65]
65,59 unequal: No Solution
Exploring Operation: 62-3=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[62, 62, 81, 16], Operations: []
Exploring Operation: 81-16=65, Resulting Numbers: [62, 62, 65]
Generated Node #0,3: 59:[62, 62, 65] Operation: 81-16=65
Moving to Node #0,3
Current State: 59:[62, 62, 65], Operations: ['81-16=65']
Exploring Operation: 65-62=3, Resulting Numbers: [62, 3]
Generated Node #0,3,1: 59:[62, 3] Operation: 65-62=3
Moving to Node #0,3,1
Current State: 59:[62, 3], Operations: ['81-16=65', '65-62=3']
Exploring Operation: 62-3=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
22,
3,
60,
51
] | 16 | [
"22+3=25",
"60-51=9",
"25-9=16"
] | Current State: 16:[22, 3, 60, 51], Operations: []
Exploring Operation: 22+3=25, Resulting Numbers: [60, 51, 25]
Generated Node #2: [60, 51, 25] from Operation: 22+3=25
Current State: 16:[60, 51, 25], Operations: ['22+3=25']
Exploring Operation: 60-51=9, Resulting Numbers: [25, 9]
Generated Node #3: [25, 9] from Operation: 60-51=9
Current State: 16:[25, 9], Operations: ['22+3=25', '60-51=9']
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[22, 3, 60, 51], Operations: []
Exploring Operation: 60-51=9, Resulting Numbers: [22, 3, 9]
Generated Node #0,0: 16:[22, 3, 9] Operation: 60-51=9
Moving to Node #0,0
Current State: 16:[22, 3, 9], Operations: ['60-51=9']
Exploring Operation: 22-3=19, Resulting Numbers: [9, 19]
Generated Node #0,0,0: 16:[9, 19] Operation: 22-3=19
Moving to Node #0,0,0
Current State: 16:[9, 19], Operations: ['60-51=9', '22-3=19']
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,16 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
34,
1,
68,
46
] | 43 | [
"68/34=2",
"46-1=45",
"45-2=43"
] | Current State: 43:[34, 1, 68, 46], Operations: []
Exploring Operation: 68/34=2, Resulting Numbers: [1, 46, 2]
Generated Node #2: [1, 46, 2] from Operation: 68/34=2
Current State: 43:[1, 46, 2], Operations: ['68/34=2']
Exploring Operation: 46-1=45, Resulting Numbers: [2, 45]
Generated Node #3: [2, 45] from Operation: 46-1=45
Current State: 43:[2, 45], Operations: ['68/34=2', '46-1=45']
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[34, 1, 68, 46], Operations: []
Exploring Operation: 46-1=45, Resulting Numbers: [34, 68, 45]
Generated Node #0,0: 43:[34, 68, 45] Operation: 46-1=45
Exploring Operation: 34*1=34, Resulting Numbers: [68, 46, 34]
Generated Node #0,1: 43:[68, 46, 34] Operation: 34*1=34
Exploring Operation: 34+1=35, Resulting Numbers: [68, 46, 35]
Generated Node #0,2: 43:[68, 46, 35] Operation: 34+1=35
Exploring Operation: 68-1=67, Resulting Numbers: [34, 46, 67]
Generated Node #0,3: 43:[34, 46, 67] Operation: 68-1=67
Moving to Node #0,0
Current State: 43:[34, 68, 45], Operations: ['46-1=45']
Exploring Operation: 45-34=11, Resulting Numbers: [68, 11]
Generated Node #0,0,0: 43:[68, 11] Operation: 45-34=11
Exploring Operation: 68/34=2, Resulting Numbers: [45, 2]
Generated Node #0,0,1: 43:[45, 2] Operation: 68/34=2
Exploring Operation: 68-45=23, Resulting Numbers: [34, 23]
Generated Node #0,0,2: 43:[34, 23] Operation: 68-45=23
Exploring Operation: 68-34=34, Resulting Numbers: [45, 34]
Generated Node #0,0,3: 43:[45, 34] Operation: 68-34=34
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 43:[45, 34], Operations: ['46-1=45', '68-34=34']
Exploring Operation: 45-34=11, Resulting Numbers: [11]
11,43 unequal: No Solution
Exploring Operation: 45*34=1530, Resulting Numbers: [1530]
1530,43 unequal: No Solution
Exploring Operation: 45+34=79, Resulting Numbers: [79]
79,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 43:[34, 23], Operations: ['46-1=45', '68-45=23']
Exploring Operation: 34+23=57, Resulting Numbers: [57]
57,43 unequal: No Solution
Exploring Operation: 34-23=11, Resulting Numbers: [11]
11,43 unequal: No Solution
Exploring Operation: 34*23=782, Resulting Numbers: [782]
782,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 43:[45, 2], Operations: ['46-1=45', '68/34=2']
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[34, 1, 68, 46], Operations: []
Exploring Operation: 46-1=45, Resulting Numbers: [34, 68, 45]
Generated Node #0,0: 43:[34, 68, 45] Operation: 46-1=45
Moving to Node #0,0
Current State: 43:[34, 68, 45], Operations: ['46-1=45']
Exploring Operation: 68/34=2, Resulting Numbers: [45, 2]
Generated Node #0,0,1: 43:[45, 2] Operation: 68/34=2
Moving to Node #0,0,1
Current State: 43:[45, 2], Operations: ['46-1=45', '68/34=2']
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | mult_heuristic |
[
80,
56,
25,
78
] | 79 | [
"80-56=24",
"25+78=103",
"103-24=79"
] | Current State: 79:[80, 56, 25, 78], Operations: []
Exploring Operation: 80-56=24, Resulting Numbers: [25, 78, 24]
Generated Node #2: [25, 78, 24] from Operation: 80-56=24
Current State: 79:[25, 78, 24], Operations: ['80-56=24']
Exploring Operation: 25+78=103, Resulting Numbers: [24, 103]
Generated Node #3: [24, 103] from Operation: 25+78=103
Current State: 79:[24, 103], Operations: ['80-56=24', '25+78=103']
Exploring Operation: 103-24=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[80, 56, 25, 78], Operations: []
Exploring Operation: 56+25=81, Resulting Numbers: [80, 78, 81]
Generated Node #0,0: 79:[80, 78, 81] Operation: 56+25=81
Exploring Operation: 80-25=55, Resulting Numbers: [56, 78, 55]
Generated Node #0,1: 79:[56, 78, 55] Operation: 80-25=55
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[80, 78, 81], Operations: ['56+25=81']
Exploring Operation: 81-78=3, Resulting Numbers: [80, 3]
Generated Node #0,0,0: 79:[80, 3] Operation: 81-78=3
Exploring Operation: 80-78=2, Resulting Numbers: [81, 2]
Generated Node #0,0,1: 79:[81, 2] Operation: 80-78=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[80, 3], Operations: ['56+25=81', '81-78=3']
Exploring Operation: 80+3=83, Resulting Numbers: [83]
83,79 unequal: No Solution
Exploring Operation: 80-3=77, Resulting Numbers: [77]
77,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 79:[81, 2], Operations: ['56+25=81', '80-78=2']
Exploring Operation: 81+2=83, Resulting Numbers: [83]
83,79 unequal: No Solution
Exploring Operation: 81-2=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[80, 56, 25, 78], Operations: []
Exploring Operation: 56+25=81, Resulting Numbers: [80, 78, 81]
Generated Node #0,0: 79:[80, 78, 81] Operation: 56+25=81
Moving to Node #0,0
Current State: 79:[80, 78, 81], Operations: ['56+25=81']
Exploring Operation: 80-78=2, Resulting Numbers: [81, 2]
Generated Node #0,0,1: 79:[81, 2] Operation: 80-78=2
Moving to Node #0,0,1
Current State: 79:[81, 2], Operations: ['56+25=81', '80-78=2']
Exploring Operation: 81-2=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
66,
1,
39,
11
] | 46 | [
"66/11=6",
"1+39=40",
"6+40=46"
] | Current State: 46:[66, 1, 39, 11], Operations: []
Exploring Operation: 66/11=6, Resulting Numbers: [1, 39, 6]
Generated Node #2: [1, 39, 6] from Operation: 66/11=6
Current State: 46:[1, 39, 6], Operations: ['66/11=6']
Exploring Operation: 1+39=40, Resulting Numbers: [6, 40]
Generated Node #3: [6, 40] from Operation: 1+39=40
Current State: 46:[6, 40], Operations: ['66/11=6', '1+39=40']
Exploring Operation: 6+40=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[66, 1, 39, 11], Operations: []
Exploring Operation: 66/11=6, Resulting Numbers: [1, 39, 6]
Generated Node #0,0: 46:[1, 39, 6] Operation: 66/11=6
Moving to Node #0,0
Current State: 46:[1, 39, 6], Operations: ['66/11=6']
Exploring Operation: 39+6=45, Resulting Numbers: [1, 45]
Generated Node #0,0,0: 46:[1, 45] Operation: 39+6=45
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 46:[1, 45], Operations: ['66/11=6', '39+6=45']
Exploring Operation: 1+45=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[66, 1, 39, 11], Operations: []
Exploring Operation: 66/11=6, Resulting Numbers: [1, 39, 6]
Generated Node #0,0: 46:[1, 39, 6] Operation: 66/11=6
Moving to Node #0,0
Current State: 46:[1, 39, 6], Operations: ['66/11=6']
Exploring Operation: 39+6=45, Resulting Numbers: [1, 45]
Generated Node #0,0,0: 46:[1, 45] Operation: 39+6=45
Moving to Node #0,0,0
Current State: 46:[1, 45], Operations: ['66/11=6', '39+6=45']
Exploring Operation: 1+45=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
29,
93,
74,
2
] | 39 | [
"29*2=58",
"93-74=19",
"58-19=39"
] | Current State: 39:[29, 93, 74, 2], Operations: []
Exploring Operation: 29*2=58, Resulting Numbers: [93, 74, 58]
Generated Node #2: [93, 74, 58] from Operation: 29*2=58
Current State: 39:[93, 74, 58], Operations: ['29*2=58']
Exploring Operation: 93-74=19, Resulting Numbers: [58, 19]
Generated Node #3: [58, 19] from Operation: 93-74=19
Current State: 39:[58, 19], Operations: ['29*2=58', '93-74=19']
Exploring Operation: 58-19=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[29, 93, 74, 2], Operations: []
Exploring Operation: 93-74=19, Resulting Numbers: [29, 2, 19]
Generated Node #0,0: 39:[29, 2, 19] Operation: 93-74=19
Exploring Operation: 29+2=31, Resulting Numbers: [93, 74, 31]
Generated Node #0,1: 39:[93, 74, 31] Operation: 29+2=31
Exploring Operation: 93-29=64, Resulting Numbers: [74, 2, 64]
Generated Node #0,2: 39:[74, 2, 64] Operation: 93-29=64
Exploring Operation: 74-29=45, Resulting Numbers: [93, 2, 45]
Generated Node #0,3: 39:[93, 2, 45] Operation: 74-29=45
Exploring Operation: 74/2=37, Resulting Numbers: [29, 93, 37]
Generated Node #0,4: 39:[29, 93, 37] Operation: 74/2=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[29, 2, 19], Operations: ['93-74=19']
Exploring Operation: 2*19=38, Resulting Numbers: [29, 38]
Generated Node #0,0,0: 39:[29, 38] Operation: 2*19=38
Exploring Operation: 29+19=48, Resulting Numbers: [2, 48]
Generated Node #0,0,1: 39:[2, 48] Operation: 29+19=48
Exploring Operation: 29-19=10, Resulting Numbers: [2, 10]
Generated Node #0,0,2: 39:[2, 10] Operation: 29-19=10
Exploring Operation: 19-2=17, Resulting Numbers: [29, 17]
Generated Node #0,0,3: 39:[29, 17] Operation: 19-2=17
Exploring Operation: 29+2=31, Resulting Numbers: [19, 31]
Generated Node #0,0,4: 39:[19, 31] Operation: 29+2=31
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 39:[2, 10], Operations: ['93-74=19', '29-19=10']
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,39 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,39 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,39 unequal: No Solution
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 39:[2, 48], Operations: ['93-74=19', '29+19=48']
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,39 unequal: No Solution
Exploring Operation: 2*48=96, Resulting Numbers: [96]
96,39 unequal: No Solution
Exploring Operation: 2+48=50, Resulting Numbers: [50]
50,39 unequal: No Solution
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 39:[29, 38], Operations: ['93-74=19', '2*19=38']
Exploring Operation: 29+38=67, Resulting Numbers: [67]
67,39 unequal: No Solution
Exploring Operation: 38-29=9, Resulting Numbers: [9]
9,39 unequal: No Solution
Exploring Operation: 29*38=1102, Resulting Numbers: [1102]
1102,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 39:[29, 17], Operations: ['93-74=19', '19-2=17']
Exploring Operation: 29+17=46, Resulting Numbers: [46]
46,39 unequal: No Solution
Exploring Operation: 29-17=12, Resulting Numbers: [12]
12,39 unequal: No Solution
Exploring Operation: 29*17=493, Resulting Numbers: [493]
493,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 39:[19, 31], Operations: ['93-74=19', '29+2=31']
Exploring Operation: 19+31=50, Resulting Numbers: [50]
50,39 unequal: No Solution
Exploring Operation: 31-19=12, Resulting Numbers: [12]
12,39 unequal: No Solution
Exploring Operation: 19*31=589, Resulting Numbers: [589]
589,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 39:[74, 2, 64], Operations: ['93-29=64']
Exploring Operation: 74/2=37, Resulting Numbers: [64, 37]
Generated Node #0,2,0: 39:[64, 37] Operation: 74/2=37
Exploring Operation: 64/2=32, Resulting Numbers: [74, 32]
Generated Node #0,2,1: 39:[74, 32] Operation: 64/2=32
Exploring Operation: 74-64=10, Resulting Numbers: [2, 10]
Generated Node #0,2,2: 39:[2, 10] Operation: 74-64=10
Exploring Operation: 64-2=62, Resulting Numbers: [74, 62]
Generated Node #0,2,3: 39:[74, 62] Operation: 64-2=62
Exploring Operation: 74-2=72, Resulting Numbers: [64, 72]
Generated Node #0,2,4: 39:[64, 72] Operation: 74-2=72
Moving to Node #0,2,2
Current State: 39:[2, 10], Operations: ['93-29=64', '74-64=10']
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,39 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,39 unequal: No Solution
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,39 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,39 unequal: No Solution
Moving to Node #0,2,0
Current State: 39:[64, 37], Operations: ['93-29=64', '74/2=37']
Exploring Operation: 64-37=27, Resulting Numbers: [27]
27,39 unequal: No Solution
Exploring Operation: 64+37=101, Resulting Numbers: [101]
101,39 unequal: No Solution
Exploring Operation: 64*37=2368, Resulting Numbers: [2368]
2368,39 unequal: No Solution
Moving to Node #0,2,1
Current State: 39:[74, 32], Operations: ['93-29=64', '64/2=32']
Exploring Operation: 74-32=42, Resulting Numbers: [42]
42,39 unequal: No Solution
Exploring Operation: 74+32=106, Resulting Numbers: [106]
106,39 unequal: No Solution
Exploring Operation: 74*32=2368, Resulting Numbers: [2368]
2368,39 unequal: No Solution
Moving to Node #0,2,3
Current State: 39:[74, 62], Operations: ['93-29=64', '64-2=62']
Exploring Operation: 74-62=12, Resulting Numbers: [12]
12,39 unequal: No Solution
Exploring Operation: 74+62=136, Resulting Numbers: [136]
136,39 unequal: No Solution
Exploring Operation: 74*62=4588, Resulting Numbers: [4588]
4588,39 unequal: No Solution
Moving to Node #0,2,4
Current State: 39:[64, 72], Operations: ['93-29=64', '74-2=72']
Exploring Operation: 72-64=8, Resulting Numbers: [8]
8,39 unequal: No Solution
Exploring Operation: 64+72=136, Resulting Numbers: [136]
136,39 unequal: No Solution
Exploring Operation: 64*72=4608, Resulting Numbers: [4608]
4608,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 39:[93, 2, 45], Operations: ['74-29=45']
Exploring Operation: 93-2=91, Resulting Numbers: [45, 91]
Generated Node #0,3,0: 39:[45, 91] Operation: 93-2=91
Exploring Operation: 45-2=43, Resulting Numbers: [93, 43]
Generated Node #0,3,1: 39:[93, 43] Operation: 45-2=43
Exploring Operation: 93-45=48, Resulting Numbers: [2, 48]
Generated Node #0,3,2: 39:[2, 48] Operation: 93-45=48
Exploring Operation: 93+2=95, Resulting Numbers: [45, 95]
Generated Node #0,3,3: 39:[45, 95] Operation: 93+2=95
Exploring Operation: 2+45=47, Resulting Numbers: [93, 47]
Generated Node #0,3,4: 39:[93, 47] Operation: 2+45=47
Moving to Node #0,3,2
Current State: 39:[2, 48], Operations: ['74-29=45', '93-45=48']
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,39 unequal: No Solution
Exploring Operation: 2+48=50, Resulting Numbers: [50]
50,39 unequal: No Solution
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,39 unequal: No Solution
Exploring Operation: 2*48=96, Resulting Numbers: [96]
96,39 unequal: No Solution
Moving to Node #0,3,1
Current State: 39:[93, 43], Operations: ['74-29=45', '45-2=43']
Exploring Operation: 93-43=50, Resulting Numbers: [50]
50,39 unequal: No Solution
Exploring Operation: 93+43=136, Resulting Numbers: [136]
136,39 unequal: No Solution
Exploring Operation: 93*43=3999, Resulting Numbers: [3999]
3999,39 unequal: No Solution
Moving to Node #0,3,0
Current State: 39:[45, 91], Operations: ['74-29=45', '93-2=91']
Exploring Operation: 45*91=4095, Resulting Numbers: [4095]
4095,39 unequal: No Solution
Exploring Operation: 45+91=136, Resulting Numbers: [136]
136,39 unequal: No Solution
Exploring Operation: 91-45=46, Resulting Numbers: [46]
46,39 unequal: No Solution
Moving to Node #0,3,3
Current State: 39:[45, 95], Operations: ['74-29=45', '93+2=95']
Exploring Operation: 95-45=50, Resulting Numbers: [50]
50,39 unequal: No Solution
Exploring Operation: 45*95=4275, Resulting Numbers: [4275]
4275,39 unequal: No Solution
Exploring Operation: 45+95=140, Resulting Numbers: [140]
140,39 unequal: No Solution
Moving to Node #0,3,4
Current State: 39:[93, 47], Operations: ['74-29=45', '2+45=47']
Exploring Operation: 93+47=140, Resulting Numbers: [140]
140,39 unequal: No Solution
Exploring Operation: 93-47=46, Resulting Numbers: [46]
46,39 unequal: No Solution
Exploring Operation: 93*47=4371, Resulting Numbers: [4371]
4371,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
Current State: 39:[29, 93, 37], Operations: ['74/2=37']
Exploring Operation: 29+93=122, Resulting Numbers: [37, 122]
Generated Node #0,4,0: 39:[37, 122] Operation: 29+93=122
Exploring Operation: 93-37=56, Resulting Numbers: [29, 56]
Generated Node #0,4,1: 39:[29, 56] Operation: 93-37=56
Exploring Operation: 29+37=66, Resulting Numbers: [93, 66]
Generated Node #0,4,2: 39:[93, 66] Operation: 29+37=66
Exploring Operation: 37-29=8, Resulting Numbers: [93, 8]
Generated Node #0,4,3: 39:[93, 8] Operation: 37-29=8
Exploring Operation: 93-29=64, Resulting Numbers: [37, 64]
Generated Node #0,4,4: 39:[37, 64] Operation: 93-29=64
Moving to Node #0,4,1
Current State: 39:[29, 56], Operations: ['74/2=37', '93-37=56']
Exploring Operation: 29+56=85, Resulting Numbers: [85]
85,39 unequal: No Solution
Exploring Operation: 29*56=1624, Resulting Numbers: [1624]
1624,39 unequal: No Solution
Exploring Operation: 56-29=27, Resulting Numbers: [27]
27,39 unequal: No Solution
Moving to Node #0,4,4
Current State: 39:[37, 64], Operations: ['74/2=37', '93-29=64']
Exploring Operation: 37*64=2368, Resulting Numbers: [2368]
2368,39 unequal: No Solution
Exploring Operation: 64-37=27, Resulting Numbers: [27]
27,39 unequal: No Solution
Exploring Operation: 37+64=101, Resulting Numbers: [101]
101,39 unequal: No Solution
Moving to Node #0,4,3
Current State: 39:[93, 8], Operations: ['74/2=37', '37-29=8']
Exploring Operation: 93*8=744, Resulting Numbers: [744]
744,39 unequal: No Solution
Exploring Operation: 93-8=85, Resulting Numbers: [85]
85,39 unequal: No Solution
Exploring Operation: 93+8=101, Resulting Numbers: [101]
101,39 unequal: No Solution
Moving to Node #0,4,2
Current State: 39:[93, 66], Operations: ['74/2=37', '29+37=66']
Exploring Operation: 93-66=27, Resulting Numbers: [27]
27,39 unequal: No Solution
Exploring Operation: 93*66=6138, Resulting Numbers: [6138]
6138,39 unequal: No Solution
Exploring Operation: 93+66=159, Resulting Numbers: [159]
159,39 unequal: No Solution
Moving to Node #0,4,0
Current State: 39:[37, 122], Operations: ['74/2=37', '29+93=122']
Exploring Operation: 122-37=85, Resulting Numbers: [85]
85,39 unequal: No Solution
Exploring Operation: 37+122=159, Resulting Numbers: [159]
159,39 unequal: No Solution
Exploring Operation: 37*122=4514, Resulting Numbers: [4514]
4514,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[93, 74, 31], Operations: ['29+2=31']
Exploring Operation: 93/31=3, Resulting Numbers: [74, 3]
Generated Node #0,1,0: 39:[74, 3] Operation: 93/31=3
Exploring Operation: 93-74=19, Resulting Numbers: [31, 19]
Generated Node #0,1,1: 39:[31, 19] Operation: 93-74=19
Exploring Operation: 93+31=124, Resulting Numbers: [74, 124]
Generated Node #0,1,2: 39:[74, 124] Operation: 93+31=124
Exploring Operation: 93-31=62, Resulting Numbers: [74, 62]
Generated Node #0,1,3: 39:[74, 62] Operation: 93-31=62
Exploring Operation: 74-31=43, Resulting Numbers: [93, 43]
Generated Node #0,1,4: 39:[93, 43] Operation: 74-31=43
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 39:[31, 19], Operations: ['29+2=31', '93-74=19']
Exploring Operation: 31-19=12, Resulting Numbers: [12]
12,39 unequal: No Solution
Exploring Operation: 31+19=50, Resulting Numbers: [50]
50,39 unequal: No Solution
Exploring Operation: 31*19=589, Resulting Numbers: [589]
589,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 39:[74, 3], Operations: ['29+2=31', '93/31=3']
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,39 unequal: No Solution
Exploring Operation: 74+3=77, Resulting Numbers: [77]
77,39 unequal: No Solution
Exploring Operation: 74*3=222, Resulting Numbers: [222]
222,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 39:[74, 62], Operations: ['29+2=31', '93-31=62']
Exploring Operation: 74+62=136, Resulting Numbers: [136]
136,39 unequal: No Solution
Exploring Operation: 74*62=4588, Resulting Numbers: [4588]
4588,39 unequal: No Solution
Exploring Operation: 74-62=12, Resulting Numbers: [12]
12,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 39:[93, 43], Operations: ['29+2=31', '74-31=43']
Exploring Operation: 93-43=50, Resulting Numbers: [50]
50,39 unequal: No Solution
Exploring Operation: 93+43=136, Resulting Numbers: [136]
136,39 unequal: No Solution
Exploring Operation: 93*43=3999, Resulting Numbers: [3999]
3999,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 39:[74, 124], Operations: ['29+2=31', '93+31=124']
Exploring Operation: 124-74=50, Resulting Numbers: [50]
50,39 unequal: No Solution
Exploring Operation: 74+124=198, Resulting Numbers: [198]
198,39 unequal: No Solution
Exploring Operation: 74*124=9176, Resulting Numbers: [9176]
9176,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
59,
78,
33,
32
] | 35 | [
"59-33=26",
"78/26=3",
"32+3=35"
] | Current State: 35:[59, 78, 33, 32], Operations: []
Exploring Operation: 59-33=26, Resulting Numbers: [78, 32, 26]
Generated Node #2: [78, 32, 26] from Operation: 59-33=26
Current State: 35:[78, 32, 26], Operations: ['59-33=26']
Exploring Operation: 78/26=3, Resulting Numbers: [32, 3]
Generated Node #3: [32, 3] from Operation: 78/26=3
Current State: 35:[32, 3], Operations: ['59-33=26', '78/26=3']
Exploring Operation: 32+3=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[59, 78, 33, 32], Operations: []
Exploring Operation: 78-33=45, Resulting Numbers: [59, 32, 45]
Generated Node #0,0: 35:[59, 32, 45] Operation: 78-33=45
Exploring Operation: 78-59=19, Resulting Numbers: [33, 32, 19]
Generated Node #0,1: 35:[33, 32, 19] Operation: 78-59=19
Moving to Node #0,1
Current State: 35:[33, 32, 19], Operations: ['78-59=19']
Exploring Operation: 33-19=14, Resulting Numbers: [32, 14]
Generated Node #0,1,0: 35:[32, 14] Operation: 33-19=14
Exploring Operation: 32-19=13, Resulting Numbers: [33, 13]
Generated Node #0,1,1: 35:[33, 13] Operation: 32-19=13
Moving to Node #0,0
Current State: 35:[59, 32, 45], Operations: ['78-33=45']
Exploring Operation: 59-45=14, Resulting Numbers: [32, 14]
Generated Node #0,0,0: 35:[32, 14] Operation: 59-45=14
Exploring Operation: 59-32=27, Resulting Numbers: [45, 27]
Generated Node #0,0,1: 35:[45, 27] Operation: 59-32=27
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 35:[32, 14], Operations: ['78-33=45', '59-45=14']
Exploring Operation: 32-14=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 32+14=46, Resulting Numbers: [46]
46,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 35:[45, 27], Operations: ['78-33=45', '59-32=27']
Exploring Operation: 45-27=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 45+27=72, Resulting Numbers: [72]
72,35 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: 35:[33, 13], Operations: ['78-59=19', '32-19=13']
Exploring Operation: 33-13=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Exploring Operation: 33+13=46, Resulting Numbers: [46]
46,35 unequal: No Solution
Moving to Node #0,1,0
Current State: 35:[32, 14], Operations: ['78-59=19', '33-19=14']
Exploring Operation: 32+14=46, Resulting Numbers: [46]
46,35 unequal: No Solution
Exploring Operation: 32-14=18, Resulting Numbers: [18]
18,35 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
35,
56,
15,
19
] | 95 | [
"35+56=91",
"19-15=4",
"91+4=95"
] | Current State: 95:[35, 56, 15, 19], Operations: []
Exploring Operation: 35+56=91, Resulting Numbers: [15, 19, 91]
Generated Node #2: [15, 19, 91] from Operation: 35+56=91
Current State: 95:[15, 19, 91], Operations: ['35+56=91']
Exploring Operation: 19-15=4, Resulting Numbers: [91, 4]
Generated Node #3: [91, 4] from Operation: 19-15=4
Current State: 95:[91, 4], Operations: ['35+56=91', '19-15=4']
Exploring Operation: 91+4=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[35, 56, 15, 19], Operations: []
Exploring Operation: 35+56=91, Resulting Numbers: [15, 19, 91]
Generated Node #0,0: 95:[15, 19, 91] Operation: 35+56=91
Exploring Operation: 56-15=41, Resulting Numbers: [35, 19, 41]
Generated Node #0,1: 95:[35, 19, 41] Operation: 56-15=41
Exploring Operation: 56-35=21, Resulting Numbers: [15, 19, 21]
Generated Node #0,2: 95:[15, 19, 21] Operation: 56-35=21
Exploring Operation: 35-15=20, Resulting Numbers: [56, 19, 20]
Generated Node #0,3: 95:[56, 19, 20] Operation: 35-15=20
Start Sub Search at level 1: Moving to Node #0,2
Current State: 95:[15, 19, 21], Operations: ['56-35=21']
Exploring Operation: 21-15=6, Resulting Numbers: [19, 6]
Generated Node #0,2,0: 95:[19, 6] Operation: 21-15=6
Exploring Operation: 19-15=4, Resulting Numbers: [21, 4]
Generated Node #0,2,1: 95:[21, 4] Operation: 19-15=4
Exploring Operation: 15+19=34, Resulting Numbers: [21, 34]
Generated Node #0,2,2: 95:[21, 34] Operation: 15+19=34
Exploring Operation: 21-19=2, Resulting Numbers: [15, 2]
Generated Node #0,2,3: 95:[15, 2] Operation: 21-19=2
Moving to Node #0,2,0
Current State: 95:[19, 6], Operations: ['56-35=21', '21-15=6']
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,95 unequal: No Solution
Exploring Operation: 19+6=25, Resulting Numbers: [25]
25,95 unequal: No Solution
Exploring Operation: 19*6=114, Resulting Numbers: [114]
114,95 unequal: No Solution
Moving to Node #0,2,1
Current State: 95:[21, 4], Operations: ['56-35=21', '19-15=4']
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,95 unequal: No Solution
Exploring Operation: 21*4=84, Resulting Numbers: [84]
84,95 unequal: No Solution
Exploring Operation: 21+4=25, Resulting Numbers: [25]
25,95 unequal: No Solution
Moving to Node #0,2,3
Current State: 95:[15, 2], Operations: ['56-35=21', '21-19=2']
Exploring Operation: 15+2=17, Resulting Numbers: [17]
17,95 unequal: No Solution
Exploring Operation: 15*2=30, Resulting Numbers: [30]
30,95 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,95 unequal: No Solution
Moving to Node #0,2,2
Current State: 95:[21, 34], Operations: ['56-35=21', '15+19=34']
Exploring Operation: 34-21=13, Resulting Numbers: [13]
13,95 unequal: No Solution
Exploring Operation: 21+34=55, Resulting Numbers: [55]
55,95 unequal: No Solution
Exploring Operation: 21*34=714, Resulting Numbers: [714]
714,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[15, 19, 91], Operations: ['35+56=91']
Exploring Operation: 15+19=34, Resulting Numbers: [91, 34]
Generated Node #0,0,0: 95:[91, 34] Operation: 15+19=34
Exploring Operation: 19-15=4, Resulting Numbers: [91, 4]
Generated Node #0,0,1: 95:[91, 4] Operation: 19-15=4
Exploring Operation: 91-15=76, Resulting Numbers: [19, 76]
Generated Node #0,0,2: 95:[19, 76] Operation: 91-15=76
Exploring Operation: 15+91=106, Resulting Numbers: [19, 106]
Generated Node #0,0,3: 95:[19, 106] Operation: 15+91=106
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 95:[91, 4], Operations: ['35+56=91', '19-15=4']
Exploring Operation: 91+4=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[35, 56, 15, 19], Operations: []
Exploring Operation: 35+56=91, Resulting Numbers: [15, 19, 91]
Generated Node #0,0: 95:[15, 19, 91] Operation: 35+56=91
Moving to Node #0,0
Current State: 95:[15, 19, 91], Operations: ['35+56=91']
Exploring Operation: 19-15=4, Resulting Numbers: [91, 4]
Generated Node #0,0,1: 95:[91, 4] Operation: 19-15=4
Moving to Node #0,0,1
Current State: 95:[91, 4], Operations: ['35+56=91', '19-15=4']
Exploring Operation: 91+4=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.974826 | hs_4 | sum_heuristic |
[
17,
26,
1,
97
] | 89 | [
"26-17=9",
"1+97=98",
"98-9=89"
] | Current State: 89:[17, 26, 1, 97], Operations: []
Exploring Operation: 26-17=9, Resulting Numbers: [1, 97, 9]
Generated Node #2: [1, 97, 9] from Operation: 26-17=9
Current State: 89:[1, 97, 9], Operations: ['26-17=9']
Exploring Operation: 1+97=98, Resulting Numbers: [9, 98]
Generated Node #3: [9, 98] from Operation: 1+97=98
Current State: 89:[9, 98], Operations: ['26-17=9', '1+97=98']
Exploring Operation: 98-9=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[17, 26, 1, 97], Operations: []
Exploring Operation: 17+1=18, Resulting Numbers: [26, 97, 18]
Generated Node #0,0: 89:[26, 97, 18] Operation: 17+1=18
Exploring Operation: 26+1=27, Resulting Numbers: [17, 97, 27]
Generated Node #0,1: 89:[17, 97, 27] Operation: 26+1=27
Exploring Operation: 17+26=43, Resulting Numbers: [1, 97, 43]
Generated Node #0,2: 89:[1, 97, 43] Operation: 17+26=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[26, 97, 18], Operations: ['17+1=18']
Exploring Operation: 97-18=79, Resulting Numbers: [26, 79]
Generated Node #0,0,0: 89:[26, 79] Operation: 97-18=79
Exploring Operation: 97-26=71, Resulting Numbers: [18, 71]
Generated Node #0,0,1: 89:[18, 71] Operation: 97-26=71
Exploring Operation: 26+18=44, Resulting Numbers: [97, 44]
Generated Node #0,0,2: 89:[97, 44] Operation: 26+18=44
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 89:[97, 44], Operations: ['17+1=18', '26+18=44']
Exploring Operation: 97*44=4268, Resulting Numbers: [4268]
4268,89 unequal: No Solution
Exploring Operation: 97+44=141, Resulting Numbers: [141]
141,89 unequal: No Solution
Exploring Operation: 97-44=53, Resulting Numbers: [53]
53,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 89:[26, 79], Operations: ['17+1=18', '97-18=79']
Exploring Operation: 79-26=53, Resulting Numbers: [53]
53,89 unequal: No Solution
Exploring Operation: 26*79=2054, Resulting Numbers: [2054]
2054,89 unequal: No Solution
Exploring Operation: 26+79=105, Resulting Numbers: [105]
105,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 89:[18, 71], Operations: ['17+1=18', '97-26=71']
Exploring Operation: 71-18=53, Resulting Numbers: [53]
53,89 unequal: No Solution
Exploring Operation: 18+71=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[17, 26, 1, 97], Operations: []
Exploring Operation: 17+1=18, Resulting Numbers: [26, 97, 18]
Generated Node #0,0: 89:[26, 97, 18] Operation: 17+1=18
Moving to Node #0,0
Current State: 89:[26, 97, 18], Operations: ['17+1=18']
Exploring Operation: 97-26=71, Resulting Numbers: [18, 71]
Generated Node #0,0,1: 89:[18, 71] Operation: 97-26=71
Moving to Node #0,0,1
Current State: 89:[18, 71], Operations: ['17+1=18', '97-26=71']
Exploring Operation: 18+71=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_3 | sum_heuristic |
[
84,
85,
85,
39
] | 46 | [
"85-84=1",
"85-39=46",
"1*46=46"
] | Current State: 46:[84, 85, 85, 39], Operations: []
Exploring Operation: 85-84=1, Resulting Numbers: [39, 1]
Generated Node #2: [39, 1] from Operation: 85-84=1
Current State: 46:[39, 1], Operations: ['85-84=1']
Exploring Operation: 85-39=46, Resulting Numbers: [1, 46]
Generated Node #3: [1, 46] from Operation: 85-39=46
Current State: 46:[1, 46], Operations: ['85-84=1', '85-39=46']
Exploring Operation: 1*46=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[84, 85, 85, 39], Operations: []
Exploring Operation: 85/85=1, Resulting Numbers: [84, 39, 1]
Generated Node #0,0: 46:[84, 39, 1] Operation: 85/85=1
Exploring Operation: 85-84=1, Resulting Numbers: [85, 39, 1]
Generated Node #0,1: 46:[85, 39, 1] Operation: 85-84=1
Moving to Node #0,0
Current State: 46:[84, 39, 1], Operations: ['85/85=1']
Exploring Operation: 84-1=83, Resulting Numbers: [39, 83]
Generated Node #0,0,0: 46:[39, 83] Operation: 84-1=83
Exploring Operation: 84-39=45, Resulting Numbers: [1, 45]
Generated Node #0,0,1: 46:[1, 45] Operation: 84-39=45
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 46:[1, 45], Operations: ['85/85=1', '84-39=45']
Exploring Operation: 1+45=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[84, 85, 85, 39], Operations: []
Exploring Operation: 85/85=1, Resulting Numbers: [84, 39, 1]
Generated Node #0,0: 46:[84, 39, 1] Operation: 85/85=1
Moving to Node #0,0
Current State: 46:[84, 39, 1], Operations: ['85/85=1']
Exploring Operation: 84-39=45, Resulting Numbers: [1, 45]
Generated Node #0,0,1: 46:[1, 45] Operation: 84-39=45
Moving to Node #0,0,1
Current State: 46:[1, 45], Operations: ['85/85=1', '84-39=45']
Exploring Operation: 1+45=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
10,
13,
59,
76
] | 20 | [
"13-10=3",
"76-59=17",
"3+17=20"
] | Current State: 20:[10, 13, 59, 76], Operations: []
Exploring Operation: 13-10=3, Resulting Numbers: [59, 76, 3]
Generated Node #2: [59, 76, 3] from Operation: 13-10=3
Current State: 20:[59, 76, 3], Operations: ['13-10=3']
Exploring Operation: 76-59=17, Resulting Numbers: [3, 17]
Generated Node #3: [3, 17] from Operation: 76-59=17
Current State: 20:[3, 17], Operations: ['13-10=3', '76-59=17']
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[10, 13, 59, 76], Operations: []
Exploring Operation: 59-13=46, Resulting Numbers: [10, 76, 46]
Generated Node #0,0: 20:[10, 76, 46] Operation: 59-13=46
Exploring Operation: 76-59=17, Resulting Numbers: [10, 13, 17]
Generated Node #0,1: 20:[10, 13, 17] Operation: 76-59=17
Exploring Operation: 59-10=49, Resulting Numbers: [13, 76, 49]
Generated Node #0,2: 20:[13, 76, 49] Operation: 59-10=49
Exploring Operation: 76-13=63, Resulting Numbers: [10, 59, 63]
Generated Node #0,3: 20:[10, 59, 63] Operation: 76-13=63
Moving to Node #0,1
Current State: 20:[10, 13, 17], Operations: ['76-59=17']
Exploring Operation: 10+13=23, Resulting Numbers: [17, 23]
Generated Node #0,1,0: 20:[17, 23] Operation: 10+13=23
Exploring Operation: 13-10=3, Resulting Numbers: [17, 3]
Generated Node #0,1,1: 20:[17, 3] Operation: 13-10=3
Exploring Operation: 17-10=7, Resulting Numbers: [13, 7]
Generated Node #0,1,2: 20:[13, 7] Operation: 17-10=7
Exploring Operation: 17-13=4, Resulting Numbers: [10, 4]
Generated Node #0,1,3: 20:[10, 4] Operation: 17-13=4
Moving to Node #0,3
Current State: 20:[10, 59, 63], Operations: ['76-13=63']
Exploring Operation: 63-10=53, Resulting Numbers: [59, 53]
Generated Node #0,3,0: 20:[59, 53] Operation: 63-10=53
Exploring Operation: 63-59=4, Resulting Numbers: [10, 4]
Generated Node #0,3,1: 20:[10, 4] Operation: 63-59=4
Exploring Operation: 59-10=49, Resulting Numbers: [63, 49]
Generated Node #0,3,2: 20:[63, 49] Operation: 59-10=49
Exploring Operation: 10+59=69, Resulting Numbers: [63, 69]
Generated Node #0,3,3: 20:[63, 69] Operation: 10+59=69
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 20:[10, 4], Operations: ['76-13=63', '63-59=4']
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,20 unequal: No Solution
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,20 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 20:[59, 53], Operations: ['76-13=63', '63-10=53']
Exploring Operation: 59+53=112, Resulting Numbers: [112]
112,20 unequal: No Solution
Exploring Operation: 59-53=6, Resulting Numbers: [6]
6,20 unequal: No Solution
Exploring Operation: 59*53=3127, Resulting Numbers: [3127]
3127,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 20:[63, 49], Operations: ['76-13=63', '59-10=49']
Exploring Operation: 63*49=3087, Resulting Numbers: [3087]
3087,20 unequal: No Solution
Exploring Operation: 63+49=112, Resulting Numbers: [112]
112,20 unequal: No Solution
Exploring Operation: 63-49=14, Resulting Numbers: [14]
14,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 20:[63, 69], Operations: ['76-13=63', '10+59=69']
Exploring Operation: 63+69=132, Resulting Numbers: [132]
132,20 unequal: No Solution
Exploring Operation: 63*69=4347, Resulting Numbers: [4347]
4347,20 unequal: No Solution
Exploring Operation: 69-63=6, Resulting Numbers: [6]
6,20 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: 20:[10, 76, 46], Operations: ['59-13=46']
Exploring Operation: 46-10=36, Resulting Numbers: [76, 36]
Generated Node #0,0,0: 20:[76, 36] Operation: 46-10=36
Exploring Operation: 10+76=86, Resulting Numbers: [46, 86]
Generated Node #0,0,1: 20:[46, 86] Operation: 10+76=86
Exploring Operation: 76-10=66, Resulting Numbers: [46, 66]
Generated Node #0,0,2: 20:[46, 66] Operation: 76-10=66
Exploring Operation: 76-46=30, Resulting Numbers: [10, 30]
Generated Node #0,0,3: 20:[10, 30] Operation: 76-46=30
Moving to Node #0,2
Current State: 20:[13, 76, 49], Operations: ['59-10=49']
Exploring Operation: 76-49=27, Resulting Numbers: [13, 27]
Generated Node #0,2,0: 20:[13, 27] Operation: 76-49=27
Exploring Operation: 49-13=36, Resulting Numbers: [76, 36]
Generated Node #0,2,1: 20:[76, 36] Operation: 49-13=36
Exploring Operation: 13+76=89, Resulting Numbers: [49, 89]
Generated Node #0,2,2: 20:[49, 89] Operation: 13+76=89
Exploring Operation: 76-13=63, Resulting Numbers: [49, 63]
Generated Node #0,2,3: 20:[49, 63] Operation: 76-13=63
Moving to Node #0,1,3
Current State: 20:[10, 4], Operations: ['76-59=17', '17-13=4']
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,20 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,20 unequal: No Solution
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,20 unequal: No Solution
Moving to Node #0,1,1
Current State: 20:[17, 3], Operations: ['76-59=17', '13-10=3']
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[10, 13, 59, 76], Operations: []
Exploring Operation: 76-59=17, Resulting Numbers: [10, 13, 17]
Generated Node #0,1: 20:[10, 13, 17] Operation: 76-59=17
Moving to Node #0,1
Current State: 20:[10, 13, 17], Operations: ['76-59=17']
Exploring Operation: 13-10=3, Resulting Numbers: [17, 3]
Generated Node #0,1,1: 20:[17, 3] Operation: 13-10=3
Moving to Node #0,1,1
Current State: 20:[17, 3], Operations: ['76-59=17', '13-10=3']
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 0.965278 | hs_4 | sum_heuristic |
[
4,
2,
31,
45
] | 84 | [
"4+2=6",
"45-31=14",
"6*14=84"
] | Current State: 84:[4, 2, 31, 45], Operations: []
Exploring Operation: 4+2=6, Resulting Numbers: [31, 45, 6]
Generated Node #2: [31, 45, 6] from Operation: 4+2=6
Current State: 84:[31, 45, 6], Operations: ['4+2=6']
Exploring Operation: 45-31=14, Resulting Numbers: [6, 14]
Generated Node #3: [6, 14] from Operation: 45-31=14
Current State: 84:[6, 14], Operations: ['4+2=6', '45-31=14']
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[4, 2, 31, 45], Operations: []
Exploring Operation: 45-31=14, Resulting Numbers: [4, 2, 14]
Generated Node #0,0: 84:[4, 2, 14] Operation: 45-31=14
Exploring Operation: 31-2=29, Resulting Numbers: [4, 45, 29]
Generated Node #0,1: 84:[4, 45, 29] Operation: 31-2=29
Exploring Operation: 31-4=27, Resulting Numbers: [2, 45, 27]
Generated Node #0,2: 84:[2, 45, 27] Operation: 31-4=27
Exploring Operation: 45-4=41, Resulting Numbers: [2, 31, 41]
Generated Node #0,3: 84:[2, 31, 41] Operation: 45-4=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[4, 2, 14], Operations: ['45-31=14']
Exploring Operation: 2*14=28, Resulting Numbers: [4, 28]
Generated Node #0,0,0: 84:[4, 28] Operation: 2*14=28
Exploring Operation: 4/2=2, Resulting Numbers: [14, 2]
Generated Node #0,0,1: 84:[14, 2] Operation: 4/2=2
Exploring Operation: 4-2=2, Resulting Numbers: [14, 2]
Generated Node #0,0,2: 84:[14, 2] Operation: 4-2=2
Exploring Operation: 4+2=6, Resulting Numbers: [14, 6]
Generated Node #0,0,3: 84:[14, 6] Operation: 4+2=6
Moving to Node #0,0,0
Current State: 84:[4, 28], Operations: ['45-31=14', '2*14=28']
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,84 unequal: No Solution
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,84 unequal: No Solution
Exploring Operation: 4*28=112, Resulting Numbers: [112]
112,84 unequal: No Solution
Exploring Operation: 4+28=32, Resulting Numbers: [32]
32,84 unequal: No Solution
Moving to Node #0,0,2
Current State: 84:[14, 2], Operations: ['45-31=14', '4-2=2']
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,84 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,84 unequal: No Solution
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,84 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,84 unequal: No Solution
Moving to Node #0,0,1
Current State: 84:[14, 2], Operations: ['45-31=14', '4/2=2']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,84 unequal: No Solution
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,84 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,84 unequal: No Solution
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,84 unequal: No Solution
Moving to Node #0,0,3
Current State: 84:[14, 6], Operations: ['45-31=14', '4+2=6']
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[4, 2, 31, 45], Operations: []
Exploring Operation: 45-31=14, Resulting Numbers: [4, 2, 14]
Generated Node #0,0: 84:[4, 2, 14] Operation: 45-31=14
Moving to Node #0,0
Current State: 84:[4, 2, 14], Operations: ['45-31=14']
Exploring Operation: 4+2=6, Resulting Numbers: [14, 6]
Generated Node #0,0,3: 84:[14, 6] Operation: 4+2=6
Moving to Node #0,0,3
Current State: 84:[14, 6], Operations: ['45-31=14', '4+2=6']
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_4 | mult_heuristic |
[
87,
95,
57,
37
] | 88 | [
"87+95=182",
"57+37=94",
"182-94=88"
] | Current State: 88:[87, 95, 57, 37], Operations: []
Exploring Operation: 87+95=182, Resulting Numbers: [57, 37, 182]
Generated Node #2: [57, 37, 182] from Operation: 87+95=182
Current State: 88:[57, 37, 182], Operations: ['87+95=182']
Exploring Operation: 57+37=94, Resulting Numbers: [182, 94]
Generated Node #3: [182, 94] from Operation: 57+37=94
Current State: 88:[182, 94], Operations: ['87+95=182', '57+37=94']
Exploring Operation: 182-94=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[87, 95, 57, 37], Operations: []
Exploring Operation: 57-37=20, Resulting Numbers: [87, 95, 20]
Generated Node #0,0: 88:[87, 95, 20] Operation: 57-37=20
Exploring Operation: 95-87=8, Resulting Numbers: [57, 37, 8]
Generated Node #0,1: 88:[57, 37, 8] Operation: 95-87=8
Exploring Operation: 57+37=94, Resulting Numbers: [87, 95, 94]
Generated Node #0,2: 88:[87, 95, 94] Operation: 57+37=94
Exploring Operation: 95-57=38, Resulting Numbers: [87, 37, 38]
Generated Node #0,3: 88:[87, 37, 38] Operation: 95-57=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[87, 95, 20], Operations: ['57-37=20']
Exploring Operation: 87+20=107, Resulting Numbers: [95, 107]
Generated Node #0,0,0: 88:[95, 107] Operation: 87+20=107
Exploring Operation: 95-87=8, Resulting Numbers: [20, 8]
Generated Node #0,0,1: 88:[20, 8] Operation: 95-87=8
Exploring Operation: 95-20=75, Resulting Numbers: [87, 75]
Generated Node #0,0,2: 88:[87, 75] Operation: 95-20=75
Exploring Operation: 87-20=67, Resulting Numbers: [95, 67]
Generated Node #0,0,3: 88:[95, 67] Operation: 87-20=67
Moving to Node #0,0,1
Current State: 88:[20, 8], Operations: ['57-37=20', '95-87=8']
Exploring Operation: 20*8=160, Resulting Numbers: [160]
160,88 unequal: No Solution
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,88 unequal: No Solution
Exploring Operation: 20+8=28, Resulting Numbers: [28]
28,88 unequal: No Solution
Moving to Node #0,0,2
Current State: 88:[87, 75], Operations: ['57-37=20', '95-20=75']
Exploring Operation: 87+75=162, Resulting Numbers: [162]
162,88 unequal: No Solution
Exploring Operation: 87*75=6525, Resulting Numbers: [6525]
6525,88 unequal: No Solution
Exploring Operation: 87-75=12, Resulting Numbers: [12]
12,88 unequal: No Solution
Moving to Node #0,0,0
Current State: 88:[95, 107], Operations: ['57-37=20', '87+20=107']
Exploring Operation: 107-95=12, Resulting Numbers: [12]
12,88 unequal: No Solution
Exploring Operation: 95+107=202, Resulting Numbers: [202]
202,88 unequal: No Solution
Exploring Operation: 95*107=10165, Resulting Numbers: [10165]
10165,88 unequal: No Solution
Moving to Node #0,0,3
Current State: 88:[95, 67], Operations: ['57-37=20', '87-20=67']
Exploring Operation: 95-67=28, Resulting Numbers: [28]
28,88 unequal: No Solution
Exploring Operation: 95*67=6365, Resulting Numbers: [6365]
6365,88 unequal: No Solution
Exploring Operation: 95+67=162, Resulting Numbers: [162]
162,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,2
Current State: 88:[87, 95, 94], Operations: ['57+37=94']
Exploring Operation: 94-87=7, Resulting Numbers: [95, 7]
Generated Node #0,2,0: 88:[95, 7] Operation: 94-87=7
Exploring Operation: 87+95=182, Resulting Numbers: [94, 182]
Generated Node #0,2,1: 88:[94, 182] Operation: 87+95=182
Exploring Operation: 95-87=8, Resulting Numbers: [94, 8]
Generated Node #0,2,2: 88:[94, 8] Operation: 95-87=8
Exploring Operation: 95-94=1, Resulting Numbers: [87, 1]
Generated Node #0,2,3: 88:[87, 1] Operation: 95-94=1
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 88:[87, 1], Operations: ['57+37=94', '95-94=1']
Exploring Operation: 87+1=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[87, 95, 57, 37], Operations: []
Exploring Operation: 57+37=94, Resulting Numbers: [87, 95, 94]
Generated Node #0,2: 88:[87, 95, 94] Operation: 57+37=94
Moving to Node #0,2
Current State: 88:[87, 95, 94], Operations: ['57+37=94']
Exploring Operation: 95-94=1, Resulting Numbers: [87, 1]
Generated Node #0,2,3: 88:[87, 1] Operation: 95-94=1
Moving to Node #0,2,3
Current State: 88:[87, 1], Operations: ['57+37=94', '95-94=1']
Exploring Operation: 87+1=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.974826 | hs_4 | mult_heuristic |
[
11,
5,
1,
87
] | 81 | [
"11-5=6",
"1*87=87",
"87-6=81"
] | Current State: 81:[11, 5, 1, 87], Operations: []
Exploring Operation: 11-5=6, Resulting Numbers: [1, 87, 6]
Generated Node #2: [1, 87, 6] from Operation: 11-5=6
Current State: 81:[1, 87, 6], Operations: ['11-5=6']
Exploring Operation: 1*87=87, Resulting Numbers: [6, 87]
Generated Node #3: [6, 87] from Operation: 1*87=87
Current State: 81:[6, 87], Operations: ['11-5=6', '1*87=87']
Exploring Operation: 87-6=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[11, 5, 1, 87], Operations: []
Exploring Operation: 87-5=82, Resulting Numbers: [11, 1, 82]
Generated Node #0,0: 81:[11, 1, 82] Operation: 87-5=82
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[11, 1, 82], Operations: ['87-5=82']
Exploring Operation: 11-1=10, Resulting Numbers: [82, 10]
Generated Node #0,0,0: 81:[82, 10] Operation: 11-1=10
Moving to Node #0,0,0
Current State: 81:[82, 10], Operations: ['87-5=82', '11-1=10']
Exploring Operation: 82-10=72, Resulting Numbers: [72]
72,81 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 |
[
89,
24,
2,
21
] | 71 | [
"89+24=113",
"2*21=42",
"113-42=71"
] | Current State: 71:[89, 24, 2, 21], Operations: []
Exploring Operation: 89+24=113, Resulting Numbers: [2, 21, 113]
Generated Node #2: [2, 21, 113] from Operation: 89+24=113
Current State: 71:[2, 21, 113], Operations: ['89+24=113']
Exploring Operation: 2*21=42, Resulting Numbers: [113, 42]
Generated Node #3: [113, 42] from Operation: 2*21=42
Current State: 71:[113, 42], Operations: ['89+24=113', '2*21=42']
Exploring Operation: 113-42=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[89, 24, 2, 21], Operations: []
Exploring Operation: 89-2=87, Resulting Numbers: [24, 21, 87]
Generated Node #0,0: 71:[24, 21, 87] Operation: 89-2=87
Exploring Operation: 2*21=42, Resulting Numbers: [89, 24, 42]
Generated Node #0,1: 71:[89, 24, 42] Operation: 2*21=42
Exploring Operation: 24+2=26, Resulting Numbers: [89, 21, 26]
Generated Node #0,2: 71:[89, 21, 26] Operation: 24+2=26
Exploring Operation: 24*2=48, Resulting Numbers: [89, 21, 48]
Generated Node #0,3: 71:[89, 21, 48] Operation: 24*2=48
Start Sub Search at level 1: Moving to Node #0,3
Current State: 71:[89, 21, 48], Operations: ['24*2=48']
Exploring Operation: 21+48=69, Resulting Numbers: [89, 69]
Generated Node #0,3,0: 71:[89, 69] Operation: 21+48=69
Exploring Operation: 89-21=68, Resulting Numbers: [48, 68]
Generated Node #0,3,1: 71:[48, 68] Operation: 89-21=68
Exploring Operation: 89+21=110, Resulting Numbers: [48, 110]
Generated Node #0,3,2: 71:[48, 110] Operation: 89+21=110
Exploring Operation: 48-21=27, Resulting Numbers: [89, 27]
Generated Node #0,3,3: 71:[89, 27] Operation: 48-21=27
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 71:[89, 69], Operations: ['24*2=48', '21+48=69']
Exploring Operation: 89+69=158, Resulting Numbers: [158]
158,71 unequal: No Solution
Exploring Operation: 89-69=20, Resulting Numbers: [20]
20,71 unequal: No Solution
Exploring Operation: 89*69=6141, Resulting Numbers: [6141]
6141,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 71:[48, 68], Operations: ['24*2=48', '89-21=68']
Exploring Operation: 48*68=3264, Resulting Numbers: [3264]
3264,71 unequal: No Solution
Exploring Operation: 68-48=20, Resulting Numbers: [20]
20,71 unequal: No Solution
Exploring Operation: 48+68=116, Resulting Numbers: [116]
116,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 71:[48, 110], Operations: ['24*2=48', '89+21=110']
Exploring Operation: 48*110=5280, Resulting Numbers: [5280]
5280,71 unequal: No Solution
Exploring Operation: 48+110=158, Resulting Numbers: [158]
158,71 unequal: No Solution
Exploring Operation: 110-48=62, Resulting Numbers: [62]
62,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 71:[89, 27], Operations: ['24*2=48', '48-21=27']
Exploring Operation: 89-27=62, Resulting Numbers: [62]
62,71 unequal: No Solution
Exploring Operation: 89+27=116, Resulting Numbers: [116]
116,71 unequal: No Solution
Exploring Operation: 89*27=2403, Resulting Numbers: [2403]
2403,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[89, 24, 42], Operations: ['2*21=42']
Exploring Operation: 89+24=113, Resulting Numbers: [42, 113]
Generated Node #0,1,0: 71:[42, 113] Operation: 89+24=113
Exploring Operation: 89-24=65, Resulting Numbers: [42, 65]
Generated Node #0,1,1: 71:[42, 65] Operation: 89-24=65
Exploring Operation: 24+42=66, Resulting Numbers: [89, 66]
Generated Node #0,1,2: 71:[89, 66] Operation: 24+42=66
Exploring Operation: 89-42=47, Resulting Numbers: [24, 47]
Generated Node #0,1,3: 71:[24, 47] Operation: 89-42=47
Moving to Node #0,1,2
Current State: 71:[89, 66], Operations: ['2*21=42', '24+42=66']
Exploring Operation: 89-66=23, Resulting Numbers: [23]
23,71 unequal: No Solution
Exploring Operation: 89*66=5874, Resulting Numbers: [5874]
5874,71 unequal: No Solution
Exploring Operation: 89+66=155, Resulting Numbers: [155]
155,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[42, 65], Operations: ['2*21=42', '89-24=65']
Exploring Operation: 65-42=23, Resulting Numbers: [23]
23,71 unequal: No Solution
Exploring Operation: 42*65=2730, Resulting Numbers: [2730]
2730,71 unequal: No Solution
Exploring Operation: 42+65=107, Resulting Numbers: [107]
107,71 unequal: No Solution
Moving to Node #0,1,3
Current State: 71:[24, 47], Operations: ['2*21=42', '89-42=47']
Exploring Operation: 24+47=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[89, 24, 2, 21], Operations: []
Exploring Operation: 2*21=42, Resulting Numbers: [89, 24, 42]
Generated Node #0,1: 71:[89, 24, 42] Operation: 2*21=42
Moving to Node #0,1
Current State: 71:[89, 24, 42], Operations: ['2*21=42']
Exploring Operation: 89-42=47, Resulting Numbers: [24, 47]
Generated Node #0,1,3: 71:[24, 47] Operation: 89-42=47
Moving to Node #0,1,3
Current State: 71:[24, 47], Operations: ['2*21=42', '89-42=47']
Exploring Operation: 24+47=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_4 | mult_heuristic |
[
17,
95,
25,
14
] | 12 | [
"95-25=70",
"70/14=5",
"17-5=12"
] | Current State: 12:[17, 95, 25, 14], Operations: []
Exploring Operation: 95-25=70, Resulting Numbers: [17, 14, 70]
Generated Node #2: [17, 14, 70] from Operation: 95-25=70
Current State: 12:[17, 14, 70], Operations: ['95-25=70']
Exploring Operation: 70/14=5, Resulting Numbers: [17, 5]
Generated Node #3: [17, 5] from Operation: 70/14=5
Current State: 12:[17, 5], Operations: ['95-25=70', '70/14=5']
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[17, 95, 25, 14], Operations: []
Exploring Operation: 95-25=70, Resulting Numbers: [17, 14, 70]
Generated Node #0,0: 12:[17, 14, 70] Operation: 95-25=70
Exploring Operation: 95-17=78, Resulting Numbers: [25, 14, 78]
Generated Node #0,1: 12:[25, 14, 78] Operation: 95-17=78
Moving to Node #0,0
Current State: 12:[17, 14, 70], Operations: ['95-25=70']
Exploring Operation: 70-17=53, Resulting Numbers: [14, 53]
Generated Node #0,0,0: 12:[14, 53] Operation: 70-17=53
Exploring Operation: 70/14=5, Resulting Numbers: [17, 5]
Generated Node #0,0,1: 12:[17, 5] Operation: 70/14=5
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 12:[17, 5], Operations: ['95-25=70', '70/14=5']
Exploring Operation: 17+5=22, Resulting Numbers: [22]
22,12 unequal: No Solution
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[17, 95, 25, 14], Operations: []
Exploring Operation: 95-25=70, Resulting Numbers: [17, 14, 70]
Generated Node #0,0: 12:[17, 14, 70] Operation: 95-25=70
Moving to Node #0,0
Current State: 12:[17, 14, 70], Operations: ['95-25=70']
Exploring Operation: 70/14=5, Resulting Numbers: [17, 5]
Generated Node #0,0,1: 12:[17, 5] Operation: 70/14=5
Moving to Node #0,0,1
Current State: 12:[17, 5], Operations: ['95-25=70', '70/14=5']
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
81,
99,
13,
94
] | 100 | [
"81+13=94",
"94/94=1",
"99+1=100"
] | Current State: 100:[81, 99, 13, 94], Operations: []
Exploring Operation: 81+13=94, Resulting Numbers: [99, 94, 94]
Generated Node #2: [99, 94, 94] from Operation: 81+13=94
Current State: 100:[99, 94, 94], Operations: ['81+13=94']
Exploring Operation: 94/94=1, Resulting Numbers: [99, 1]
Generated Node #3: [99, 1] from Operation: 94/94=1
Current State: 100:[99, 1], Operations: ['81+13=94', '94/94=1']
Exploring Operation: 99+1=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[81, 99, 13, 94], Operations: []
Exploring Operation: 94-81=13, Resulting Numbers: [99, 13, 13]
Generated Node #0,0: 100:[99, 13, 13] Operation: 94-81=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[99, 13, 13], Operations: ['94-81=13']
Exploring Operation: 13+13=26, Resulting Numbers: [99, 26]
Generated Node #0,0,0: 100:[99, 26] Operation: 13+13=26
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 100:[99, 26], Operations: ['94-81=13', '13+13=26']
Exploring Operation: 99-26=73, Resulting Numbers: [73]
73,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
2,
7,
41,
15
] | 73 | [
"7*15=105",
"41+105=146",
"146/2=73"
] | Current State: 73:[2, 7, 41, 15], Operations: []
Exploring Operation: 7*15=105, Resulting Numbers: [2, 41, 105]
Generated Node #2: [2, 41, 105] from Operation: 7*15=105
Current State: 73:[2, 41, 105], Operations: ['7*15=105']
Exploring Operation: 41+105=146, Resulting Numbers: [2, 146]
Generated Node #3: [2, 146] from Operation: 41+105=146
Current State: 73:[2, 146], Operations: ['7*15=105', '41+105=146']
Exploring Operation: 146/2=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[2, 7, 41, 15], Operations: []
Exploring Operation: 7*15=105, Resulting Numbers: [2, 41, 105]
Generated Node #0,0: 73:[2, 41, 105] Operation: 7*15=105
Exploring Operation: 2*41=82, Resulting Numbers: [7, 15, 82]
Generated Node #0,1: 73:[7, 15, 82] Operation: 2*41=82
Exploring Operation: 2*15=30, Resulting Numbers: [7, 41, 30]
Generated Node #0,2: 73:[7, 41, 30] Operation: 2*15=30
Moving to Node #0,1
Current State: 73:[7, 15, 82], Operations: ['2*41=82']
Exploring Operation: 7+15=22, Resulting Numbers: [82, 22]
Generated Node #0,1,0: 73:[82, 22] Operation: 7+15=22
Exploring Operation: 82-7=75, Resulting Numbers: [15, 75]
Generated Node #0,1,1: 73:[15, 75] Operation: 82-7=75
Exploring Operation: 7*15=105, Resulting Numbers: [82, 105]
Generated Node #0,1,2: 73:[82, 105] Operation: 7*15=105
Moving to Node #0,0
Current State: 73:[2, 41, 105], Operations: ['7*15=105']
Exploring Operation: 2+41=43, Resulting Numbers: [105, 43]
Generated Node #0,0,0: 73:[105, 43] Operation: 2+41=43
Exploring Operation: 105-2=103, Resulting Numbers: [41, 103]
Generated Node #0,0,1: 73:[41, 103] Operation: 105-2=103
Exploring Operation: 2*41=82, Resulting Numbers: [105, 82]
Generated Node #0,0,2: 73:[105, 82] Operation: 2*41=82
Moving to Node #0,2
Current State: 73:[7, 41, 30], Operations: ['2*15=30']
Exploring Operation: 41+30=71, Resulting Numbers: [7, 71]
Generated Node #0,2,0: 73:[7, 71] Operation: 41+30=71
Exploring Operation: 7+41=48, Resulting Numbers: [30, 48]
Generated Node #0,2,1: 73:[30, 48] Operation: 7+41=48
Exploring Operation: 7+30=37, Resulting Numbers: [41, 37]
Generated Node #0,2,2: 73:[41, 37] Operation: 7+30=37
Moving to Node #0,1,2
Current State: 73:[82, 105], Operations: ['2*41=82', '7*15=105']
Exploring Operation: 105-82=23, Resulting Numbers: [23]
23,73 unequal: No Solution
Exploring Operation: 82*105=8610, Resulting Numbers: [8610]
8610,73 unequal: No Solution
Exploring Operation: 82+105=187, Resulting Numbers: [187]
187,73 unequal: No Solution
Moving to Node #0,0,2
Current State: 73:[105, 82], Operations: ['7*15=105', '2*41=82']
Exploring Operation: 105-82=23, Resulting Numbers: [23]
23,73 unequal: No Solution
Exploring Operation: 105+82=187, Resulting Numbers: [187]
187,73 unequal: No Solution
Exploring Operation: 105*82=8610, Resulting Numbers: [8610]
8610,73 unequal: No Solution
Moving to Node #0,1,1
Current State: 73:[15, 75], Operations: ['2*41=82', '82-7=75']
Exploring Operation: 75/15=5, Resulting Numbers: [5]
5,73 unequal: No Solution
Exploring Operation: 75-15=60, Resulting Numbers: [60]
60,73 unequal: No Solution
Exploring Operation: 15+75=90, Resulting Numbers: [90]
90,73 unequal: No Solution
Moving to Node #0,1,0
Current State: 73:[82, 22], Operations: ['2*41=82', '7+15=22']
Exploring Operation: 82-22=60, Resulting Numbers: [60]
60,73 unequal: No Solution
Exploring Operation: 82+22=104, Resulting Numbers: [104]
104,73 unequal: No Solution
Exploring Operation: 82*22=1804, Resulting Numbers: [1804]
1804,73 unequal: No Solution
Moving to Node #0,0,1
Current State: 73:[41, 103], Operations: ['7*15=105', '105-2=103']
Exploring Operation: 41*103=4223, Resulting Numbers: [4223]
4223,73 unequal: No Solution
Exploring Operation: 103-41=62, Resulting Numbers: [62]
62,73 unequal: No Solution
Exploring Operation: 41+103=144, Resulting Numbers: [144]
144,73 unequal: No Solution
Moving to Node #0,0,0
Current State: 73:[105, 43], Operations: ['7*15=105', '2+41=43']
Exploring Operation: 105*43=4515, Resulting Numbers: [4515]
4515,73 unequal: No Solution
Exploring Operation: 105+43=148, Resulting Numbers: [148]
148,73 unequal: No Solution
Exploring Operation: 105-43=62, Resulting Numbers: [62]
62,73 unequal: No Solution
Moving to Node #0,2,2
Current State: 73:[41, 37], Operations: ['2*15=30', '7+30=37']
Exploring Operation: 41-37=4, Resulting Numbers: [4]
4,73 unequal: No Solution
Exploring Operation: 41*37=1517, Resulting Numbers: [1517]
1517,73 unequal: No Solution
Exploring Operation: 41+37=78, Resulting Numbers: [78]
78,73 unequal: No Solution
Moving to Node #0,2,1
Current State: 73:[30, 48], Operations: ['2*15=30', '7+41=48']
Exploring Operation: 30*48=1440, Resulting Numbers: [1440]
1440,73 unequal: No Solution
Exploring Operation: 30+48=78, Resulting Numbers: [78]
78,73 unequal: No Solution
Exploring Operation: 48-30=18, Resulting Numbers: [18]
18,73 unequal: No Solution
Moving to Node #0,2,0
Current State: 73:[7, 71], Operations: ['2*15=30', '41+30=71']
Exploring Operation: 7+71=78, Resulting Numbers: [78]
78,73 unequal: No Solution
Exploring Operation: 71-7=64, Resulting Numbers: [64]
64,73 unequal: No Solution
Exploring Operation: 7*71=497, Resulting Numbers: [497]
497,73 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
63,
83,
56,
2
] | 78 | [
"83-63=20",
"56+2=58",
"20+58=78"
] | Current State: 78:[63, 83, 56, 2], Operations: []
Exploring Operation: 83-63=20, Resulting Numbers: [56, 2, 20]
Generated Node #2: [56, 2, 20] from Operation: 83-63=20
Current State: 78:[56, 2, 20], Operations: ['83-63=20']
Exploring Operation: 56+2=58, Resulting Numbers: [20, 58]
Generated Node #3: [20, 58] from Operation: 56+2=58
Current State: 78:[20, 58], Operations: ['83-63=20', '56+2=58']
Exploring Operation: 20+58=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[63, 83, 56, 2], Operations: []
Exploring Operation: 56/2=28, Resulting Numbers: [63, 83, 28]
Generated Node #0,0: 78:[63, 83, 28] Operation: 56/2=28
Exploring Operation: 63-56=7, Resulting Numbers: [83, 2, 7]
Generated Node #0,1: 78:[83, 2, 7] Operation: 63-56=7
Exploring Operation: 83-56=27, Resulting Numbers: [63, 2, 27]
Generated Node #0,2: 78:[63, 2, 27] Operation: 83-56=27
Exploring Operation: 83-63=20, Resulting Numbers: [56, 2, 20]
Generated Node #0,3: 78:[56, 2, 20] Operation: 83-63=20
Moving to Node #0,1
Current State: 78:[83, 2, 7], Operations: ['63-56=7']
Exploring Operation: 7-2=5, Resulting Numbers: [83, 5]
Generated Node #0,1,0: 78:[83, 5] Operation: 7-2=5
Exploring Operation: 83-7=76, Resulting Numbers: [2, 76]
Generated Node #0,1,1: 78:[2, 76] Operation: 83-7=76
Exploring Operation: 2*7=14, Resulting Numbers: [83, 14]
Generated Node #0,1,2: 78:[83, 14] Operation: 2*7=14
Exploring Operation: 83-2=81, Resulting Numbers: [7, 81]
Generated Node #0,1,3: 78:[7, 81] Operation: 83-2=81
Moving to Node #0,2
Current State: 78:[63, 2, 27], Operations: ['83-56=27']
Exploring Operation: 63+2=65, Resulting Numbers: [27, 65]
Generated Node #0,2,0: 78:[27, 65] Operation: 63+2=65
Exploring Operation: 63-27=36, Resulting Numbers: [2, 36]
Generated Node #0,2,1: 78:[2, 36] Operation: 63-27=36
Exploring Operation: 63+27=90, Resulting Numbers: [2, 90]
Generated Node #0,2,2: 78:[2, 90] Operation: 63+27=90
Exploring Operation: 27-2=25, Resulting Numbers: [63, 25]
Generated Node #0,2,3: 78:[63, 25] Operation: 27-2=25
Moving to Node #0,0
Current State: 78:[63, 83, 28], Operations: ['56/2=28']
Exploring Operation: 83-63=20, Resulting Numbers: [28, 20]
Generated Node #0,0,0: 78:[28, 20] Operation: 83-63=20
Exploring Operation: 63-28=35, Resulting Numbers: [83, 35]
Generated Node #0,0,1: 78:[83, 35] Operation: 63-28=35
Exploring Operation: 83-28=55, Resulting Numbers: [63, 55]
Generated Node #0,0,2: 78:[63, 55] Operation: 83-28=55
Exploring Operation: 63+28=91, Resulting Numbers: [83, 91]
Generated Node #0,0,3: 78:[83, 91] Operation: 63+28=91
Moving to Node #0,3
Current State: 78:[56, 2, 20], Operations: ['83-63=20']
Exploring Operation: 56/2=28, Resulting Numbers: [20, 28]
Generated Node #0,3,0: 78:[20, 28] Operation: 56/2=28
Exploring Operation: 2*20=40, Resulting Numbers: [56, 40]
Generated Node #0,3,1: 78:[56, 40] Operation: 2*20=40
Exploring Operation: 56-20=36, Resulting Numbers: [2, 36]
Generated Node #0,3,2: 78:[2, 36] Operation: 56-20=36
Exploring Operation: 56+20=76, Resulting Numbers: [2, 76]
Generated Node #0,3,3: 78:[2, 76] Operation: 56+20=76
Moving to Node #0,1,1
Current State: 78:[2, 76], Operations: ['63-56=7', '83-7=76']
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,78 unequal: No Solution
Exploring Operation: 2*76=152, Resulting Numbers: [152]
152,78 unequal: No Solution
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,78 unequal: No Solution
Exploring Operation: 2+76=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[63, 83, 56, 2], Operations: []
Exploring Operation: 63-56=7, Resulting Numbers: [83, 2, 7]
Generated Node #0,1: 78:[83, 2, 7] Operation: 63-56=7
Moving to Node #0,1
Current State: 78:[83, 2, 7], Operations: ['63-56=7']
Exploring Operation: 83-7=76, Resulting Numbers: [2, 76]
Generated Node #0,1,1: 78:[2, 76] Operation: 83-7=76
Moving to Node #0,1,1
Current State: 78:[2, 76], Operations: ['63-56=7', '83-7=76']
Exploring Operation: 2+76=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 0.975694 | hs_4 | mult_heuristic |
[
2,
46,
65,
99
] | 72 | [
"2*46=92",
"65+99=164",
"164-92=72"
] | Current State: 72:[2, 46, 65, 99], Operations: []
Exploring Operation: 2*46=92, Resulting Numbers: [65, 99, 92]
Generated Node #2: [65, 99, 92] from Operation: 2*46=92
Current State: 72:[65, 99, 92], Operations: ['2*46=92']
Exploring Operation: 65+99=164, Resulting Numbers: [92, 164]
Generated Node #3: [92, 164] from Operation: 65+99=164
Current State: 72:[92, 164], Operations: ['2*46=92', '65+99=164']
Exploring Operation: 164-92=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[2, 46, 65, 99], Operations: []
Exploring Operation: 99-65=34, Resulting Numbers: [2, 46, 34]
Generated Node #0,0: 72:[2, 46, 34] Operation: 99-65=34
Exploring Operation: 99-46=53, Resulting Numbers: [2, 65, 53]
Generated Node #0,1: 72:[2, 65, 53] Operation: 99-46=53
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[2, 46, 34], Operations: ['99-65=34']
Exploring Operation: 46-34=12, Resulting Numbers: [2, 12]
Generated Node #0,0,0: 72:[2, 12] Operation: 46-34=12
Exploring Operation: 46/2=23, Resulting Numbers: [34, 23]
Generated Node #0,0,1: 72:[34, 23] Operation: 46/2=23
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 72:[2, 12], Operations: ['99-65=34', '46-34=12']
Exploring Operation: 2*12=24, Resulting Numbers: [24]
24,72 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,72 unequal: No Solution
No 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: 72:[34, 23], Operations: ['99-65=34', '46/2=23']
Exploring Operation: 34-23=11, Resulting Numbers: [11]
11,72 unequal: No Solution
Exploring Operation: 34+23=57, Resulting Numbers: [57]
57,72 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: 72:[2, 65, 53], Operations: ['99-46=53']
Exploring Operation: 2+65=67, Resulting Numbers: [53, 67]
Generated Node #0,1,0: 72:[53, 67] Operation: 2+65=67
Exploring Operation: 65-53=12, Resulting Numbers: [2, 12]
Generated Node #0,1,1: 72:[2, 12] Operation: 65-53=12
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 72:[2, 12], Operations: ['99-46=53', '65-53=12']
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,72 unequal: No Solution
Exploring Operation: 2*12=24, Resulting Numbers: [24]
24,72 unequal: No Solution
No 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: 72:[53, 67], Operations: ['99-46=53', '2+65=67']
Exploring Operation: 67-53=14, Resulting Numbers: [14]
14,72 unequal: No Solution
Exploring Operation: 53+67=120, Resulting Numbers: [120]
120,72 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 |
[
81,
7,
73,
83
] | 98 | [
"81+7=88",
"83-73=10",
"88+10=98"
] | Current State: 98:[81, 7, 73, 83], Operations: []
Exploring Operation: 81+7=88, Resulting Numbers: [73, 83, 88]
Generated Node #2: [73, 83, 88] from Operation: 81+7=88
Current State: 98:[73, 83, 88], Operations: ['81+7=88']
Exploring Operation: 83-73=10, Resulting Numbers: [88, 10]
Generated Node #3: [88, 10] from Operation: 83-73=10
Current State: 98:[88, 10], Operations: ['81+7=88', '83-73=10']
Exploring Operation: 88+10=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[81, 7, 73, 83], Operations: []
Exploring Operation: 83-73=10, Resulting Numbers: [81, 7, 10]
Generated Node #0,0: 98:[81, 7, 10] Operation: 83-73=10
Exploring Operation: 81-73=8, Resulting Numbers: [7, 83, 8]
Generated Node #0,1: 98:[7, 83, 8] Operation: 81-73=8
Exploring Operation: 73-7=66, Resulting Numbers: [81, 83, 66]
Generated Node #0,2: 98:[81, 83, 66] Operation: 73-7=66
Exploring Operation: 81+7=88, Resulting Numbers: [73, 83, 88]
Generated Node #0,3: 98:[73, 83, 88] Operation: 81+7=88
Exploring Operation: 83-81=2, Resulting Numbers: [7, 73, 2]
Generated Node #0,4: 98:[7, 73, 2] Operation: 83-81=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[7, 83, 8], Operations: ['81-73=8']
Exploring Operation: 7+8=15, Resulting Numbers: [83, 15]
Generated Node #0,1,0: 98:[83, 15] Operation: 7+8=15
Exploring Operation: 8-7=1, Resulting Numbers: [83, 1]
Generated Node #0,1,1: 98:[83, 1] Operation: 8-7=1
Exploring Operation: 7*8=56, Resulting Numbers: [83, 56]
Generated Node #0,1,2: 98:[83, 56] Operation: 7*8=56
Exploring Operation: 7+83=90, Resulting Numbers: [8, 90]
Generated Node #0,1,3: 98:[8, 90] Operation: 7+83=90
Exploring Operation: 83+8=91, Resulting Numbers: [7, 91]
Generated Node #0,1,4: 98:[7, 91] Operation: 83+8=91
Moving to Node #0,1,4
Current State: 98:[7, 91], Operations: ['81-73=8', '83+8=91']
Exploring Operation: 91-7=84, Resulting Numbers: [84]
84,98 unequal: No Solution
Exploring Operation: 7*91=637, Resulting Numbers: [637]
637,98 unequal: No Solution
Exploring Operation: 91/7=13, Resulting Numbers: [13]
13,98 unequal: No Solution
Exploring Operation: 7+91=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[81, 7, 73, 83], Operations: []
Exploring Operation: 81-73=8, Resulting Numbers: [7, 83, 8]
Generated Node #0,1: 98:[7, 83, 8] Operation: 81-73=8
Moving to Node #0,1
Current State: 98:[7, 83, 8], Operations: ['81-73=8']
Exploring Operation: 83+8=91, Resulting Numbers: [7, 91]
Generated Node #0,1,4: 98:[7, 91] Operation: 83+8=91
Moving to Node #0,1,4
Current State: 98:[7, 91], Operations: ['81-73=8', '83+8=91']
Exploring Operation: 7+91=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
52,
24,
36,
27
] | 84 | [
"24*36=864",
"864/27=32",
"52+32=84"
] | Current State: 84:[52, 24, 36, 27], Operations: []
Exploring Operation: 24*36=864, Resulting Numbers: [52, 27, 864]
Generated Node #2: [52, 27, 864] from Operation: 24*36=864
Current State: 84:[52, 27, 864], Operations: ['24*36=864']
Exploring Operation: 864/27=32, Resulting Numbers: [52, 32]
Generated Node #3: [52, 32] from Operation: 864/27=32
Current State: 84:[52, 32], Operations: ['24*36=864', '864/27=32']
Exploring Operation: 52+32=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[52, 24, 36, 27], Operations: []
Exploring Operation: 52-36=16, Resulting Numbers: [24, 27, 16]
Generated Node #0,0: 84:[24, 27, 16] Operation: 52-36=16
Exploring Operation: 52-24=28, Resulting Numbers: [36, 27, 28]
Generated Node #0,1: 84:[36, 27, 28] Operation: 52-24=28
Exploring Operation: 52+36=88, Resulting Numbers: [24, 27, 88]
Generated Node #0,2: 84:[24, 27, 88] Operation: 52+36=88
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[24, 27, 16], Operations: ['52-36=16']
Exploring Operation: 24+16=40, Resulting Numbers: [27, 40]
Generated Node #0,0,0: 84:[27, 40] Operation: 24+16=40
Exploring Operation: 24-16=8, Resulting Numbers: [27, 8]
Generated Node #0,0,1: 84:[27, 8] Operation: 24-16=8
Exploring Operation: 27-24=3, Resulting Numbers: [16, 3]
Generated Node #0,0,2: 84:[16, 3] Operation: 27-24=3
Moving to Node #0,0,1
Current State: 84:[27, 8], Operations: ['52-36=16', '24-16=8']
Exploring Operation: 27+8=35, Resulting Numbers: [35]
35,84 unequal: No Solution
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,84 unequal: No Solution
Exploring Operation: 27*8=216, Resulting Numbers: [216]
216,84 unequal: No Solution
Moving to Node #0,0,2
Current State: 84:[16, 3], Operations: ['52-36=16', '27-24=3']
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,84 unequal: No Solution
Exploring Operation: 16*3=48, Resulting Numbers: [48]
48,84 unequal: No Solution
Exploring Operation: 16+3=19, Resulting Numbers: [19]
19,84 unequal: No Solution
Moving to Node #0,0,0
Current State: 84:[27, 40], Operations: ['52-36=16', '24+16=40']
Exploring Operation: 27*40=1080, Resulting Numbers: [1080]
1080,84 unequal: No Solution
Exploring Operation: 27+40=67, Resulting Numbers: [67]
67,84 unequal: No Solution
Exploring Operation: 40-27=13, Resulting Numbers: [13]
13,84 unequal: No Solution
No 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: 84:[36, 27, 28], Operations: ['52-24=28']
Exploring Operation: 36-27=9, Resulting Numbers: [28, 9]
Generated Node #0,1,0: 84:[28, 9] Operation: 36-27=9
Exploring Operation: 28-27=1, Resulting Numbers: [36, 1]
Generated Node #0,1,1: 84:[36, 1] Operation: 28-27=1
Exploring Operation: 36-28=8, Resulting Numbers: [27, 8]
Generated Node #0,1,2: 84:[27, 8] Operation: 36-28=8
Moving to Node #0,1,0
Current State: 84:[28, 9], Operations: ['52-24=28', '36-27=9']
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,84 unequal: No Solution
Exploring Operation: 28*9=252, Resulting Numbers: [252]
252,84 unequal: No Solution
Exploring Operation: 28+9=37, Resulting Numbers: [37]
37,84 unequal: No Solution
Moving to Node #0,1,2
Current State: 84:[27, 8], Operations: ['52-24=28', '36-28=8']
Exploring Operation: 27+8=35, Resulting Numbers: [35]
35,84 unequal: No Solution
Exploring Operation: 27*8=216, Resulting Numbers: [216]
216,84 unequal: No Solution
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,84 unequal: No Solution
Moving to Node #0,1,1
Current State: 84:[36, 1], Operations: ['52-24=28', '28-27=1']
Exploring Operation: 36+1=37, Resulting Numbers: [37]
37,84 unequal: No Solution
Exploring Operation: 36*1=36, Resulting Numbers: [36]
36,84 unequal: No Solution
Exploring Operation: 36/1=36, Resulting Numbers: [36]
36,84 unequal: No Solution
No 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: 84:[24, 27, 88], Operations: ['52+36=88']
Exploring Operation: 27-24=3, Resulting Numbers: [88, 3]
Generated Node #0,2,0: 84:[88, 3] Operation: 27-24=3
Exploring Operation: 88-24=64, Resulting Numbers: [27, 64]
Generated Node #0,2,1: 84:[27, 64] Operation: 88-24=64
Exploring Operation: 24+27=51, Resulting Numbers: [88, 51]
Generated Node #0,2,2: 84:[88, 51] Operation: 24+27=51
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 84:[88, 3], Operations: ['52+36=88', '27-24=3']
Exploring Operation: 88-3=85, Resulting Numbers: [85]
85,84 unequal: No Solution
Exploring Operation: 88*3=264, Resulting Numbers: [264]
264,84 unequal: No Solution
Exploring Operation: 88+3=91, Resulting Numbers: [91]
91,84 unequal: No Solution
No 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: 84:[88, 51], Operations: ['52+36=88', '24+27=51']
Exploring Operation: 88-51=37, Resulting Numbers: [37]
37,84 unequal: No Solution
Exploring Operation: 88+51=139, Resulting Numbers: [139]
139,84 unequal: No Solution
Exploring Operation: 88*51=4488, Resulting Numbers: [4488]
4488,84 unequal: No Solution
No 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: 84:[27, 64], Operations: ['52+36=88', '88-24=64']
Exploring Operation: 27+64=91, Resulting Numbers: [91]
91,84 unequal: No Solution
Exploring Operation: 27*64=1728, Resulting Numbers: [1728]
1728,84 unequal: No Solution
Exploring Operation: 64-27=37, Resulting Numbers: [37]
37,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_3 | sum_heuristic |
[
28,
52,
48,
52
] | 96 | [
"52-28=24",
"52-48=4",
"24*4=96"
] | Current State: 96:[28, 52, 48, 52], Operations: []
Exploring Operation: 52-28=24, Resulting Numbers: [48, 24]
Generated Node #2: [48, 24] from Operation: 52-28=24
Current State: 96:[48, 24], Operations: ['52-28=24']
Exploring Operation: 52-48=4, Resulting Numbers: [24, 4]
Generated Node #3: [24, 4] from Operation: 52-48=4
Current State: 96:[24, 4], Operations: ['52-28=24', '52-48=4']
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[28, 52, 48, 52], Operations: []
Exploring Operation: 52-52=0, Resulting Numbers: [28, 48, 0]
Generated Node #0,0: 96:[28, 48, 0] Operation: 52-52=0
Exploring Operation: 52/52=1, Resulting Numbers: [28, 48, 1]
Generated Node #0,1: 96:[28, 48, 1] Operation: 52/52=1
Exploring Operation: 52-28=24, Resulting Numbers: [48, 52, 24]
Generated Node #0,2: 96:[48, 52, 24] Operation: 52-28=24
Exploring Operation: 52-28=24, Resulting Numbers: [52, 48, 24]
Generated Node #0,3: 96:[52, 48, 24] Operation: 52-28=24
Moving to Node #0,2
Current State: 96:[48, 52, 24], Operations: ['52-28=24']
Exploring Operation: 52-48=4, Resulting Numbers: [24, 4]
Generated Node #0,2,0: 96:[24, 4] Operation: 52-48=4
Exploring Operation: 48+52=100, Resulting Numbers: [24, 100]
Generated Node #0,2,1: 96:[24, 100] Operation: 48+52=100
Exploring Operation: 48/24=2, Resulting Numbers: [52, 2]
Generated Node #0,2,2: 96:[52, 2] Operation: 48/24=2
Exploring Operation: 48-24=24, Resulting Numbers: [52, 24]
Generated Node #0,2,3: 96:[52, 24] Operation: 48-24=24
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 96:[24, 4], Operations: ['52-28=24', '52-48=4']
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,96 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,96 unequal: No Solution
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[28, 52, 48, 52], Operations: []
Exploring Operation: 52-28=24, Resulting Numbers: [48, 52, 24]
Generated Node #0,2: 96:[48, 52, 24] Operation: 52-28=24
Moving to Node #0,2
Current State: 96:[48, 52, 24], Operations: ['52-28=24']
Exploring Operation: 52-48=4, Resulting Numbers: [24, 4]
Generated Node #0,2,0: 96:[24, 4] Operation: 52-48=4
Moving to Node #0,2,0
Current State: 96:[24, 4], Operations: ['52-28=24', '52-48=4']
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
11,
89,
2,
2
] | 45 | [
"11*2=22",
"2*22=44",
"89-44=45"
] | Current State: 45:[11, 89, 2, 2], Operations: []
Exploring Operation: 11*2=22, Resulting Numbers: [89, 22]
Generated Node #2: [89, 22] from Operation: 11*2=22
Current State: 45:[89, 22], Operations: ['11*2=22']
Exploring Operation: 2*22=44, Resulting Numbers: [89, 44]
Generated Node #3: [89, 44] from Operation: 2*22=44
Current State: 45:[89, 44], Operations: ['11*2=22', '2*22=44']
Exploring Operation: 89-44=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[11, 89, 2, 2], Operations: []
Exploring Operation: 89-11=78, Resulting Numbers: [2, 2, 78]
Generated Node #0,0: 45:[2, 2, 78] Operation: 89-11=78
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[2, 2, 78], Operations: ['89-11=78']
Exploring Operation: 78/2=39, Resulting Numbers: [2, 39]
Generated Node #0,0,0: 45:[2, 39] Operation: 78/2=39
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 45:[2, 39], Operations: ['89-11=78', '78/2=39']
Exploring Operation: 2+39=41, Resulting Numbers: [41]
41,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
6,
4,
32,
42
] | 56 | [
"6*4=24",
"32*42=1344",
"1344/24=56"
] | Current State: 56:[6, 4, 32, 42], Operations: []
Exploring Operation: 6*4=24, Resulting Numbers: [32, 42, 24]
Generated Node #2: [32, 42, 24] from Operation: 6*4=24
Current State: 56:[32, 42, 24], Operations: ['6*4=24']
Exploring Operation: 32*42=1344, Resulting Numbers: [24, 1344]
Generated Node #3: [24, 1344] from Operation: 32*42=1344
Current State: 56:[24, 1344], Operations: ['6*4=24', '32*42=1344']
Exploring Operation: 1344/24=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[6, 4, 32, 42], Operations: []
Exploring Operation: 6+42=48, Resulting Numbers: [4, 32, 48]
Generated Node #0,0: 56:[4, 32, 48] Operation: 6+42=48
Exploring Operation: 42-32=10, Resulting Numbers: [6, 4, 10]
Generated Node #0,1: 56:[6, 4, 10] Operation: 42-32=10
Exploring Operation: 42/6=7, Resulting Numbers: [4, 32, 7]
Generated Node #0,2: 56:[4, 32, 7] Operation: 42/6=7
Moving to Node #0,1
Current State: 56:[6, 4, 10], Operations: ['42-32=10']
Exploring Operation: 10-6=4, Resulting Numbers: [4, 4]
Generated Node #0,1,0: 56:[4, 4] Operation: 10-6=4
Exploring Operation: 6-4=2, Resulting Numbers: [10, 2]
Generated Node #0,1,1: 56:[10, 2] Operation: 6-4=2
Exploring Operation: 4+10=14, Resulting Numbers: [6, 14]
Generated Node #0,1,2: 56:[6, 14] Operation: 4+10=14
Moving to Node #0,2
Current State: 56:[4, 32, 7], Operations: ['42/6=7']
Exploring Operation: 32/4=8, Resulting Numbers: [7, 8]
Generated Node #0,2,0: 56:[7, 8] Operation: 32/4=8
Exploring Operation: 32-7=25, Resulting Numbers: [4, 25]
Generated Node #0,2,1: 56:[4, 25] Operation: 32-7=25
Exploring Operation: 32-4=28, Resulting Numbers: [7, 28]
Generated Node #0,2,2: 56:[7, 28] Operation: 32-4=28
Moving to Node #0,0
Current State: 56:[4, 32, 48], Operations: ['6+42=48']
Exploring Operation: 48-32=16, Resulting Numbers: [4, 16]
Generated Node #0,0,0: 56:[4, 16] Operation: 48-32=16
Exploring Operation: 48/4=12, Resulting Numbers: [32, 12]
Generated Node #0,0,1: 56:[32, 12] Operation: 48/4=12
Exploring Operation: 32-4=28, Resulting Numbers: [48, 28]
Generated Node #0,0,2: 56:[48, 28] Operation: 32-4=28
Moving to Node #0,1,0
Current State: 56:[4, 4], Operations: ['42-32=10', '10-6=4']
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,56 unequal: No Solution
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,56 unequal: No Solution
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,56 unequal: No Solution
Moving to Node #0,2,0
Current State: 56:[7, 8], Operations: ['42/6=7', '32/4=8']
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[6, 4, 32, 42], Operations: []
Exploring Operation: 42/6=7, Resulting Numbers: [4, 32, 7]
Generated Node #0,2: 56:[4, 32, 7] Operation: 42/6=7
Moving to Node #0,2
Current State: 56:[4, 32, 7], Operations: ['42/6=7']
Exploring Operation: 32/4=8, Resulting Numbers: [7, 8]
Generated Node #0,2,0: 56:[7, 8] Operation: 32/4=8
Moving to Node #0,2,0
Current State: 56:[7, 8], Operations: ['42/6=7', '32/4=8']
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 0.982639 | hs_3 | sum_heuristic |
[
93,
89,
90,
92
] | 67 | [
"93-89=4",
"92/4=23",
"90-23=67"
] | Current State: 67:[93, 89, 90, 92], Operations: []
Exploring Operation: 93-89=4, Resulting Numbers: [90, 92, 4]
Generated Node #2: [90, 92, 4] from Operation: 93-89=4
Current State: 67:[90, 92, 4], Operations: ['93-89=4']
Exploring Operation: 92/4=23, Resulting Numbers: [90, 23]
Generated Node #3: [90, 23] from Operation: 92/4=23
Current State: 67:[90, 23], Operations: ['93-89=4', '92/4=23']
Exploring Operation: 90-23=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[93, 89, 90, 92], Operations: []
Exploring Operation: 93-90=3, Resulting Numbers: [89, 92, 3]
Generated Node #0,0: 67:[89, 92, 3] Operation: 93-90=3
Exploring Operation: 93-89=4, Resulting Numbers: [90, 92, 4]
Generated Node #0,1: 67:[90, 92, 4] Operation: 93-89=4
Exploring Operation: 93-92=1, Resulting Numbers: [89, 90, 1]
Generated Node #0,2: 67:[89, 90, 1] Operation: 93-92=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[89, 92, 3], Operations: ['93-90=3']
Exploring Operation: 89-3=86, Resulting Numbers: [92, 86]
Generated Node #0,0,0: 67:[92, 86] Operation: 89-3=86
Exploring Operation: 92-3=89, Resulting Numbers: [89, 89]
Generated Node #0,0,1: 67:[89, 89] Operation: 92-3=89
Exploring Operation: 89+3=92, Resulting Numbers: [92, 92]
Generated Node #0,0,2: 67:[92, 92] Operation: 89+3=92
Moving to Node #0,0,0
Current State: 67:[92, 86], Operations: ['93-90=3', '89-3=86']
Exploring Operation: 92*86=7912, Resulting Numbers: [7912]
7912,67 unequal: No Solution
Exploring Operation: 92+86=178, Resulting Numbers: [178]
178,67 unequal: No Solution
Exploring Operation: 92-86=6, Resulting Numbers: [6]
6,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[89, 89], Operations: ['93-90=3', '92-3=89']
Exploring Operation: 89+89=178, Resulting Numbers: [178]
178,67 unequal: No Solution
Exploring Operation: 89/89=1, Resulting Numbers: [1]
1,67 unequal: No Solution
Exploring Operation: 89-89=0, Resulting Numbers: [0]
0,67 unequal: No Solution
Moving to Node #0,0,2
Current State: 67:[92, 92], Operations: ['93-90=3', '89+3=92']
Exploring Operation: 92+92=184, Resulting Numbers: [184]
184,67 unequal: No Solution
Exploring Operation: 92/92=1, Resulting Numbers: [1]
1,67 unequal: No Solution
Exploring Operation: 92-92=0, Resulting Numbers: [0]
0,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[90, 92, 4], Operations: ['93-89=4']
Exploring Operation: 90+4=94, Resulting Numbers: [92, 94]
Generated Node #0,1,0: 67:[92, 94] Operation: 90+4=94
Exploring Operation: 90-4=86, Resulting Numbers: [92, 86]
Generated Node #0,1,1: 67:[92, 86] Operation: 90-4=86
Exploring Operation: 92-4=88, Resulting Numbers: [90, 88]
Generated Node #0,1,2: 67:[90, 88] Operation: 92-4=88
Moving to Node #0,1,1
Current State: 67:[92, 86], Operations: ['93-89=4', '90-4=86']
Exploring Operation: 92-86=6, Resulting Numbers: [6]
6,67 unequal: No Solution
Exploring Operation: 92*86=7912, Resulting Numbers: [7912]
7912,67 unequal: No Solution
Exploring Operation: 92+86=178, Resulting Numbers: [178]
178,67 unequal: No Solution
Moving to Node #0,1,2
Current State: 67:[90, 88], Operations: ['93-89=4', '92-4=88']
Exploring Operation: 90*88=7920, Resulting Numbers: [7920]
7920,67 unequal: No Solution
Exploring Operation: 90-88=2, Resulting Numbers: [2]
2,67 unequal: No Solution
Exploring Operation: 90+88=178, Resulting Numbers: [178]
178,67 unequal: No Solution
Moving to Node #0,1,0
Current State: 67:[92, 94], Operations: ['93-89=4', '90+4=94']
Exploring Operation: 92*94=8648, Resulting Numbers: [8648]
8648,67 unequal: No Solution
Exploring Operation: 94-92=2, Resulting Numbers: [2]
2,67 unequal: No Solution
Exploring Operation: 92+94=186, Resulting Numbers: [186]
186,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 67:[89, 90, 1], Operations: ['93-92=1']
Exploring Operation: 89*1=89, Resulting Numbers: [90, 89]
Generated Node #0,2,0: 67:[90, 89] Operation: 89*1=89
Exploring Operation: 89-1=88, Resulting Numbers: [90, 88]
Generated Node #0,2,1: 67:[90, 88] Operation: 89-1=88
Exploring Operation: 90-1=89, Resulting Numbers: [89, 89]
Generated Node #0,2,2: 67:[89, 89] Operation: 90-1=89
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 67:[90, 88], Operations: ['93-92=1', '89-1=88']
Exploring Operation: 90+88=178, Resulting Numbers: [178]
178,67 unequal: No Solution
Exploring Operation: 90-88=2, Resulting Numbers: [2]
2,67 unequal: No Solution
Exploring Operation: 90*88=7920, Resulting Numbers: [7920]
7920,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 67:[89, 89], Operations: ['93-92=1', '90-1=89']
Exploring Operation: 89-89=0, Resulting Numbers: [0]
0,67 unequal: No Solution
Exploring Operation: 89+89=178, Resulting Numbers: [178]
178,67 unequal: No Solution
Exploring Operation: 89/89=1, Resulting Numbers: [1]
1,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 67:[90, 89], Operations: ['93-92=1', '89*1=89']
Exploring Operation: 90*89=8010, Resulting Numbers: [8010]
8010,67 unequal: No Solution
Exploring Operation: 90-89=1, Resulting Numbers: [1]
1,67 unequal: No Solution
Exploring Operation: 90+89=179, Resulting Numbers: [179]
179,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
64,
72,
32,
88
] | 32 | [
"64/32=2",
"88-72=16",
"2*16=32"
] | Current State: 32:[64, 72, 32, 88], Operations: []
Exploring Operation: 64/32=2, Resulting Numbers: [72, 88, 2]
Generated Node #2: [72, 88, 2] from Operation: 64/32=2
Current State: 32:[72, 88, 2], Operations: ['64/32=2']
Exploring Operation: 88-72=16, Resulting Numbers: [2, 16]
Generated Node #3: [2, 16] from Operation: 88-72=16
Current State: 32:[2, 16], Operations: ['64/32=2', '88-72=16']
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[64, 72, 32, 88], Operations: []
Exploring Operation: 72-64=8, Resulting Numbers: [32, 88, 8]
Generated Node #0,0: 32:[32, 88, 8] Operation: 72-64=8
Exploring Operation: 88-64=24, Resulting Numbers: [72, 32, 24]
Generated Node #0,1: 32:[72, 32, 24] Operation: 88-64=24
Exploring Operation: 88-72=16, Resulting Numbers: [64, 32, 16]
Generated Node #0,2: 32:[64, 32, 16] Operation: 88-72=16
Moving to Node #0,2
Current State: 32:[64, 32, 16], Operations: ['88-72=16']
Exploring Operation: 64/16=4, Resulting Numbers: [32, 4]
Generated Node #0,2,0: 32:[32, 4] Operation: 64/16=4
Exploring Operation: 64-32=32, Resulting Numbers: [16, 32]
Generated Node #0,2,1: 32:[16, 32] Operation: 64-32=32
Exploring Operation: 64/32=2, Resulting Numbers: [16, 2]
Generated Node #0,2,2: 32:[16, 2] Operation: 64/32=2
Moving to Node #0,1
Current State: 32:[72, 32, 24], Operations: ['88-64=24']
Exploring Operation: 72-24=48, Resulting Numbers: [32, 48]
Generated Node #0,1,0: 32:[32, 48] Operation: 72-24=48
Exploring Operation: 72-32=40, Resulting Numbers: [24, 40]
Generated Node #0,1,1: 32:[24, 40] Operation: 72-32=40
Exploring Operation: 72/24=3, Resulting Numbers: [32, 3]
Generated Node #0,1,2: 32:[32, 3] Operation: 72/24=3
Moving to Node #0,0
Current State: 32:[32, 88, 8], Operations: ['72-64=8']
Exploring Operation: 88-32=56, Resulting Numbers: [8, 56]
Generated Node #0,0,0: 32:[8, 56] Operation: 88-32=56
Exploring Operation: 88-8=80, Resulting Numbers: [32, 80]
Generated Node #0,0,1: 32:[32, 80] Operation: 88-8=80
Exploring Operation: 88/8=11, Resulting Numbers: [32, 11]
Generated Node #0,0,2: 32:[32, 11] Operation: 88/8=11
Moving to Node #0,2,0
Current State: 32:[32, 4], Operations: ['88-72=16', '64/16=4']
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,32 unequal: No Solution
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,32 unequal: No Solution
Exploring Operation: 32+4=36, Resulting Numbers: [36]
36,32 unequal: No Solution
Moving to Node #0,2,2
Current State: 32:[16, 2], Operations: ['88-72=16', '64/32=2']
Exploring Operation: 16*2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[64, 72, 32, 88], Operations: []
Exploring Operation: 88-72=16, Resulting Numbers: [64, 32, 16]
Generated Node #0,2: 32:[64, 32, 16] Operation: 88-72=16
Moving to Node #0,2
Current State: 32:[64, 32, 16], Operations: ['88-72=16']
Exploring Operation: 64/32=2, Resulting Numbers: [16, 2]
Generated Node #0,2,2: 32:[16, 2] Operation: 64/32=2
Moving to Node #0,2,2
Current State: 32:[16, 2], Operations: ['88-72=16', '64/32=2']
Exploring Operation: 16*2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 0.982639 | hs_3 | mult_heuristic |
[
83,
9,
80,
8
] | 83 | [
"80/8=10",
"10-9=1",
"83*1=83"
] | Current State: 83:[83, 9, 80, 8], Operations: []
Exploring Operation: 80/8=10, Resulting Numbers: [83, 9, 10]
Generated Node #2: [83, 9, 10] from Operation: 80/8=10
Current State: 83:[83, 9, 10], Operations: ['80/8=10']
Exploring Operation: 10-9=1, Resulting Numbers: [83, 1]
Generated Node #3: [83, 1] from Operation: 10-9=1
Current State: 83:[83, 1], Operations: ['80/8=10', '10-9=1']
Exploring Operation: 83*1=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[83, 9, 80, 8], Operations: []
Exploring Operation: 9*8=72, Resulting Numbers: [83, 80, 72]
Generated Node #0,0: 83:[83, 80, 72] Operation: 9*8=72
Moving to Node #0,0
Current State: 83:[83, 80, 72], Operations: ['9*8=72']
Exploring Operation: 80+72=152, Resulting Numbers: [83, 152]
Generated Node #0,0,0: 83:[83, 152] Operation: 80+72=152
Moving to Node #0,0,0
Current State: 83:[83, 152], Operations: ['9*8=72', '80+72=152']
Exploring Operation: 152-83=69, Resulting Numbers: [69]
69,83 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
62,
68,
17,
65
] | 48 | [
"62+68=130",
"17+65=82",
"130-82=48"
] | Current State: 48:[62, 68, 17, 65], Operations: []
Exploring Operation: 62+68=130, Resulting Numbers: [17, 65, 130]
Generated Node #2: [17, 65, 130] from Operation: 62+68=130
Current State: 48:[17, 65, 130], Operations: ['62+68=130']
Exploring Operation: 17+65=82, Resulting Numbers: [130, 82]
Generated Node #3: [130, 82] from Operation: 17+65=82
Current State: 48:[130, 82], Operations: ['62+68=130', '17+65=82']
Exploring Operation: 130-82=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[62, 68, 17, 65], Operations: []
Exploring Operation: 68-65=3, Resulting Numbers: [62, 17, 3]
Generated Node #0,0: 48:[62, 17, 3] Operation: 68-65=3
Exploring Operation: 68-62=6, Resulting Numbers: [17, 65, 6]
Generated Node #0,1: 48:[17, 65, 6] Operation: 68-62=6
Moving to Node #0,0
Current State: 48:[62, 17, 3], Operations: ['68-65=3']
Exploring Operation: 62-17=45, Resulting Numbers: [3, 45]
Generated Node #0,0,0: 48:[3, 45] Operation: 62-17=45
Exploring Operation: 62-3=59, Resulting Numbers: [17, 59]
Generated Node #0,0,1: 48:[17, 59] Operation: 62-3=59
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 48:[3, 45], Operations: ['68-65=3', '62-17=45']
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,48 unequal: No Solution
Exploring Operation: 3+45=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[62, 68, 17, 65], Operations: []
Exploring Operation: 68-65=3, Resulting Numbers: [62, 17, 3]
Generated Node #0,0: 48:[62, 17, 3] Operation: 68-65=3
Moving to Node #0,0
Current State: 48:[62, 17, 3], Operations: ['68-65=3']
Exploring Operation: 62-17=45, Resulting Numbers: [3, 45]
Generated Node #0,0,0: 48:[3, 45] Operation: 62-17=45
Moving to Node #0,0,0
Current State: 48:[3, 45], Operations: ['68-65=3', '62-17=45']
Exploring Operation: 3+45=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
5,
54,
19,
18
] | 25 | [
"54-19=35",
"35/5=7",
"18+7=25"
] | Current State: 25:[5, 54, 19, 18], Operations: []
Exploring Operation: 54-19=35, Resulting Numbers: [5, 18, 35]
Generated Node #2: [5, 18, 35] from Operation: 54-19=35
Current State: 25:[5, 18, 35], Operations: ['54-19=35']
Exploring Operation: 35/5=7, Resulting Numbers: [18, 7]
Generated Node #3: [18, 7] from Operation: 35/5=7
Current State: 25:[18, 7], Operations: ['54-19=35', '35/5=7']
Exploring Operation: 18+7=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[5, 54, 19, 18], Operations: []
Exploring Operation: 54-18=36, Resulting Numbers: [5, 19, 36]
Generated Node #0,0: 25:[5, 19, 36] Operation: 54-18=36
Exploring Operation: 54/18=3, Resulting Numbers: [5, 19, 3]
Generated Node #0,1: 25:[5, 19, 3] Operation: 54/18=3
Exploring Operation: 54-19=35, Resulting Numbers: [5, 18, 35]
Generated Node #0,2: 25:[5, 18, 35] Operation: 54-19=35
Exploring Operation: 19-18=1, Resulting Numbers: [5, 54, 1]
Generated Node #0,3: 25:[5, 54, 1] Operation: 19-18=1
Moving to Node #0,1
Current State: 25:[5, 19, 3], Operations: ['54/18=3']
Exploring Operation: 5+19=24, Resulting Numbers: [3, 24]
Generated Node #0,1,0: 25:[3, 24] Operation: 5+19=24
Exploring Operation: 5-3=2, Resulting Numbers: [19, 2]
Generated Node #0,1,1: 25:[19, 2] Operation: 5-3=2
Exploring Operation: 19+3=22, Resulting Numbers: [5, 22]
Generated Node #0,1,2: 25:[5, 22] Operation: 19+3=22
Exploring Operation: 5+3=8, Resulting Numbers: [19, 8]
Generated Node #0,1,3: 25:[19, 8] Operation: 5+3=8
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 25:[3, 24], Operations: ['54/18=3', '5+19=24']
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,25 unequal: No Solution
Exploring Operation: 3*24=72, Resulting Numbers: [72]
72,25 unequal: No Solution
Exploring Operation: 3+24=27, Resulting Numbers: [27]
27,25 unequal: No Solution
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 25:[5, 22], Operations: ['54/18=3', '19+3=22']
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,25 unequal: No Solution
Exploring Operation: 5+22=27, Resulting Numbers: [27]
27,25 unequal: No Solution
Exploring Operation: 5*22=110, Resulting Numbers: [110]
110,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 25:[19, 2], Operations: ['54/18=3', '5-3=2']
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,25 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,25 unequal: No Solution
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 25:[19, 8], Operations: ['54/18=3', '5+3=8']
Exploring Operation: 19+8=27, Resulting Numbers: [27]
27,25 unequal: No Solution
Exploring Operation: 19*8=152, Resulting Numbers: [152]
152,25 unequal: No Solution
Exploring Operation: 19-8=11, Resulting Numbers: [11]
11,25 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: 25:[5, 18, 35], Operations: ['54-19=35']
Exploring Operation: 5+18=23, Resulting Numbers: [35, 23]
Generated Node #0,2,0: 25:[35, 23] Operation: 5+18=23
Exploring Operation: 35-18=17, Resulting Numbers: [5, 17]
Generated Node #0,2,1: 25:[5, 17] Operation: 35-18=17
Exploring Operation: 35-5=30, Resulting Numbers: [18, 30]
Generated Node #0,2,2: 25:[18, 30] Operation: 35-5=30
Exploring Operation: 35/5=7, Resulting Numbers: [18, 7]
Generated Node #0,2,3: 25:[18, 7] Operation: 35/5=7
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 25:[5, 17], Operations: ['54-19=35', '35-18=17']
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,25 unequal: No Solution
Exploring Operation: 5+17=22, Resulting Numbers: [22]
22,25 unequal: No Solution
Exploring Operation: 5*17=85, Resulting Numbers: [85]
85,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:[18, 7], Operations: ['54-19=35', '35/5=7']
Exploring Operation: 18+7=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[5, 54, 19, 18], Operations: []
Exploring Operation: 54-19=35, Resulting Numbers: [5, 18, 35]
Generated Node #0,2: 25:[5, 18, 35] Operation: 54-19=35
Moving to Node #0,2
Current State: 25:[5, 18, 35], Operations: ['54-19=35']
Exploring Operation: 35/5=7, Resulting Numbers: [18, 7]
Generated Node #0,2,3: 25:[18, 7] Operation: 35/5=7
Moving to Node #0,2,3
Current State: 25:[18, 7], Operations: ['54-19=35', '35/5=7']
Exploring Operation: 18+7=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.971354 | hs_4 | sum_heuristic |
[
14,
61,
81,
29
] | 37 | [
"14*81=1134",
"1134-61=1073",
"1073/29=37"
] | Current State: 37:[14, 61, 81, 29], Operations: []
Exploring Operation: 14*81=1134, Resulting Numbers: [61, 29, 1134]
Generated Node #2: [61, 29, 1134] from Operation: 14*81=1134
Current State: 37:[61, 29, 1134], Operations: ['14*81=1134']
Exploring Operation: 1134-61=1073, Resulting Numbers: [29, 1073]
Generated Node #3: [29, 1073] from Operation: 1134-61=1073
Current State: 37:[29, 1073], Operations: ['14*81=1134', '1134-61=1073']
Exploring Operation: 1073/29=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[14, 61, 81, 29], Operations: []
Exploring Operation: 81-29=52, Resulting Numbers: [14, 61, 52]
Generated Node #0,0: 37:[14, 61, 52] Operation: 81-29=52
Exploring Operation: 81-61=20, Resulting Numbers: [14, 29, 20]
Generated Node #0,1: 37:[14, 29, 20] Operation: 81-61=20
Exploring Operation: 81-14=67, Resulting Numbers: [61, 29, 67]
Generated Node #0,2: 37:[61, 29, 67] Operation: 81-14=67
Exploring Operation: 61-14=47, Resulting Numbers: [81, 29, 47]
Generated Node #0,3: 37:[81, 29, 47] Operation: 61-14=47
Moving to Node #0,1
Current State: 37:[14, 29, 20], Operations: ['81-61=20']
Exploring Operation: 14+29=43, Resulting Numbers: [20, 43]
Generated Node #0,1,0: 37:[20, 43] Operation: 14+29=43
Exploring Operation: 29-14=15, Resulting Numbers: [20, 15]
Generated Node #0,1,1: 37:[20, 15] Operation: 29-14=15
Exploring Operation: 14+20=34, Resulting Numbers: [29, 34]
Generated Node #0,1,2: 37:[29, 34] Operation: 14+20=34
Exploring Operation: 29+20=49, Resulting Numbers: [14, 49]
Generated Node #0,1,3: 37:[14, 49] Operation: 29+20=49
Moving to Node #0,2
Current State: 37:[61, 29, 67], Operations: ['81-14=67']
Exploring Operation: 67-29=38, Resulting Numbers: [61, 38]
Generated Node #0,2,0: 37:[61, 38] Operation: 67-29=38
Exploring Operation: 61-29=32, Resulting Numbers: [67, 32]
Generated Node #0,2,1: 37:[67, 32] Operation: 61-29=32
Exploring Operation: 67-61=6, Resulting Numbers: [29, 6]
Generated Node #0,2,2: 37:[29, 6] Operation: 67-61=6
Exploring Operation: 61+29=90, Resulting Numbers: [67, 90]
Generated Node #0,2,3: 37:[67, 90] Operation: 61+29=90
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 37:[61, 38], Operations: ['81-14=67', '67-29=38']
Exploring Operation: 61-38=23, Resulting Numbers: [23]
23,37 unequal: No Solution
Exploring Operation: 61+38=99, Resulting Numbers: [99]
99,37 unequal: No Solution
Exploring Operation: 61*38=2318, Resulting Numbers: [2318]
2318,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,1
Current State: 37:[67, 32], Operations: ['81-14=67', '61-29=32']
Exploring Operation: 67-32=35, Resulting Numbers: [35]
35,37 unequal: No Solution
Exploring Operation: 67*32=2144, Resulting Numbers: [2144]
2144,37 unequal: No Solution
Exploring Operation: 67+32=99, Resulting Numbers: [99]
99,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,2
Current State: 37:[29, 6], Operations: ['81-14=67', '67-61=6']
Exploring Operation: 29*6=174, Resulting Numbers: [174]
174,37 unequal: No Solution
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,37 unequal: No Solution
Exploring Operation: 29+6=35, Resulting Numbers: [35]
35,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,3
Current State: 37:[67, 90], Operations: ['81-14=67', '61+29=90']
Exploring Operation: 90-67=23, Resulting Numbers: [23]
23,37 unequal: No Solution
Exploring Operation: 67*90=6030, Resulting Numbers: [6030]
6030,37 unequal: No Solution
Exploring Operation: 67+90=157, Resulting Numbers: [157]
157,37 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: 37:[14, 61, 52], Operations: ['81-29=52']
Exploring Operation: 14+61=75, Resulting Numbers: [52, 75]
Generated Node #0,0,0: 37:[52, 75] Operation: 14+61=75
Exploring Operation: 61-14=47, Resulting Numbers: [52, 47]
Generated Node #0,0,1: 37:[52, 47] Operation: 61-14=47
Exploring Operation: 52-14=38, Resulting Numbers: [61, 38]
Generated Node #0,0,2: 37:[61, 38] Operation: 52-14=38
Exploring Operation: 61-52=9, Resulting Numbers: [14, 9]
Generated Node #0,0,3: 37:[14, 9] Operation: 61-52=9
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 37:[52, 47], Operations: ['81-29=52', '61-14=47']
Exploring Operation: 52+47=99, Resulting Numbers: [99]
99,37 unequal: No Solution
Exploring Operation: 52*47=2444, Resulting Numbers: [2444]
2444,37 unequal: No Solution
Exploring Operation: 52-47=5, Resulting Numbers: [5]
5,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,0,2
Current State: 37:[61, 38], Operations: ['81-29=52', '52-14=38']
Exploring Operation: 61*38=2318, Resulting Numbers: [2318]
2318,37 unequal: No Solution
Exploring Operation: 61-38=23, Resulting Numbers: [23]
23,37 unequal: No Solution
Exploring Operation: 61+38=99, Resulting Numbers: [99]
99,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,0,3
Current State: 37:[14, 9], Operations: ['81-29=52', '61-52=9']
Exploring Operation: 14*9=126, Resulting Numbers: [126]
126,37 unequal: No Solution
Exploring Operation: 14+9=23, Resulting Numbers: [23]
23,37 unequal: No Solution
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,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,0,0
Current State: 37:[52, 75], Operations: ['81-29=52', '14+61=75']
Exploring Operation: 52+75=127, Resulting Numbers: [127]
127,37 unequal: No Solution
Exploring Operation: 75-52=23, Resulting Numbers: [23]
23,37 unequal: No Solution
Exploring Operation: 52*75=3900, Resulting Numbers: [3900]
3900,37 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: 37:[81, 29, 47], Operations: ['61-14=47']
Exploring Operation: 47-29=18, Resulting Numbers: [81, 18]
Generated Node #0,3,0: 37:[81, 18] Operation: 47-29=18
Exploring Operation: 81+29=110, Resulting Numbers: [47, 110]
Generated Node #0,3,1: 37:[47, 110] Operation: 81+29=110
Exploring Operation: 81-29=52, Resulting Numbers: [47, 52]
Generated Node #0,3,2: 37:[47, 52] Operation: 81-29=52
Exploring Operation: 81-47=34, Resulting Numbers: [29, 34]
Generated Node #0,3,3: 37:[29, 34] Operation: 81-47=34
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 37:[29, 34], Operations: ['61-14=47', '81-47=34']
Exploring Operation: 29+34=63, Resulting Numbers: [63]
63,37 unequal: No Solution
Exploring Operation: 34-29=5, Resulting Numbers: [5]
5,37 unequal: No Solution
Exploring Operation: 29*34=986, Resulting Numbers: [986]
986,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 37:[47, 52], Operations: ['61-14=47', '81-29=52']
Exploring Operation: 47*52=2444, Resulting Numbers: [2444]
2444,37 unequal: No Solution
Exploring Operation: 52-47=5, Resulting Numbers: [5]
5,37 unequal: No Solution
Exploring Operation: 47+52=99, Resulting Numbers: [99]
99,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 37:[81, 18], Operations: ['61-14=47', '47-29=18']
Exploring Operation: 81*18=1458, Resulting Numbers: [1458]
1458,37 unequal: No Solution
Exploring Operation: 81+18=99, Resulting Numbers: [99]
99,37 unequal: No Solution
Exploring Operation: 81-18=63, Resulting Numbers: [63]
63,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 37:[47, 110], Operations: ['61-14=47', '81+29=110']
Exploring Operation: 47+110=157, Resulting Numbers: [157]
157,37 unequal: No Solution
Exploring Operation: 47*110=5170, Resulting Numbers: [5170]
5170,37 unequal: No Solution
Exploring Operation: 110-47=63, Resulting Numbers: [63]
63,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 37:[29, 34], Operations: ['81-61=20', '14+20=34']
Exploring Operation: 29*34=986, Resulting Numbers: [986]
986,37 unequal: No Solution
Exploring Operation: 34-29=5, Resulting Numbers: [5]
5,37 unequal: No Solution
Exploring Operation: 29+34=63, Resulting Numbers: [63]
63,37 unequal: No Solution
Moving to Node #0,1,0
Current State: 37:[20, 43], Operations: ['81-61=20', '14+29=43']
Exploring Operation: 43-20=23, Resulting Numbers: [23]
23,37 unequal: No Solution
Exploring Operation: 20+43=63, Resulting Numbers: [63]
63,37 unequal: No Solution
Exploring Operation: 20*43=860, Resulting Numbers: [860]
860,37 unequal: No Solution
Moving to Node #0,1,3
Current State: 37:[14, 49], Operations: ['81-61=20', '29+20=49']
Exploring Operation: 14*49=686, Resulting Numbers: [686]
686,37 unequal: No Solution
Exploring Operation: 14+49=63, Resulting Numbers: [63]
63,37 unequal: No Solution
Exploring Operation: 49-14=35, Resulting Numbers: [35]
35,37 unequal: No Solution
Moving to Node #0,1,1
Current State: 37:[20, 15], Operations: ['81-61=20', '29-14=15']
Exploring Operation: 20+15=35, Resulting Numbers: [35]
35,37 unequal: No Solution
Exploring Operation: 20-15=5, Resulting Numbers: [5]
5,37 unequal: No Solution
Exploring Operation: 20*15=300, Resulting Numbers: [300]
300,37 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
24,
59,
68,
11
] | 63 | [
"68-24=44",
"44/11=4",
"59+4=63"
] | Current State: 63:[24, 59, 68, 11], Operations: []
Exploring Operation: 68-24=44, Resulting Numbers: [59, 11, 44]
Generated Node #2: [59, 11, 44] from Operation: 68-24=44
Current State: 63:[59, 11, 44], Operations: ['68-24=44']
Exploring Operation: 44/11=4, Resulting Numbers: [59, 4]
Generated Node #3: [59, 4] from Operation: 44/11=4
Current State: 63:[59, 4], Operations: ['68-24=44', '44/11=4']
Exploring Operation: 59+4=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[24, 59, 68, 11], Operations: []
Exploring Operation: 68-59=9, Resulting Numbers: [24, 11, 9]
Generated Node #0,0: 63:[24, 11, 9] Operation: 68-59=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[24, 11, 9], Operations: ['68-59=9']
Exploring Operation: 24-11=13, Resulting Numbers: [9, 13]
Generated Node #0,0,0: 63:[9, 13] Operation: 24-11=13
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 63:[9, 13], Operations: ['68-59=9', '24-11=13']
Exploring Operation: 9+13=22, Resulting Numbers: [22]
22,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 | sum_heuristic |
[
77,
51,
24,
9
] | 80 | [
"51-24=27",
"27/9=3",
"77+3=80"
] | Current State: 80:[77, 51, 24, 9], Operations: []
Exploring Operation: 51-24=27, Resulting Numbers: [77, 9, 27]
Generated Node #2: [77, 9, 27] from Operation: 51-24=27
Current State: 80:[77, 9, 27], Operations: ['51-24=27']
Exploring Operation: 27/9=3, Resulting Numbers: [77, 3]
Generated Node #3: [77, 3] from Operation: 27/9=3
Current State: 80:[77, 3], Operations: ['51-24=27', '27/9=3']
Exploring Operation: 77+3=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[77, 51, 24, 9], Operations: []
Exploring Operation: 24-9=15, Resulting Numbers: [77, 51, 15]
Generated Node #0,0: 80:[77, 51, 15] Operation: 24-9=15
Exploring Operation: 51+24=75, Resulting Numbers: [77, 9, 75]
Generated Node #0,1: 80:[77, 9, 75] Operation: 51+24=75
Exploring Operation: 77-51=26, Resulting Numbers: [24, 9, 26]
Generated Node #0,2: 80:[24, 9, 26] Operation: 77-51=26
Exploring Operation: 51-24=27, Resulting Numbers: [77, 9, 27]
Generated Node #0,3: 80:[77, 9, 27] Operation: 51-24=27
Exploring Operation: 51-9=42, Resulting Numbers: [77, 24, 42]
Generated Node #0,4: 80:[77, 24, 42] Operation: 51-9=42
Moving to Node #0,1
Current State: 80:[77, 9, 75], Operations: ['51+24=75']
Exploring Operation: 77-9=68, Resulting Numbers: [75, 68]
Generated Node #0,1,0: 80:[75, 68] Operation: 77-9=68
Exploring Operation: 77+9=86, Resulting Numbers: [75, 86]
Generated Node #0,1,1: 80:[75, 86] Operation: 77+9=86
Exploring Operation: 77-75=2, Resulting Numbers: [9, 2]
Generated Node #0,1,2: 80:[9, 2] Operation: 77-75=2
Exploring Operation: 75-9=66, Resulting Numbers: [77, 66]
Generated Node #0,1,3: 80:[77, 66] Operation: 75-9=66
Exploring Operation: 9+75=84, Resulting Numbers: [77, 84]
Generated Node #0,1,4: 80:[77, 84] Operation: 9+75=84
Moving to Node #0,4
Current State: 80:[77, 24, 42], Operations: ['51-9=42']
Exploring Operation: 77+24=101, Resulting Numbers: [42, 101]
Generated Node #0,4,0: 80:[42, 101] Operation: 77+24=101
Exploring Operation: 24+42=66, Resulting Numbers: [77, 66]
Generated Node #0,4,1: 80:[77, 66] Operation: 24+42=66
Exploring Operation: 77-24=53, Resulting Numbers: [42, 53]
Generated Node #0,4,2: 80:[42, 53] Operation: 77-24=53
Exploring Operation: 77-42=35, Resulting Numbers: [24, 35]
Generated Node #0,4,3: 80:[24, 35] Operation: 77-42=35
Exploring Operation: 42-24=18, Resulting Numbers: [77, 18]
Generated Node #0,4,4: 80:[77, 18] Operation: 42-24=18
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 80:[77, 18], Operations: ['51-9=42', '42-24=18']
Exploring Operation: 77+18=95, Resulting Numbers: [95]
95,80 unequal: No Solution
Exploring Operation: 77*18=1386, Resulting Numbers: [1386]
1386,80 unequal: No Solution
Exploring Operation: 77-18=59, Resulting Numbers: [59]
59,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 80:[24, 35], Operations: ['51-9=42', '77-42=35']
Exploring Operation: 24*35=840, Resulting Numbers: [840]
840,80 unequal: No Solution
Exploring Operation: 24+35=59, Resulting Numbers: [59]
59,80 unequal: No Solution
Exploring Operation: 35-24=11, Resulting Numbers: [11]
11,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 80:[42, 53], Operations: ['51-9=42', '77-24=53']
Exploring Operation: 42*53=2226, Resulting Numbers: [2226]
2226,80 unequal: No Solution
Exploring Operation: 42+53=95, Resulting Numbers: [95]
95,80 unequal: No Solution
Exploring Operation: 53-42=11, Resulting Numbers: [11]
11,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 80:[77, 66], Operations: ['51-9=42', '24+42=66']
Exploring Operation: 77*66=5082, Resulting Numbers: [5082]
5082,80 unequal: No Solution
Exploring Operation: 77+66=143, Resulting Numbers: [143]
143,80 unequal: No Solution
Exploring Operation: 77-66=11, Resulting Numbers: [11]
11,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 80:[42, 101], Operations: ['51-9=42', '77+24=101']
Exploring Operation: 42+101=143, Resulting Numbers: [143]
143,80 unequal: No Solution
Exploring Operation: 42*101=4242, Resulting Numbers: [4242]
4242,80 unequal: No Solution
Exploring Operation: 101-42=59, Resulting Numbers: [59]
59,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 80:[24, 9, 26], Operations: ['77-51=26']
Exploring Operation: 26-9=17, Resulting Numbers: [24, 17]
Generated Node #0,2,0: 80:[24, 17] Operation: 26-9=17
Exploring Operation: 24+26=50, Resulting Numbers: [9, 50]
Generated Node #0,2,1: 80:[9, 50] Operation: 24+26=50
Exploring Operation: 26-24=2, Resulting Numbers: [9, 2]
Generated Node #0,2,2: 80:[9, 2] Operation: 26-24=2
Exploring Operation: 9+26=35, Resulting Numbers: [24, 35]
Generated Node #0,2,3: 80:[24, 35] Operation: 9+26=35
Exploring Operation: 24-9=15, Resulting Numbers: [26, 15]
Generated Node #0,2,4: 80:[26, 15] Operation: 24-9=15
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 80:[9, 2], Operations: ['77-51=26', '26-24=2']
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,80 unequal: No Solution
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,80 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 80:[24, 17], Operations: ['77-51=26', '26-9=17']
Exploring Operation: 24+17=41, Resulting Numbers: [41]
41,80 unequal: No Solution
Exploring Operation: 24-17=7, Resulting Numbers: [7]
7,80 unequal: No Solution
Exploring Operation: 24*17=408, Resulting Numbers: [408]
408,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 80:[26, 15], Operations: ['77-51=26', '24-9=15']
Exploring Operation: 26+15=41, Resulting Numbers: [41]
41,80 unequal: No Solution
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,80 unequal: No Solution
Exploring Operation: 26*15=390, Resulting Numbers: [390]
390,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 80:[24, 35], Operations: ['77-51=26', '9+26=35']
Exploring Operation: 35-24=11, Resulting Numbers: [11]
11,80 unequal: No Solution
Exploring Operation: 24*35=840, Resulting Numbers: [840]
840,80 unequal: No Solution
Exploring Operation: 24+35=59, Resulting Numbers: [59]
59,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 80:[9, 50], Operations: ['77-51=26', '24+26=50']
Exploring Operation: 9+50=59, Resulting Numbers: [59]
59,80 unequal: No Solution
Exploring Operation: 9*50=450, Resulting Numbers: [450]
450,80 unequal: No Solution
Exploring Operation: 50-9=41, Resulting Numbers: [41]
41,80 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: 80:[77, 9, 27], Operations: ['51-24=27']
Exploring Operation: 27/9=3, Resulting Numbers: [77, 3]
Generated Node #0,3,0: 80:[77, 3] Operation: 27/9=3
Exploring Operation: 77-27=50, Resulting Numbers: [9, 50]
Generated Node #0,3,1: 80:[9, 50] Operation: 77-27=50
Exploring Operation: 9+27=36, Resulting Numbers: [77, 36]
Generated Node #0,3,2: 80:[77, 36] Operation: 9+27=36
Exploring Operation: 27-9=18, Resulting Numbers: [77, 18]
Generated Node #0,3,3: 80:[77, 18] Operation: 27-9=18
Exploring Operation: 77+9=86, Resulting Numbers: [27, 86]
Generated Node #0,3,4: 80:[27, 86] Operation: 77+9=86
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 80:[77, 3], Operations: ['51-24=27', '27/9=3']
Exploring Operation: 77*3=231, Resulting Numbers: [231]
231,80 unequal: No Solution
Exploring Operation: 77-3=74, Resulting Numbers: [74]
74,80 unequal: No Solution
Exploring Operation: 77+3=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[77, 51, 24, 9], Operations: []
Exploring Operation: 51-24=27, Resulting Numbers: [77, 9, 27]
Generated Node #0,3: 80:[77, 9, 27] Operation: 51-24=27
Moving to Node #0,3
Current State: 80:[77, 9, 27], Operations: ['51-24=27']
Exploring Operation: 27/9=3, Resulting Numbers: [77, 3]
Generated Node #0,3,0: 80:[77, 3] Operation: 27/9=3
Moving to Node #0,3,0
Current State: 80:[77, 3], Operations: ['51-24=27', '27/9=3']
Exploring Operation: 77+3=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.946181 | hs_5 | mult_heuristic |
[
95,
22,
10,
55
] | 88 | [
"95-55=40",
"22*40=880",
"880/10=88"
] | Current State: 88:[95, 22, 10, 55], Operations: []
Exploring Operation: 95-55=40, Resulting Numbers: [22, 10, 40]
Generated Node #2: [22, 10, 40] from Operation: 95-55=40
Current State: 88:[22, 10, 40], Operations: ['95-55=40']
Exploring Operation: 22*40=880, Resulting Numbers: [10, 880]
Generated Node #3: [10, 880] from Operation: 22*40=880
Current State: 88:[10, 880], Operations: ['95-55=40', '22*40=880']
Exploring Operation: 880/10=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[95, 22, 10, 55], Operations: []
Exploring Operation: 95-10=85, Resulting Numbers: [22, 55, 85]
Generated Node #0,0: 88:[22, 55, 85] Operation: 95-10=85
Exploring Operation: 55-10=45, Resulting Numbers: [95, 22, 45]
Generated Node #0,1: 88:[95, 22, 45] Operation: 55-10=45
Exploring Operation: 95-55=40, Resulting Numbers: [22, 10, 40]
Generated Node #0,2: 88:[22, 10, 40] Operation: 95-55=40
Moving to Node #0,2
Current State: 88:[22, 10, 40], Operations: ['95-55=40']
Exploring Operation: 40/10=4, Resulting Numbers: [22, 4]
Generated Node #0,2,0: 88:[22, 4] Operation: 40/10=4
Exploring Operation: 22-10=12, Resulting Numbers: [40, 12]
Generated Node #0,2,1: 88:[40, 12] Operation: 22-10=12
Exploring Operation: 40-22=18, Resulting Numbers: [10, 18]
Generated Node #0,2,2: 88:[10, 18] Operation: 40-22=18
Moving to Node #0,1
Current State: 88:[95, 22, 45], Operations: ['55-10=45']
Exploring Operation: 45-22=23, Resulting Numbers: [95, 23]
Generated Node #0,1,0: 88:[95, 23] Operation: 45-22=23
Exploring Operation: 95-45=50, Resulting Numbers: [22, 50]
Generated Node #0,1,1: 88:[22, 50] Operation: 95-45=50
Exploring Operation: 95-22=73, Resulting Numbers: [45, 73]
Generated Node #0,1,2: 88:[45, 73] Operation: 95-22=73
Moving to Node #0,0
Current State: 88:[22, 55, 85], Operations: ['95-10=85']
Exploring Operation: 85-55=30, Resulting Numbers: [22, 30]
Generated Node #0,0,0: 88:[22, 30] Operation: 85-55=30
Exploring Operation: 55-22=33, Resulting Numbers: [85, 33]
Generated Node #0,0,1: 88:[85, 33] Operation: 55-22=33
Exploring Operation: 22+55=77, Resulting Numbers: [85, 77]
Generated Node #0,0,2: 88:[85, 77] Operation: 22+55=77
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 88:[22, 30], Operations: ['95-10=85', '85-55=30']
Exploring Operation: 22*30=660, Resulting Numbers: [660]
660,88 unequal: No Solution
Exploring Operation: 22+30=52, Resulting Numbers: [52]
52,88 unequal: No Solution
Exploring Operation: 30-22=8, Resulting Numbers: [8]
8,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:[85, 33], Operations: ['95-10=85', '55-22=33']
Exploring Operation: 85+33=118, Resulting Numbers: [118]
118,88 unequal: No Solution
Exploring Operation: 85-33=52, Resulting Numbers: [52]
52,88 unequal: No Solution
Exploring Operation: 85*33=2805, Resulting Numbers: [2805]
2805,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,2
Current State: 88:[85, 77], Operations: ['95-10=85', '22+55=77']
Exploring Operation: 85*77=6545, Resulting Numbers: [6545]
6545,88 unequal: No Solution
Exploring Operation: 85+77=162, Resulting Numbers: [162]
162,88 unequal: No Solution
Exploring Operation: 85-77=8, Resulting Numbers: [8]
8,88 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: 88:[22, 4], Operations: ['95-55=40', '40/10=4']
Exploring Operation: 22*4=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[95, 22, 10, 55], Operations: []
Exploring Operation: 95-55=40, Resulting Numbers: [22, 10, 40]
Generated Node #0,2: 88:[22, 10, 40] Operation: 95-55=40
Moving to Node #0,2
Current State: 88:[22, 10, 40], Operations: ['95-55=40']
Exploring Operation: 40/10=4, Resulting Numbers: [22, 4]
Generated Node #0,2,0: 88:[22, 4] Operation: 40/10=4
Moving to Node #0,2,0
Current State: 88:[22, 4], Operations: ['95-55=40', '40/10=4']
Exploring Operation: 22*4=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 0.977431 | hs_3 | mult_heuristic |
[
83,
3,
99,
57
] | 93 | [
"83*3=249",
"99+57=156",
"249-156=93"
] | Current State: 93:[83, 3, 99, 57], Operations: []
Exploring Operation: 83*3=249, Resulting Numbers: [99, 57, 249]
Generated Node #2: [99, 57, 249] from Operation: 83*3=249
Current State: 93:[99, 57, 249], Operations: ['83*3=249']
Exploring Operation: 99+57=156, Resulting Numbers: [249, 156]
Generated Node #3: [249, 156] from Operation: 99+57=156
Current State: 93:[249, 156], Operations: ['83*3=249', '99+57=156']
Exploring Operation: 249-156=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[83, 3, 99, 57], Operations: []
Exploring Operation: 99-57=42, Resulting Numbers: [83, 3, 42]
Generated Node #0,0: 93:[83, 3, 42] Operation: 99-57=42
Exploring Operation: 57/3=19, Resulting Numbers: [83, 99, 19]
Generated Node #0,1: 93:[83, 99, 19] Operation: 57/3=19
Exploring Operation: 83-57=26, Resulting Numbers: [3, 99, 26]
Generated Node #0,2: 93:[3, 99, 26] Operation: 83-57=26
Exploring Operation: 99/3=33, Resulting Numbers: [83, 57, 33]
Generated Node #0,3: 93:[83, 57, 33] Operation: 99/3=33
Exploring Operation: 83+3=86, Resulting Numbers: [99, 57, 86]
Generated Node #0,4: 93:[99, 57, 86] Operation: 83+3=86
Start Sub Search at level 1: Moving to Node #0,2
Current State: 93:[3, 99, 26], Operations: ['83-57=26']
Exploring Operation: 99-3=96, Resulting Numbers: [26, 96]
Generated Node #0,2,0: 93:[26, 96] Operation: 99-3=96
Exploring Operation: 3+26=29, Resulting Numbers: [99, 29]
Generated Node #0,2,1: 93:[99, 29] Operation: 3+26=29
Exploring Operation: 99/3=33, Resulting Numbers: [26, 33]
Generated Node #0,2,2: 93:[26, 33] Operation: 99/3=33
Exploring Operation: 26-3=23, Resulting Numbers: [99, 23]
Generated Node #0,2,3: 93:[99, 23] Operation: 26-3=23
Exploring Operation: 3+99=102, Resulting Numbers: [26, 102]
Generated Node #0,2,4: 93:[26, 102] Operation: 3+99=102
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 93:[26, 33], Operations: ['83-57=26', '99/3=33']
Exploring Operation: 26+33=59, Resulting Numbers: [59]
59,93 unequal: No Solution
Exploring Operation: 26*33=858, Resulting Numbers: [858]
858,93 unequal: No Solution
Exploring Operation: 33-26=7, Resulting Numbers: [7]
7,93 unequal: No Solution
No 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: 93:[26, 96], Operations: ['83-57=26', '99-3=96']
Exploring Operation: 26+96=122, Resulting Numbers: [122]
122,93 unequal: No Solution
Exploring Operation: 96-26=70, Resulting Numbers: [70]
70,93 unequal: No Solution
Exploring Operation: 26*96=2496, Resulting Numbers: [2496]
2496,93 unequal: No Solution
No 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: 93:[99, 29], Operations: ['83-57=26', '3+26=29']
Exploring Operation: 99+29=128, Resulting Numbers: [128]
128,93 unequal: No Solution
Exploring Operation: 99-29=70, Resulting Numbers: [70]
70,93 unequal: No Solution
Exploring Operation: 99*29=2871, Resulting Numbers: [2871]
2871,93 unequal: No Solution
No 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: 93:[99, 23], Operations: ['83-57=26', '26-3=23']
Exploring Operation: 99*23=2277, Resulting Numbers: [2277]
2277,93 unequal: No Solution
Exploring Operation: 99-23=76, Resulting Numbers: [76]
76,93 unequal: No Solution
Exploring Operation: 99+23=122, Resulting Numbers: [122]
122,93 unequal: No Solution
No 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: 93:[26, 102], Operations: ['83-57=26', '3+99=102']
Exploring Operation: 102-26=76, Resulting Numbers: [76]
76,93 unequal: No Solution
Exploring Operation: 26*102=2652, Resulting Numbers: [2652]
2652,93 unequal: No Solution
Exploring Operation: 26+102=128, Resulting Numbers: [128]
128,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[83, 3, 42], Operations: ['99-57=42']
Exploring Operation: 42-3=39, Resulting Numbers: [83, 39]
Generated Node #0,0,0: 93:[83, 39] Operation: 42-3=39
Exploring Operation: 83+3=86, Resulting Numbers: [42, 86]
Generated Node #0,0,1: 93:[42, 86] Operation: 83+3=86
Exploring Operation: 83-3=80, Resulting Numbers: [42, 80]
Generated Node #0,0,2: 93:[42, 80] Operation: 83-3=80
Exploring Operation: 83-42=41, Resulting Numbers: [3, 41]
Generated Node #0,0,3: 93:[3, 41] Operation: 83-42=41
Exploring Operation: 42/3=14, Resulting Numbers: [83, 14]
Generated Node #0,0,4: 93:[83, 14] Operation: 42/3=14
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 93:[3, 41], Operations: ['99-57=42', '83-42=41']
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,93 unequal: No Solution
Exploring Operation: 3+41=44, Resulting Numbers: [44]
44,93 unequal: No Solution
Exploring Operation: 3*41=123, Resulting Numbers: [123]
123,93 unequal: No Solution
No 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: 93:[83, 39], Operations: ['99-57=42', '42-3=39']
Exploring Operation: 83+39=122, Resulting Numbers: [122]
122,93 unequal: No Solution
Exploring Operation: 83-39=44, Resulting Numbers: [44]
44,93 unequal: No Solution
Exploring Operation: 83*39=3237, Resulting Numbers: [3237]
3237,93 unequal: No Solution
No 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: 93:[42, 86], Operations: ['99-57=42', '83+3=86']
Exploring Operation: 86-42=44, Resulting Numbers: [44]
44,93 unequal: No Solution
Exploring Operation: 42*86=3612, Resulting Numbers: [3612]
3612,93 unequal: No Solution
Exploring Operation: 42+86=128, Resulting Numbers: [128]
128,93 unequal: No Solution
No 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: 93:[83, 14], Operations: ['99-57=42', '42/3=14']
Exploring Operation: 83+14=97, Resulting Numbers: [97]
97,93 unequal: No Solution
Exploring Operation: 83-14=69, Resulting Numbers: [69]
69,93 unequal: No Solution
Exploring Operation: 83*14=1162, Resulting Numbers: [1162]
1162,93 unequal: No Solution
No 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: 93:[42, 80], Operations: ['99-57=42', '83-3=80']
Exploring Operation: 80-42=38, Resulting Numbers: [38]
38,93 unequal: No Solution
Exploring Operation: 42*80=3360, Resulting Numbers: [3360]
3360,93 unequal: No Solution
Exploring Operation: 42+80=122, Resulting Numbers: [122]
122,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 93:[83, 99, 19], Operations: ['57/3=19']
Exploring Operation: 83-19=64, Resulting Numbers: [99, 64]
Generated Node #0,1,0: 93:[99, 64] Operation: 83-19=64
Exploring Operation: 83+19=102, Resulting Numbers: [99, 102]
Generated Node #0,1,1: 93:[99, 102] Operation: 83+19=102
Exploring Operation: 99-19=80, Resulting Numbers: [83, 80]
Generated Node #0,1,2: 93:[83, 80] Operation: 99-19=80
Exploring Operation: 99+19=118, Resulting Numbers: [83, 118]
Generated Node #0,1,3: 93:[83, 118] Operation: 99+19=118
Exploring Operation: 99-83=16, Resulting Numbers: [19, 16]
Generated Node #0,1,4: 93:[19, 16] Operation: 99-83=16
Moving to Node #0,1,1
Current State: 93:[99, 102], Operations: ['57/3=19', '83+19=102']
Exploring Operation: 102-99=3, Resulting Numbers: [3]
3,93 unequal: No Solution
Exploring Operation: 99+102=201, Resulting Numbers: [201]
201,93 unequal: No Solution
Exploring Operation: 99*102=10098, Resulting Numbers: [10098]
10098,93 unequal: No Solution
Moving to Node #0,1,2
Current State: 93:[83, 80], Operations: ['57/3=19', '99-19=80']
Exploring Operation: 83*80=6640, Resulting Numbers: [6640]
6640,93 unequal: No Solution
Exploring Operation: 83-80=3, Resulting Numbers: [3]
3,93 unequal: No Solution
Exploring Operation: 83+80=163, Resulting Numbers: [163]
163,93 unequal: No Solution
Moving to Node #0,1,4
Current State: 93:[19, 16], Operations: ['57/3=19', '99-83=16']
Exploring Operation: 19-16=3, Resulting Numbers: [3]
3,93 unequal: No Solution
Exploring Operation: 19*16=304, Resulting Numbers: [304]
304,93 unequal: No Solution
Exploring Operation: 19+16=35, Resulting Numbers: [35]
35,93 unequal: No Solution
Moving to Node #0,1,0
Current State: 93:[99, 64], Operations: ['57/3=19', '83-19=64']
Exploring Operation: 99*64=6336, Resulting Numbers: [6336]
6336,93 unequal: No Solution
Exploring Operation: 99+64=163, Resulting Numbers: [163]
163,93 unequal: No Solution
Exploring Operation: 99-64=35, Resulting Numbers: [35]
35,93 unequal: No Solution
Moving to Node #0,1,3
Current State: 93:[83, 118], Operations: ['57/3=19', '99+19=118']
Exploring Operation: 83+118=201, Resulting Numbers: [201]
201,93 unequal: No Solution
Exploring Operation: 118-83=35, Resulting Numbers: [35]
35,93 unequal: No Solution
Exploring Operation: 83*118=9794, Resulting Numbers: [9794]
9794,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 93:[83, 57, 33], Operations: ['99/3=33']
Exploring Operation: 57+33=90, Resulting Numbers: [83, 90]
Generated Node #0,3,0: 93:[83, 90] Operation: 57+33=90
Exploring Operation: 83-33=50, Resulting Numbers: [57, 50]
Generated Node #0,3,1: 93:[57, 50] Operation: 83-33=50
Exploring Operation: 83-57=26, Resulting Numbers: [33, 26]
Generated Node #0,3,2: 93:[33, 26] Operation: 83-57=26
Exploring Operation: 83+57=140, Resulting Numbers: [33, 140]
Generated Node #0,3,3: 93:[33, 140] Operation: 83+57=140
Exploring Operation: 57-33=24, Resulting Numbers: [83, 24]
Generated Node #0,3,4: 93:[83, 24] Operation: 57-33=24
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 93:[33, 26], Operations: ['99/3=33', '83-57=26']
Exploring Operation: 33+26=59, Resulting Numbers: [59]
59,93 unequal: No Solution
Exploring Operation: 33-26=7, Resulting Numbers: [7]
7,93 unequal: No Solution
Exploring Operation: 33*26=858, Resulting Numbers: [858]
858,93 unequal: No Solution
No 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: 93:[83, 90], Operations: ['99/3=33', '57+33=90']
Exploring Operation: 90-83=7, Resulting Numbers: [7]
7,93 unequal: No Solution
Exploring Operation: 83+90=173, Resulting Numbers: [173]
173,93 unequal: No Solution
Exploring Operation: 83*90=7470, Resulting Numbers: [7470]
7470,93 unequal: No Solution
No 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: 93:[83, 24], Operations: ['99/3=33', '57-33=24']
Exploring Operation: 83-24=59, Resulting Numbers: [59]
59,93 unequal: No Solution
Exploring Operation: 83+24=107, Resulting Numbers: [107]
107,93 unequal: No Solution
Exploring Operation: 83*24=1992, Resulting Numbers: [1992]
1992,93 unequal: No Solution
No 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: 93:[57, 50], Operations: ['99/3=33', '83-33=50']
Exploring Operation: 57+50=107, Resulting Numbers: [107]
107,93 unequal: No Solution
Exploring Operation: 57-50=7, Resulting Numbers: [7]
7,93 unequal: No Solution
Exploring Operation: 57*50=2850, Resulting Numbers: [2850]
2850,93 unequal: No Solution
No 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: 93:[33, 140], Operations: ['99/3=33', '83+57=140']
Exploring Operation: 140-33=107, Resulting Numbers: [107]
107,93 unequal: No Solution
Exploring Operation: 33+140=173, Resulting Numbers: [173]
173,93 unequal: No Solution
Exploring Operation: 33*140=4620, Resulting Numbers: [4620]
4620,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 93:[99, 57, 86], Operations: ['83+3=86']
Exploring Operation: 99-86=13, Resulting Numbers: [57, 13]
Generated Node #0,4,0: 93:[57, 13] Operation: 99-86=13
Exploring Operation: 57+86=143, Resulting Numbers: [99, 143]
Generated Node #0,4,1: 93:[99, 143] Operation: 57+86=143
Exploring Operation: 99-57=42, Resulting Numbers: [86, 42]
Generated Node #0,4,2: 93:[86, 42] Operation: 99-57=42
Exploring Operation: 86-57=29, Resulting Numbers: [99, 29]
Generated Node #0,4,3: 93:[99, 29] Operation: 86-57=29
Exploring Operation: 99+57=156, Resulting Numbers: [86, 156]
Generated Node #0,4,4: 93:[86, 156] Operation: 99+57=156
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 93:[99, 29], Operations: ['83+3=86', '86-57=29']
Exploring Operation: 99+29=128, Resulting Numbers: [128]
128,93 unequal: No Solution
Exploring Operation: 99*29=2871, Resulting Numbers: [2871]
2871,93 unequal: No Solution
Exploring Operation: 99-29=70, Resulting Numbers: [70]
70,93 unequal: No Solution
No 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: 93:[86, 42], Operations: ['83+3=86', '99-57=42']
Exploring Operation: 86+42=128, Resulting Numbers: [128]
128,93 unequal: No Solution
Exploring Operation: 86-42=44, Resulting Numbers: [44]
44,93 unequal: No Solution
Exploring Operation: 86*42=3612, Resulting Numbers: [3612]
3612,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 93:[57, 13], Operations: ['83+3=86', '99-86=13']
Exploring Operation: 57+13=70, Resulting Numbers: [70]
70,93 unequal: No Solution
Exploring Operation: 57-13=44, Resulting Numbers: [44]
44,93 unequal: No Solution
Exploring Operation: 57*13=741, Resulting Numbers: [741]
741,93 unequal: No Solution
No 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: 93:[99, 143], Operations: ['83+3=86', '57+86=143']
Exploring Operation: 99*143=14157, Resulting Numbers: [14157]
14157,93 unequal: No Solution
Exploring Operation: 99+143=242, Resulting Numbers: [242]
242,93 unequal: No Solution
Exploring Operation: 143-99=44, Resulting Numbers: [44]
44,93 unequal: No Solution
No 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: 93:[86, 156], Operations: ['83+3=86', '99+57=156']
Exploring Operation: 156-86=70, Resulting Numbers: [70]
70,93 unequal: No Solution
Exploring Operation: 86*156=13416, Resulting Numbers: [13416]
13416,93 unequal: No Solution
Exploring Operation: 86+156=242, Resulting Numbers: [242]
242,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
69,
71,
48,
62
] | 65 | [
"71-48=23",
"69/23=3",
"62+3=65"
] | Current State: 65:[69, 71, 48, 62], Operations: []
Exploring Operation: 71-48=23, Resulting Numbers: [69, 62, 23]
Generated Node #2: [69, 62, 23] from Operation: 71-48=23
Current State: 65:[69, 62, 23], Operations: ['71-48=23']
Exploring Operation: 69/23=3, Resulting Numbers: [62, 3]
Generated Node #3: [62, 3] from Operation: 69/23=3
Current State: 65:[62, 3], Operations: ['71-48=23', '69/23=3']
Exploring Operation: 62+3=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[69, 71, 48, 62], Operations: []
Exploring Operation: 69-48=21, Resulting Numbers: [71, 62, 21]
Generated Node #0,0: 65:[71, 62, 21] Operation: 69-48=21
Exploring Operation: 71-69=2, Resulting Numbers: [48, 62, 2]
Generated Node #0,1: 65:[48, 62, 2] Operation: 71-69=2
Exploring Operation: 71-48=23, Resulting Numbers: [69, 62, 23]
Generated Node #0,2: 65:[69, 62, 23] Operation: 71-48=23
Exploring Operation: 62-48=14, Resulting Numbers: [69, 71, 14]
Generated Node #0,3: 65:[69, 71, 14] Operation: 62-48=14
Start Sub Search at level 1: Moving to Node #0,3
Current State: 65:[69, 71, 14], Operations: ['62-48=14']
Exploring Operation: 69-14=55, Resulting Numbers: [71, 55]
Generated Node #0,3,0: 65:[71, 55] Operation: 69-14=55
Exploring Operation: 71-14=57, Resulting Numbers: [69, 57]
Generated Node #0,3,1: 65:[69, 57] Operation: 71-14=57
Exploring Operation: 69+14=83, Resulting Numbers: [71, 83]
Generated Node #0,3,2: 65:[71, 83] Operation: 69+14=83
Exploring Operation: 71-69=2, Resulting Numbers: [14, 2]
Generated Node #0,3,3: 65:[14, 2] Operation: 71-69=2
Moving to Node #0,3,3
Current State: 65:[14, 2], Operations: ['62-48=14', '71-69=2']
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,65 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,65 unequal: No Solution
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,65 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,65 unequal: No Solution
Moving to Node #0,3,1
Current State: 65:[69, 57], Operations: ['62-48=14', '71-14=57']
Exploring Operation: 69-57=12, Resulting Numbers: [12]
12,65 unequal: No Solution
Exploring Operation: 69*57=3933, Resulting Numbers: [3933]
3933,65 unequal: No Solution
Exploring Operation: 69+57=126, Resulting Numbers: [126]
126,65 unequal: No Solution
Moving to Node #0,3,0
Current State: 65:[71, 55], Operations: ['62-48=14', '69-14=55']
Exploring Operation: 71-55=16, Resulting Numbers: [16]
16,65 unequal: No Solution
Exploring Operation: 71*55=3905, Resulting Numbers: [3905]
3905,65 unequal: No Solution
Exploring Operation: 71+55=126, Resulting Numbers: [126]
126,65 unequal: No Solution
Moving to Node #0,3,2
Current State: 65:[71, 83], Operations: ['62-48=14', '69+14=83']
Exploring Operation: 71+83=154, Resulting Numbers: [154]
154,65 unequal: No Solution
Exploring Operation: 71*83=5893, Resulting Numbers: [5893]
5893,65 unequal: No Solution
Exploring Operation: 83-71=12, Resulting Numbers: [12]
12,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[71, 62, 21], Operations: ['69-48=21']
Exploring Operation: 71+21=92, Resulting Numbers: [62, 92]
Generated Node #0,0,0: 65:[62, 92] Operation: 71+21=92
Exploring Operation: 62+21=83, Resulting Numbers: [71, 83]
Generated Node #0,0,1: 65:[71, 83] Operation: 62+21=83
Exploring Operation: 71-62=9, Resulting Numbers: [21, 9]
Generated Node #0,0,2: 65:[21, 9] Operation: 71-62=9
Exploring Operation: 71-21=50, Resulting Numbers: [62, 50]
Generated Node #0,0,3: 65:[62, 50] Operation: 71-21=50
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 65:[21, 9], Operations: ['69-48=21', '71-62=9']
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,65 unequal: No Solution
Exploring Operation: 21+9=30, Resulting Numbers: [30]
30,65 unequal: No Solution
Exploring Operation: 21*9=189, Resulting Numbers: [189]
189,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:[62, 50], Operations: ['69-48=21', '71-21=50']
Exploring Operation: 62+50=112, Resulting Numbers: [112]
112,65 unequal: No Solution
Exploring Operation: 62-50=12, Resulting Numbers: [12]
12,65 unequal: No Solution
Exploring Operation: 62*50=3100, Resulting Numbers: [3100]
3100,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 65:[71, 83], Operations: ['69-48=21', '62+21=83']
Exploring Operation: 71*83=5893, Resulting Numbers: [5893]
5893,65 unequal: No Solution
Exploring Operation: 71+83=154, Resulting Numbers: [154]
154,65 unequal: No Solution
Exploring Operation: 83-71=12, Resulting Numbers: [12]
12,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:[62, 92], Operations: ['69-48=21', '71+21=92']
Exploring Operation: 62*92=5704, Resulting Numbers: [5704]
5704,65 unequal: No Solution
Exploring Operation: 62+92=154, Resulting Numbers: [154]
154,65 unequal: No Solution
Exploring Operation: 92-62=30, Resulting Numbers: [30]
30,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,2
Current State: 65:[69, 62, 23], Operations: ['71-48=23']
Exploring Operation: 69/23=3, Resulting Numbers: [62, 3]
Generated Node #0,2,0: 65:[62, 3] Operation: 69/23=3
Exploring Operation: 69-62=7, Resulting Numbers: [23, 7]
Generated Node #0,2,1: 65:[23, 7] Operation: 69-62=7
Exploring Operation: 62+23=85, Resulting Numbers: [69, 85]
Generated Node #0,2,2: 65:[69, 85] Operation: 62+23=85
Exploring Operation: 69-23=46, Resulting Numbers: [62, 46]
Generated Node #0,2,3: 65:[62, 46] Operation: 69-23=46
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 65:[62, 3], Operations: ['71-48=23', '69/23=3']
Exploring Operation: 62-3=59, Resulting Numbers: [59]
59,65 unequal: No Solution
Exploring Operation: 62+3=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[69, 71, 48, 62], Operations: []
Exploring Operation: 71-48=23, Resulting Numbers: [69, 62, 23]
Generated Node #0,2: 65:[69, 62, 23] Operation: 71-48=23
Moving to Node #0,2
Current State: 65:[69, 62, 23], Operations: ['71-48=23']
Exploring Operation: 69/23=3, Resulting Numbers: [62, 3]
Generated Node #0,2,0: 65:[62, 3] Operation: 69/23=3
Moving to Node #0,2,0
Current State: 65:[62, 3], Operations: ['71-48=23', '69/23=3']
Exploring Operation: 62+3=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.959201 | hs_4 | sum_heuristic |
[
20,
32,
59,
59
] | 51 | [
"20+32=52",
"59/59=1",
"52-1=51"
] | Current State: 51:[20, 32, 59, 59], Operations: []
Exploring Operation: 20+32=52, Resulting Numbers: [59, 59, 52]
Generated Node #2: [59, 59, 52] from Operation: 20+32=52
Current State: 51:[59, 59, 52], Operations: ['20+32=52']
Exploring Operation: 59/59=1, Resulting Numbers: [52, 1]
Generated Node #3: [52, 1] from Operation: 59/59=1
Current State: 51:[52, 1], Operations: ['20+32=52', '59/59=1']
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[20, 32, 59, 59], Operations: []
Exploring Operation: 20+32=52, Resulting Numbers: [59, 59, 52]
Generated Node #0,0: 51:[59, 59, 52] Operation: 20+32=52
Exploring Operation: 59/59=1, Resulting Numbers: [20, 32, 1]
Generated Node #0,1: 51:[20, 32, 1] Operation: 59/59=1
Exploring Operation: 59-32=27, Resulting Numbers: [20, 59, 27]
Generated Node #0,2: 51:[20, 59, 27] Operation: 59-32=27
Exploring Operation: 32-20=12, Resulting Numbers: [59, 59, 12]
Generated Node #0,3: 51:[59, 59, 12] Operation: 32-20=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[59, 59, 52], Operations: ['20+32=52']
Exploring Operation: 59-59=0, Resulting Numbers: [52, 0]
Generated Node #0,0,0: 51:[52, 0] Operation: 59-59=0
Exploring Operation: 59-52=7, Resulting Numbers: [59, 7]
Generated Node #0,0,1: 51:[59, 7] Operation: 59-52=7
Exploring Operation: 59/59=1, Resulting Numbers: [52, 1]
Generated Node #0,0,2: 51:[52, 1] Operation: 59/59=1
Exploring Operation: 59-52=7, Resulting Numbers: [59, 7]
Generated Node #0,0,3: 51:[59, 7] Operation: 59-52=7
Moving to Node #0,0,2
Current State: 51:[52, 1], Operations: ['20+32=52', '59/59=1']
Exploring Operation: 52/1=52, Resulting Numbers: [52]
52,51 unequal: No Solution
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[20, 32, 59, 59], Operations: []
Exploring Operation: 20+32=52, Resulting Numbers: [59, 59, 52]
Generated Node #0,0: 51:[59, 59, 52] Operation: 20+32=52
Moving to Node #0,0
Current State: 51:[59, 59, 52], Operations: ['20+32=52']
Exploring Operation: 59/59=1, Resulting Numbers: [52, 1]
Generated Node #0,0,2: 51:[52, 1] Operation: 59/59=1
Moving to Node #0,0,2
Current State: 51:[52, 1], Operations: ['20+32=52', '59/59=1']
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.