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.

A214095 Position of integer n in the list of first n natural numbers written out in French and arranged in alphabetical order.

Original entry on oeis.org

1, 1, 2, 2, 1, 4, 4, 3, 4, 3, 6, 4, 11, 8, 10, 11, 4, 4, 5, 20, 21, 21, 23
Offset: 1

Views

Author

Luc Comeau-Montasse, Jul 03 2012

Keywords

Examples

			We have a(14) = 8 because of the ordered list: cinq, deux, dix, douze, huit, neuf, onze, quatorze, quatre, sept, six, treize, trois, un.
		

Crossrefs

CF. A108017 (in English).

Programs

  • PARI
    lista() = {my(v = ["un", "deux", "trois", "quatre", "cinq", "six", "sept", "huit", "neuf", "dix", "onze", "douze", "treize", "quatorze", "quinze", "seize", "dix-sept", "dix-huit", "dix-neuf", "vingt"], vs); for (i=1, #v, vp = vector(i, k, v[k]); vs = vecsort(vp); for (k=1, #vp, if (vs[k] == v[i], print1(k, ", "); break);););} \\ Michel Marcus, Jan 03 2019