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-5 of 5 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)

A182495 Number of letters in Turkish words for months of year.

Original entry on oeis.org

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

Views

Author

Hasan Yurtoglu, May 02 2012

Keywords

Comments

Period 12: repeat [4, 5, 4, 5, 5, 7, 6, 7, 5, 4, 5, 6].
In Turkish, the months are "Ocak", "Subat", "Mart", "Nisan", "Mayis", "Haziran", "Temmuz", "Agustos", "Eylul", "Ekim", "Kasim", "Aralik" beginning from January.

Examples

			a(1) = 4 since January in Turkish is "Ocak" which has four letters.
		

Crossrefs

Formula

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

A209924 Concatenation of the months' names spelled in English, with 1=A, 2=B,..., 26=Z.

Original entry on oeis.org

10, 1, 14, 21, 1, 18, 25, 6, 5, 2, 18, 21, 1, 18, 25, 13, 1, 18, 3, 8, 1, 16, 18, 9, 12, 13, 1, 25, 10, 21, 14, 5, 10, 21, 12, 25, 1, 21, 7, 21, 19, 20, 19, 5, 16, 20, 5, 13, 2, 5, 18, 15, 3, 20, 15, 2, 5, 18, 14, 15, 22, 5, 13, 2, 5, 18, 4, 5, 3, 5, 13, 2, 5, 18
Offset: 1

Views

Author

M. F. Hasler, Mar 15 2012

Keywords

Crossrefs

Cf. A209926 (same for French), A209927 (same for German).

Programs

  • Mathematica
    LetterNumber/@Table[DateString[{2024,m,1},"MonthName"],{m,12}]//Flatten (* Harvey P. Dale, Jul 28 2024 *)
  • PARI
    Vec( Vecsmall( "JanuaryFebruaryMarchAprilMayJuneJulyAugustSeptemberOctoberNovemberDecember" ))%32

A209925 ASCII encoded concatenation of the months' names, spelled in English.

Original entry on oeis.org

74, 97, 110, 117, 97, 114, 121, 70, 101, 98, 114, 117, 97, 114, 121, 77, 97, 114, 99, 104, 65, 112, 114, 105, 108, 77, 97, 121, 74, 117, 110, 101, 74, 117, 108, 121, 65, 117, 103, 117, 115, 116, 83, 101, 112, 116, 101, 109, 98, 101, 114, 79, 99, 116, 111, 98, 101, 114, 78, 111, 118, 101, 109, 98, 101, 114, 68, 101, 99, 101, 109, 98, 101, 114
Offset: 1

Views

Author

M. F. Hasler, Mar 15 2012

Keywords

Crossrefs

Programs

  • PARI
    Vecsmall("JanuaryFebruaryMarchAprilMayJuneJulyAugustSeptemberOctoberNovemberDecember")

Formula

A209924 = A209925 (mod 32).

A209926 Concatenation of the months' names, spelled in French, with 'a'=1, ..., 'z'=26 (ignoring accents).

Original entry on oeis.org

10, 1, 14, 22, 9, 5, 18, 6, 5, 22, 18, 9, 5, 18, 13, 1, 18, 19, 1, 22, 18, 9, 12, 13, 1, 9, 10, 21, 9, 14, 10, 21, 9, 12, 12, 5, 20, 1, 15, 21, 20, 19, 5, 16, 20, 5, 13, 2, 18, 5, 15, 3, 20, 15, 2, 18, 5, 14, 15, 22, 5, 13, 2, 18, 5, 4, 5, 3, 5, 13, 2, 18, 5
Offset: 1

Views

Author

M. F. Hasler, Mar 15 2012

Keywords

Crossrefs

Cf. A209924 (same for English), A209927 (same for German).

Programs

  • PARI
    Vec( Vecsmall( "janvierfevriermarsavrilmaijuinjuilletaoutseptembreoctobrenovembredecembre" ))%32
Showing 1-5 of 5 results.