login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A008684 Dates of successive days in Gregorian calendar. 2
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Starting with January and assuming not a leap year. - Harvey P. Dale, Sep 24 2012
LINKS
MATHEMATICA
Needs["Calendar`"]; Transpose[Table[DaysPlus[{2014, 1, 1}, n], {n, 0, 364}]][[3]] (* Harvey P. Dale, Apr 26 2014 *)
DateRange[{2021, 1, 1}, {2021, 12, 31}][[All, 3]] (* Harvey P. Dale, Mar 03 2022 *)
PROG
(Haskell)
a008684 n = a008684_list !! (n-1)
a008684_list = concatMap (enumFromTo 1)
[31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]
-- Reinhard Zumkeller, Jun 23 2013
CROSSREFS
Sequence in context: A369062 A158377 A167975 * A188462 A352530 A058321
KEYWORD
nonn,nice,fini,full
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 03:15 EDT 2024. Contains 371964 sequences. (Running on oeis4.)