login
A241763
Months (on the Gregorian Calendar), numbered sequentially starting with January 2000, that begin on a Sunday.
0
10, 16, 19, 33, 36, 42, 50, 56, 65, 73, 82, 88, 91, 102, 110, 111, 119, 128, 137, 145, 148, 151, 165, 168, 174, 182, 183, 191, 197, 205, 214, 220, 223, 237, 240, 243, 251, 260, 269, 277, 286, 297, 300, 306, 314, 315, 323, 332, 346, 352, 355, 369, 372, 378, 386
OFFSET
1,1
COMMENTS
Months of 2000 are 1-12; months of 2001 are 13-24; months of 2002 are 25-36; and so on.
EXAMPLE
36 is a term because December 2002 (the 36th month starting with January 2000) starts on Sunday.
PROG
(Java)
Calendar calendar = new GregorianCalendar(2000, 0, 1);
for (int i=0; i <=1000; i++) {
if (calendar.get(Calendar.DAY_OF_WEEK) == Calendar.SUNDAY)
System.out.printf("%d, ", i+1);
calendar.add(Calendar.MONTH, 1);
} /* Michel Marcus, May 03 2014 */
CROSSREFS
Sequence in context: A053747 A228491 A295667 * A233579 A291639 A004260
KEYWORD
nonn,less
AUTHOR
J. Lowell, Apr 28 2014
STATUS
approved