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
The scatterplot shows the data collected from a survey of 19 students, in which they were asked how many hours per week they stu
konstantin123 [22]

Answer:

The Answer is B) There is a positive correlation between them.

Step-by-step explanation:

There is a positive correlation between them. Since the points on the graph tend to rise from left to right, the correlation is positive.

3 0
3 years ago
Read 2 more answers
What type of association would you expect between a persons age and hair length
hjlf

Answer:

The length of their hair reduces. This is because the length of hair is dependent on the growth phase (anagen phase) of the hair follicles. When one is young, the cells of the papilla divide more rapidly and hence cause the length of the hair to be long before reaching transitional phase (catagen phase) and then shed off in the telogen phase. The older one gets, the papilla cells do not divide as rapidly and the length of the hair shortens with age.

4 0
3 years ago
G)Find the<br>the coefficient of y^5 in the<br>expansion of (3+2y)^6​
hodyreva [135]

Answer:

2

Step-by-step explanation:

A coefficient is a number of times a variable. So in this equation. 2 is being multiplied by y. so 2 is the coefficient.

3 0
3 years ago
What is -5 divided by 2
amm1812

-2.5 is the answer.

Hope it helps.


5 0
2 years ago
Read 2 more answers
Laboratory experiment shows that the life of the average butterfly is normally distributed with a mean of 18.8 days and a standa
inessss [21]

Answer:

a) 0.4164

Step-by-step explanation:

Mean lifespan (μ) = 18.8 days

Standard deviation (σ) = 2 days

For any given lifespan 'X', the z-score is:

z=\frac{X- \mu}{\sigma} \\z=\frac{X- 18.8}{2}

For X=12.04 days:

z=\frac{12.04 - 18.8}{2} \\z=-3.38

A z-score of -3.38 falls in the 0.036-th percentile of a normal distribution.

For X=18.38 days:

z=\frac{18.38 - 18.8}{2} \\z=-0.21

A z-score of -3.38 falls in the 41.68th percentile of a normal distribution.

The probability that a butterfly lives between 12.04 and 18.38 days is

P=41.68-0.036\\P=41.64\%\ or\ 0.4164

6 0
3 years ago
Other questions:
  • Solve for each unknown variable, #67
    6·1 answer
  • What is the least common factor of 30 and 42
    7·1 answer
  • A mackerel swam at a steady speed for 22seconds. It swam 682centimeters in that time. What was its speed?
    5·1 answer
  • What is the length of side s of the square shown below? 450 90" A. 4-3 B. 1 C. 4 D. 2 E F. 2.5​
    7·2 answers
  • PLEASE EXPLAIN: ASAP <br> Express your answer in scientific notation<br> 2.8*10^-3-0.00065=
    7·1 answer
  • Plz help I’m so confused and my teachers no help
    14·1 answer
  • Sin y+ cos y + tan y sin y=sec y+ cos y tan y?
    7·1 answer
  • The difference of two numbers is 3. Their sum is 25.find the numbers
    14·2 answers
  • BRAINLIEST AND EXTRA POINTS IF U HELP !
    9·2 answers
  • Henry begins a savings account with $500. The savings account accumulates 2.5% annual interest based on the
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!