Forming a specific number with given numbers and operations

Click For Summary
SUMMARY

The discussion focuses on constructing an arithmetic expression R that equals a given natural number N using a specific set of natural numbers S and arithmetic operators. The problem is framed as a combinatorial challenge where each number in S must be used exactly once. A specific instance is provided with N = 24 and S = {1, 3, 4, 6}, where participants explore various combinations of the numbers and operators to achieve the target value.

PREREQUISITES
  • Understanding of basic arithmetic operations: addition, subtraction, multiplication, and division.
  • Familiarity with combinatorial problem-solving techniques.
  • Knowledge of natural numbers and their properties.
  • Ability to construct and evaluate mathematical expressions.
NEXT STEPS
  • Explore combinatorial algorithms for generating permutations of a set of numbers.
  • Learn about backtracking techniques for solving constraint satisfaction problems.
  • Investigate the use of recursive functions to evaluate arithmetic expressions dynamically.
  • Study mathematical optimization methods to minimize or maximize expressions under given constraints.
USEFUL FOR

Mathematicians, computer scientists, educators, and anyone interested in problem-solving with arithmetic expressions and combinatorial logic.

mah1
Messages
1
Reaction score
0
Suppose you are given (1) a natural number N; (2) a set of natural num-
bers S = {n1; n2; : : : }; (3) a set of arithmetic operators, say +; -;*; =
(with the usual meaning of addition, multiplication, substraction, di-
vision). Your job is to construct an arithmetic expression R built from
the given operators and using each of the numbers in S exactly once,
with R = N.
(a) Explain in general how you could solve that problem.
(b) Solve the speci c instance: N = 24, S = {1; 3; 4; 6}
 
Physics news on Phys.org


so how would YOU do it?
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
39
Views
6K
  • · Replies 3 ·
Replies
3
Views
1K
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
Replies
2
Views
3K
Replies
9
Views
2K
Replies
8
Views
9K