How many numbers can you make with four 4s?

  • Context: High School 
  • Thread starter Thread starter Greg Bernhardt
  • Start date Start date
  • Tags Tags
    Puzzle
Click For Summary

Discussion Overview

The discussion revolves around the mathematical puzzle of determining how many different numbers can be created using exactly four instances of the number 4, combined with various mathematical symbols and operations. Participants explore various approaches, including the use of integrals, logarithms, and trigonometric functions, while considering the implications of using additional mathematical concepts.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • Some participants suggest using integrals, such as ##4444\int dx = 4444x + C##, as a way to represent numbers.
  • Others propose using logarithmic functions to create negative numbers or to represent zero, such as ##lg(4/4)=0##.
  • There are attempts to express irrational numbers like Pi using the four 4s, with various formulations being presented, including limits and inverse trigonometric functions.
  • Some participants express uncertainty about the rules of the puzzle, particularly regarding the use of variables and whether certain functions are allowed.
  • Discussions arise about the validity of using arbitrary constants and whether they trivialize the problem.
  • Several participants explore approximations and the use of factorials, with some suggesting that these methods may not align with the original intent of the puzzle.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the rules governing the use of functions and constants in the puzzle. There are competing views on what constitutes an acceptable solution, particularly regarding the use of variables and advanced mathematical functions.

Contextual Notes

Participants note that the problem may require explicit restrictions on the types of functions and operations allowed, as the current interpretations lead to a wide range of potential solutions, some of which may be considered trivial.

  • #31
mfb said:
Both at the same time with a total of 4 4s? Yes they can be expressed like that, but then there is no point in introducing integrals and whatever because you have expressed 10 via 4s already.
Thus one has to pick which method they follow ... (The primitive one is already in the video, so the question about 10 shouldn't have been asked in the first place ! ...)
 
Mathematics news on Phys.org
  • #32
Stavros Kiri said:
But back on track with the exact solution (not approximation), for any real number x (e.g. π) [integer, rational, or irrational ...].
A simple counting argument shows that this is not possible. The cardinality of the reals is larger than the cardinality of the set of finite expressions.
 
  • Like
Likes   Reactions: mfb and Stavros Kiri
  • #33
jbriggs444 said:
A simple counting argument shows that this is not possible. The cardinality of the reals is larger than the cardinality of the set of finite expressions.
Unless you use continues functions (in the variables and/or constants) to invert from the 4 4s numbers business. Then the cardinality can even be |R|, or |RxR| etc., if you fix appropriately variables and constants for the functions ... . But the point is that we say that this is not actually allowed (see previous posts about restrictions on arbitrariness and inversion, as well as the examples of continues functions there).

So basically, yes, I agree. Do you?
 
  • #34
Stavros Kiri said:
Unless you use continues functions (in the variables and/or constants) to invert from the 4 4s numbers business. Then the cardinality can even be |R|, or |RxR| etc., if you fix appropriately variables and constants for the functions ... . But the point is that we say that this is not actually allowed (see previous posts about restrictions on arbitrariness and inversion, as well as the examples of continues functions there).

So basically, yes, I agree. Do you?
I am not sure that I know what you mean by "use continuous functions". But if one is going to use a function there is a requirement that one identify the function. That is why the general approach given in post #2 (just use an arbitrary constant C that gives the desired result) is not acceptable.

It does not matter how rich the specification language is. The number of things that you can specify cannot exceed the number of valid specifications.

It does not matter that the set of not-necessarily-continuous functions has cardinality ##|\mathbb{R}^{|\mathbb{R}|}|##. The set of the ones you can finitely specify has cardinality no more than |N|.
 
Last edited:
  • Like
Likes   Reactions: Stavros Kiri and mfb
  • #35
jbriggs444 said:
I am not sure that I know what you mean by "use continuous functions"
Real continuous functions on the [also continuous] variables and constants, e.g. say (x, A) [continuous quantities (i.e. their domain is a continuous subset of R)], plus f(x;A) [or notation like fA(x)], for one variable and one constant etc.], continuous functions on their domain, a requirement for simplicity to give you easily every choice possible, that would make the puzzle trivial.

But as mentioned, and mostly agreed, none of that should be allowed, according to the video and OP. (Just the 4 4s, used only once [each], and basic step operations, basic functions [inverses I think are allowed*, if there are no arbitrary constants (that you can covenienty fix etc.)], mathematical symbols etc. ... ; no other numbers or arbitrary constants etc.)

So I think overall we probably agree, and for the rest of your post I completely agree and liked them both [posts of yours].

But although we cannot get all real numbers, we can try to get as many as we can, following:
Greg Bernhardt said:
How many different numbers can you make? It's best to think of a number and then try to make it

Thus the puzzle and challenge is not trivial, but a real and valid one (Note that in the video he deals only about 0, 1, 2 ... n ... ∞ , with "Dirac's busting" at the end ... , but the OP actually gave more challenge ... (as many numbers as we can, i.e. reals ...; π was one new accomplished etc.) ).

* e.g. ~as in mfb's solution for π (earlier), as both cos and arccos I think should be allowed (one is the inverse of the other, both basic functions ...).
 
Last edited:
  • #36
Stavros Kiri said:
Real continuous functions on the [also continuous] variables and constants, e.g. say (x, A) [continuous quantities (i.e. their domain is a continuous subset of R)], plus f(x;A) [or notation like fA(x)], for one variable and one constant etc.], continuous functions on their domain, a requirement for simplicity to give you easily every choice possible, that would make the puzzle trivial.
I still do not understand this.

A constant function is continuous. But if you allow for arbitrary constant functions to be invoked (specified how?) then the problem becomes trivial. So one must have a limited roster of functions.

If you are allowed to include functions with no arguments (also known as zero-place functions or constants) then the problem becomes trivial. Given one such function (call it k), one can write ##\frac{k+k+k+k}{k+k+k}## or similar to encode any rational number. So we cannot allow zero-place functions . (Not even zero, see below).

If one is given a one-place monotone increasing function f and an unrelated one-place monotone decreasing function g then one can write expressions like f(f(g(g(f(g(x)))))) and use the pattern of f's and g's to encode values. So we must exercise care with the set of one-place functions that are permitted, otherwise the problem becomes trivial. [That was the point of post #26].

For two-place or greater functions, the fact that no constants (not even zero) are allowed is helpful. With only four constant terms (the four fours) to use, a maximum of three two-place functions can possibly be used. e.g. f(4,g(4,h(4,4))). Similarly, at most two three place functions or at most one four-place function. The point is that the user is prevented from chaining together an arbitrarily long string of function compositions.

So. Which functions do you have in mind, consistent with the above guidelines?

Plus, minus, times, divide, exponentiation and unary negation?
 
Last edited:
  • Like
Likes   Reactions: Stavros Kiri
  • #37
jbriggs444 said:
then the problem becomes trivial. So one must have a limited roster of functions.
That's what I also said.+Many interesting points in your reply.

+
jbriggs444 said:
Plus, minus, times, divide, exponentiation and unary negation?
In the video he uses more, e.g. concatenation, percentage and a bunch of special tricks ...
 
Last edited:

Similar threads

  • · Replies 31 ·
2
Replies
31
Views
4K
  • · Replies 20 ·
Replies
20
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
Replies
6
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 13 ·
Replies
13
Views
3K