login
Permutation of positive integers created from sequence A002808(n) = composites.
2

%I #2 Mar 30 2012 19:00:24

%S 4,6,8,1,9,2,10,3,5,7,12,11,14,13,15,16,18,17,20,19,21,22,24,23,25,26,

%T 27,28,30,29,32,31,33,34,35,36,38,37,39,40,42,41,44,43,45,46,48,47,49,

%U 50,51,52,54,53,55,56,57,58,60,59,62,61,63,64,65,66,68,67,69,70,72,71

%N Permutation of positive integers created from sequence A002808(n) = composites.

%C Method of creation of sequence a(n) from b(n) = A002808(n):

%C Take b(1) and put in vacancy place a(1), swap this place and b(1), repeat with b(2), b(3), ...:

%C b(1) = 4, a(1) = 4, a(4) = 1,

%C b(2) = 6, a(2) = 6, a(6) = 2,

%C b(3) = 8, a(3) = 8, a(8) = 3,

%C b(4) = 9, a(5) = 9, a(9) = 5,

%C b(5) = 10, a(7) = 10, a(10) = 7,

%C ...

%F a(n) = A135761(n) for n >= 11. a(n) = A181096(n) for n >= 11.

%K nonn

%O 1,1

%A _Jaroslav Krizek_, Oct 02 2010