login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A233275 Permutation of nonnegative integers obtained by entangling complementary pair A005187 & A055938 with even and odd numbers. 23

%I #15 Jun 11 2017 06:43:59

%S 0,1,3,2,6,7,5,4,12,13,14,10,15,11,9,8,24,25,26,28,27,29,20,30,21,22,

%T 18,31,23,19,17,16,48,49,50,52,51,53,56,54,57,58,40,55,59,41,60,42,61,

%U 44,36,43,45,62,46,37,38,34,63,47,39,35,33,32,96,97,98,100

%N Permutation of nonnegative integers obtained by entangling complementary pair A005187 & A055938 with even and odd numbers.

%C It seems that for all n, a(A000079(n)) = A003945(n).

%H Antti Karttunen, <a href="/A233275/b233275.txt">Table of n, a(n) for n = 0..8191</a>

%H Indranil Ghosh, <a href="/A233275/a233275.txt">Python Program to generate the sequence</a>

%H <a href="/index/Per#IntegerPermutation">Index entries for sequences that are permutations of the natural numbers</a>

%F a(0)=0, a(1)=1, and thereafter, if A079559(n)=1, a(n) = 2*a(A213714(n)-1), else a(n) = 1+(2*a(A234017(n))).

%F a(n) = A054429(A233277(n)). [Follows from the definitions of these sequences]

%o (Scheme, with memoizing definec-macro from _Antti Karttunen_'s IntSeq-library)

%o (definec (A233275 n) (cond ((< n 2) n) ((not (zero? (A079559 n))) (* 2 (A233275 (- (A213714 n) 1)))) (else (+ 1 (* 2 (A233275 (A234017 n)))))))

%Y Inverse permutation: A233276.

%Y Cf. also A079559, A213714, A234017, A054429.

%Y Similarly constructed permutation pairs: A135141/A227413, A232751/A232752, A233277/A233278, A233279/A233280, A003188/A006068.

%K nonn

%O 0,3

%A _Antti Karttunen_, Dec 18 2013

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 03:15 EDT 2024. Contains 371964 sequences. (Running on oeis4.)