OFFSET
1,1
COMMENTS
For February, the number of days will be 28 only, as the year cannot be a leap year if DDMMYY is to be a prime number.
The sequence is finite, with 3111 terms. The largest term is a(3111)=311299.
LINKS
Shyam Sunder Gupta, Table of n, a(n) for n = 1..3111
EXAMPLE
a(1)=10103 is prime and represents a date in DDMMYY format as 010103.
MATHEMATICA
t = {}; Do[If[m < 8, If[OddQ[m], b = 31, If[m == 2, b = 28, b = 30]], If[OddQ[m], b = 30, b = 31]]; Do[a = 100 m + y + 10000 d; If[PrimeQ[a], AppendTo[t, a]], {d, 1, b}], {m, 1, 12}, {y, 1, 99}]; Union[t]
CROSSREFS
KEYWORD
nonn,base,fini,full,less
AUTHOR
Shyam Sunder Gupta, Sep 22 2013
STATUS
approved