You are not logged in.
Mathaholic | 10th most active poster | Maker of the 350,000th post | Person | rrr's classmate
Offline
Last edited by phrontister (2013-05-13 05: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
Offline
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
StringCases[ToString[N[ChampernowneNumber[], 1234]], "1234"] =1234
Last edited by phrontister (2013-05-14 02: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
Offline
Mathaholic | 10th most active poster | Maker of the 350,000th post | Person | rrr's classmate
Offline
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-14 17: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
Offline
Mathaholic | 10th most active poster | Maker of the 350,000th post | Person | rrr's classmate
Offline
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-14 21: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
Offline
Hi;
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
I solved it!
Last edited by ElainaVW (2013-05-14 22:52:49)
Offline
Hi Elaina & Bobby,
Correct!
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.
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
Offline
You wanted her solution, did you not?
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
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
Offline
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.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
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
Offline
Hi phro
Here lies the reader who will never open this book. He is forever dead.
Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment
The knowledge of some things as a function of age is a delta function.
Offline
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.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Hi stefy,
Correctamundo!
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-15 11: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
Offline
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.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
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
Offline
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.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
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
Offline
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.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Copied and tested. Thanks...I'd better look at it next.
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-15 11: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
Offline
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.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline