Math Is Fun Forum
  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

Login

Username

Password

Not registered yet?

#26 2013-05-13 10:45:53

mathaholic
Star Member

Offline

Re: Make 1,234 using the numbers 1, 2, 3, and 4 only

up


246 pages on Prime Numbers Wiki (+1)
 

#27 2013-05-13 17:34:22

phrontister
Real Member

Online

Re: Make 1,234 using the numbers 1, 2, 3, and 4 only

Last edited by phrontister (2013-05-14 03:36:05)


"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson
 

#28 2013-05-13 19:08:50

bobbym
Administrator

Offline

Re: Make 1,234 using the numbers 1, 2, 3, and 4 only


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.
 

#29 2013-05-14 03:33:09

phrontister
Real Member

Online

Re: Make 1,234 using the numbers 1, 2, 3, and 4 only







StringCases[ToString[N[ChampernowneNumber[], 1234]], "1234"] =1234

Last edited by phrontister (2013-05-15 00:29:47)


"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson
 

#30 2013-05-14 15:59:48

mathaholic
Star Member

Offline

Re: Make 1,234 using the numbers 1, 2, 3, and 4 only

upup


246 pages on Prime Numbers Wiki (+1)
 

#31 2013-05-14 23:42:21

phrontister
Real Member

Online

Re: Make 1,234 using the numbers 1, 2, 3, and 4 only

First[Flatten[StringPosition[ToString[N[Pi, 13!!]], "1234"]]]
StringTake[ToString[N[Pi, % + 2]], -4] =1234

StringTake[ToString[N[Pi, FromDigits[{1, 3, 4!!, 1, 3 - 2}]]], -4] =1234

If[StringMatchQ[ToString[N[Pi, 12!!]], "*1234*"], FromDigits[Table[i, {i, 4}]]] =1234

Last edited by phrontister (2013-05-15 15:11:01)


"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson
 

#32 2013-05-15 09:51:45

mathaholic
Star Member

Offline

Re: Make 1,234 using the numbers 1, 2, 3, and 4 only

upupup


246 pages on Prime Numbers Wiki (+1)
 

#33 2013-05-15 18:45:14

phrontister
Real Member

Online

Re: Make 1,234 using the numbers 1, 2, 3, and 4 only

Find the four 3-digit numbers and the products as indicated in this arithmetic sum, where
- each letter stands for a single digit,
- the same letter stands for the same digit, and
- no values are shared with other letters.

     4 x abc  =
+   3 x cba  =
-    2 x cab  =
+   1 x dba  =
                       -----
                       1234
                       ===

Clue: Letter values are from the digits 1, 2, 3 and 4.

Last edited by phrontister (2013-05-15 19:20:02)


"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson
 

#34 2013-05-15 19:37:28

bobbym
Administrator

Offline

Re: Make 1,234 using the numbers 1, 2, 3, and 4 only

Hi;



In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.
 

#35 2013-05-15 20:17:20

ElainaVW
Full Member

Offline

Re: Make 1,234 using the numbers 1, 2, 3, and 4 only

I solved it!

Last edited by ElainaVW (2013-05-15 20:52:49)

 

#36 2013-05-16 02:56:07

phrontister
Real Member

Online

Re: Make 1,234 using the numbers 1, 2, 3, and 4 only

Hi Elaina & Bobby,

Correct! smile

Not quite the full answer to my two questions, but I know what you mean. I don't know how Teacher Bob would have marked your answers, but I give you a good pass. up

And yes, the puzzle has a unique solution.


"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson
 

#37 2013-05-16 03:01:38

bobbym
Administrator

Offline

Re: Make 1,234 using the numbers 1, 2, 3, and 4 only

You wanted her solution, did you not?


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.
 

#38 2013-05-16 03:20:41

phrontister
Real Member

Online

Re: Make 1,234 using the numbers 1, 2, 3, and 4 only

True, but also the four 3-digit numbers. No problem, though...just messing around.

