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-1 of 1 results.

A355213 Inverse permutation to A355212.

Original entry on oeis.org

1, 2, 4, 6, 8, 3, 10, 12, 14, 7, 16, 5, 18, 11, 20, 22, 24, 13, 26, 21, 28, 30, 32, 29, 34, 36, 38, 40, 42, 35, 44, 46, 15, 23, 9, 37, 48, 50, 19, 51, 53, 39, 55, 57, 59, 31, 61, 58, 63, 65, 67, 69, 71, 66, 73, 64, 27, 41, 75, 68, 77, 45, 79, 81, 83, 80, 85
Offset: 1

Views

Author

Rémy Sigrist, Jun 24 2022

Keywords

Comments

Equivalently: lexicographically earliest sequence of distinct positive integers such that a(1) = 1, and for any m, n > 1, if abs(a(n) - a(m)) = 1, then gcd(m, n) > 1.

Examples

			A355212(39) = 42 so a(42) = 39.
		

Crossrefs

Cf. A355212.

Programs

  • PARI
    See Links section.
Showing 1-1 of 1 results.