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.

User: Alex Lauber

Alex Lauber's wiki page.

Alex Lauber has authored 2 sequences.

A337064 a(n) is the index of the first occurrence of n in A337063, or -1 if n never appears.

Original entry on oeis.org

0, 3, 5, 2, 16, 20, 30, 40, 9, 23, 90, 57, 110, 29, 36, 12, 220, 33, 342, 230, 163, 179, 494, 19, 15, 109, 128, 88, 694, 82, 744, 43, 125, 219, 169, 72, 1060, 373, 253, 85, 1205, 113, 1346, 151, 207, 564, 1726, 131, 75, 332
Offset: 1

Author

Alex Lauber, Aug 13 2020

Keywords

Comments

419 is the lowest number that does not appear in the first 100000 terms of A337063.

Examples

			A337063 starts {1, 1, 4, 2, ...} so a(2) = 3.
		

Crossrefs

Cf. A337063, A316774 (adds the two previous terms), A316973 (similar index for the addition sequence).

Programs

  • PARI
    See Links section.

A337063 a(n) = 1 for n < 2; a(n) = freq(a(n-1),n) * freq(a(n-2),n) for n >= 2, where freq(i,j) is the number of times i appears in [a(0),a(1),...,a(j-1)].

Original entry on oeis.org

1, 1, 4, 2, 1, 3, 3, 4, 4, 9, 3, 3, 16, 4, 4, 25, 5, 1, 4, 24, 6, 1, 5, 10, 2, 2, 9, 6, 4, 14, 7, 1, 6, 18, 3, 5, 15, 3, 6, 24, 8, 2, 4, 32, 8, 2, 10, 10, 9, 9, 16, 8, 6, 15, 10, 8, 16, 12, 3, 7, 14, 4, 18, 18, 9, 15, 15, 16, 16, 25, 10, 10, 36, 6, 6, 49, 7, 3
Offset: 0

Author

Alex Lauber, Aug 13 2020

Keywords

Comments

Does this sequence contain every number?
Does each number appear only a finite number of times?
Starting with a(0)=0 and a(1)=1 gives the same sequence offset by one place.

Examples

			a(2) = occurrences of a(1)=1 in [a(0), a(1)]=[1, 1] * occurrences of a(0)=1 in [a(0), a(1)]=[1, 1] = 2*2 = 4.
a(3) = occurrences of a(2)=4 in [a(0), a(1), a(2)]=[1, 1, 4] * occurrences of a(1)=1 in [a(0), a(1), a(2)]=[1, 1, 4] = 1*2 = 2.
		

Crossrefs

Cf. A337064 (index of first occurrence of n).
Cf. A316774 (which adds the two previous terms), A316973.

Programs

  • PARI
    See Links section.

Extensions

More terms from Rémy Sigrist, Sep 18 2020