1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
azamat
3 years ago
9

I'm doing a task which involves magic v's, a maths pattern which has the rule of having the same total on each side. For e.g.

Mathematics
1 answer:
iogann1982 [59]3 years ago
6 0

Answer:

--1-- (of set 23456)

2   4

5 3

 6

--2-- (of set 23456)

2   3

5 4

 6

--3-- (of set 23456)

2   5

6 3

 4

--4-- (of set 23456)

2   3

6 5

 4

--5-- (of set 23456)

3   5

4 2

 6

--6-- (of set 23456)

3   2

4 5

 6

--7-- (of set 23456)

3   6

5 2

 4

--8-- (of set 23456)

3   2

5 6

 4

--9-- (of set 23456)

3   5

6 4

 2

--10-- (of set 23456)

3   4

6 5

 2

--11-- (of set 23456)

4   5

3 2

 6

--12-- (of set 23456)

4   2

3 5

 6

--13-- (of set 23456)

4   6

5 3

 2

--14-- (of set 23456)

4   3

5 6

 2

--15-- (of set 23456)

5   4

2 3

 6

--16-- (of set 23456)

5   3

2 4

 6

--17-- (of set 23456)

5   6

3 2

 4

--18-- (of set 23456)

5   2

3 6

 4

--19-- (of set 23456)

5   6

4 3

 2

--20-- (of set 23456)

5   3

4 6

 2

--21-- (of set 23456)

6   5

2 3

 4

--22-- (of set 23456)

6   3

2 5

 4

--23-- (of set 23456)

6   5

3 4

 2

--24-- (of set 23456)

6   4

3 5

 2

--1-- (of set 34567)

3   5

6 4

 7

--2-- (of set 34567)

3   4

6 5

 7

--3-- (of set 34567)

3   6

7 4

 5

--4-- (of set 34567)

3   4

7 6

 5

--5-- (of set 34567)

4   6

5 3

 7

--6-- (of set 34567)

4   3

5 6

 7

--7-- (of set 34567)

4   7

6 3

 5

--8-- (of set 34567)

4   3

6 7

 5

--9-- (of set 34567)

4   6

7 5

 3

--10-- (of set 34567)

4   5

7 6

 3

--11-- (of set 34567)

5   6

4 3

 7

--12-- (of set 34567)

5   3

4 6

 7

--13-- (of set 34567)

5   7

6 4

 3

--14-- (of set 34567)

5   4

6 7

 3

--15-- (of set 34567)

6   5

3 4

 7

--16-- (of set 34567)

6   4

3 5

 7

--17-- (of set 34567)

6   7

4 3

 5

--18-- (of set 34567)

6   3

4 7

 5

--19-- (of set 34567)

6   7

5 4

 3

--20-- (of set 34567)

6   4

5 7

 3

--21-- (of set 34567)

7   6

3 4

 5

--22-- (of set 34567)

7   4

3 6

 5

--23-- (of set 34567)

7   6

4 5

 3

--24-- (of set 34567)

7   5

4 6

 3

Step-by-step explanation:

This javascript code is extremely brute-force, but it does the job:

function checkIfInSet(i, set) {

   return i.toString().split('').sort().join('') === set;

}

function checkIfMagic(s) {

   return (parseInt(s[0]) + parseInt(s[1]) == parseInt(s[3]) + parseInt(s[4]))

}

function printMagic(s) {

   console.log(`${s[0]}   ${s[4]}`);

   console.log(` ${s[1]} ${s[3]}`);

   console.log(`  ${s[2]}\n`);

}

function checkSet(set) {

   let counter = 1;

   for(let i=1; i<99999; i++) {

       if (checkIfInSet(i, set) && checkIfMagic(i.toString())) {

           console.log(`--${counter++}-- (of set ${set})`);

           printMagic(i.toString());

       }

   }

}

checkSet('23456');

checkSet('34567');

You might be interested in
What is the mean and the median for 72 75 78 <br> 72 and 73
denpristay [2]
Mean: 74
(72+72+73+75+78) divided by 5

median: 73
(line all the numbers up in numerical order then cross out one from each side and repeat process until in the middle)
7 0
3 years ago
Read 2 more answers
write a two step equation that involves multiplication and subtraction, includes a negative coefficien, and has a solution of x=
laiz [17]
-60x+20 = -400
x equals 7
6 0
4 years ago
In the town of Pleasantville, a poll of 340 residents revealed that 289 residents were opposed to the proposed changes to the to
trapecia [35]

Step-by-step explanation:

sorry I don't know the answer

6 0
3 years ago
Help please !!!!!!!!!
vodka [1.7K]

Answer: I just got home from work and I got a new phone call from my friends and I was just trying to get to work and It is not working so I’m just going to take it get back to her later today or tomorrow morning when I get home from work and I will be home in a few minutes if you need me to come in and get it done before I leave work and I will be home by the time I leave work so I’ll leave work and work for me and I’ll be there at the end of the week so I’ll leave work on my phone call or you want me to leave you know you need me to stop I need you and your dad and I’ll meet y’all in there and then you could go with my friend or family or something else if y’all are still there so you could leave it for us to do that to get out and then leave the car .

Step-by-step explanation:

Me and your dad was like this last night and and now I’m cuz of this ➕ this ⬆️⬇️⬆️⬇️⬆️⬇️

6 0
2 years ago
The answer about this question
il63 [147K]
F is the correct anser
7 0
4 years ago
Other questions:
  • Determine the percent change from 30$ to 75$​
    11·1 answer
  • Which of the following relation is correct
    7·1 answer
  • Solve for p. 3+ [1 +p] = 12 A) p =8 or p = -8, B) p = 14 or p = -16, C) p = 8 or p = -10, D) p = 10 or p = - 10.​
    9·1 answer
  • How do i do this problem?
    12·1 answer
  • If p=1/3 what is 12p
    11·2 answers
  • One week, Ethan earned $391.00 at his job when he worked for 23 hours. If he is paid the same hourly wage, how many hours would
    6·1 answer
  • Find the value of x and the value of y
    8·1 answer
  • First to type something random in the answer box gets 100 points!
    9·2 answers
  • An angle measures 157.2° more than the measure of its supplementary angle. What is the measure of each angle?
    8·1 answer
  • Place the indicated product in the proper location on the grid.<br><br> За^2 x 2а^3​
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!