Results 1 to 13 of 13

Thread: 4 Numbers, to equal others

  1. #1

    Thread Starter
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527

    Question 4 Numbers, to equal others

    OK

    i have a bit of a maths problem

    I want to find, from 1 to 100 how four 4's can be used to make that number

    e.g

    1 = (4+4) / (4+4) or (4/4) / (4/4)
    2 = (4/4) + (4/4)

    and so on

    I have worked out all, but the following:

    35,
    37,
    39,
    41,
    43,
    45,
    51,
    53,
    55,
    57,
    71,
    73,
    75,
    77,
    83,
    85,
    87,
    89,
    91,
    93,
    99,

    If anyone can help with the solution to any of these, please post

    BTW:

    Factorial, e.g. 4! = (24) can be used, so can Root(4) = (2), squares, cubes and powers can be used

    e.g.

    4^2, 4^3, 4^4, 4^x

    etc

    please help with the above numbers

  2. #2

    Thread Starter
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527
    ahh come on?

    no one knows?

  3. #3

    Thread Starter
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527
    ahh come on, where are all you gurus?

  4. #4
    Addicted Member
    Join Date
    Feb 2001
    Posts
    198
    35=(4+(4/4)+(4/4))*(4+(4/4)+(4/4)) - (4/4)

    or ((4!)/4)*((4!)/4) - (4/4)


    does this count?

    If it does then the others should be easy - just a bit long

  5. #5

    Thread Starter
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527
    no,

    only 4 numbers can be used

    e.g.

    26 can be

    4! + 4 - 4 + Sqr(4)

    which is basically 24 + 2 = 26


  6. #6
    Addicted Member
    Join Date
    Feb 2001
    Posts
    198
    ah right, sorry I missed that.

  7. #7

    Thread Starter
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527
    ohhh

    i thought you had some solutions for me

  8. #8
    Frenzied Member HarryW's Avatar
    Join Date
    Jan 2000
    Location
    Heiho no michi
    Posts
    1,827
    35 is (4^3 + 4 + sqr(4)) / sqr(4)
    Harry.

    "From one thing, know ten thousand things."

  9. #9
    Hyperactive Member DavidHooper's Avatar
    Join Date
    Apr 2001
    Posts
    357
    i remember reading it is possible for all but two numbers in the range 1-99.

    can't u just write a program to do it?
    There are 10 types of people in the world - those that understand binary, and those that don't.

  10. #10
    pathfinder NotLKH's Avatar
    Join Date
    Apr 2001
    Posts
    2,397

    Re: 4 Numbers, to equal others

    Originally posted by da_silvy
    OK


    I have worked out all, but the following:

    35,
    37,
    39,
    41,
    43,
    45,
    51,
    53,
    55,
    57,
    71,
    73,
    75,
    77,
    83,
    85,
    87,
    89,
    91,
    93,
    99,

    If anyone can help with the solution to any of these, please post

    BTW:
    .....and powers can be used

    e.g.

    4^2, 4^3, 4^4, 4^x

    etc
    Heres a jumping off point for some:

    85 = 4^3 + 4^2 + 4^1 + 4^0
    83 = 4^3 + 4^2 + 4^1 - 4^0
    77 = 4^3 + 4^2 - 4^1 + 4^0
    75 = 4^3 + 4^2 - 4^1 - 4^0

    etc...
    -Lou

  11. #11
    Fanatic Member riis's Avatar
    Join Date
    Nov 2001
    Posts
    551
    Is this also allowed?

    99 = 4^3.5 - 4^2.5 + 4 - 4^0

    You didn't say powers should be integers (besides, sqrt is also used, which is a power of 0.5)

  12. #12
    pathfinder NotLKH's Avatar
    Join Date
    Apr 2001
    Posts
    2,397
    Looks like its legal to use non-integer values.
    Or, for that matter, (a + sqr(b)), (a - sqr(b)) values. with the proper combination, ALL integer numbers could be generated this way.

    { Although, I personally think only 4's should be used for any number. IMHO }

  13. #13
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    hmm, whats the first number that can't be described this way
    99=4!*4+4-4^0
    93=4!*4-4+4^0
    91=4!*4-4-4^0
    89=4^3+4!+4^0*4^0
    87=4^3+4!-4^0*4^0
    73=4^3+4*sqr(4)+4^0
    71=4^3+4*sqr(4)-4^0
    57=4^3-4-4+4^0
    55=4^3-4-4-4^0
    53=4^3-4^2+4+4^0
    51=4^3-4^2+4-4^0
    45=4!+4!-4+4^0
    43=4!+4!-4-4^0
    41=4!+4^2+4^0*4^0
    39=4!+4^2-4^0*4^0
    37=24+4^2-sqr(4)-4^0
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width