* WalrusIRC

You need to have 5 posts and not be part of restricted usergroups in order to use the WalrusIRC embedded shoutbox. However, you can also access our IRC channel called #CodeWalrus via EFnet.

Author Topic: Fun Math/Logic Problems!  (Read 275 times)

0 Members and 1 Guest are viewing this topic.

Offline _iPhoenix_

  • Full User
  • Join Date: Mar 2017
  • Location: Encoded in Binary.
  • Posts: 253
  • Post Rating Ratio: +3/-1
  • █████ ▼ ♪ Best music ♫
    • @dj_iPhoenix
    • @UCytgMNPxAMDsxjimvxHf01w
    • @the-legend-of-iphoenix
    • View Profile
  • Gender: Male
Fun Math/Logic Problems!
« on: March 17, 2017, 09:54:08 pm »
I got one!

With 5 eight's, and 5 basic operators (+, -, *, /, ^, plus parenthesis, of course.), is it possible to get the numbers 1 - 16 (It may be no, 16 is arbitrary ;) )?
If so: how, and how far can you go (continuously after 10)?


E.X.
(8/8)^8-(8/8) = 0


jonbush asked a very good question:
Quote from: jonbush
So we must use all five 8's, but we can use any number of operators?


Yes. NO OPERATORS/OPERATIONS NOT MENTIONED!


And no programs to try every single combo, either. Fine... I used one myself to solve it anyway...


And if you do create a program, you need to explain (prove, in short) why that particular one is impossible... :ninja:


Hints (filthy cheater :P ):


Hint #1
Hint #2

Use spoilers for your answer :P


  • Calculators owned: A sentient TI-84+ CE, TI-85
  • Consoles, mobile devices and vintage computers owned: TI-99/4a home computer
Help me with a project by voting here! Thanks!

"walruses are better than tuxedo chickens, all hail the great :walrii:" ~ me

Online c4ooo

  • ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
  • Super User
  • CW Contest II Winner
  • *
  • Join Date: Aug 2015
  • Location: 127.0.0.1
  • Posts: 917
  • Post Rating Ratio: +9/-2
  • ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
    • View Profile
  • Gender: Male
Re: Fun Math/Logic Problems!
« Reply #1 on: March 17, 2017, 11:24:05 pm »
And no programs to try every single combo, either.[/s]
What's a program?

(click to show/hide)
Edit: big numbers are as big as floats will allow. I do not know how floats behave when overflowing.

Also, technically you could use the minus sign as a negation, and not subtraction  :P

No solutions: 3,5,12,13,14 (On the off chance i missed something, please correct me :P )

Edit 3:
Apparently i cant use RPN to genarate a list of all possible combinations... that sucks :( )
« Last Edit: March 17, 2017, 11:34:06 pm by c4ooo »

Offline _iPhoenix_

  • Full User
  • Join Date: Mar 2017
  • Location: Encoded in Binary.
  • Posts: 253
  • Post Rating Ratio: +3/-1
  • █████ ▼ ♪ Best music ♫
    • @dj_iPhoenix
    • @UCytgMNPxAMDsxjimvxHf01w
    • @the-legend-of-iphoenix
    • View Profile
  • Gender: Male
Re: Fun Math/Logic Problems!
« Reply #2 on: March 17, 2017, 11:39:09 pm »
Amazing. Perhaps check "Don't use smileys? as 8) turned into 8)


I got an answer for
3:
(click to show/hide)
5:
(click to show/hide)
12:
(click to show/hide)
14:
(click to show/hide)
Credits to PT_ ^^
And the longest continuous string of numbers that can be produced using this method is:
(click to show/hide)







I got another one, and it's even more tedious.


If you have 4 of the numbers 1 - 9 (excluding 4, that makes this pointless), and you can only use one of the same type per equation, what numbers can you NOT express using only:
Code: [Select]
(), +, - (or negative), /, ^, sqrt(), nth-root(), and factorial.
1-200 is required, but -500 to 500 for brownie points! (yay)


I tested this out, and it is rather cool.


PLEASE USE A PROGRAM (any language is fine). DO NOT WASTE YOUR LIFE

« Last Edit: March 17, 2017, 11:55:35 pm by _iPhoenix_ »
  • Calculators owned: A sentient TI-84+ CE, TI-85
  • Consoles, mobile devices and vintage computers owned: TI-99/4a home computer
Help me with a project by voting here! Thanks!

"walruses are better than tuxedo chickens, all hail the great :walrii:" ~ me

Offline Juju

  • aka Yuki Kagayaki aka J̵̭͕͇ù̞̭̝̯̦j̴̭̙̗͖͡ù͏͓̲̕
  • CodeWalrus Staff
  • Super User
  • Server Maintenance
  • Moderator
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Inside a walrus
  • Posts: 2836
  • Post Rating Ratio: +19/-1
  • Couch potato
    • jul.savard
    • juju2143
    • @juju2143
    • juju2143
    • @julosoft
    • juju-kun
    • /u/juju2143
    • juju2143
    • View Profile
    • Juju's shed
  • Gender: Female
  • WalriiPoints: 99999
Re: Fun Math/Logic Problems!
« Reply #3 on: March 18, 2017, 05:30:20 am »
I know it's not allowed but for the five 8's problem, if you use natural logarithms and cube roots...

(click to show/hide)
« Last Edit: March 18, 2017, 05:54:26 am by Juju »
  • Calculators owned: TI-83+ (dead?), Casio Prizm (also dead???)
YUKI-CHAAAANNNN
In the beginning there was walrii. In the end there will be walrii. All hail our supreme leader :walrii: --Snektron

????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????:trollface:???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????

Offline _iPhoenix_

  • Full User
  • Join Date: Mar 2017
  • Location: Encoded in Binary.
  • Posts: 253
  • Post Rating Ratio: +3/-1
  • █████ ▼ ♪ Best music ♫
    • @dj_iPhoenix
    • @UCytgMNPxAMDsxjimvxHf01w
    • @the-legend-of-iphoenix
    • View Profile
  • Gender: Male
Re: Fun Math/Logic Problems!
« Reply #4 on: March 18, 2017, 02:53:03 pm »
I might not disqualify you; that's pretty clever.  (-_(//));
*disqualifies juju*
oops...  :-X

Meh. Your images aren't working for me, btw. Perhaps also find a super cheaty way to solve my second problem?
  • Calculators owned: A sentient TI-84+ CE, TI-85
  • Consoles, mobile devices and vintage computers owned: TI-99/4a home computer
Help me with a project by voting here! Thanks!

"walruses are better than tuxedo chickens, all hail the great :walrii:" ~ me

Offline PT_

  • Full User
  • Join Date: Mar 2016
  • Location:
  • Posts: 246
  • Post Rating Ratio: +8/-0
    • View Profile
  • Gender: Male
Re: Fun Math/Logic Problems!
« Reply #5 on: March 18, 2017, 03:07:21 pm »
Here are the answers of your first question, I've checked every number <= 50, and the ones that are not in this list, are impossible to solve:

(click to show/hide)

 


You can also use the following HTML or bulletin board code to share it on your page or forum signature!


Also do not forget to check our affiliates below.
Planet Casio TI-Planet Calc.news BroniesQC BosaikNet Velocity Games