Math Is Fun Forum

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

You are not logged in.

#1 2012-03-11 13:00:02

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

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

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

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

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.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#3 2012-03-11 13:40:35

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

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

Offline

#4 2012-03-11 13:42:44

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

Re: DOB in pi puzzle

Hi phrontister

See you soon! smile


“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

#5 2012-03-11 22:40:55

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

Re: DOB in pi puzzle

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.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#6 2012-03-11 22:58:33

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

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

Offline

#7 2012-03-11 23:11:59

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

Re: DOB in pi puzzle

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

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

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

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

Offline

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

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

Re: DOB in pi puzzle

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.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

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

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

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

Offline

#11 2012-03-12 03:57:18

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

Re: DOB in pi puzzle

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.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#12 2012-03-12 05:15:49

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

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

Offline

#13 2012-03-12 06:45:26

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

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.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

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

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

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-14 05: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

Offline

#15 2012-03-14 08:22:52

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

Re: DOB in pi puzzle

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.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#16 2012-03-14 11:32:49

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

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

Offline

#17 2012-03-14 12:04:23

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

Re: DOB in pi puzzle

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

#18 2012-03-15 04:36:19

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

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

Offline

#19 2012-03-15 04:49:48

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

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.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#20 2012-03-15 05:02:08

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

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

Offline

#21 2012-03-15 05:10:39

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

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.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#22 2012-03-15 05:19:04

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

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-15 05: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

Offline

#23 2012-03-15 05:27:02

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

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.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#24 2012-03-15 05:31:15

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

Re: DOB in pi puzzle

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.


"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

#25 2012-03-15 05:33:02

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

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.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

Board footer

Powered by FluxBB