Slashdot Mirror


You Can Make Any Number Out of Four 4s Because Math Is Amazing (youtube.com)

Andrew Moseman, writing for Popular Mechanics: Here's a fun math puzzle to brighten your day. Say you've got four 4s -- 4, 4, 4, 4 -- and you're allowed to place any normal math symbols around them. How many different numbers can you make? According to the fantastic YouTube channel Numberphile, you can make all of them. Really. You just have to have some fun and get creative. When you first start out, the problem seems pretty simple. So, for example, 4 - 4 + 4 - 4 = 0. To make 1, you can do 4 / 4 + 4 - 4. In fact, you can make all the numbers up to about 20 using only the basic arithmetic operations of addition, subtraction, multiplication, and division. But soon that's not enough. To start reaching bigger numbers, the video explains, you must pull in more sophisticated operations like square roots, exponents, factorials (4!, or 4 x 3 x 2 x 1), and concatenation (basically, turning 4 and 4 into 44).

309 comments

  1. One is lonely by Anonymous Coward · · Score: 0

    Two is company
    Three is a crowd
    Four is an orgy

    1. Re:One is lonely by BarbaraHudson · · Score: 0

      And I can make any number I want with just ones and a single zero (if I want negative numbers or zero). Big deal.

      --
      "Transparent" is a shit show that trades on every stereotype going. A man in drag is NOT a transsexual.
    2. Re: One is lonely by Anonymous Coward · · Score: 0

      Four realz?!?!

    3. Re:One is lonely by clovis · · Score: 2

      And I can make any number I want with just ones and a single zero (if I want negative numbers or zero). Big deal.

      But you cannot make any integer using just 4 ones, and that's what makes this a bit more interesting.
      The summary uses the phrase "any number", but that is wrong. What they should have said was "any integer".
      If the summary had correctly said "any integer", I doubt I would have read any further, and probably half the comments would not have been posted.

      It's kind of a neat trick. If you already know what a logarithm is, you only need to watch from the 8:00 minutes in the video to 8:40 see the method.
      The method uses only log, square root, and division.

      BTW, making a googleplex by adding a long string of ones takes about the same amount of paper as their method that uses only 4 fours, depending on your handwriting.

    4. Re:One is lonely by clovis · · Score: 1

      I take it back. I just figured out how to make any integer using exactly four ones.
      It's a really stupid trick, but it does not break the rules as stated.

    5. Re:One is lonely by fisted · · Score: 1

      How do you make 20747222 467734852078216 952221076085874 80996474721117292 752992589 912196684750549658 310084416732550077 out of four ones?
      (Spaces added to work around "Filter error: That's an awful long string of letters there.", please ignore them)

    6. Re:One is lonely by clovis · · Score: 1

      If they're going to allow concatenation which returns a different number value depending on the number base of the concatenated numerals, then we get to choose the number base. I don't recall their stating a requirement for base 10.

      Just make the decimal number you offered be the number base, N.
      N = fisted's number = 20747222 467734852078216 952221076085874 80996474721117292 752992589 912196684750549658 310084416732550077
      So in number base (N), N= 10
      in base 10, ten = 10
      in hexadecimal, base (decimal16) then decimal 16 = 10 hex
      octal, base 8, decimal 8 = 10 octal
      base 2, 2 = 10 binary

      in base N (fisted's number);
      1||(1-1) = 10, which is N
      1||(1-1) * 1 to use the required four one's

      Yes, I should be, and am, ashamed for doing this.

    7. Re:One is lonely by fisted · · Score: 1

      Okay that's pretty fucked up. I like it.

    8. Re:One is lonely by Chelmet · · Score: 1

      Hmm, I'm not sure about changing the base from 10 as an acceptable method. Can't I just decide that, for the problem of 20747222 467734852078216 952221076085874 80996474721117292 752992589 912196684750549658, I am working in base 20747222 467734852078216 952221076085874 80996474721117292 752992589 912196684750549658?

  2. Um, no. by rickb928 · · Score: 4, Informative

    "and concatenation"
    No, that's not really maths,

    --
    deleting the extra space after periods so i can stay relevant, yeah.
    1. Re:Um, no. by sexconker · · Score: 3, Insightful

      Yup. They say "normal math symbols" and then include concatenation. Fucking horse shit.

    2. Re:Um, no. by XxtraLarGe · · Score: 5, Funny

      "and concatenation"
      No, that's not really maths,

      Oh really? Then how come "4" + "4" = 44? I just tested it in JavaScript, and it works!

      --
      Taking guns away from the 99% gives the 1% 100% of the power.
    3. Re:Um, no. by Anonymous Coward · · Score: 5, Funny

      Checkmate, atheists.

    4. Re:Um, no. by rpresser · · Score: 1

      concat(x,y) = x * 10^(ceil(log_10(y+1))) + y

      for x, y real and >0

    5. Re:Um, no. by SuperKendall · · Score: 1

      Oh really? Then how come "4" + "4" = 44? I just tested it in JavaScript, and it works!

      That's a great point, but they should have mentioned explicitly that they meant Programmer Math - i.e. Bullshit.

      --
      "There is more worth loving than we have strength to love." - Brian Jay Stanley
    6. Re:Um, no. by Xenographic · · Score: 1

      Depends on your definition of 'normal', really. But yes, this is just a silly game. I mean, you normally construct the integers out of just one number, zero, and the successor function called an arbitrary number of times.

      So there's no reason you need four 4s. Just construct the integers normally, e.g. 0, ++0, ++(++0), etc. with ++ denoting the successor function in a way familiar to C-syntax programmers.

      For those who haven't seen this before, just look up set theory on Khan academy or such.

    7. Re:Um, no. by Anonymous Coward · · Score: 0

      This is what you get when you think you know a lot more about math than the person you're criticizing, but it turns out you know a lot less.

    8. Re:Um, no. by Anonymous Coward · · Score: 0

      Since when isn't concatenation a "normal" math symbol? He never said only arithmetic, moron. I HATE Internet experts. Your job working the McDonald's register doesn't make you a math expert.

    9. Re:Um, no. by Anonymous Coward · · Score: 0

      Um, not only is it math, but it is more fundamental than the arithmetic taught in schools...

    10. Re:Um, no. by Anonymous Coward · · Score: 1

      The actual solution doesn't even use concatenation.

    11. Re:Um, no. by rickb928 · · Score: 1, Funny

      I quit my job at the McDonald's register 40 years ago to move on to what I was trained for, electronics repair.

      And concatenation is still not math. It's something else. Next thing you know, ALL Excel functions will be math. Calling your kitten 'biscuit' because it was born in the oven doesn't make it a biscuit.

      --
      deleting the extra space after periods so i can stay relevant, yeah.
    12. Re:Um, no. by K.+S.+Kyosuke · · Score: 1

      I think the idea is the specific puzzle, not deriving Peano numbers out of it.

      Anyway, it's a nice recreational math puzzle, and perhaps a nice symbolic programming/generative grammar puzzle, too. The mere presence of unary operators such as factorial makes the number of answers inifinite, of course.

      --
      Ezekiel 23:20
    13. Re:Um, no. by Anonymous Coward · · Score: 0

      Wrong! Look up "Concatenation (mathematics)" in Wikipedia.

    14. Re:Um, no. by vux984 · · Score: 5, Interesting

      The video is actually worth watching.

      They don't need concatenation; and can get any whole number from

      log
        sqrt symbol
      division

      the sqrt symbol is the 'trick' to it all; since it can be applied an infinite number of times to a single expression.

    15. Re:Um, no. by Anonymous Coward · · Score: 1

      If concatenation isn't math, set theory would like to have a word with you.

    16. Re:Um, no. by Anonymous Coward · · Score: 0

      Well, maybe you should look it up then. Google "mathematical concatenation" smarty pants. Calling yourself an "electronics repair" person doesn't make you an expert in math. Fortunately, my degree does. In math, 4 || 4 = 44.

    17. Re:Um, no. by Anonymous Coward · · Score: 0

      just overload the + to be concatenation

    18. Re:Um, no. by Anonymous Coward · · Score: 0

      And concatenation is still not math. It's something else.

      It most certainly is math. It's silly math, because it assumes base ten is special.

      Next thing you know, ALL Excel functions will be math.

      That's always been true. Everything on a computer after all based on math.

      Calling your kitten 'biscuit' because it was born in the oven doesn't make it a biscuit.

      That's math too!

      Mathematics is the art of giving the same name to different things. -- Henri Poincare

      Math is much more than you studied in grade school.

    19. Re:Um, no. by Anonymous Coward · · Score: 0

      IE the computer does what you tell it to do.

    20. Re:Um, no. by DickBreath · · Score: 1

      Concatenation is okay if you want to define it as an operator. This opens up the question of how far to take this. Can I just invent new operators? What about a function that takes X and Y and returns, arbitrarily, say, 2x + 3y / 2 ?

      My point is, if you can invent the operators / functions you need, then at what point is this cheating? At what point does the game become uninteresting?

      Now I can see the fun if you are limited to a pre-defined set of operations, including maybe concatenation.

      --

      I'll see your senator, and I'll raise you two judges.
    21. Re:Um, no. by Anonymous Coward · · Score: 0

      cat(x,y) = x*10^ceiling(log_10(y)) + y

      For natural numbers x and y.

    22. Re:Um, no. by Anonymous Coward · · Score: 0

      "(4/4)% - (4/4) = 99" really bothered me.

    23. Re:Um, no. by Anonymous Coward · · Score: 0

      Well yes.
      At least for several commins ets of numbers.

      4/4 =1
      4/4 + 4/4 = 2
      (4/4)/(4/4 + 4/4) = .5
      (4/4 - 4/4 - 4/4)^((4/4)/(4/4 + 4/4)) = i
      etc.

    24. Re:Um, no. by idji · · Score: 1

      But they didn't use concatenation to get every natural number - just log, root and divsion.

    25. Re:Um, no. by NatasRevol · · Score: 1

      It's almost like you skipped over the phrase " To start reaching bigger numbers, the video explains, you must pull in more sophisticated operations"

      --
      There are two types of people in the world: Those who crave closure
    26. Re:Um, no. by Anonymous Coward · · Score: 0

      Calling your kitten 'biscuit' because it was born in the oven doesn't make it a biscuit.

      Mmmmm. Kitten biscuits are delicious!

    27. Re: Um, no. by Anonymous Coward · · Score: 0

      No, you are using way more than 4 fours

    28. Re:Um, no. by Anonymous Coward · · Score: 0

      The mathematical operator for concatenation is well defined. It is a double bar ("||", not to be confused with "||" used a many programming languages). 4 || 4 = 44. No need to invent one.

    29. Re:Um, no. by Anonymous Coward · · Score: 0

      Four OR OR four? WTF dude.

    30. Re:Um, no. by DontBeAMoran · · Score: 1

      That's the most Zapp Brannigan-esque reply I've seen all year.

      --
      #DeleteFacebook
    31. Re:Um, no. by Anonymous Coward · · Score: 0

      Yup. They say "normal math symbols" and then include concatenation. Fucking horse shit.

      They say "English" and then include Ebonics. The fuck did you expect out of the era of "new" everything?

    32. Re:Um, no. by PIBM · · Score: 2

      Was this really a thing ? Years ago in college (~18y ago) we were asked to get up to infinity with only 2 4s and math ops. Having 4 just adds 4/4 * in front of the solution to make it to infinity

      4/4 * log(4)/log(4) = 1

      Then you add sqrt operators in front of the bottom 4.

      4/4 * log(4)/log(sqrt(4)) = 2
      4/4 * log(4)/log(sqrt(sqrt(4))) = 4

      Now, if you want to get 'any number' in between, use the same trick and the extra 4s to change the basis of the whole thing

      log in base sqrt(4) / 4 of (log base 4 of sqrt(4))

      log( log(sqrt(4)) / log(4) ) / log ( sqrt(4) / 4) = 1
      log( log(sqrt(sqrt(4))) / log(4) ) / log ( sqrt(4) / 4) = 2
      log( log(sqrt(sqrt(sqrt(4)))) / log(4) ) / log ( sqrt(4) / 4) = 3

      just add as many square root operators as you wish. Not difficult, no ?

    33. Re: Um, no. by reanjr · · Score: 1

      It means 4 concat 4. This is typical notation. PostgreSQL even supports it for text concatenation.

    34. Re:Um, no. by sexconker · · Score: 1

      No I didn't.
      I'm taking issue with calling "concatenation" a "normal math symbol". The concatenation they're referring to is string concatenation.
      I already know you don't need concatenation to generate any integer.

    35. Re:Um, no. by PIBM · · Score: 1

      It's not as if concatenations were needed. Logarithmic operation, Square root & divisions is all I need.

    36. Re:Um, no. by Darinbob · · Score: 1

      But not suitable for Slashdot where we (should) already know this stuff, there is nothing new here. Slashdot should not be treated as a astroturfing site to garner video reviewers so the author can get a few more pennies from youtube.

    37. Re:Um, no. by rraylion · · Score: 1

      In CS you learn that Math actually fully describes language -- ask anyone who has taken mathematical foundations of computing, mathematics of finite state machines. -- I am going to wave a magic wand here - but one of the simple state machines - can determine if a string is a palindrome or concatenate two strings. This type of topic would have been covered in first three weeks.

      All language syntax is in essence a math problem where you can check correctness of syntax easily, but not meaning. So concatenation is easily created - and happens to be easily checked in O(n) time.

    38. Re:Um, no. by rraylion · · Score: 1

      In CS you learn that Math actually fully describes language -- ask anyone who has taken mathematical foundations of computing. Mathematics of finite state machines. -- I am going to wave a magic wand here - but one of the simple state machines - can determine if a string is a palindrome or concatenate two strings. This type of topic would have been covered in first three weeks.

      All language syntax is in essence a math problem where you can check correctness of syntax easily, but not meaning. So concatenation is easily created - and happens to be easily checked in O(n) time.

    39. Re:Um, no. by vux984 · · Score: 4, Insightful

      But not suitable for Slashdot where we (should) already know this stuff, there is nothing new here.

      Give it a rest.

      It was really an elegant mathematical solution.

      Yes its not new, but its certainly 'esoteric enough'; I certainly hadn't seen it before. I can understand the expression on the wikipedia article, but its definitely not something i'd think most people would follow; and even i would have had to study it longer than it the 5 minutes it took to watch the video to have figured out how it all worked, so I enjoyed seeing the derivation.

      And if some youtuber makes a few pennies off demonstrating an elegant mathematical proof in an easy to follow and informative way... what exactly do you object to about it?

       

    40. Re:Um, no. by gyepi · · Score: 0

      I can generate all natural numbers using only a single number and a single operation: the number 0 and the S operation "add +1". Proof: 0, S0, SS0, SSS0,...

      Where is my prize? (What a stupid video.)

      --
      Attitudes make the difference between Space and Time: we want to MAX our temporal, and MIN our spatial extension.
    41. Re:Um, no. by irrational_design · · Score: 1

      Wait, was there a math test that I was supposed to take before visiting Slashdot? Because I missed it. I certainly don't already know this stuff. Then again I don't know much beyond Algebra 1 (and there I don't know much beyond x +1 = 5).

    42. Re:Um, no. by Anonymous Coward · · Score: 0

      See, the correct algebraic structure for whole numbers is actually a perl.

    43. Re:Um, no. by Anonymous Coward · · Score: 0

      That's always been true. Everything on a computer after all based on math.

      Try telling that to digital artists.

    44. Re:Um, no. by Anonymous Coward · · Score: 0

      You realize the C family of programming languages are not the arbiters of mathematical symbols, right? "||" is the standard symbol for concatenation. Look. It. Up. "Dude."

    45. Re:Um, no. by BarbaraHudson · · Score: 1

      You didn't get a number, because "4" (in quotes) in javascript is not a number, it's a string. And your result of concatenating two strings is also a string, not a number, so you fail.

      --
      "Transparent" is a shit show that trades on every stereotype going. A man in drag is NOT a transsexual.
    46. Re:Um, no. by BarbaraHudson · · Score: 1

      He got the javascript string value "44", not the number 44. That's what happens when you use the plus symbol on two string values ("4" + "4", as opposed to 4 + 4).

      --
      "Transparent" is a shit show that trades on every stereotype going. A man in drag is NOT a transsexual.
    47. Re:Um, no. by Anonymous Coward · · Score: 0

      Your formula gives concat(1.5, 2) = 17. I was expecting 1.52.

    48. Re:Um, no. by Actually,+I+do+RTFA · · Score: 1

      That's stupid. It should read 0, 0++, 0++++, 0++++++,...

      --
      Your ad here. Ask me how!
    49. Re:Um, no. by thegarbz · · Score: 1

      Oh fuck off.

      Sincerely.

    50. Re:Um, no. by KFK2 · · Score: 1

      Yah but when I run the following I get 43:
      a = "4" + "4";
      a = a - 1 ;

    51. Re:Um, no. by Anonymous Coward · · Score: 0

      That's not Programmer Math. That's Javascript using the + operator for string concatenation since "4" is a string type.

    52. Re:Um, no. by Aighearach · · Score: 1

      Depends on your definition of 'normal', really.

      If you're even trying to define "normal" in a special way to make something true, then you've already left the realm of normalcy and entered the realm of "alternate facts."

    53. Re:Um, no. by Anonymous Coward · · Score: 0

      Unfortunately "10^" isn't just a math operation, as 10 itself is a number. If you could pick arbitrary numbers to raise the power of, you could just do something like this:

      If N is the target number
      N = X ^ (4 + 4 + 4 + 4)

      Therefore
      X = [16th root of] N

    54. Re:Um, no. by Aighearach · · Score: 1

      ...doesn't make it a biscuit.

      In fairness, you'd really have to test the recipe out before making that call.

      But I don't have to run a concatenation operator to know it isn't math.

    55. Re:Um, no. by Anonymous Coward · · Score: 0

      And to take that further:

      N = X ^ ((4/4) * (4/4))

      Therefore
      X = N

    56. Re:Um, no. by Aighearach · · Score: 2

      I can do it with 4's too, and I don't need concatenation...

      (4/4)+(4/4) etc

      The video being stupid doesn't bother me. Slashdot trying to pretend it is something intellectually interesting is what is offensive. Stupid videos are fine.

    57. Re:Um, no. by Anonymous Coward · · Score: 0

      I am not familiar with that the the + sign the mathematical concatenation sign in Javascript?

    58. Re:Um, no. by ooloorie · · Score: 1

      Think of concatenation as a simple function:

      f(x,y) = 10**ceil(log10(y+1)) * x + y

    59. Re:Um, no. by sexconker · · Score: 2

      Tell me the "normal math symbol" for concatenation. It must be distinct from / unambiguous considering string concatenation and set "concatenation" (really, joins/unions). I'll also need to "normal math symbol" that distinguishes/groups terms for evaluation vs. concatenation when it's ambiguous. (Where's your fucking escape character?) Oh, and it has to be valid for any base.

      Concatenation is not a mathematical operation it is a logical one that requires knowledge about how numbers how represented.

      Can you concatenate 0 and 1? 01 isn't a valid thing.
      Can you concatenate .1 and .2?
      Can you concatenate 7 and -3? Is it an expression? It sure isn't valid as a term on its own. What do you do when expressions are invalid? Do we throw out the entire output or do we throw out the concatenate call and keep the left hand side of the argument? Or the right hand side? Or maybe it's a divide by 0 error and we just shit the bed?
      Hell, when concatenate is unambiguous, is it left to right or right to left? What if shit is stored big endian or little endian? Do we have a concept of fundamental chunks of data (such bytes) and do we have to respect the byte order as well as endianness? How do you concatenate real numbers such as 1.111...? How do you concatenate a written expression read as "3 X over 4 plus X"? Do we just slam it on the end and leave the "over" line dangling?
      I've seen people post shit involving logs and ceils and addition to implement concatenation, but what I've seen was flawed (fails on 100, for example, they need to do floor + 1 not ceil). This doesn't work for unary. This assumes behavior of ceil (or floor) for positive and negative numbers. This assumes the input is a value you can run a log on (not 0 and not negative), etc. etc.

      Concatenation is not a "normal math symbol" (or "normal mathematical operation").

    60. Re:Um, no. by igny · · Score: 1

      If we can use any functions such as arbitrary number of SQRT in combination with LOG, why can't we use other functions such as INCREMENT and express any number from 1 as (...(1++)++...)++?

      --
      In theory there is no difference between theory and practice. In practice there is. - Yogi Berra
    61. Re:Um, no. by Anonymous Coward · · Score: 0

      Mathematical formalization is an abstraction of "real" operations: if I combine two sets of 4 rocks together, then I will have 8 rocks, and so on. What is the physical analog to concatenation? How do I turn two sets of 4 rocks into 44 rocks? Not only that, but concatenation wholly depends on the writing system in use. You get a totally different number if you concatenate in a different base, which is unlike any of the other normal mathematical operations.

    62. Re:Um, no. by Anonymous Coward · · Score: 0

      In CS you learn that Math actually fully describes language -- ask anyone who has taken mathematical foundations of computing, mathematics of finite state machines. -- I am going to wave a magic wand here - but one of the simple state machines - can determine if a string is a palindrome or concatenate two strings. This type of topic would have been covered in first three weeks.

      Evidently NSCC did not get the memorandum.

    63. Re:Um, no. by Anonymous Coward · · Score: 0

      Um, yes. If you bothered to watch the video entire, you'd have seen he proves that all positive natural numbers can be obtained from four 4s and the two common mathematical operators log(number, base) and . Spoiler alert! log (base ½) of ½ to the nth, (½) is n. So, call log base ½(X), "logh(X)" [since a subscript ½ is difficult to create here.] Therefore logh(½) = logh(4/4) and since n = logh(½) we have n = logh(...(4/4) with n radicals. So any (natural) number is obtainable.

    64. Re:Um, no. by vux984 · · Score: 1

      If we can use any functions such as arbitrary number of SQRT in combination with LOG

      Answer #1:

      Increment isn't a 'common standard function or operator in math'

      sqare root is here: https://en.wikipedia.org/wiki/...
      log is here: https://en.wikipedia.org/wiki/...

      Both articles start out "In mathematics..."

      Where is 'increment'??

      sqrt has a standard mathematical symbol a 5th grader is familiar with. log is a standard mathematical function a 10th grader is familiar with. Both have dedicated buttons on a $6 calculator for high school math. This is the same reason why concat got such a rough response here; it is actually a valid operator, but its not nearly as 'common'.

      I can't recall ever seeing a standard increment symbol or standard increment function in pure mathematics. Sure you could define a suitable one using any of a variety of methods, but there isn't a standard one that I am aware of. Yeah, lets of computer programming languages have one, but that isn't math, that's programming.

      Answer #2:

      It violates the spirit of the puzzle.

      Even if INCREMENT did exist as a standard function; it would simply be immediately excluded from being used to solve the puzzle, since it renders the puzzle pointless and trivial.

      The log / sqrt solution is an interesting and clever solution. Increment ... is ... not.

      And in fact for people who actually like to play with the 4 4's problem as a puzzle today, they usually exclude log once they discover this pattern too -- precisely because it renders the puzzle pointless.

      https://en.wikipedia.org/wiki/...
      "Typically the "log" operators are not allowed, since there is a way to trivially create any number using them."

    65. Re:Um, no. by Anonymous Coward · · Score: 0

      CRAP, the radical sign shows up when I type it, but not after the lousy site interprets it. the radicals signs don't show in my previous post. radical sign = "root of" symbol
      logh(...(4/4)) with n radicals should have been logh(root(root(root(...(root(4)/4){close all parentheses}

    66. Re:Um, no. by Anonymous Coward · · Score: 0

      He got the javascript string value "44", not the number 44. That's what happens when you use the plus symbol on two string values ("4" + "4", as opposed to 4 + 4).

      "44" is equal 44 according to JavaScript.

    67. Re:Um, no. by vux984 · · Score: 1

      (4/4)+(4/4) etc

      What do you mean "etc" ??
      (4/4)+(4/4) = 2; fine; that equals 2
      But How do you get to 3 ?
      (4/4)+(4/4)+(4/4) is 6 4s.

      Slashdot trying to pretend it is something intellectually interesting is what is offensive.

      You posted a non-solution to the problem. I think if you are going to denigrate the video as not being intellectually interesting, you should probably at least understand the puzzle being solved.

      Its 'four fours'. Not six of them, not as many as you need. Just four them. Exactly 4 of them.

    68. Re:Um, no. by vux984 · · Score: 1

      Where is my prize? (What a stupid video.)

      Why would you get a prize for solving a completely different and much easier problem?

      If you see SS0 in a math text book do you automatically know that its an increment? Because when I see a square root sign or a log function i don't need to look up how they have been defined in that chapter or book, because they are universally use common standard functions.

      Your operation S that add's +1 is not a common mathematical operation or symbol; so its not a candidate operation for the solution.

    69. Re:Um, no. by Anonymous Coward · · Score: 1

      https://en.wikipedia.org/wiki/Successor_function
      There it is.
      Sqrt also renders the puzzle trivial.

    70. Re:Um, no. by LordKronos · · Score: 1

      Yup. They say "normal math symbols" and then include concatenation. Fucking horse shit.

      What has slashdot come to when this type of horse shit gets modded insightful?

      https://en.wikipedia.org/wiki/...

      http://mathworld.wolfram.com/C...

    71. Re:Um, no. by JWW · · Score: 1

      Wellll I guess we're not using a strongly typed language then...

    72. Re: Um, no. by Anonymous Coward · · Score: 0

      Concatenation is typically typed in mathematics as two pipes.
      ||

      String concatenation is irrelevant because this is about mathematics. Computer scientists use math, but not code monkey programming keyboard jockeys like you will imagine yourself to be, if only after you finish levelling up your last so you can win PvP vs those cheaters or whatever gripes you escape reality from to grief here.

      FOADIAF

    73. Re:Um, no. by serviscope_minor · · Score: 1

      First, I'm not entirely sure why you're getting so pissy about concatenation. the video also uses % which is sure to induce more rage. Either way you don't have a valid point since the end of th video shows how to do it all with only log and sqrt.

      Tell me the "normal math symbol" for concatenation.

      It's a small, blank bit of paper. You know how yoy write twelve as 12 without smooshing together the 1 or 2 or writing them miles apart? That little gap is the concatenation.

      Can you concatenate 0 and 1? 01 isn't a valid thing.

      WTF? It's 1.

      Can you concatenate .1 and .2?

      Nope. So?

      Concatenation is not a "normal math symbol" (or "normal mathematical operation").

      Not a normal maths operation? Are you on glue or do you not use positional number systesm?

      --
      SJW n. One who posts facts.
    74. Re:Um, no. by serviscope_minor · · Score: 1

      And concatenation is still not math

      Yes it is. School-maths is barely representative of maths. Maths is inventing rules and seeing where they take you. If you want concatentation in your set of rules, that's fine and plenty of people have done it.

      And concatenation in particular becam pretty commonplace when positional number systems arose.

      Just because you didn't (or didn't THINK you did) learn it in school, doesn't make it not maths.

      --
      SJW n. One who posts facts.
    75. Re:Um, no. by serviscope_minor · · Score: 1

      Checkmate, atheists.

      No, Athists don't believe in *god*. That was proof of existence of Satan.

      --
      SJW n. One who posts facts.
    76. Re:Um, no. by igny · · Score: 2

      You need to brush up on basic mathematical functions. Successor function is as basic as it can get, in fact it lies in the very foundation of axiomatic theory of arithmetic.

      --
      In theory there is no difference between theory and practice. In practice there is. - Yogi Berra
    77. Re:Um, no. by ArmoredDragon · · Score: 1

      But How do you get to 3 ?
      (4/4)+(4/4)+(4/4) is 6 4s.

      (4+4+4)/4?

    78. Re:Um, no. by clovis · · Score: 1

      "and concatenation"
      No, that's not really maths,

      Doesn't matter because concatenation is not used in their method for generating the numbers, and by numbers, they mean only integers.

    79. Re:Um, no. by vux984 · · Score: 1

      ugh. seriously? the point wasn't literally "how do you get to 3"; it was how do generically get further on.

      The previous poster wrote
      (4/4)+(4/4) "etc"

      As if THAT "etc" suggested it was a general extensible solution. It is not. (4+4+4)/4 is a solution for 3, but doesn't tell us how to get to 4, 5, 99, 113, 8187, or 3.148x10^32

    80. Re:Um, no. by PoopMonkey · · Score: 1

      How do I turn two sets of 4 rocks into 44 rocks?

      Two options would be a sledgehammer or a jackhammer. So division, kinda? Not concatenation, but you could use them to physically turn two sets of 4 rocks into 44 rocks.

    81. Re:Um, no. by Anonymous Coward · · Score: 0

      No I didn't.
      I'm taking issue with calling "concatenation" a "normal math symbol". The concatenation they're referring to is string concatenation.
      I already know you don't need concatenation to generate any integer.

      https://en.wikipedia.org/wiki/...

      You're wrong. Deal with it, and stop trying to move the goalposts.

    82. Re:Um, no. by Anonymous Coward · · Score: 0

      a string of binary digits is itself a number.

    83. Re:Um, no. by Aighearach · · Score: 1

      All but one of those examples can be reached just by my "etc" above.

    84. Re:Um, no. by Anonymous Coward · · Score: 0

      "and concatenation"
      No, that's not really maths,

      Call it a free monad and it suddenly is.

    85. Re:Um, no. by vux984 · · Score: 1

      I guess that depends what you intend 'etc' to represent but only you know that...

    86. Re:Um, no. by vux984 · · Score: 1

      Sure its basic, but its not a common or standard or universally understood by a particular symbol.

      S(n) could be a LOT of things, even lots of common things.

    87. Re:Um, no. by vux984 · · Score: 1

      The successor function has no universal common name or symbol.

      sqrt and log together have a rather clever construction that makes it trivial once you have derived the function, but the function certainly isn't trivial.

      And in any case, puzzlers do generally exclude log to eliminate that solution.

    88. Re:Um, no. by Sique · · Score: 1

      Of course concatenation is math. You do it all the time. You concatenate 3, period, 1, 4 and three other dots to create an approximate expression for pi: 3.14... It's called positional notation, and it was invented in India, and got refined by the Arabs, who added the important symbol 0, called a circlet or zifr in Arabian. Thus today, we still talk about ciphers and Arabic numberals when referring to positional notations.

      --
      .sig: Sique *sigh*
    89. Re:Um, no. by jandersen · · Score: 1

      "and concatenation"
      No, that's not really maths,

      How is that the case? Just because it isn't one of the common, algebraic operators that you learned in elementary school doesn't mean that it isn't maths. So:

      Addition, '+' is a map from N x N -> N : +: N x N ->N, but we normally use the infix notation a+b for a, b in N instead of +(a,b)
      Concatenation is a map from Cfr x Cfr -> N; it takes a 2-tuple (a,b) and constructs a new number, ab. here Cfr is the set of digits in your chosen base.

      Mathematics is much, much more than just arithmetics; more even, than numbers. You can, in principle, spend a whole lifetime in maths without ever having to deal with numbers. You wouldn't, of course; numbers is a very useful abstraction, that;s all, and a very basic one. You can derive all of fundamental arithmetic from naive set theory, without ever getting into sets with structure (topological spaces, groups, vector spaces ...)

    90. Re: Um, no. by Anonymous Coward · · Score: 0

      Can you divide 1/0. Nope. So you're telling me / is not a mathematical operator?

    91. Re: Um, no. by Anonymous Coward · · Score: 0

      Oops, i replied to the wrong post.

    92. Re:Um, no. by Anonymous Coward · · Score: 0

      I can do it with 4's too, and I don't need concatenation...

      (4/4)+(4/4) etc

      The video being stupid doesn't bother me. Slashdot trying to pretend it is something intellectually interesting is what is offensive. Stupid videos are fine.

      What on earth are you rambling about!? The video doesn't need concatenation either.
      The point of the video is that you need no more than four 4s to make any number.
      Using (4/4)+(4/4)+... you'd need an infinite number of 4s.
      But yeah... you're smart and the rest is dumb.

    93. Re:Um, no. by Entrope · · Score: 1

      + and * mean very different things depending on the ring in question. If OCT 31 = DEC 25, does that mean Halloween is Christmas, or do you need to use context to understand the joke?

    94. Re:Um, no. by Anonymous Coward · · Score: 0

      Still drinking the 'news for nerds' koolaid, huh.

    95. Re:Um, no. by NatasRevol · · Score: 1

      In case you're not willing to click on the wiki link, here's the first sentence.

      In mathematics, concatenation is the joining of two numbers by their numerals.

      --
      There are two types of people in the world: Those who crave closure
    96. Re: Um, no. by Anonymous Coward · · Score: 0

      "I HATE Internet experts."

      Oh, the irony.

    97. Re:Um, no. by hoggoth · · Score: 1

      > concatenation is still not math

      define concat( x, y) = x*10^floor(log10(y)+1) + y

      There. Now it is math.
      No computer science string manipulation, only math.

      --
      - For the complete works of Shakespeare: cat /dev/random (may take some time)
    98. Re:Um, no. by hoggoth · · Score: 1

      or to make it clearer:

      define numdigits(x)=floor(log10(x)+1)
      define concat(x,y)=x*10^numdigits(y)+y

      --
      - For the complete works of Shakespeare: cat /dev/random (may take some time)
    99. Re: Um, no. by Altus · · Score: 1

      Code isn't math

      --

      "In America, first you get the sugar, then you get the power, then you get the women..." -H. Simpson

    100. Re:Um, no. by hoggoth · · Score: 1

      > No, that's not really maths,
      define concat(x,y)=x*10^floor(log10(y)+1)+y

      Now it is.

      --
      - For the complete works of Shakespeare: cat /dev/random (may take some time)
    101. Re:Um, no. by Anonymous Coward · · Score: 0

      You don't even need that many 4s. Three is quite enough.

    102. Re: Um, no. by Anonymous Coward · · Score: 0

      Especially with a cup of cat juice.

      Alf

    103. Re:Um, no. by Anonymous Coward · · Score: 0

      The fact you can draw pictures on a computer doesn't change the fact it's math all the way down.

    104. Re:Um, no. by PIBM · · Score: 1

      For infinity ? 2 4s is enough to make an infinite number of numbers, but not each of them.

    105. Re:Um, no. by Aighearach · · Score: 1

      They have this invention called the "internet," you can find out what words mean, even when they're Latin!

      You don't have to just dream and wish I'd explain it all to you, you can actually acquire information asynchronously and without my approval or filtering.

    106. Re:Um, no. by UnknownSoldier · · Score: 1

      > Can you concatenate 0 and 1? 01 isn't a valid thing.

      Holy shit, did you really fail Math that bad???

      According to your bad logic:

      1
      01
      001
      0001
      etc.

      are all different numbers?!?!?!

      Gee, what does a base 10 placeholder digit even mean!? If we have a 2 digit number "ab" it means we can write the _equivalent_ polynomial form as:

      a*10^1 + b*10^0

      Where 'a', and 'b' are decimal digits from 0 ... 9. In contradistinction to a Roman Number, an Arabic number IS Concatenation of Arabic numerals BY definition.
      * https://en.wikipedia.org/wiki/...

      > Can you concatenate .1 and .2?

      What happens when we divide X by 0? We get undefined or a singularity. That is just mathematical terminology that means "This operation is not defined." Same thing here: .1 + .2 is undefined.

      You are of course free to invent an operation

      > Concatenation is not a "normal math symbol" (or "normal mathematical operation").

      Hello, McFly. Positional Notation.

      * https://en.wikipedia.org/wiki/...

      You really don't know what the fuck you are talking about. I'd highly recommend you go back to school and actually learn something -- because you look like an idiot.

    107. Re:Um, no. by ChrisMaple · · Score: 1

      It should bother you. % used as an operator means "divide by 100."

      --
      Contribute to civilization: ari.aynrand.org/donate
    108. Re:Um, no. by XxtraLarGe · · Score: 1

      You didn't get a number, because "4" (in quotes) in javascript is not a number, it's a string. And your result of concatenating two strings is also a string, not a number, so you fail.

      Thankfully, the moderators took it to be the joke it was intended to be. On a side note, I have used this behavior in JavaScript to increment image names in a loop for processing.

      --
      Taking guns away from the 99% gives the 1% 100% of the power.
  3. 69! by Anonymous Coward · · Score: 0

    hmmm. 4 x 4 x 4 + 4 = 68, but can't figure out how to get the last one.

    1. Re: 69! by jovius · · Score: 1

      Yeah, almost never happens

    2. Re:69! by Anonymous Coward · · Score: 0

      (4! + sqrt 4)/.4 + 4
      http://mathforum.org/ruth/four4s.puzzle.html

    3. Re:69! by sexconker · · Score: 2

      log(sqrt(4)/4) (log(4)(sqrt(sqrt(sqrt(4))))) = 3

      That's the same as
      log(base 1/2) of (log(base 4) of 4^(1/8))

      (log(base 4) of 4^(1/8)) = 1/8 (4 to what power = 4 to the power of 1/8?)

      So you have
      log(base 1/2) of 1/8

      Which is 3. Just add another sqrt() to increment the result.

      log(sqrt(4)/4) (log(4)(sqrt(sqrt(sqrt(sqrt(4)))))) = 4

      That's the same as
      log(base 1/2) of (log(base 4) of 4^(1/16))

      (log(base 4) of 4^(1/16)) = 1/16 (4 to what power = 4 to the power of 1/16?)

      So you have
      log(base 1/2) of 1/16

      Which is 4.

    4. Re:69! by Anonymous Coward · · Score: 0

      Maybe inc(4 x 4 x 4 + 4) or (4 x 4 x 4 + 4)++

    5. Re:69! by Anonymous Coward · · Score: 0

      or you could have just done it the easy way, ((4 - .4 + 4!) / .4

    6. Re:69! by Anonymous Coward · · Score: 0

      of even easier (4x4-4)/4

    7. Re:69! by Anonymous Coward · · Score: 0

      Using only three 4's:

      -log(base sqrt(4)) of (log(4)(sqrt(sqrt(sqrt(4)))))

        same as:
      - log(base 2) of (1/8)

      same as:
      - log(base 2) of (2^(-3))

      same as:
      3

  4. Concat is not a math operator by Anonymous Coward · · Score: 1

    String concatenation is not a mathematical operator/symbol!

    1. Re:Concat is not a math operator by omnichad · · Score: 1

      It's not fundamentally different from 4×10+4×1. And if you can define the factorial symbol and call it valid math, you can certainly define an operator that results in a series of multiplications to achieve concatenation.

    2. Re:Concat is not a math operator by Anonymous Coward · · Score: 0

      On what do you base this incorrect statement? For instance, see Pinter'sA Book of Abstract Algebra, Chapter 2, Exercise section D. There you can work out exactly just how wrong you are.

    3. Re:Concat is not a math operator by gtwrek · · Score: 1

      Yes but defining any new operators only using the constants '4' is trickier. In your case, to make the concat, you broke the rules of the game using "10".

      You can completely make up any "new" operator that doesn't follow the rules. And make the game pointless.

    4. Re:Concat is not a math operator by omnichad · · Score: 2

      Factorial already breaks the rule by using integers less than 4.

    5. Re:Concat is not a math operator by Anonymous Coward · · Score: 0

      4 + 4-(4/4) + 4-(4/4)-(4/4) + 4-(4/4)-(4/4)-(4/4)

    6. Re:Concat is not a math operator by omnichad · · Score: 1

      That's more than four 4s.

    7. Re:Concat is not a math operator by slew · · Score: 2

      Factorial already breaks the rule by using integers less than 4.

      Okay, then how about Gamma(x+4/4)...

    8. Re:Concat is not a math operator by Anonymous Coward · · Score: 0

      Because it's the only operator that depends on the base of the numbers involved?

  5. BS detector went off and is overheating by frovingslosh · · Score: 1, Insightful

    Any number? I'm pretty sure that you can't make pi with four 4's. Looks like the much lamer "any whole number", although I find even that pretty hard to believe.

    --
    I'm an American. I love this country and the freedoms that we used to have.
    1. Re:BS detector went off and is overheating by jeek · · Score: 5, Insightful

      arccos(-4*4/4/4)

      --
      If you want to be seen, stand up. If you want to be heard, speak up. If you want to be respected, sit down and shut up.
    2. Re:BS detector went off and is overheating by Anonymous Coward · · Score: 0

      Did you mean non-imaginary integers?

    3. Re:BS detector went off and is overheating by Anonymous Coward · · Score: 0

      The only way this could be true is if you are allowed to use an infinite number of operators and specially defined functions.

    4. Re:BS detector went off and is overheating by The+Rizz · · Score: 2

      Also, you can't actually get "any number" since you'll max out at a number when using the highest performing operator which I think would be the power operator, so the highest number you can make is 3.4028236692093846346337460743177e+38 (i.e. 4^4^4^4). And you'll be unable to get most of the numbers on the way there since you run out of the 4's to use to fill in gaps.

      My question would be, just how high can you get before you miss a whole number?

    5. Re:BS detector went off and is overheating by caseih · · Score: 5, Insightful

      Too funny. If you knew anything about the Numberphile channel, you'd know these are real mathematicians, not some BS. It's really just a math-related brain teaser. I really enjoy their videos. Even if you're not into math, they are sufficiently nerdy that I think many slashdotters would appreciate them. In fact a couple videos ago they had an interview with Ronald Rivest who was one of the inventors of RSA encryption. He's a down-to-earth, articulate person. He mentiones how he invented the MD5 hash which was later shown to be flawed.

      Anyway, yes it turns out with just log, square root, and multiplication, you can assemble any whole number between 0 and infinity with just four fours. Fairly useless, but a neat puzzle.

    6. Re:BS detector went off and is overheating by JoshuaZ · · Score: 2

      Yes, they meant positive integer. And yes, one can. Watch the video. In fact one only needs logs, division and square root operations to do it.

    7. Re:BS detector went off and is overheating by Anonymous Coward · · Score: 0

      Actually there are higher operators than power, definied by the Ackermann function. But the overall argument you make I think remains intact.

    8. Re:BS detector went off and is overheating by Anonymous Coward · · Score: 0

      You're gay.

    9. Re:BS detector went off and is overheating by beelsebob · · Score: 1

      4!!! + 4 + 4 +4... Boom, bigger than your "biggest possible".

    10. Re:BS detector went off and is overheating by Anonymous Coward · · Score: 0

      Any number? I'm pretty sure that you can't make pi with four 4's.

      It depends on what "operators" are allowed: asin(sqrt(4 / (4 + 4)) * 4 = PI

    11. Re:BS detector went off and is overheating by frovingslosh · · Score: 1, Insightful

      That's kind of a circular argument. I guess you could also claim: 4+4-4-4+pi , claiming that that thing on the end is just a mathematical symbol and therefor a legitimate part of the equation.

      --
      I'm an American. I love this country and the freedoms that we used to have.
    12. Re:BS detector went off and is overheating by Anonymous Coward · · Score: 0

      Try watching the video in question. Once you get past the naive approach, it involves logarithms and nesting root operators. For each level of nesting, the result increases by one. If you're willing to write out a a kajillion nested root operators, your result will be a kajillion (that's roughly 7030.9 more than your supposed max). The function only requires four 4's to notate, the rest is simply symbols for operators, pretty vanilla ones at that.

    13. Re:BS detector went off and is overheating by Anonymous Coward · · Score: 0

      To start, you could take 4!^4!^4!^4! and get a much larger number.

      But, try actually watching the video and you'll see why your approach is too simplistic and would indeed be quite limited compared to what they use.

    14. Re:BS detector went off and is overheating by Anonymous Coward · · Score: 0

      4444!, much higher

    15. Re:BS detector went off and is overheating by The+Rizz · · Score: 1

      Ah, so you're allowed to arbitrarily stack an infinite number of operators? Lame. In that case, you probably don't need this to be Four 4's, but can probably be four of any number except 0, 1, or 2. It also just turns this into more of a computational slog than a clever math trick.

    16. Re:BS detector went off and is overheating by Anonymous Coward · · Score: 0

      Fairly useless, but a neat puzzle.

      I think that describes most of what Mathematicians do in general.

    17. Re:BS detector went off and is overheating by Anonymous Coward · · Score: 0

      Uh, you can do it with 0 and 1. I know this is a pretty radical idea of Leibniz's, but I think it's quite promising.

    18. Re:BS detector went off and is overheating by Anonymous Coward · · Score: 2, Funny

      Well I think it's triangular, so there.

    19. Re:BS detector went off and is overheating by Catiline · · Score: 1

      My question would be, just how high can you get before you miss a whole number?

      Infinity (or whatever arbitrary limit of single-arity operations might be applied). I know it's considered gauche around here to read the source article, much less a video, but it gives the formula and process which allows any integer to be reached.

      With "sqrt()" being the square root function:
      The log base sqrt(4)/4 of [log base 4 of sqrt(4)] = 1.
      The log base sqrt(4)/4 of [log base 4 of sqrt(sqrt(4))] = 2.
      The log base sqrt(4)/4 of [log base 4 of sqrt(sqrt(sqrt(4)))] = 3.

      The number of times the square root function has been applied in the inner logarithm, is the integer which results from the formula. Therefore, you can create any positive whole number with four fours (and an indefinite number of operations).

    20. Re:BS detector went off and is overheating by mark-t · · Score: 2

      Actually, you can, if you allow complex arithmetic - ln(-4/4)/sqrt(-4/4)

    21. Re:BS detector went off and is overheating by jeek · · Score: 1

      sqrt((gamma(4/(4+4))^4)

      --
      If you want to be seen, stand up. If you want to be heard, speak up. If you want to be respected, sit down and shut up.
    22. Re:BS detector went off and is overheating by Anonymous Coward · · Score: 0

      Did you mean non-imaginary integers?

      sqrt(-4)/sqrt(4)+4-4

    23. Re:BS detector went off and is overheating by Anonymous Coward · · Score: 0

      You win the internets for today!

    24. Re:BS detector went off and is overheating by The+Rizz · · Score: 1

      Which is fine, but does make the concept much less interesting to me. It's interesting from a pure math standpoint, but becomes rather stale rather quickly when it's simply an "infinite iterations = infinite amount of numbers" mathematical slog.

      Much more interesting to me is how far you can go with only a basic set of operators, and no recursive nesting of operators inside each other.

    25. Re:BS detector went off and is overheating by Nemyst · · Score: 4, Insightful

      You seem to be confusing operators (or, more generally, functions) with constants here. arccos is just an operator, much like negation, addition, subtraction, etc. Pi is a constant, a numerical value, it has no other interpretation.

    26. Re:BS detector went off and is overheating by sexconker · · Score: 1

      I'd agree that arccos and similar are "circular" for getting to pi. But it's math (and pi) - isn't it all circular, by definition?

      -1 = e^(i pi)
      ln(-1) = i pi
      ln(-1) / i = pi
      ln(negate(4/4)) / sqrt(negate(4/4)) = pi

      If you don't like negate() you can just do unary -.
      ln(-(4/4)) / sqrt(-(4/4)) = pi

      Normally logarithmic function (including the natural logarithm) wouldn't be defined for negative inputs. But we're using the natural exponent's identity that relies on imaginary numbers anyway, so fuck it.

    27. Re: BS detector went off and is overheating by Anonymous Coward · · Score: 0

      (4!)^(4!)^(4!)^(4!)

      However I take issue that the task says use "normal" mathematical symbol. Factoriel is not normal, it was considered special class operator during my studies as well as the trig functions are not symbols.
      As well sum(0:(4!)^(4!)^(4!)^(4!)) also breaks the requirements as there is a zero used

    28. Re:BS detector went off and is overheating by Anonymous Coward · · Score: 0

      4^444 > 4^4^4^4

    29. Re:BS detector went off and is overheating by Anonymous Coward · · Score: 0

      I'm an American. I love this country and the freedoms that we used to have.

      Like what, owning slaves and dragging queers behind your pickup truck?

    30. Re:BS detector went off and is overheating by AmiMoJo · · Score: 1

      I see you didn't RTFM, or watch the video. You can in fact create any whole number, to infinity if you like. You need the log operator. Watch the video, it's good and short.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    31. Re:BS detector went off and is overheating by AmiMoJo · · Score: 1, Interesting

      To be fair though, sometimes they do come out with complete BS. The claim that the sum of all natural numbers is -1/12 is a good example. It's not.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    32. Re: BS detector went off and is overheating by Anonymous Coward · · Score: 0

      BAZINGA

    33. Re:BS detector went off and is overheating by Anonymous Coward · · Score: 0

      you are kidding right? pi is NOT a number! It is a mathematical constant!

    34. Re:BS detector went off and is overheating by Anonymous Coward · · Score: 0

      Then define the operator f(x) = x+c and call f(4/4-4/4) to get any c you want.

      Your distinction doesn't matter. The BS is coming from allowing a rich set of features, whether operators or constants.

    35. Re:BS detector went off and is overheating by Anonymous Coward · · Score: 0

      I always hated that example until finding an intelligent discussion here: https://plus.maths.org/content/infinity-or-just-112

      I guess it actually is a pretty good example.

    36. Re:BS detector went off and is overheating by The+Rizz · · Score: 2

      4^444 > 4^4^4^4

      Hmmm... no. 4^4 = 256. 4^256 = 1.3407807929942597099574024998206e+154. So 4^that = too big to easily calculate.

      It looks like my previous estimate of 4^4^4^4 got calculated as ((4^4)^4)^4, when it needs to be done as 4^(4^(4^4)) to give the correct biggest number with standard operators.

    37. Re:BS detector went off and is overheating by Anonymous Coward · · Score: 0

      https://en.wikipedia.org/wiki/1_%2B_2_%2B_3_%2B_4_%2B_%E2%8B%AF

      Although the series seems at first sight not to have any meaningful value at all, it can be manipulated to yield a number of mathematically interesting results, some of which have applications in other fields such as complex analysis, quantum field theory, and string theory. Many summation methods are used in mathematics to assign numerical values even to a divergent series. In particular, the methods of zeta function regularization and Ramanujan summation assign the series a value of -1/12

      So, your right, but not completely.

    38. Re:BS detector went off and is overheating by frovingslosh · · Score: 1

      So you are saying that you can define a function that returns the square of any number that you want, and then by taking the square root of it that you prove the premise? Well played genius. Hey, the BS detector started smoking!!!

      --
      I'm an American. I love this country and the freedoms that we used to have.
    39. Re:BS detector went off and is overheating by adam.voss · · Score: 1

      You seem to be confusing operators (or, more generally, functions) with constants here. arccos is just an operator, much like negation, addition, subtraction, etc. Pi is a constant, a numerical value, it has no other interpretation.

      I think you overstate the distinction.

      I guess you could also claim: 4+4-4-4+pi, claiming that that thing on the end is just a mathematical symbol and therefor a legitimate part of the equation

      Let f(x) = x + pi (NB. we just curried addition) Therefore, 4+4-4-4+pi = f(4+4-4-4).
      Indeed, that part at the end was just some mathematical function. In fact, lambda calculus could be used to show all all your constants are functions.

      I am not saying that opening up the problem beyond arithmetic is consistent with the spirit of the question, just pointing out the once the metaphorical flood gates are open, the distinction between what is and isn't allowed is not simple.

    40. Re:BS detector went off and is overheating by The+Rizz · · Score: 1

      Actually, looking at that, using sqrt(x) is cheating, as that's properly 24 - so you're actually getting a 2 pushed into the equation. If you're going to do that, why not just say you can use inc(x) or dec(x) and skip the whole nested log4(sqrt(x)) stuff? Really, if you're going to allow shortcut operators that have other numbers inside them, why not just allow one(x) defined as x-x+1, two(x) defined as x-x+2, etc. etc.?

      If you limit yourself to actual unary operators, is it still as easy to find a similar arbitrary nested loop that will give any number with a single operand?

    41. Re:BS detector went off and is overheating by The+Rizz · · Score: 1

      Note: Slashdot formatting strikes again. That "24" was supposed to be "2 {radical sign} 4".

    42. Re:BS detector went off and is overheating by Cederic · · Score: 1

      But a square root is actually 'to the power of -2' so they need to generate a -2 for each square root they use.

      They fail. They basically defined a set of rules then cheated. Fuck 'em. I can do that and I don't need any fancy fucking maths.

    43. Re:BS detector went off and is overheating by Cederic · · Score: 1

      1/2 even. ffs. It's late and I have a cat lying on me.

      See, I can't even do basic maths and I'm able to spot the flaws in their approach. Muppets.

    44. Re:BS detector went off and is overheating by arth1 · · Score: 1

      Yeah, it reminds me too much of brainfuck (the programming language). And is not all that interesting for much the same reasons.

      A more challenging problem is how high can you get in counting natural numbers using any digit or basic arithmetic operator, but without re-using any. That requires thought, and not just an iterative script.

    45. Re:BS detector went off and is overheating by Anonymous Coward · · Score: 0

      My question would be, just how high can you get before you miss a whole number?

      I'll just light up that doobie and proceed to test this empirically.

    46. Re:BS detector went off and is overheating by jeek · · Score: 1

      I'm not sure where you think I defined a new function. Are you rectally-sourcing your information?

      https://en.wikipedia.org/wiki/...

      --
      If you want to be seen, stand up. If you want to be heard, speak up. If you want to be respected, sit down and shut up.
    47. Re: BS detector went off and is overheating by Anonymous Coward · · Score: 0

      Logs are not "normal symbols" they are operators but not a single symbol. And are special, not normal, so you can't use them

    48. Re:BS detector went off and is overheating by jeek · · Score: 1

      Are you talking about something like https://arxiv.org/pdf/1302.147... ?

      --
      If you want to be seen, stand up. If you want to be heard, speak up. If you want to be respected, sit down and shut up.
    49. Re:BS detector went off and is overheating by Anonymous Coward · · Score: 0

      That depends on how you define 'sum'.

    50. Re:BS detector went off and is overheating by PhrostyMcByte · · Score: 1

      To be fair though, sometimes they do come out with complete BS. The claim that the sum of all natural numbers is -1/12 is a good example. It's not.

      They don't claim -1/12 is the only answer, only that it is a valid answer. IIRC they present three or four possible answers and explain why each of them is valid, however unintuitive the theory behind them may be. They did not claim one was a -1/12 is "more correct" than the others.

    51. Re:BS detector went off and is overheating by Anonymous Coward · · Score: 0

      Yeah, if you can use sqrt() you should be able to use ^2 as well.

    52. Re:BS detector went off and is overheating by Anonymous Coward · · Score: 0

      Actually, looking at that, using sqrt(x) is cheating, as that's properly 24 - so you're actually getting a 2 pushed into the equation. If you're going to do that, why not just say you can use inc(x) or dec(x) and skip the whole nested log4(sqrt(x)) stuff? Really, if you're going to allow shortcut operators that have other numbers inside them, why not just allow one(x) defined as x-x+1, two(x) defined as x-x+2, etc. etc.?

      If you limit yourself to actual unary operators, is it still as easy to find a similar arbitrary nested loop that will give any number with a single operand?

      yeah, what you said. I was wondering about how you get the natural logarithm, e, without using ln because using ln is just saying "e".
      Your observation is simpler.
      I didn't watch the entire video. It's over 9 minutes, and my Ritalin has run out.

    53. Re:BS detector went off and is overheating by cstdenis · · Score: 1
      --
      1984 was not supposed to be an instruction manual.
    54. Re:BS detector went off and is overheating by Anonymous Coward · · Score: 0

      - The number of computable numbers (for present purposes the subset of reals that you can calculate using a finite recipe/algorithm) is countable - which is obvious as a finite recipe/algorithm can be expressed as a program, a program as a big binary number on your hard-drive, which can be read as an integer, and the integers are countable - et voila, isomorphism between integers and computable numbers.
      - The number of reals is uncountable - you cannot construct an isomorphism between the reals and the integers.
      - Ergo not all real numbers are computable. Many (actually almost all) reals are uncomputable - you simply cannot write down a recipe/algorithm/program for calculating them.
      - So you're almost right: you can't make most reals using +,-,*,/,log,sqrt and four 4s. That's a recipe, and we proved recipes are not up to the task.

      However you need to ask yourself: what numbers are computable? e is computable. pi in computable. As is sqrt(2), the Euler–Mascheroni etc etc. In fact pretty much any number that has a name is computable. And the set of computable numbers *is* isomorphic to the integers. So yes, you can construct all computable numbers - including pi, e, sqrt(2) etc -using +,-,*,/,log,sqrt and four 4s. If you're creative enough.

      And for bonus points you might want to think about what a non-computable number actually is. It might start 3.63492 - so what's the next digit? Well by definition you can't calculate it, so unless you have a tame guru to hand you the answer you'll never know. So while they're nice to have if you're doing an obscure limit proof in real analysis 101, they're otherwise kinda pointless.

    55. Re:BS detector went off and is overheating by arth1 · · Score: 1

      Are you talking about something like [URL deleted]...?

      I'm sorry, I don't open PDF files from untrusted sources.

    56. Re:BS detector went off and is overheating by santiago · · Score: 1

      Anyway, yes it turns out with just log, square root, and multiplication, you can assemble any whole number between 0 and infinity with just four fours. Fairly useless, but a neat puzzle.

      Four fours, plus an arbitrarily large number of unary operators like square root, which feels like cheating.

    57. Re:BS detector went off and is overheating by vux984 · · Score: 1

      I think you overstate the distinction.

      I can write arccos(n) without explaining what arccos is, or providing a definition. You couldn't even talk about your f(x) without first defining it...

      I think there is a pretty clear distinction between standard functions you DON'T have to provide definitions for because they are standard, and arbitrary functions you made up on the spot, and had to define before using.

    58. Re:BS detector went off and is overheating by The+Rizz · · Score: 1

      Problem is that the log operator has an implied number in it (i.e. what base is the log of), so I'd say that's fraudulently introducing a number by just not writing it down. Ditto with sqrt() and similar operators that look like unary operators, but are actually binary+ operators that have missing operands implied.

    59. Re:BS detector went off and is overheating by serviscope_minor · · Score: 1

      Looks like the much lamer "any whole number", although I find even that pretty hard to believe.

      Then watch the video, numbnuts. They give an actual proof of it. Belief is not necessary.

      --
      SJW n. One who posts facts.
    60. Re:BS detector went off and is overheating by serviscope_minor · · Score: 1

      Seriously dude watch the fucking video.

      Problem is that the log operator has an implied number in it (i.e. what base is the log of)

      No it doesn't: they use two of the 4s for specifying the base of the logarithm.

      so I'd say that's fraudulently introducing a number by just not writing it down.

      Then you're being a twit because they did write it down.

      --
      SJW n. One who posts facts.
    61. Re:BS detector went off and is overheating by Anonymous Coward · · Score: 1

      Ah, so you're allowed to arbitrarily stack an infinite number of operators? Lame. In that case, you probably don't need this to be Four 4's, but can probably be four of any number except 0, 1, or 2. It also just turns this into more of a computational slog than a clever math trick.

      When you allow trig functions, even 0: COS(0) = 1

    62. Re:BS detector went off and is overheating by Anonymous Coward · · Score: 0

      I'm an American. I love this country and the freedoms that we used to have.

      Like what, owning slaves and dragging queers behind your pickup truck?

      We still have half of those freedoms.

    63. Re:BS detector went off and is overheating by Anonymous Coward · · Score: 0

      pi is a standard function taking no arguments and always returning the same value. Why can I use arccos(x) but not pi?

    64. Re:BS detector went off and is overheating by Anonymous Coward · · Score: 0

      circular argument

      pi

      That's a bit circumferential as well, let's not go off on a tangent here ...

    65. Re:BS detector went off and is overheating by vux984 · · Score: 1

      "pi is a standard function taking no arguments and always returning the same value."

      "In mathematics, a function is a relation between a set of inputs and a set of permissible outputs with the property that each input is related to exactly one output. "

      https://en.wikipedia.org/wiki/...

      If it has no inputs, its not a function. The word you are looking for is 'constant'.

    66. Re:BS detector went off and is overheating by Anonymous Coward · · Score: 0

      Wolfram returned this which is 10^10^153.9...

    67. Re:BS detector went off and is overheating by Anonymous Coward · · Score: 0

      I don't think Wolfram is doing it right either. Even with the brackets to force the order, the power of ten notation on their results page does not match their decimal answer.

    68. Re:BS detector went off and is overheating by dcollins · · Score: 1

      Well... "it has no other interpretation" is a bit strong. Capital Pi is of course used as the multiple product symbol (like capital sigma for sums).

      More on-topic, lower case pi can get used for different purposes in mathematics. The one I'm most familiar with is the population proportion in statistical work.

      More: Greek letters used in mathematics, et. al. (pi).

      --
      We know where leadership by an anti-intellectual "strongman" who scapegoats minorities and likes boisterous rallies goes
    69. Re:BS detector went off and is overheating by cdrudge · · Score: 1

      Lame. In that case, you probably don't need this to be Four 4's, but can probably be four of any number except 0, 1, or 2.

      Feel free to sit down and demonstrate it with a mathematical proof if it's so lame.

    70. Re:BS detector went off and is overheating by Anonymous Coward · · Score: 0

      OMG. How is a mathematical constant NOT a number?

    71. Re:BS detector went off and is overheating by ChrisMaple · · Score: 1

      Like pointing out who pompous jackasses are.

      --
      Contribute to civilization: ari.aynrand.org/donate
    72. Re:BS detector went off and is overheating by ChrisMaple · · Score: 1

      4!!!

      You need to use parentheses, i.e. ((4!)!)!
      The !! (bang bang) operator has a different meaning than ! (bang) applied twice. 7!! = 7 * 5 * 3 * 1.

      --
      Contribute to civilization: ari.aynrand.org/donate
    73. Re: BS detector went off and is overheating by ChrisMaple · · Score: 1

      Consider this to be a historical puzzle. Any operator that can be found in a mathematical reference book published before 1900 is fair game. Factorial, and the related gamma function, have been used in Taylor expansions for 300 years (although I don't know how long the exclamation point has been used as that operator).

      --
      Contribute to civilization: ari.aynrand.org/donate
    74. Re:BS detector went off and is overheating by adam.voss · · Score: 1

      I think there is a pretty clear distinction between standard functions you DON'T have to provide definitions for because they are standard, and arbitrary functions you made up on the spot, and had to define before using.

      This is where we disagree. Someone had to define the functions (NB. many functions include constants in their definition). From what you have said, I can derive two possible definitions of "standard". The first being functions you expect people to know. This is not a reproducible definition because what you expect is not likely to be the same as what another individual expects. For example not everyone knows the inverse trig. functions. The second interpretation would be functions that are externally defined such that the definition can be looked up. To me, this does not provide any clear restrictions on the mathematical domain, opening up for all sorts of tricks:

      naming f(x) was only for convenience, I could have written it as:
      ((lambdan . (n + pi)) 4+4-4-4) [lambda should be the lambda character, but /. does not seem to display it.]

      Valid math. Everything is externally defined. Sure it is technically still an arbitrary function, but then I could also argue repeated application of a function you consider "standard" is also an arbitrary function. I do not see what grounds is there are for disallowing an entire mathematical system, but if you did, then I'd re-write it using currying notation. If you disallow that too, then I might try restating it using category theory. This continuing shows the distinction is arbitrary.

    75. Re:BS detector went off and is overheating by vux984 · · Score: 1

      The first being functions you expect people to know.

      No. The first definition was 'common'. Granted the definition of 'common' is open to debate, but anything that appears on a $9 calculator at walmart is pretty common:

      https://www.walmart.com/ip/Tex...

      But if you want to restrict trig functions go for it. As far as I know they are fine though as they don't allow any trivial solution construction ... but if you can find one using infinite applications of sin or arctan, that would be a feather in your hat and a bit of fame.

      As for your lamda solution...

      Valid math. Everything is externally defined

      You are defining a function on the spot. And more importantly you are missing the point -- generic solutions are inherently undesirable; and discovering them means eliminating them from the allowed set. You seem to be going out of your way to introduce mathematical functionality specifically to enable a trivial solution. The log / sqrt solution is at least interesting because it was not immediately obvious that allowing them trivialized the problem.

      Finding another generic solution with the allowed operations is kind of interesting, but introducing math with a trivial and obvious application to a generic solution for the express purpose of the introducing that generic solution pretty much misses the entire point of the puzzle.

      If you disallow that too, then I might try restating it using category theory. This continuing shows the distinction is arbitrary.

      One part arbitrary, and two parts "anything that obviously renders the puzzle trivial is disallowed". Anyone playing with the puzzle today disallows log because a generic solution with it is known.

  6. This is an old problem by JoshuaZ · · Score: 5, Interesting

    Variants of this problem have been along for a very long time. It was popular as a recreational game in the 1930s and is now used more with Middle School students as a way of getting them more familiar with different operations.

    If one uses instead of 4 uses 1 and has a restricted operation set or the like then you can get some actually non-trivial math by asking how many 1s you need. For example, one can define the integer complexity of a number n, denoted by ||n|| as the minimum number of 1s needed to write n as a product or sum of 1s with any number of parentheses. Thus for example, 6=(1+1)(1+1+1) shows that ||n|| 1 one has 3log_3 n - a better result is actually known that what is in that post, and I'm writing it up now. The other person mentioned there is Harry Altman who probably has thought more about different notions of complexity of numbers than anyone else at this point (his dissertation was on the subject). We had a joint paper https://arxiv.org/abs/1207.4841 that is mostly readable.

    Another neat variant of this is again looking at 1s and allowing just addition, but allow that once you have made a number you can use it again, and now you count how many operations you have used. So for example, in this framework, you can use 3 additions to get 6 because 3=1+1+1 and 6=3+3. This is the addition chain complexity https://en.wikipedia.org/wiki/Addition_chain and is closely related to how to quickly exponentiate objects (such as matrices, or specific numbers mod another group) https://en.wikipedia.org/wiki/Addition-chain_exponentiation which is very important for doing a lot of practical algorithms efficiently (such as RSA and Diffie-Hellman).

    The problem in the original post is essentially silly but it connects to a lot of neat, serious math. (Also, Numberphile is in general great.)

    1. Re:This is an old problem by DickBreath · · Score: 3, Interesting

      Back in the (ahem) late 1970's when I got a new TI 57 programmable quackulator for college, I remember this game in the calculator's manual. For Four 4's.

      I seem to remember that it said the problem had been solved for all integers up to, oh, what was it, about 120 or something. I didn't realize the game went back further than that.

      I always thought that someday I might build a program to do this. Looking back several decades, I could not have imagined the kind of tools and languages that would make this easy today. Like Clojure core.logic. Or miniKanren in Scheme. Or even just old fashioned Prolog. Just specify the rules and let the computer do the search for all possible results.

      --

      I'll see your senator, and I'll raise you two judges.
    2. Re:This is an old problem by Anonymous Coward · · Score: 0

      I loved that book when I was a kid.

    3. Re:This is an old problem by Anonymous Coward · · Score: 0

      " Just specify the rules and let the computer do the search for all possible results." ...and wait patiently for the heat death of the universe :)

    4. Re:This is an old problem by DickBreath · · Score: 1

      You are woefully misinformed. I think you would have a solution in less than one quarter of a galactic rotation.

      --

      I'll see your senator, and I'll raise you two judges.
  7. Numbers are boring by Anonymous Coward · · Score: 5, Funny

    Except 5318008, naturally...

    1. Re:Numbers are boring by Anonymous Coward · · Score: 0

      You are so right.

    2. Re:Numbers are boring by zifn4b · · Score: 2

      Except 5318008, naturally...

      It's 8675309. Fixed that for you.

      --
      We'll make great pets
    3. Re:Numbers are boring by asylumx · · Score: 1

      You have to make sure you're looking at real 5318008 though. Fakes just won't do.

    4. Re:Numbers are boring by Anonymous Coward · · Score: 0

      I'm personally a fan of all 5318008.

    5. Re:Numbers are boring by Anonymous Coward · · Score: 0

      You have to make sure you're looking at real 5318008 though.

      5318008 is clearly real. Imaginary ones would be 53i+8008.

  8. Even simpler by religionofpeas · · Score: 1

    You can make any number from a single zero and the increment operator.

    1. Re:Even simpler by allcoolnameswheretak · · Score: 1

      Except negative numbers.

      The intriguing bit about the article is not the simplicity, but working within the limitation of four fours with operators.

    2. Re:Even simpler by Anonymous Coward · · Score: 0

      Essentially, that's the solution. Using log base 1/2, you count an arbitrarily high stack of square root of square root of square root of... creating an awkward unary number system

    3. Re:Even simpler by religionofpeas · · Score: 1

      The intriguing bit about the article is not the simplicity, but working within the limitation of four fours with operators.

      Then you must really like working within the limitation of a single zero and one operator.

    4. Re:Even simpler by religionofpeas · · Score: 2

      If you really want four fours, then do 4-4+4-4 and N times the increment operator.

    5. Re:Even simpler by Anonymous Coward · · Score: 0

      Well now, that depends on if you choose short, int, long, or signed char, doesn't it?

    6. Re:Even simpler by sexconker · · Score: 2

      Except negative numbers.

      You just have to wait for the Universe to roll over.

    7. Re:Even simpler by sexconker · · Score: 1

      I'll accept negate(x) or -(x) using unary -. Far more cromulent than concatenation.

    8. Re:Even simpler by ChrisMaple · · Score: 1

      Before the universe rolls over it first has to play dead.

      --
      Contribute to civilization: ari.aynrand.org/donate
  9. Everybody's complaining about concatenation by Anonymous Coward · · Score: 1

    Everybody's complaining about concatenation and some people saying it has to max out at some point, but y'all didn't watch the video, I guess.

    They initially do a naive approach, with just four basic operators: + - * /

    But then they add some more questionable operators, like concatenation or throwing a % sign on the end of a result. Okay, that's sketchy. But those examples are just for demonstrating a naive approach. The real magic is the final answer.

    IF YOU CONTINUE WATCHING, they do, indeed, show that any number, including the ones already generated, can be created using a single non-questionable function, simply a couple log base 4's with a nested root function, and each time you nest it, the result increases by 1. So a million nested roots in the right location in this function, the result is 1,000,000. Add another and the result is 1,000,001. Continue nesting as long as you like and produce any (whole number) you like.

    1. Re:Everybody's complaining about concatenation by Anonymous Coward · · Score: 0

      That seems like cheating.
      They are using the implicit 2 of the square root.
      Why not simply define a function f(x) = x+1 and call it a day, if you are going to go with this implicit numbers approach?

    2. Re:Everybody's complaining about concatenation by tepples · · Score: 1

      y'all didn't watch the video [...] IF YOU CONTINUE WATCHING

      The problem is that it's a video in the first place. This means I can't skim it and then reread parts in detail. I can't Ctrl+F it. I can't see it at all it with w3m. And because sites use live streaming to discourage downloading a durable copy, I can't open it in a new tab while online and read it later while riding transit, during which I am offline.

    3. Re:Everybody's complaining about concatenation by Anonymous Coward · · Score: 0

      Concatenation is only "questionable" to someone that doesn't understand math. There are more math symbols than just arithmetic. Look up "mathematical concatenation."

    4. Re:Everybody's complaining about concatenation by ChrisMaple · · Score: 1

      Because square root has been around as a standard defined function for a long time, using the radical symbol ( if it will show up here ) ( ) ( U+221A ) .

      The same is not true of an increment function.

      --
      Contribute to civilization: ari.aynrand.org/donate
    5. Re:Everybody's complaining about concatenation by ChrisMaple · · Score: 1

      There are several video downloader extensions for firefox.

      --
      Contribute to civilization: ari.aynrand.org/donate
    6. Re:Everybody's complaining about concatenation by tepples · · Score: 1

      A viewer would still 1. have to switch from his or her preferred browser to Firefox if the command-line youtube-dl script doesn't support the video; 2. have to wait for a download over a slow ISP; 3. have to pay overage fees for a download over a capped ISP; and 4. remain unable to skim or Ctrl+F.

  10. Yawn by Anonymous Coward · · Score: 0

    This might be one of the most boring stories yet.

  11. Any number works (e.g. 3542) by Anonymous Coward · · Score: 0

    3542/3542 = 1
    3542/3542 + 3542/3542 = 2
    3542/3542 + 3542/3542 + 3542/3542 = 3
    3542/3542 + 3542/3542 + 3542/3542 + 3542/3542 = 4 ...and so on

    1. Re:Any number works (e.g. 3542) by Anonymous Coward · · Score: 0

      Only *four* numbers, not 2, 6 or 8 like in your examples.

  12. Impossible by Anonymous Coward · · Score: 0

    We all know the world's largest number is 45 billion. Anything larger is FAKE NEWS!

    1. Re:Impossible by BarbaraHudson · · Score: 1

      We all know the world's largest number is 45 billion. Anything larger is FAKE NEWS!

      Well, that's one way to get rid of the national debt.

      --
      "Transparent" is a shit show that trades on every stereotype going. A man in drag is NOT a transsexual.
  13. Meta-math is amazing (or entertaining, at least) by Anonymous Coward · · Score: 0

    ftfy

  14. any number? by rossdee · · Score: 1

    Pi

    1. Re:any number? by freeze128 · · Score: 1

      I can do you one better and remove the P.

    2. Re:any number? by sexconker · · Score: 1

      -1 = e^(i pi)
      ln(-1) = i pi
      ln(-1) / i = pi
      ln(negate(4/4)) / sqrt(negate(4/4)) = pi

      If you don't like negate() you can just do unary -.
      ln(-(4/4)) / sqrt(-(4/4)) = pi

      Normally logarithmic function (including the natural logarithm) wouldn't be defined for negative inputs. But we're using the natural exponent's identity that relies on imaginary numbers anyway, so fuck it.

    3. Re:any number? by mark-t · · Score: 1

      i is the square root of -1, and so can be shown as just sqrt(-4/4), and given that e^i*pi=-1, you that means that i*pi=ln(-1), and so pi=ln(-1)/i, which can be rewritten as pi=ln(-4/4)/sqrt(-4/4)

    4. Re:any number? by mark-t · · Score: 2

      My bad... I forgot to parenthesize the i*pi in e^(i*pi)=-1, above... although it does not change the conclusion... I just did not correctly type the expression in that one equation.

    5. Re:any number? by Anonymous Coward · · Score: 0

      i is the square root of -1, and so can be shown as just sqrt(-4/4), and given that e^i*pi=-1, you that means that i*pi=ln(-1), and so pi=ln(-1)/i, which can be rewritten as pi=ln(-4/4)/sqrt(-4/4)

      Kind of. There is a problem defining the logarithm of a negative number. On the entire complex plane, the logarithm is a multivalued map, not strictly a function, because the exponential function is 2*pi periodic for complex arguments: exp(z) = (exp + 2*pi*i). Thus, the logarithm can't be defined because it's the inverse of the exponential, which doesn't have an inverse unless you restrict it to strips.

      Logs are defined for complex numbers by what are known as branch cuts: you have to remove a ray starting at the origin. Commonly, the negative real axis is what is removed because then you get log(x) as a purely real number when x is purely real. Otherwise, you don't.

      https://en.wikipedia.org/wiki/Complex_logarithm

    6. Re:any number? by Zaatxe · · Score: 1

      arccos(-4*4/4/4) If you don't have a calculator with you, https://www.wolframalpha.com/i...

      --
      So say we all
    7. Re:any number? by ChrisMaple · · Score: 1

      Too easy. How about Euler's constant, 0.5772156649...

      --
      Contribute to civilization: ari.aynrand.org/donate
  15. But this is existing decomposition.... by aaronb1138 · · Score: 1, Informative

    This is essentially a 2^n + 0 or 1 formula which describes all natural numbers. Using 4 as a placeholder (2^2) is just lame, but the character of operations is the same.

  16. Re: Normal math symbols? by Anonymous Coward · · Score: 0

    10000 = (4! / 4 + 4) ^ 4

    Just sayin'

  17. You'll never get this number... by Anonymous Coward · · Score: 0

    The square root of -1

    1. Re:You'll never get this number... by Anonymous Coward · · Score: 0

      sqrt( (4 - 4 - 4) / 4 )

    2. Re:You'll never get this number... by Anonymous Coward · · Score: 0

      SQRT((4-4) - (4/4))

    3. Re:You'll never get this number... by Anonymous Coward · · Score: 0

      You have the equation but not the number.

    4. Re:You'll never get this number... by Anonymous Coward · · Score: 0

      What? Of course it is! They ALL are (actually, they are expressions, not equations. Equations require the equality symbol). Unless you are literally expecting the letter "i", which is silly.

  18. Article is a bit misleading by Anonymous Coward · · Score: 0

    "More sophisticated operations", but not an exhaustive list noted in the summary - namely allowing the unbounded composition of functions.

  19. Easy Peasy by John+Allsup · · Score: 1

    For each natural number define a binary operation M_i such that for all x,y we have x M_i y = i. Basically an infinite family of trivial constant functions. Then for each i we have 4 M_i 4 + 4 - 4 = i. If you're allowed arbitrary operations it is this trivially easy. What is interesting is the interplay between what operations you are allowed, and what results are possible. Now if you work in reverse polish notation (like Forth), you write things as 4 4 4 4 A B C, where A, B and C are your choices of binary operations. If you have a choice of N binary operations, naturally you can produce at most N^3 distinct results. So really what you are studying is the function from the power set (set of all subsets) of the set of all binary operations on numbers (for some notion of number, e.g. real, complex, surreal, etc.), to the power set of the numbers (for some notion of number).

    --
    John_Chalisque
  20. Applying it to Technology by MagnumChaos · · Score: 1

    It makes me wonder what we could, theoretically, do with technology if we applied similar principles to "bits".

    1. Re:Applying it to Technology by Overzeetop · · Score: 1

      Look, if all you have is a 1 and a 0, there's no way to represent the entirety of practical numeration. If it could be done, somebody would have already done it.

      --
      Is it just my observation, or are there way too many stupid people in the world?
    2. Re:Applying it to Technology by ChrisMaple · · Score: 1

      Of course it can be done, for small values of practical.

      --
      Contribute to civilization: ari.aynrand.org/donate
  21. Not *ARITHMETIC* by raymorris · · Score: 1

    Concatenation is not *arithmetic*. There's a whole lot of math that isn't arithmetic. For example, relational algebra has six fundamental operators, and one of those is essentially concatenation.

  22. Re:Dumb by Anonymous Coward · · Score: 0

    They are smarter than you could ever hope to be, and you know it. You will never succeed in masking your jealousy.

  23. This is bullshit by NotInHere · · Score: 2

    If you allow every function to be an "operator", the solution is pretty trivial, as to construct any number p you could just simply take the constant function with 4 input parameters that has value p. If you allow only a finite set of "operators" you won't be able to construct any real from it with only finitely many applications of your operators, as there are unaccountable many reals.

    If you restrict yourself to rationals you can get everywhere by just writing / somewhere between the four's and applying increment/decrement on both sides often enough.

    1. Re:This is bullshit by thegarbz · · Score: 1

      This is bullshit

      Most maths is.

    2. Re:This is bullshit by Anonymous Coward · · Score: 0

      > with only finitely many applications of your operators

      Right. One cannot 1:1 map finite_permutations(countable{input_args, operator_set}) to {uncountable}.

      > If you restrict yourself to rationals you can get everywhere

      But not finitely with that method! For any p requiring n increment/decrements there will be a p_2 requiring n+1 (eg. take p=n/1, whole numbers). In fact, not finitely with any method; for every x bits of data of input (including control, ie. x = log_2(permutations(operator_set_size, max_operators_used)) + sum(argument_max_bit_width), not just the latter sum) one can only distinguish x outputs, by the pidgeonhole principle.

    3. Re:This is bullshit by Anonymous Coward · · Score: 0

      Yea. They introduce *100 (% operator) to get to 100. They introduce 1/2 for powers, and then again for log.

      It's neat, but from a mathematical point of view, it's bullshit cheating.

  24. Infinite number of operators by OrangeTide · · Score: 0

    I have an operator that takes X and returns Y. It doesn't matter what X is, I have a function that returns a Y for each possible integer.
    Now I can solve the problem with One 1 instead of Four 4's.

    --
    “Common sense is not so common.” — Voltaire
  25. Concatenation? by Anonymous Coward · · Score: 1

    Surely thats a string operation, not an arithmetic one.

  26. Not just four 4's by Anonymous Coward · · Score: 0

    Four 4's in base 10, plus operators.

    That's a lot more than just four 4's.

    Just sayin'.

  27. Re:Dumb by istartedi · · Score: 1

    The rules say you have to use all 4 4s. You can't just use 2 4s. That's why you have to effectively add zero to get one.

    --
    For all intensive purposes, "whom" is no longer a word. That begs the question, "who cares"?
  28. Ruth Carver's Website by Anonymous Coward · · Score: 0

    Fun puzzle I learned from one of my favorite math teachers...
    http://mathforum.org/ruth/four4s.puzzle.html

  29. Works with 1s also by MooseTick · · Score: 0

    You can do 1, or 1+1, or 1+1+1, or 1+1+1+1, or 1+1+1+1+1, or ...

  30. tetration by Anonymous Coward · · Score: 0

    https://en.wikipedia.org/wiki/Tetration

    And I suppose you can include the symbols for the various infinities as "operators"?

  31. All fours by MrKaos · · Score: 1

    Plus, it's the doggy style of maths!

    --
    My ism, it's full of beliefs.
  32. Followup video by fibonacci8 · · Score: 0

    How to make anything from 4 beryllium atoms. Any operations are allowed, including operations that include other elements or that remove any of the beryllium atoms.

    --
    Inheritance is the sincerest form of nepotism.
  33. Re:(4/4) + (4/4) + (4/4) +.... by Anonymous Coward · · Score: 0

    That was more than four "4"s... Seriously, did you even read the fucking HEADLINE?

  34. The relevant quote for today by fiannaFailMan · · Score: 1

    Stephen Fry once nailed it on the QI show (which I highly recommend watching, BTW). He was talking about some obscure but interesting topic when one of the contestants asked "Stephen, are we ever going to use this information?"

    He lit up and went off on her, saying:

    "It’s extraordinary, it’s always the children who say ‘Sir, sir, what’s the point of geometry’, or ‘What’s the point of Latin,’ that end up having no job, being alcoholic, and they don’t notice that the ones who actually find knowledge for its own sake, and pleasure in information, in history, in the world and nature around us, actually getting on and DOING things with their fucking lives it’s an odd thing"

    --
    Drill baby drill - on Mars
    1. Re:The relevant quote for today by Anonymous Coward · · Score: 0

      There's a socio-economic component to this issue.

      Treating people with contempt who are operating at a more animalistic level of Maslow's hierarchy of needs is kinda like blaming General Custer's horse for slowing down after getting shot in the back of the head.

      Intellectual curiosity is a luxury of economic opportunity, similar to how far left activism is a luxury of the unemployed and people who live with their parents.

  35. Yawn... by Lumpy · · Score: 0

    I can make any number and even letters and software with only a 0 and 1.

    --
    Do not look at laser with remaining good eye.
  36. Create any program using only 8 operators. by Anonymous Coward · · Score: 0

    Here's a brainfuck:
    It is possible to create a compiler that can reproduce any program that uses string input and output input and output by using only 8 operators in code files, and it is possible to do this without using any variable names (so the code file only contains the 8 operators in a sequence).

    1. Re:Create any program using only 8 operators. by ChrisMaple · · Score: 1

      You need to define your challenge more tightly, or I can do stuff like this: Op1(a,b,0) == a+b; Op1(a,b,1) == a*b; etc.. An indexed stack removes the need for variable names.

      --
      Contribute to civilization: ari.aynrand.org/donate
  37. But unlucky! by antdude · · Score: 1

    4 is unlucky number to Chinese. :(

    --
    Ant(Dude) @ Quality Foraged Links (AQFL.net) & The Ant Farm (antfarm.ma.cx / antfarm.home.dhs.org).
  38. Clarke's 3rd Law by zifn4b · · Score: 0

    "Any sufficiently advanced technology is indistinguishable from magic" -Arthur C. Clarke

    Apparently the general populace has regressed so much in mathematical knowledge that even this trick appears to be magic to some. Forget card tricks folks, next thing you know the person to show how 1 + 2 = 3 works will be considered a genius like Not Sure from Idiocracy

    p.s. There are only two things that make the 4's thing work. 4/4 = 1 and order of operations.

    --
    We'll make great pets
    1. Re:Clarke's 3rd Law by dcollins · · Score: 1
      --
      We know where leadership by an anti-intellectual "strongman" who scapegoats minorities and likes boisterous rallies goes
  39. The angry mob doth protest by shanen · · Score: 1

    When I considered the description of the problem I was actually quite puzzled, but even if I knew the solution I hope I wouldn't have reacted like the angry mob that Slashdot is devolving into. My initial confusion regarded extremely large numbers and the increasingly large gaps I expected to appear as you juggled your small supply of digits.

    Meanwhile the most frequent Slashdot reaction was to attack the problem. Well, maybe I shouldn't say "most frequent" since I didn't really tally all of the comments for positive and negative sentiments, but I can certainly say that all of the negative ones I saw (and there were bunch of them) could have been filed under "If you have nothing to say, then why don't you say nothing."

    Now if I were a real mathematician, I'd be off studying the generalized cases... How many of which digit will suffice?

    --
    Freedom = (Meaningful - Coerced) Choice != (Speech | Beer^2), and sad sock puppets' bad mods avail them naught.
  40. Um, still no by SuperKendall · · Score: 1

    Completely accurate, yet incredibly stupid response.

    --
    "There is more worth loving than we have strength to love." - Brian Jay Stanley
  41. Re:The angry mob doth protest too much by shanen · · Score: 1

    Three footnotes after watching the rest of it...

    All of the angry mobsters protesting about concatenation obviously didn't watch the entire video.

    No one commented on the acknowledgement to Alex Bellos that appears in the video. He wrote a couple of excellent books on mathematical topics, and I'm glad to recommend them. I guess the lack of related comments indicates that the angry mobsters who actually did watch the entire video didn't watch it that closely or they don't read that much.

    Having said that, I have to regard it as an amusing trick, but not really that profound. The introductory over-dramatization of the video probably might merit a bit of criticism.

    --
    Freedom = (Meaningful - Coerced) Choice != (Speech | Beer^2), and sad sock puppets' bad mods avail them naught.
  42. What do you have against facts, anyhow? by Xenographic · · Score: 1

    > If you're even trying to define "normal" in a special way to make something true, then you've already left the realm of normalcy and entered the realm of "alternate facts."

    Bad example. Math already has many different kinds of normal. You might think that a 'normal operator' is 'something my calculator has a button for', but instead it's a continuous linear operator N : H -> H that commutes with its hermitian adjoint N*, that is: NN* = N*N on a complex Hilbert space H.

    There are also many different axiomatic systems, e.g. ZF vs. ZFC, which are built from different rules and which admit different factual statements. It's not like either one is more 'correct' either. In that example, both accepting and denying the Axiom of Choice leads to strange results.

    So if you want to make a point about "alternate facts," you might want to make sure that your knowledge doesn't have big gaps in it. It's fascinating just how many different accounts you have to read these days to get a more complete picture of what's going on these days. So many stories (on *all* sides) like to omit and possibly denigrate whichever parts of a story they find inconvenient. You cannot trust any single source, best to read them all and figure out who is leaving out which bits of the story (and why). Personally, I think that a skeptical reading of the news is a good approach.

  43. Fourtran by Tablizer · · Score: 4, Funny

    In the spirit of Brainf*ck, I will use this to create a programming language called "Fourtran".

  44. Re:The angry mob doth protest too much by Memnos · · Score: 1

    I agree, and "If you have nothing to say, then why don't you say nothing." should (unfortunately) be a moderation choice on Slashdot.

    --
    I don't trust atoms -- they make up stuff.
  45. Old hat by OneHundredAndTen · · Score: 1

    In one of his popular books on physics (Biography of Physics - a delightful book) George Gamow tells the story of Dirac, when visiting some university in Denmark (I think.) The guys there were trying to solve the following problem: represent every single positive integer using the number 2 alone, and standard mathematical symbols. Dirac came up with the following solution: N = -log_2 log_2(sqrt(sqrt(...(sqrt(2))...) where the number of square roots is equal to N.

    1. Re:Old hat by Anonymous Coward · · Score: 0

      Came here to say this. I wonder why this solution is so little known.

  46. How to reduce any number to four by Anonymous Coward · · Score: 0

    Pick a random number and spell it out:

    Six has three letters -> Three has five letters -> Five has four letters

    or

    Seven Hundred Ninety Two has twenty one letters -> Twenty One has nine letters -> Nine has four letters

    or

    Four has four letters -> Four has four letters

    This works for any number that can be named finitely. Pi has two letters...

  47. Middle paragraph eaten by JoshuaZ · · Score: 1

    Ugh, apparently Slashdot doesn't like some symbols and so ate part of the post. Rewriting middle paragraph avoiding notation. 6=(1+1)(1+1+1) shows that ||6|| is at most 5. One has the upper bound for ||n|| of 3log_2 n, and a lower bound of 3log_3 n. The upper bound was best for about 50 years, and the link that got eaten that mentions an improvement was http://religionsetspolitics.blogspot.com/2010/08/integer-complexity-upper-bound-update.html. I think that's most of the eaten content in that paragraph.

  48. Not impressed by Gabest · · Score: 1

    An operator is essentially a little function that has one or two arguments. It hides the information you use to make those numbers. If you want, you can invent infinite number of so called operators, to produce each number. They don't even have to take an argument of 4s.

  49. Why are your 'real' operations only defined on N? by Xenographic · · Score: 1

    What exactly is a "real" operation? Shouldn't that be one defined on R? Yet you seem to want to restrict me to N if you're talking about rocks. So tell me, can I multiply 4 rocks by 4 rocks? Why or why not? Because multiplication, logarithms and floor are all I need to define concatenation in some base. Do I have to define that in terms of splitting rocks into smaller pieces, measuring their length, or shaving them off to an even size? Do I have to use unary? Help me out here.

    Concatenation may be base-dependent, but it's not exactly hard to give a formula for. Basically you shift the first number to the left by however many digits and add the second one. You use logarithms to figure out how many places to slide it over. You raise the base to that power and multiply by the first number to shift it to the left. Then you just add the second number, which overwrites all the 0 spaces you just created.

    log(x, base) = { ln x / ln base }

    concat(x, y, base) = { (x * base^(floor(log(y, base)) + 1)) + y }

    This is probably easier to see in binary. You're just doing a left shift, filling everything with 0s and doing an OR to add them.

    Calculate concat(1101, 0011):

    Shift 1101 by 4 places (i.e. the length of the 2nd number) -
    11010000

    OR the other number:

    11010000
    OR 0011
    =======
    11010011

  50. The quality of this discussion: by UberVegeta · · Score: 1

    In the absence of an xkcd, have some SMBC instead.

    --
    I knew I needed to stop reading Slashdot and finish my PhD when I started to miss articles by Bennett Haselton.
  51. Could this article get any dumber? by Anonymous Coward · · Score: 0

    This is a truly stupid article - I actually don't normally post, but this one was just too low not to punch at...

    How about:

    x is some magical number, and N is the number of times to add (x / x) on, also known as the target number.

    E.g. x = 2, N = 4

    (2 / 2) + (2 / 2) + (2 / 2) + (2 / 2) = 4 SHOCKER!

    Basically, the premise of this article is that maths is amazing because 'additional'.... oooOOOoo!

  52. As a percentage?? by Anonymous Coward · · Score: 0

    He claims that 4/4 as a percentage is 100 - that's rubbish - there isn't an operator that converts a number to percentage.

  53. Catholic clergy by robi5 · · Score: 1

    I haven't watched the numberphile video but here's a related pedophile link: https://www.theguardian.com/au...

  54. wow, i can count! by Anonymous Coward · · Score: 0

    4/4 = 1

    4/4+4/4 = 2

    4/4+4/4+4/4 = 3

    4 (etc)

  55. Re:The angry mob doth protest too much by shanen · · Score: 1

    Think I mostly agree with you and don't even see a nit that could be picked. Just an ACK as I am in the process of putting my Slashdot affairs in order for another hiatus, perhaps permanent. This is basically a boilerplate response drafted for the pending replies.

    --
    Freedom = (Meaningful - Coerced) Choice != (Speech | Beer^2), and sad sock puppets' bad mods avail them naught.