You are not logged in.

- Topics: Active | Unanswered

**mathaholic****Member**- From: Earth
- Registered: 2012-11-29
- Posts: 3,251

Mathaholic | 10th most active poster | Maker of the 350,000th post | Person | rrr's classmate

Offline

**phrontister****Real Member**- From: The Land of Tomorrow
- Registered: 2009-07-12
- Posts: 4,592

*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

**bobbym****bumpkin**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 109,606

**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

**phrontister****Real Member**- From: The Land of Tomorrow
- Registered: 2009-07-12
- Posts: 4,592

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****Member**- From: Earth
- Registered: 2012-11-29
- Posts: 3,251

Mathaholic | 10th most active poster | Maker of the 350,000th post | Person | rrr's classmate

Offline

**phrontister****Real Member**- From: The Land of Tomorrow
- Registered: 2009-07-12
- Posts: 4,592

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****Member**- From: Earth
- Registered: 2012-11-29
- Posts: 3,251

Mathaholic | 10th most active poster | Maker of the 350,000th post | Person | rrr's classmate

Offline

**phrontister****Real Member**- From: The Land of Tomorrow
- Registered: 2009-07-12
- Posts: 4,592

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)*

Offline

**bobbym****bumpkin**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 109,606

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

**ElainaVW****Member**- Registered: 2013-04-29
- Posts: 580

I solved it!

*Last edited by ElainaVW (2013-05-14 22:52:49)*

Offline

**phrontister****Real Member**- From: The Land of Tomorrow
- Registered: 2009-07-12
- Posts: 4,592

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.

Offline

**bobbym****bumpkin**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 109,606

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

**phrontister****Real Member**- From: The Land of Tomorrow
- Registered: 2009-07-12
- Posts: 4,592

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.

Offline

**bobbym****bumpkin**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 109,606

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

**phrontister****Real Member**- From: The Land of Tomorrow
- Registered: 2009-07-12
- Posts: 4,592

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

Offline

**anonimnystefy****Real Member**- From: Harlan's World
- Registered: 2011-05-23
- Posts: 16,037

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

**bobbym****bumpkin**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 109,606

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

**phrontister****Real Member**- From: The Land of Tomorrow
- Registered: 2009-07-12
- Posts: 4,592

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)*

Offline

**bobbym****bumpkin**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 109,606

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

**phrontister****Real Member**- From: The Land of Tomorrow
- Registered: 2009-07-12
- Posts: 4,592

Hi Elaine, Bobby and stefy,

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

Offline

**bobbym****bumpkin**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 109,606

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

**phrontister****Real Member**- From: The Land of Tomorrow
- Registered: 2009-07-12
- Posts: 4,592

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).

Offline

**bobbym****bumpkin**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 109,606

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

**phrontister****Real Member**- From: The Land of Tomorrow
- Registered: 2009-07-12
- Posts: 4,592

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)*

Offline

**bobbym****bumpkin**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 109,606

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