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.

A252758 Permutation of natural numbers: a(1) = 1, a(2n) = A251726(a(n)), a(2n+1) = A251727(a(n)).

This page as a plain text file.
%I A252758 #6 Jan 02 2015 22:17:52
%S A252758 1,2,10,3,14,12,38,4,20,17,44,15,40,61,92,5,22,25,57,21,51,72,102,18,
%T A252758 46,64,94,108,132,191,182,6,26,29,60,35,68,101,124,27,58,85,116,135,
%U A252758 152,221,198,23,52,75,106,115,138,193,184,239,206,311,242,499,333,467,318,7,28,36,69,43,76,107,130,54,87,127,145,217,196,283,231,37
%N A252758 Permutation of natural numbers: a(1) = 1, a(2n) = A251726(a(n)), a(2n+1) = A251727(a(n)).
%H A252758 Antti Karttunen, <a href="/A252758/b252758.txt">Table of n, a(n) for n = 1..959</a>
%H A252758 <a href="/index/Per#IntegerPermutation">Index entries for sequences that are permutations of the natural numbers</a>
%F A252758 a(1) = 1, a(2n) = A251726(a(n)), a(2n+1) = A251727(a(n)).
%o A252758 (Scheme, with memoization-macro definec)
%o A252758 (definec (A252758 n) (cond ((<= n 1) n) ((even? n) (A251726 (A252758 (/ n 2)))) (else (A251727 (A252758 (/ (- n 1) 2))))))
%Y A252758 Inverse: A252757.
%Y A252758 Similar permutations: A243288, A227413, A237126.
%Y A252758 Cf. A251726, A251727.
%K A252758 nonn
%O A252758 1,2
%A A252758 _Antti Karttunen_, Jan 02 2015