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.

A065935 Permutation of N induced by the order-preserving bijection QuQR2toQuQR1 on rationals.

This page as a plain text file.
%I A065935 #6 May 01 2014 02:49:32
%S A065935 1,4,7,16,2,13,127,64,8,19,10,25,3,124,32767,256,32,67,34,9,79,40,5,
%T A065935 49,6,223,112,247,31,4093,2147483647,1024,128,259,130,33,271,136,17,
%U A065935 37,76,39,319,160,20,43,22,97,12,415,208,55,3583,1792,28,244,15,502,505,4090
%N A065935 Permutation of N induced by the order-preserving bijection QuQR2toQuQR1 on rationals.
%C A065935 This permutation converts the domain between the mappings N2QuQR1 and N2QuQR2 given in A065936 and A065937, i.e. N2QuQR2(j) = N2QuQR1(a[j])
%H A065935 <a href="/index/St#Stern">Index entries for sequences related to Stern's sequences</a>
%H A065935 <a href="/index/Per#IntegerPermutation">Index entries for sequences that are permutations of the natural numbers</a>
%p A065935 [seq(QuQR2toQuQR1(j),j=1..128)];
%p A065935 QuQR2toQuQR1 := n -> frac2position_in_0_1_SB_tree(QtoQ0_1(SternBrocotTreeNum(n)/SternBrocotTreeDen(n)));
%p A065935 QtoQ0_1 := r -> (((2^floor(r))-1)+(frac(r)/2))/(2^floor(r));
%Y A065935 Inverse permutation: A065934. For other needed Maple procedures, follow A065658. Cf. also A065936-A065939.
%K A065935 nonn
%O A065935 1,2
%A A065935 _Antti Karttunen_, Dec 07 2001