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.

A244322 Permutation of natural numbers: a(1)=1, a(2n) = A244991(a(n)), a(2n+1) = A244990(1+a(n)).

This page as a plain text file.
%I A244322 #11 Jul 23 2014 10:20:33
%S A244322 1,2,3,4,6,5,7,8,9,11,13,10,12,15,14,16,18,17,19,22,24,25,27,20,21,23,
%T A244322 26,31,29,30,28,32,35,34,37,33,36,40,38,45,43,47,49,50,52,55,54,41,39,
%U A244322 44,42,46,48,51,53,64,61,60,57,62,58,59,56,66,63,69,71,68,70,75
%N A244322 Permutation of natural numbers: a(1)=1, a(2n) = A244991(a(n)), a(2n+1) = A244990(1+a(n)).
%H A244322 Antti Karttunen, <a href="/A244322/b244322.txt">Table of n, a(n) for n = 1..10001</a>
%H A244322 <a href="/index/Per#IntegerPermutation">Index entries for sequences that are permutations of the natural numbers</a>
%F A244322 a(1)=1, a(2n) = A244991(a(n)), a(2n+1) = A244990(1+a(n)).
%F A244322 For all n >= 1, A244992(a(n)) = 1 - A000035(n).
%o A244322 (Scheme, with memoization macro definec)
%o A244322 (definec (A244322 n) (cond ((= 1 n) 1) ((even? n) (A244991 (A244322 (/ n 2)))) (else (A244990 (+ 1 (A244322 (/ (- n 1) 2)))))))
%Y A244322 Inverse: A244321.
%Y A244322 Cf. A244990, A244991, A244992.
%Y A244322 Similar entanglement permutations: A227413, A237126, A243288, A243344, A243346.
%K A244322 nonn
%O A244322 1,2
%A A244322 _Antti Karttunen_, Jul 22 2014