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.

A293248 Let S be the sequence of rational numbers generated by these rules: 1 is in S, and if u/v is in S (with gcd(u, v) = 1), then (u+1)/v and u/(v+1) are in S, and duplicates are deleted as they occur; a(n) = the denominator of the n-th term of S.

Original entry on oeis.org

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

Views

Author

Rémy Sigrist, Oct 03 2017

Keywords

Comments

See A293247 for the corresponding numerators, and additional comments.

Examples

			S(1) = 1 by definition; so a(1) = 1.
(1+1)/1 = 2 has not yet occurred; so S(2) = 2 and a(2) = 1.
1/(1+1) = 1/2 has not yet occurred; so S(3) = 1/2 and a(3) = 2.
(2+1)/1 = 3 has not yet occurred; so S(4) = 3 and a(4) = 1.
2/(1+1) = 1 has already occurred.
		

Crossrefs

Cf. A293247.

Programs

  • PARI
    See Links section.