

A181095


Permutation of positive integers created from sequence A008578(n) = noncomposites.


1



1, 2, 3, 5, 4, 7, 6, 11, 13, 17, 8, 19, 9, 23, 29, 31, 10, 37, 12, 41, 43, 47, 14, 53, 59, 61, 67, 71, 15, 73, 16, 79, 83, 89, 97, 101, 18, 103, 107, 109, 20, 113, 21, 127, 131, 137, 22, 139, 149, 151, 157, 163, 24, 167, 173, 179, 181, 191, 25, 193, 26, 197, 199, 211, 223
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,2


COMMENTS

Method of creation of sequence a(n) from b(n) = A008578(n):
Take b(1) and put in vacancy place a(1), swap this place and b(1), repeat with b(2), b(3), ...:
b(1) = 1, a(1) = 1,
b(2) = 2, a(2) = 2,
b(3) = 3, a(3) = 3,
b(4) = 5, a(4) = 5, a(5) = 4,
b(5) = 7, a(6) = 7, a(7) = 6,
...


LINKS

Table of n, a(n) for n=1..65.


FORMULA

a(n) = A163465(n) for n >= 4. a(n) = A181094(n) for n >= 4.


CROSSREFS

Sequence in context: A257339 A210882 A117120 * A276345 A257455 A328971
Adjacent sequences: A181092 A181093 A181094 * A181096 A181097 A181098


KEYWORD

nonn


AUTHOR

Jaroslav Krizek, Oct 02 2010


STATUS

approved



