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

You are not logged in.

## #1 2012-03-12 12:00:02

phrontister
Real Member

Offline

### DOB in pi puzzle

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-13 03: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

## #2 2012-03-12 12:24:13

bobbym

Online

### Re: DOB in pi puzzle

Hi;

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

In mathematics, you don't understand things. You just get used to them.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

## #3 2012-03-12 12:40:35

phrontister
Real Member

Offline

### Re: DOB in pi puzzle

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

## #4 2012-03-12 12:42:44

anonimnystefy
Real Member

Offline

### Re: DOB in pi puzzle

Hi phrontister

See you soon!

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

## #5 2012-03-12 21:40:55

bobbym

Online

### Re: DOB in pi puzzle

Hi phrontister;

In mathematics, you don't understand things. You just get used to them.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

## #6 2012-03-12 21:58:33

phrontister
Real Member

Offline

### Re: DOB in pi puzzle

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

## #7 2012-03-12 22:11:59

bobbym

Online

### Re: DOB in pi puzzle

Hi;

In mathematics, you don't understand things. You just get used to them.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

## #8 2012-03-12 23:02:51

phrontister
Real Member

Offline

### Re: DOB in pi puzzle

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

## #9 2012-03-12 23:07:00

bobbym

Online

### Re: DOB in pi puzzle

Hi phrontister;

In mathematics, you don't understand things. You just get used to them.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

## #10 2012-03-12 23:51:55

phrontister
Real Member

Offline

### Re: DOB in pi puzzle

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

## #11 2012-03-13 02:57:18

bobbym

Online

### Re: DOB in pi puzzle

Hi phrontister;

In mathematics, you don't understand things. You just get used to them.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

## #12 2012-03-13 04:15:49

phrontister
Real Member

Offline

### Re: DOB in pi puzzle

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.

"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

## #13 2012-03-13 05:45:26

bobbym

Online

### Re: DOB in pi puzzle

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.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

## #14 2012-03-15 02:58:16

phrontister
Real Member

Offline

### Re: DOB in pi puzzle

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-15 04:58:04)

"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

## #15 2012-03-15 07:22:52

bobbym

Online

### Re: DOB in pi puzzle

Hi phrontister;

In mathematics, you don't understand things. You just get used to them.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

## #16 2012-03-15 10:32:49

phrontister
Real Member

Offline

### Re: DOB in pi puzzle

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

## #17 2012-03-15 11:04:23

bobbym

Online

### Re: DOB in pi puzzle

Hi;

In mathematics, you don't understand things. You just get used to them.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

## #18 2012-03-16 03:36:19

phrontister
Real Member

Offline

### Re: DOB in pi puzzle

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

## #19 2012-03-16 03:49:48

bobbym

Online

### Re: DOB in pi puzzle

Hi;

You have a 64  bit OS?

In mathematics, you don't understand things. You just get used to them.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

## #20 2012-03-16 04:02:08

phrontister
Real Member

Offline

### Re: DOB in pi puzzle

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

"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

## #21 2012-03-16 04:10:39

bobbym

Online

### Re: DOB in pi puzzle

Then the QB64 is for 32 bit machines too?

In mathematics, you don't understand things. You just get used to them.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

## #22 2012-03-16 04:19:04

phrontister
Real Member

Offline

### Re: DOB in pi puzzle

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-16 04:23:00)

"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

## #23 2012-03-16 04:27:02

bobbym

Online

### Re: DOB in pi puzzle

Is this a new version of QB?

In mathematics, you don't understand things. You just get used to them.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

## #24 2012-03-16 04:31:15

phrontister
Real Member

Offline

### Re: DOB in pi puzzle

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.

"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

## #25 2012-03-16 04:33:02

bobbym

Online

### Re: DOB in pi puzzle

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.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.