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.

A055173 n-th distinct number to appear in A055171; also the n-th to appear in A055187.

Original entry on oeis.org

1, 3, 4, 6, 2, 8, 11, 5, 13, 16, 10, 7, 18, 12, 9, 22, 14, 25, 28, 21, 15, 19, 30, 24, 35, 27, 20, 38, 29, 17, 42, 34, 23, 31, 45, 36, 50, 41, 39, 52, 44, 26, 56, 49, 37, 47, 59, 33, 64, 54, 55, 32, 66, 57, 48, 40, 60, 71, 61, 62, 46, 77, 63
Offset: 1

Views

Author

Clark Kimberling, Apr 27 2000

Keywords

Comments

Conjecture: this sequence is a permutation of the positive integers.

A055186 Cumulative counting sequence: method A (adjective-before-noun)-pairs with first term 0.

Original entry on oeis.org

0, 1, 0, 2, 0, 1, 1, 3, 0, 3, 1, 1, 2, 4, 0, 5, 1, 2, 2, 2, 3, 5, 0, 6, 1, 5, 2, 3, 3, 1, 4, 1, 5, 6, 0, 9, 1, 6, 2, 5, 3, 2, 4, 4, 5, 1, 6, 7, 0, 11, 1, 8, 2, 6, 3, 4, 4, 6, 5, 4, 6, 0, 7, 0, 8, 1, 9, 10, 0, 13, 1, 9, 2, 7, 3, 7, 4, 7, 5, 7, 6, 2, 7, 2, 8, 2, 9, 0, 10, 1, 11, 12, 0, 15, 1, 13, 2, 8, 3, 8, 4
Offset: 1

Views

Author

Clark Kimberling, Apr 27 2000

Keywords

Comments

Start with 0; at n-th step, write down what is in the sequence so far.
"Look and Say" how many times each integer (in increasing order), <= max {existing terms} appears in the sequence. Then concatenate. Sequence's graph looks roughly like that of A080096.
For the original version, where "increasing order..." is "order of 1st appearance", see A217760. The conjecture formerly placed here applies to A217760. - Clark Kimberling, Mar 24 2013

Examples

			Write 0, thus having 1 0, thus having 2 0's and 1 1, thus having 3 0's and 3 1's and 1 2, etc. 0; 1,0; 2,0,1,1; 3,0,3,1,1,2; ...
		

Crossrefs

Cf. A005150. For other versions see A051120, A079668, A079686.
Cf. A055168-A055185 (method B) and A055187-A055191 (method A).
Cf. A217760.

