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

You are not logged in.

- Topics: Active | Unanswered

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

The idea for this puzzle sprang from this post of bobbym's. It underwent some refining on that thread, and here's the final product...

Find Piman's date of birth, using these rules:

- His DOB is an 8-digit number either in ddmmyyyy or mmddyyyy format;

- Piman was born since the turn of the last century, on a Thursday;

- His YOB appears in the first 100000 decimal digits of pi;

- The YOB's starting position in that pi range iterates to 1...as per the following example:

*eg: The starting position of YOB 1839 is 9323...whose starting position is 14...whose starting position is 1*

*Note: Ignore the "3." preceding the decimal digits...so 3.14159 becomes 14159 and 5's starting position is 4*;

- Iteration searches remain within pi's first 100000 decimal digits.

*Last edited by phrontister (2012-03-12 04:52:06)*

"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: 102,341

Hi;

Thanks for posting it here, I am working on it.

**In mathematics, you don't understand things. You just get used to them.****If it ain't broke, fix it until it is.** **A number by itself is useful, but it is far more useful to know how accurate or certain that number is.**

Offline

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

Hi Bobby,

I've set the rules out in list form, for clarity's sake.

Off to work now...

"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

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

Hi phrontister

See you soon!

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: 102,341

Hi phrontister;

**In mathematics, you don't understand things. You just get used to them.****If it ain't broke, fix it until it is.** **A number by itself is useful, but it is far more useful to know how accurate or certain that number is.**

Offline

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

Hi Bobby,

"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: 102,341

Hi;

**In mathematics, you don't understand things. You just get used to them.****If it ain't broke, fix it until it is.** **A number by itself is useful, but it is far more useful to know how accurate or certain that number is.**

Offline

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

Hi Bobby,

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 102,341

Hi phrontister;

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

Hi Bobby,

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 102,341

Hi phrontister;

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

Hi,

I changed the "He could still be alive today" rule to "Piman was born since the turn of the last century".

This will help anyone trying to solve the puzzle in Excel, because their Weekday function only kicks in from 1/1/1900.

The solution remains the same.

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 102,341

Hi;

That is okay with me.

When you mentioned that Excel has a weekday command it finally occurred to me that M might have one too. Sure enough here it is. Would have saved some time.

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

Hi Bobby,

LB doesn't have the WEEKDAY function, but I googled it and found a good one that I included in my solution.

*Last edited by phrontister (2012-03-14 05:58:04)*

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 102,341

Hi phrontister;

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

Hi Bobby,

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 102,341

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

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

Hi Bobby,

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 102,341

Hi;

You have a 64 bit OS?

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

No...32 bit (Windows XP Home PSP3).

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 102,341

Then the QB64 is for 32 bit machines too?

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

I suppose it must be...no hiccups at all on mine, and it's nice and speedy.

There's some discussion about 32- & 64-bit stuff at the QB64 site here. Just type "64 bit" into the search box. I had a verrrrry quick browse just now, and took nothing in.

*Last edited by phrontister (2012-03-15 05:23:00)*

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 102,341

Is this a new version of QB?

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

Sorry, but I don't know much about this at all.

I found this in a Wikipedia article here:

QB64 (originally QB32) is a self-hosting BASIC compiler for Microsoft Windows, Linux and MacOSX, designed to be compatible with Microsoft QBasic and QuickBASIC. QB64 is a C++ emitter, which is integrated with a C++ compiler to provide compilation via C++ code and GCC optimization.

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 102,341

Hi;

Are you using one of these links?

http://www.qb64.net/qb64v0953-win.zip

http://www.qb64.net/qb64v0953-win.7z

**In mathematics, you don't understand things. You just get used to them.****If it ain't broke, fix it until it is.**

Offline