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!)
A190651 Years with exactly one "Friday the 13th", starting from 1901. 4
1902, 1904, 1909, 1910, 1913, 1915, 1916, 1919, 1921, 1924, 1926, 1927, 1930, 1932, 1937, 1938, 1941, 1943, 1944, 1947, 1949, 1952, 1954, 1955, 1958, 1960, 1965, 1966, 1969, 1971, 1972, 1975, 1977, 1980, 1982, 1983, 1986, 1988, 1993, 1994, 1997, 1999, 2000 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
Eric Weisstein's World of Mathematics, Triskaidekaphobia
FORMULA
A101312(a(n)) = 1, 1 <= A101312(n) <= 3.
EXAMPLE
1902 is a term, since only Jun 13 1902 fell on a Friday.
MATHEMATICA
Select[Range[1901, 2001], Count[Table[DayName@{#, m, 13}, {m, 12}], Friday]==1&] (* Giorgos Kalogeropoulos, Sep 12 2021 *)
PROG
(Haskell)
a190651 n = a190651_list !! (n-1)
a190651_list = filter ((== 1) . a101312) [1901..]
(Python)
from datetime import date
def ok(n): return sum(date.isoweekday(date(n, m, 13)) == 5 for m in range(1, 13)) == 1
print(list(filter(ok, range(1901, 2001)))) # Michael S. Branicky, Sep 12 2021
CROSSREFS
Sequence in context: A190652 A177137 A273913 * A237787 A190653 A124628
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, May 16 2011
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 27 13:50 EDT 2024. Contains 372019 sequences. (Running on oeis4.)