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
In a recent year one United States dollars was equal to about 82 Japanese yen
suter [353]
$8,200
$82,000
$820,000
5 0
3 years ago
A recent estimate by a large distributor of gasoline claims that 60% of all cars stopping at their service stations chose unlead
Anton [14]

Answer:

We reject the null hypothesis and conclude that at least 2 proportions differ from the stated value.

Step-by-step explanation:

There are 3 types of gas listed in the question.

Thus;

n = 3

DF = n - 1

DF = 3 - 1

DF = 2

Let's state the hypotheses;

Null hypothesis; H0: P_regular = P_super unleaded = 20%; P_i leaded = 60%

Alternative hypothesis; Ha: At least 2 proportions differ from the stated value.

Observed values are;

Regular gas; O = 51

Unleaded gas; O = 261

Super Unleaded; O = 88

Total observed values = 51 + 261 + 88 = 400

We are told that super unleaded and regular were each selected 20% of the time and that unleaded gas was chosen 60% of the time.

Thus, expected values are;

Regular gas; E = 20% × 400 = 80

Unleaded gas; E = 60% × 400 = 240

Super Unleaded; E = 20% × 400 = 80

Formula for chi Square goodness of fit is;

X² = Σ[(O - E)²/E]

X² = (51 - 80)²/80) + (261 - 240)²/240) + (88 - 80)²/80)

X² = 13.15

From the chi Square distribution table attached and using; DF = 2 and X² = 13.15, we can trace the p-value to be approximately 0.001

Also from online p-value from chi Square calculator attached, we have p to be approximately 0.001 which is similar to what we got from the table.

Now, if we take the significance level to be 0.05, it means the p-value is less than it and thus we reject the null hypothesis and conclude that at least 2 proportions differ from the stated value.

4 0
3 years ago
A program exists to encourage more middle school students to major in math and science when they go to college. The organizers o
matrenka [14]

Answer:

Item (D)

Step-by-step explanation:

In the stratified random sample we would divide our population into homogeneous groups / strata and then  we randomly select the individuals in each group / stratum.

In general, when comparing with the simple  random sample, we realize that stratified random sampling has the advantage of increasing accuracy and decreasing  variability.

In the question, we have two strata: female students and male students. On each one of the  strata, a random sample of 25 names was made in the list.

7 0
3 years ago
I need some help on this problem
wolverine [178]
437 is your answer
______
3)131.1
- 12
____
11
- 9
______
21
- 21
______
0
5 0
3 years ago
Add 1 1/3 + (−5/6) = ?
Aleks [24]
1 1/3 = 4/3 (because (3 * 1 + 1) / 3)

We need both parts of sum to have common denominator.
Second part have denominator = 6.
When we multiply nominator and denominator of first part by 2 we get 8/6 (what is legit operation on fractions)

Now easily add:
8/6 + (- 5/6) = 8/6 - 5/6 = 3/6 (here we can divide both nominator and denominator by 3 to get "nicer" result) = 1/2 
4 0
3 years ago
Other questions:
  • Mitchell is a big coffee fan, so he always takes care of coffee brewing at the office. Normally he uses 100 grams of Robusta cof
    12·1 answer
  • The two spheres above have the same center one has a radius of 2 cm and the other one has a radius of 3 cm approximately how muc
    5·1 answer
  • If Chris has 2 times as many nickels as quarters and they have a combined value of 210 cents, how many of each coin does he have
    15·1 answer
  • If r = -\sqrt{2}, and a5 = \sqrt{2}, what is the first term of the sequence?
    10·1 answer
  • PLEASE HELP DETAILS ARE BELOW I WILL RATE BRAINIEST CHORD AND ARCS FIND THE MEASURE OF ARC CD DETAILS BELOW
    9·2 answers
  • The Natural History Museum has a 1:60 scale model of a tyrannosaurus rex dinosaur. The length of the model is 20 centimeters. Fi
    6·1 answer
  • ANSWER PLS <br>NO LINKSSSSSS​
    11·2 answers
  • My last question please help I keep getting it wrong!!​
    7·2 answers
  • Negative three eights times a number,z, equals 12.
    13·2 answers
  • The line with x-intercept of 10 and y-<br> intercept of -2.
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!