Showing posts with label DOB. Show all posts
Showing posts with label DOB. Show all posts

Thursday, 8 October 2026

When Dates and Days Align

I put this little problem to Gemini:

A person is born on April 3rd 1949. The day that he is born is reckoned as Day 0 and for every subsequent day 1 is added and this count becomes his diurnal age. Let the number associated with any date be determined as DDMYY where DD is the number associated with the month(1 to a maximum of 31), M is the month (from 1 to 9) and YY is the last two digits of the current year. Thus a date of 14th September 2026 would become 14926. Is there any date, using this system, where the diurnal age equals the date?

Here was its response:

September 23, 2014, is the sole date where the diurnal age mathematically equates to its DDMYY numerical representation. 

That is interesting and so, on the 23rd of September 2014, I was 23914 days old. I got Gemini to write a program that would accept any birthdate as input using this prompt:

Can you write a program in SageMath that will accept any birthdate as input and from there calculate if there is a date where the diurnal age equals the date number using DDMYY format. Let’s realistically limit the person’s possible age to less than 100.  

Here is a permalink to the program and the result for the following birthdate:

  • 23rd August 1964:
    Match found: 05 February 1979 | Diurnal Age / Date Number: 5279
However, I realised that I could be less restrictive with the date format and modified the prompt as follows:
I’d like to modify the program so the acceptable date format can be DMMYY, DDMYY or DMYY. This ensures that the resultant number derived from the date is always less than six digits. Everything else remains the same.

Here is a permalink to the modified program which produces the same results for the two dates examined above. Here are some additional dates:

  • 23rd November 1980:
    Match found: 06 July 1999 | Diurnal Age: 6799 | Date Format: 6799
    Match found: 16 January 2025 | Diurnal Age: 16125 | Date Format: 16125

  • 6th October 2002:
    Match found: 10 September 2032 | Diurnal Age: 10932 | Date Format: 10932

So just a little curiosity. Not all birthdates yield a result within the span of 100 years. You could ask the person born on the 6th October 2002: h
ow many days old will you be on the 10th September 2032? Don't know? Here's a way to find out:
  • 10th \( \rightarrow\) 10
  • September \( \rightarrow\) 9
  • 2032 \( \rightarrow\)  32
  • Concatenation \( \rightarrow\) 10932 \( \rightarrow\) your diurnal age!

Friday, 18 October 2024

An Interesting Prime

Being born on the 3rd April 1949, my date of birth is often represented as 3 - 4 - 49. These numbers when concatenated form the prime number 3449. I was reminded of this number because of the factorisation of the number associated with my diurnal age today, 27592.$$27592 = 2^3 \times 3449 = 8 \times 3449$$So today my life can be divided into exactly eight equal parts, each of them 3449 days long which is about 9.44 years. The previous multiple$$7 \times 3449 = 24143$$occurred on May 10th 2015 when I was still working at the Shanghai Singapore International School. The next multiple$$9 \times 3449 = 31041$$ will fall on March 29th 2034, shortly before my 84th birthday (if I make it that far).

3449 forms the initial prime of a Cunningham chain of the first type with length exactly 3 and so: $$ 3449 \rightarrow 2 \times 3449 + 1 = 6889 \text{ (prime)} \\ 6889 \rightarrow 2 \times 6889 +1 = 13799 \text{ (prime)}$$Primes with this property form OEIS A059762. Another prime-related property of 3449 qualifies it for membership in OEIS A088483:


A088483
: primes \( \textit{p} \) such that \(p^2+p-1\) and \(p^2+p+1\) are twin primes.

For 3449, the twin primes are \(11899049\) and \(11899051\). 

3449 is also a home prime with a homeliness of 3 because:$$ \begin{align} 611 &= 13 \times 47 \rightarrow 1347\\ 1347 &= 3 \times 449 \rightarrow 3449 \end{align}$$Not all primes are home primes of course. Take 613 as an example of a prime that is not a home prime because it cannot be formed by the concatenation of the prime factors of any number (the prime factors need to be concatenated in ascending order).

3449 is also a member of OEIS A153116:


A153116
: primes \(p\) such that \(p^2 +12\) and \(p^2-12\) are also primes.

Here the two primes are \(11895589\) and \(11895613\). Additionally:$$ \text{period of}\frac{1}{3449}=\frac{3449-1}{8} = 431$$This property qualifies 3449 for membership of OEIS A056213:


A056213: primes \(p\) for which the period of reciprocal = \(\dfrac{p-1}{8}\).

3449 is a Sophie Germain prime because:$$2 \times 3449+1=6899 \text{ is prime}$$3449 also features in so-called "Golden Semiprimes" and this qualifies it for membership in OEIS A108544:


A108544
: primes that are factors of distinct golden semiprimes (A108540).


I posted about these types of semiprimes in Semiprime Factor Ratios way back on the 26th August 2016. In that post I said that:

A golden semiprime is a number that factors to:
  • \(p \times q\) where \(p\) and \(q\) are prime
  • \( | \,p \, \phi - q \,| <1\) where \(\phi=\dfrac{\sqrt{5}+1}{2} \)
In the case of 3449, it is the \(q\) and \(p=2131\) and the golden semiprime is:$$7349819=2131 \times 3449$$The OEIS mentions 314 sequences in which 3449 makes an appearance and I've only dealt with a few of them here. However, I see 3449 as an important number in my life and didn't want its current occurrence to pass unnoticed.