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.

A269359 Self-inverse permutation of natural numbers: a(1)=1, a(A269360(n)) = A250469(1+a(n)), a(A250469(1+n)) = A269360(a(n)).

Original entry on oeis.org

1, 3, 2, 9, 6, 5, 26, 11, 4, 27, 8, 65, 66, 25, 16, 15, 120, 71, 36, 169, 76, 33, 74, 41, 14, 7, 10, 81, 86, 185, 206, 215, 22, 195, 50, 19, 330, 515, 196, 75, 24, 337, 186, 49, 46, 45, 348, 247, 44, 35, 358, 213, 116, 353, 290, 143, 106, 507, 536, 295, 1266, 1345, 226, 99, 12, 13, 512, 2321, 220, 123, 18, 1285, 306, 23, 40, 21
Offset: 1

Views

Author

Antti Karttunen, Mar 13 2016

Keywords

Crossrefs

Similar or related permutations: A244319, A269863, A269864, A269865, A269866, A269867.

Formula

a(1) = 1, after which for even n, a(n) = A250469(1+a(A268674(n-1))), for odd n, a(n) = A269360(a(A268674(n)-1)).
The declarative form can be expressed in terms of A250469 only:
a(1)=1, a(1+A250469(n)) = A250469(1+a(n)), a(A250469(1+n)) = 1+A250469(a(n)).