From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: * X-Spam-Status: No, score=1.4 required=5.0 tests=BAYES_50,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7be1,be6b7e036aa9236c X-Google-Attributes: gidf7be1,public X-Google-Thread: 11390f,be6b7e036aa9236c X-Google-Attributes: gid11390f,public X-Google-Thread: 1094ba,be6b7e036aa9236c X-Google-Attributes: gid1094ba,public X-Google-Thread: fa0ae,be6b7e036aa9236c X-Google-Attributes: gidfa0ae,public X-Google-Thread: 103376,be6b7e036aa9236c X-Google-Attributes: gid103376,public X-Google-Thread: 1014db,be6b7e036aa9236c X-Google-Attributes: gid1014db,public X-Google-Thread: 1164ba,be6b7e036aa9236c X-Google-Attributes: gid1164ba,public X-Google-Thread: 101deb,be6b7e036aa9236c X-Google-Attributes: gid101deb,public From: ken@coho.halcyon.com (Ken Pizzini) Subject: Re: Friday 13th, try it yourself (was Language Wars..) Date: 1996/09/25 Message-ID: <52bmft$f3l@news1.halcyon.com>#1/1 X-Deja-AN: 185280647 distribution: inet references: <51bv60$8d@pheidippides.axion.bt.co.uk> <3242D1EB.3F54@ford.com> organization: What, me? newsgroups: comp.lang.ada,comp.lang.apl,comp.lang.basic,comp.lang.c,comp.lang.fortran,comp.lang.perl.misc,comp.lang.pl1,comp.lang.rexx,comp.lang.pascal.misc,comp.lang.smalltalk Date: 1996-09-25T00:00:00+00:00 List-Id: In article , Russell Mosemann wrote: > I decided to write a script of my own for Solaris 2.4 and perl >5.003 which calls cal for 1066 to 1996 and rips out the Fridays. The >following is the number of times a particular day of the month falls >on a Friday. The results are pretty evenly distributed, i.e. it is an >Urban Legend. Try again, avoiding years befor 1752. The cal program on Solaris uses the Julian calender for years before 1752, the Gregorian calendar for years after, and the calendar that England and her colonies used for 1752 itself. Under the Julian calendar the 13th of a month will be equidistributed among each of the days of the week, but under the Gregorian calendar you will find that some days fall on the 13th more frequently than others over a 400 year cycle. (Note that any pair of dates on the Gregorian calendar that are exactly 400 years apart will fall on the same day of the week.) --Ken Pizzini