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.

A005224 T is the first, fourth, eleventh, ... letter in this sentence, not counting spaces or commas (Aronson's sequence).

Original entry on oeis.org

1, 4, 11, 16, 24, 29, 33, 35, 39, 45, 47, 51, 56, 58, 62, 64, 69, 73, 78, 80, 84, 89, 94, 99, 104, 111, 116, 122, 126, 131, 136, 142, 147, 158, 164, 169, 174, 181, 183, 193, 199, 205, 208, 214, 220, 226, 231, 237, 243, 249, 254, 270, 288, 303, 307, 319, 323, 341
Offset: 1

Views

Author

Keywords

Comments

a(10^9) = 11281384554. - Hans Havermann, Apr 21 2017
First differences start: 3, 7, 5, 8, 5, 4, 2, 4, 6, 2, 4, 5, 2, 4, 2, 5, 4, 5, 2, 4, 5, 5, 5, 5, 7, 5, 6, 4, 5, 5, 6, 5, 11, 6, 5, 5, 7, 2, 10, 6, ... - Daniel Forgues, Sep 11 2019
Named after the British clinical pharmacologist Jeffrey Kenneth Aronson (b. 1947). - Amiram Eldar, Jun 23 2021

Examples

			The sentence begins
1234567890 1234567890 1234567890 1234567890 1234567890
Tisthefirs tfourthele venthsixte enthtwenty fourthtwen
tyninththi rtythirdth irtyfiftht hirtyninth fortyfifth
fortyseven thfiftyfir stfiftysix thfiftyeig hthsixtyse
condsixtyf ourthsixty ninthseven tythirdsev entyeighth
eightiethe ightyfourt heightynin thninetyfo urthninety
ninthonehu ndredfourt honehundre deleventho nehundreds
ixteenthon ehundredtw entysecond onehundred twentysixt
honehundre dthirtyfir stonehundr edthirtysi xthonehund
redfortyse cond...
		

References

  • J. K. Aronson, quoted by D. R. Hofstadter in Metamagical Themas, Basic Books, NY, 1985, p. 44.
  • James Gleick, Faster, Vintage Books, NY, 2000 (see pp. 259-261).
  • N. J. A. Sloane, Seven Staggering Sequences, in Homage to a Pied Puzzler, E. Pegg Jr., A. H. Schoen and T. Rodgers (editors), A. K. Peters, Wellesley, MA, 2009, pp. 93-110.
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

Programs

  • Mathematica
    seed="tisthe"; s[1]=1;s[2]=4;
    name[n_]:=StringReplace[IntegerName[n,{"English","Ordinal"}],{"-"->""," "->""}];
    s[n_]:=seed=StringJoin[seed<>name[StringPosition[seed,"t"][[n-2,1]]]];
    l=s/@Range[58]; Table[StringPosition[Last[l],"t"][[i,1]],{i,1,Length[l]}] (* Ivan N. Ianakiev, Mar 25 2020 *)
  • Python
    from num2words import num2words
    from itertools import islice
    def n2w(n):
        os = num2words(n, ordinal=True).replace(" and", "")
        return os.replace(" ", "").replace("-", "").replace(chr(44), "")
    def agen(): # generator of terms
        s, idx = "tisthe", 0
        while True:
            idx_rel = 1 + s.index("t")
            idx += idx_rel
            yield idx
            s = s[idx_rel:] + n2w(idx)
    print(list(islice(agen(), 58))) # Michael S. Branicky, Mar 18 2022

Extensions

Corrected and extended by Larry Reeves (larryr(AT)acm.org), Oct 31 2000

A096828 Numbers that must appear in any variation of A097390.

Original entry on oeis.org

3, 4, 5, 6, 7, 8, 9, 14, 15, 18, 19, 20, 21, 22, 23, 24, 25
Offset: 1

Views

Author

Matthew Vandermast, Aug 13 2004

Keywords

Comments

These are also the numbers that must appear an infinite number of times in any A097390-like sequence (in English). For the numbers that can possibly appear infinitely often in such a sequence, see A096829.
Also, numbers that appear in A097395.

Examples

			The number 1, not listed here, also appears in A097390, since the sentence on which A097390 is based ("This sentence contains the twentieth, eighth, ninth ... letters of the English alphabet, in order.") includes the word "contains," which includes "a," the first letter of the English alphabet. But this need not have been the case. Had the sentence begun: "This sentence is composed of ...", for example, 1 would not have been a member of the resulting sequence.
		

Crossrefs

A096829 Numbers that can appear an infinite number of times in a variation of A097390.

Original entry on oeis.org

3, 4, 5, 6, 7, 8, 9, 12, 14, 15, 18, 19, 20, 21, 22, 23, 24, 25
Offset: 1

Views

Author

Matthew Vandermast, Aug 13 2004

Keywords

Examples

			The number 12 appears infinitely often in any sequence based on a variation of the A097390 sentence ("This sentence contains the twentieth, eighth, ninth ... letters of the English alphabet, in order") that contains a "k" or "l" in the prologue (e.g. "This sentence, amazingly, contains the twentieth, eighth, ninth ..."). Otherwise, it does not appear at all. The other members of the sequence must appear infinitely often in any sequence based on any English variation of A097390 that generates an infinite string of ordinal number-words (cf. A096828).
		

Crossrefs

A097389 Numbers that appear in A097390.

Original entry on oeis.org

1, 3, 4, 5, 6, 7, 8, 9, 14, 15, 18, 19, 20, 21, 22, 23, 24, 25
Offset: 1

Views

Author

Matthew Vandermast, Aug 13 2004

Keywords

Comments

All numbers listed appear an infinite number of times except 1, which appears once.

Crossrefs

A097390 Values of ordinal numbers in the following true sentence: "This sentence contains the twentieth, eighth, ninth, nineteenth ... letters of the English alphabet, in order.".

Original entry on oeis.org

20, 8, 9, 19, 19, 5, 14, 20, 5, 14, 3, 5, 3, 15, 14, 20, 1, 9, 14, 19, 20, 8, 5, 20, 23, 5, 14, 20, 9, 5, 20, 8, 5, 9, 7, 8, 20, 8, 14, 9, 14, 20, 8, 14, 9, 14, 5, 20, 5, 5, 14, 20, 8, 14, 9, 14, 5, 20, 5, 5, 14, 20, 8, 6, 9, 6, 20, 8, 6, 15, 21, 18, 20, 5, 5, 14, 20, 8, 20, 23, 5, 14, 20, 9
Offset: 1

Views

Author

Matthew Vandermast, Aug 13 2004

Keywords

Crossrefs

See A097395 for a more basic version of this sequence.
Showing 1-5 of 5 results.