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.

Previous Showing 11-12 of 12 results.

A277695 Permutation of natural numbers: a(1) = 1; for n > 1, if A277815(n) = 0, a(n) = 2*a(A277814(n)-1), otherwise a(n) = 1 + 2*a(A277815(n)).

Original entry on oeis.org

1, 2, 4, 8, 3, 16, 6, 32, 12, 5, 13, 64, 7, 24, 10, 26, 128, 14, 27, 17, 25, 49, 48, 20, 257, 11, 21, 52, 15, 256, 28, 54, 34, 50, 55, 98, 515, 99, 9, 65, 31, 29, 97, 105, 51, 96, 40, 514, 22, 101, 43, 35, 1031, 513, 81, 42, 69, 23, 57, 104, 63, 30, 512, 56, 108, 68, 111, 100, 139, 199, 163, 110, 196, 203, 19, 211, 2063, 33, 195, 53, 1030, 47
Offset: 1

Views

Author

Antti Karttunen, Nov 06 2016

Keywords

Crossrefs

Formula

a(1) = 1; for n > 1, if A277815(n) = 0 [when n is in A277817], a(n) = 2*a(A277814(n)-1), otherwise a(n) = 1 + 2*a(A277815(n)).
a(1) = 1, a(A277817(1+n)) = 2*a(n), a(A277816(n)) = 1 + 2*a(n). [Implicit form.]

A277711 a(n) = position of the first occurrence of n in A264977.

Original entry on oeis.org

0, 1, 2, 3, 4, 9, 6, 7, 8, 81, 18, 23, 12, 17, 14, 15, 16, 153, 162, 47, 36, 49, 46, 87, 24, 73, 34, 159, 28, 33, 30, 31, 32, 177, 306, 95, 324, 97, 94, 303, 72, 137, 98, 111, 92, 297, 174, 175, 48, 145, 146, 135, 68, 1257, 318, 295, 56, 321, 66, 143, 60, 65, 62, 63, 64, 273, 354, 191, 612, 193, 190, 1119, 648, 265, 194, 1335, 188, 1233, 606
Offset: 0

Views

Author

Antti Karttunen, Oct 29 2016

Keywords

Crossrefs

Cf. A264977.
Leftmost column of A277710.
Fixed points: A023758.

Programs

  • Scheme
    (define (A277711 n) (let loop ((k 0)) (if (= (A264977 k) n) k (loop (+ 1 k))))) ;; Very crude.
Previous Showing 11-12 of 12 results.