You are not logged in.

- Topics: Active | Unanswered

**mathaholic****Member**- From: idk
- Registered: 2012-11-29
- Posts: 2,919
- Website

It's summer.

Offline

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

*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****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 95,902

**In mathematics, you don't understand things. You just get used to them.**

**If it ain't broke, fix it until it is.**

Offline

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

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: idk
- Registered: 2012-11-29
- Posts: 2,919
- Website

It's summer.

Offline

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

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: idk
- Registered: 2012-11-29
- Posts: 2,919
- Website

It's summer.

Offline

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

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****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 95,902

Hi;

**In mathematics, you don't understand things. You just get used to them.**

**If it ain't broke, fix it until it is.**

Offline

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

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,081

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****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 95,902

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

Offline

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

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****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 95,902

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

Offline

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

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

Offline

**anonimnystefy****Real Member**- From: The Foundation
- Registered: 2011-05-23
- Posts: 15,922

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****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 95,902

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

Offline

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

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****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 95,902

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

Offline

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

Hi Elaine, Bobby and stefy,

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

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 95,902

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

Offline

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

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****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 95,902

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

Offline

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

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****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 95,902

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

Offline