Those 3-digit numbers contain just the digits as per the thread, so I'd been hoping that their solutions would have shown up in the answers too. Maybe I could have worded my puzzle better.

Did you have a look at my M codes in post #31? I had some fun getting those to work, and needed help from the Help files.


"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson
 

#39 2013-05-16 03:25:56

bobbym
Administrator

Offline

Re: Make 1,234 using the numbers 1, 2, 3, and 4 only

Hi phrontister;

No I didn't, I forgot all about that game. I will look at them a little later because I have to get offline now. See you then.


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.
 

#40 2013-05-16 03:28:19

phrontister
Real Member

Online

Re: Make 1,234 using the numbers 1, 2, 3, and 4 only

Ok...ciao for niao. Bed for me, anyway; so good night, and see you later.


"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson
 

#41 2013-05-16 06:13:53

anonimnystefy
Real Member

Offline

Re: Make 1,234 using the numbers 1, 2, 3, and 4 only

Hi phro


The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment
 

#42 2013-05-16 07:58:15

bobbym
Administrator

Offline

Re: Make 1,234 using the numbers 1, 2, 3, and 4 only

Hi;

That code is working!

This is a violation of the rules but there is a 1234 located at position



of the constant e. I smell a new Dan Brown book!


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.
 

#43 2013-05-16 09:26:05

phrontister
Real Member

Online

Re: Make 1,234 using the numbers 1, 2, 3, and 4 only

Hi stefy,

Correctamundo! up


Hi Bobby,

How do I test that? Also, I've never used e, and I don't know what it does or what it's for.

Last edited by phrontister (2013-05-16 09:26:21)


"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson
 

#44 2013-05-16 09:30:13

bobbym
Administrator

Offline

Re: Make 1,234 using the numbers 1, 2, 3, and 4 only

Hi phrontister;

In M talk e is Exp[1]. It is the most important constant in mathematics and more common then pi.

Test that power tower? Not likely!


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.
 

#45 2013-05-16 09:31:28

phrontister
Real Member

Online

Re: Make 1,234 using the numbers 1, 2, 3, and 4 only

Hi Elaine, Bobby and stefy,

How did you solve my alphametic? Pencil + paper + logic, maybe? (I didn't...I used Excel)


"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson
 

#46 2013-05-16 09:38:26

bobbym
Administrator

Offline

Re: Make 1,234 using the numbers 1, 2, 3, and 4 only

Takes a little time with pencil and paper. There are only 24 possibilities to consider.

There is a M command that does this easily.


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.
 

#47 2013-05-16 09:42:42

phrontister
Real Member

Online

Re: Make 1,234 using the numbers 1, 2, 3, and 4 only

Oo...hint?

Czeched out 'e' on Wikipedia and it's all double Dutch to me. Might as well have been written in Greek! (which it probably has, in a Greek W version...I keep forgetting that English isn't the only language on the globe).


"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson
 

#48 2013-05-16 09:48:17

bobbym
Administrator

Offline

Re: Make 1,234 using the numbers 1, 2, 3, and 4 only

Hi;

I hate to give this up! No one seems to know about the mightiest command in M.

[removed by admin, breach of national security.]


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.
 

#49 2013-05-16 09:54:51

phrontister
Real Member

Online

Re: Make 1,234 using the numbers 1, 2, 3, and 4 only

Copied and tested. Thanks...I'd better look at it next. smile

I think I know what you mean with 'e'...and the same would apply to any position >4, then.

I originally only thought of the decimal approximation, not the infinite series.

Last edited by phrontister (2013-05-16 09:57:20)


"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson
 

#50 2013-05-16 09:58:43

bobbym
Administrator

Offline

Re: Make 1,234 using the numbers 1, 2, 3, and 4 only

That was a joke. I have no idea what is at position



Do some reading on that command, it is well worth it.


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.
 

Board footer

Powered by FluxBB