Programs

  • Mathematica
    s={0};Do[ta=Table[{Count[s, # ], # }&/@Range[0,Max[s]]]; s=Flatten[{s,ta}],{22}];s (* Zak Seidov, Oct 23 2009 *)

Formula

Conjectures: a(n) < 2*sqrt(n); limit as n goes to infinity Max( a(k) : 1<=k<=n)/sqrt(n) exist = 2. - Benoit Cloitre, Jan 28 2003

Extensions

Edited by N. J. A. Sloane, Jan 17 2009 at the suggestion of R. J. Mathar
Removed a conjecture. - Clark Kimberling, Oct 24 2009
Entries changed to match b-file. - N. J. A. Sloane, Oct 04 2010

A217780 Cumulative counting sequence: (adjective-before-noun) pairs with first term 1.

Original entry on oeis.org

1, 1, 1, 3, 1, 4, 1, 1, 3, 6, 1, 2, 3, 1, 4, 8, 1, 3, 3, 2, 4, 1, 6, 1, 2, 11, 1, 5, 3, 3, 4, 2, 6, 3, 2, 1, 8, 13, 1, 8, 3, 4, 4, 3, 6, 5, 2, 2, 8, 1, 11, 1, 5, 16, 1, 10, 3, 6, 4, 4, 6, 7, 2, 4, 8, 2, 11, 3, 5, 1, 13, 18, 1, 12, 3, 9, 4, 6, 6, 9, 2, 5, 8, 3, 11, 4, 5, 2, 13, 1, 16, 1, 10, 1, 7
Offset: 1

Views

Author

Clark Kimberling, Mar 25 2013

Keywords

Comments

After starting with 1, successive segments are generated in adjective-before-noun pairs as in A217760, not as in A055187. That is, noun-integers occur in order of 1st appearance, not increasing order.

Examples

			Writing pairs vertically, the initial segments are
1..1..3..4 1..6 2 1..8 3 2 1 1..11 5 3 2 3 1
...1..1..1 3..1 3 4..1 3 4 6 2...1 3 4 6 2 8.
The 5th segment is read "6 1's and 2 3's and 1 4," this being a count of all the previously written numbers.  The numbers 6,2,1 are used as adjectives, whereas 1,3,4 are used as nouns.  Here, the nouns are kept in order of first appearance; in A055187, they are in increasing order. - _Clark Kimberling_, Mar 25 2013
		

Crossrefs

Programs

  • Mathematica
    s = {1}; Do[s = Flatten[{s, {Count[s, #], #} & /@ DeleteDuplicates[s]}], {14}]; s (* Peter J. C. Moses, Mar 21 2013 *)

Extensions

More terms from Seiichi Manyama, Nov 10 2022

A358066 Inventory sequence: record where the 1's, 2's, etc. are located starting with a(1) = 1, a(2) = 1 (see example).

Original entry on oeis.org

1, 1, 1, 2, 1, 2, 3, 4, 1, 2, 3, 5, 4, 6, 7, 1, 2, 3, 5, 9, 4, 6, 10, 7, 11, 8, 13, 1, 2, 3, 5, 9, 16, 4, 6, 10, 17, 7, 11, 18, 8, 13, 21, 12, 19, 1, 2, 3, 5, 9, 16, 28, 4, 6, 10, 17, 29, 7, 11, 18, 30, 8, 13, 21, 34, 12, 19, 31, 14, 22, 35, 1, 2, 3, 5, 9, 16, 28, 46, 4, 6, 10, 17, 29, 47, 7, 11, 18, 30, 48
Offset: 1

Views

Author

Ctibor O. Zizka, Oct 29 2022

Keywords

Examples

			At stage n >= 1 we only look at the numbers 1 up to n, and ignore numbers bigger than n.
Stage 0: start with a(1) = 1, a(2) = 1.
Stage 1: we see 1's at 1,2, so we adjoin 1,2, getting 1,1, 1,2.
Stage 2: we see 1's at 1,2,3, and 2's at 4, so we adjoin 1,2,3,4, getting 1,1,1,2, 1,2,3,4.
Stage 3: we see 1's at 1,2,3,5, 2's at 4,6 and 3's at 7, so we adjoin 1,2,3,5,4,6,7, getting 1,1,1,2,1,2,3,4, 1,2,3,5,4,6,7.
Stage 4: we see 1's at 1,2,3,5,9, 2's at 4,6,10, 3's at 7,11, 4's at 8,13, so we adjoin 1,2, ..., 8,13 and so on.
We obtain an irregular triangle by writing the results of the stages as separate rows:
1, 1,
1, 2,
1, 2, 3, 4,
1, 2, 3, 5, 4, 6, 7,
1, 2, 3, 5, 9, 4, 6, 10, 7, 11, 8, 13,
1, 2, 3, 5, 9, 16, 4, 6, 10, 17, 7, 11, 18, 8, 13, 21, 12, 19,
1, 2, 3, 5, 9, 16, 28, 4, 6, 10, 17, 29, 7, 11, 18, 30, 8, 13, 21, 34, 12, 19, 31, 14, 22, 35,
... (_N. J. A. Sloane_, Nov 07 2022)
		

Crossrefs

See A357443 for another version.

Programs

  • Python
    terms = [1, 1]
    for i in range(1,11):
        new_terms = []
        for j in range(1, i+1):
            for k in range(len(terms)):
                if terms[k] == j: new_terms.append(k+1)
        terms.extend(new_terms)
    print(terms) # Gleb Ivanov, Nov 01 2022

A055172 Number of new numbers in n-th segment of A055171; see example line of A055171.

Original entry on oeis.org

1, 0, 1, 1, 2, 1, 2, 1, 3, 3, 2, 1, 4, 2, 3, 3, 4, 2, 3, 3, 4, 2, 4, 5, 4, 4, 3, 3, 2, 4, 4, 3, 4, 4, 3, 4, 6, 3
Offset: 1

Views

Author

Clark Kimberling, Apr 27 2000

Keywords

Comments

Also, the number of new numbers in n-th segment of A055187.
Showing 1-5 of 5 results.