cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-2 of 2 results.

A031139 Number of letters in English words for months of year.

Original entry on oeis.org

7, 8, 5, 5, 3, 4, 4, 6, 9, 7, 8, 8, 7, 8, 5, 5, 3, 4, 4, 6, 9, 7, 8, 8, 7, 8, 5, 5, 3, 4, 4, 6, 9, 7, 8, 8, 7, 8, 5, 5, 3, 4, 4, 6, 9, 7, 8, 8, 7, 8, 5, 5, 3, 4, 4, 6, 9, 7, 8, 8, 7, 8, 5, 5, 3, 4, 4, 6, 9, 7, 8, 8, 7, 8, 5, 5, 3, 4, 4, 6, 9, 7, 8, 8
Offset: 1

Views

Author

Dmitri Papichev (Dmitri.Papichev(AT)iname.com)

Keywords

Comments

Period 12: repeat [7, 8, 5, 5, 3, 4, 4, 6, 9, 7, 8, 8].
According to the definition this should strictly speaking be finite: there is no 13th month of the year. But for several reasons we prefer to see this as an infinite periodic sequence. - M. F. Hasler, Mar 05 2018

Examples

			a(1) = 7 because January has 7 letters.
		

References

  • GCHQ, The GCHQ Puzzle Book, Penguin, 2016. See page 60.

Crossrefs

Programs

  • Mathematica
    PadRight[{}, 72, {7, 8, 5, 5, 3, 4, 4, 6, 9, 7, 8, 8}] (* or *)
    Array[StringLength@ DateString[DateObject[{0, Mod[#, 12] + 1, 1, 0, 0, 0}, "Month"], {"MonthName"}] &, 72, 0] (* Michael De Vlieger, Feb 25 2018 *)
  • PARI
    A031139(n)=digits(879644355878)[12-n%12] \\ M. F. Hasler, Mar 05 2018

Formula

From Elmo R. Oliveira, Jul 18 2024: (Start)
G.f.: x*(7 + 8*x + 5*x^2 + 5*x^3 + 3*x^4 + 4*x^5 + 4*x^6 + 6*x^7 + 9*x^8 + 7*x^9 + 8*x^10 + 8*x^11)/(1 - x^12).
a(n) = a(n-12) for n > 12. (End)

A161376 Number of letters in Spanish words for months of the year.

Original entry on oeis.org

5, 7, 5, 5, 4, 5, 5, 6, 10, 7, 9, 9, 5, 7, 5, 5, 4, 5, 5, 6, 10, 7, 9, 9, 5, 7, 5, 5, 4, 5, 5, 6, 10, 7, 9, 9, 5, 7, 5, 5, 4, 5, 5, 6, 10, 7, 9, 9, 5, 7, 5, 5, 4, 5, 5, 6, 10, 7, 9, 9, 5, 7, 5, 5, 4, 5, 5, 6, 10, 7, 9, 9, 5, 7, 5, 5, 4, 5, 5, 6, 10, 7, 9, 9
Offset: 1

Views

Author

Claudio Meller, Jun 08 2009

Keywords

Comments

Enero = 5 letters; Febrero = 7; Marzo = 5; Abril = 5; Mayo = 4; Junio = 5; Julio = 5; Agosto = 6; Septiembre = 10; Octubre = 7; Noviembre = 9; Diciembre = 9.
Period 12: repeat [5, 7, 5, 5, 4, 5, 5, 6, 10, 7, 9, 9].

Crossrefs

Formula

From Elmo R. Oliveira, Jul 18 2024: (Start)
G.f.: x*(5 + 7*x + 5*x^2 + 5*x^3 + 4*x^4 + 5*x^5 + 5*x^6 + 6*x^7 + 10*x^8 + 7*x^9 + 9*x^10 + 9*x^11)/(1 - x^12).
a(n) = a(n-12) for n > 12. (End)

Extensions

a(37)-a(84) from Elmo R. Oliveira, Jul 18 2024
Showing 1-2 of 2 results.