login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A181096
Permutation of positive integers created from sequence A018252(n) = nonprimes.
1
1, 4, 6, 2, 8, 3, 9, 5, 7, 10, 12, 11, 14, 13, 15, 16, 18, 17, 20, 19, 21, 22, 24, 23, 25, 26, 27, 28, 30, 29, 32, 31, 33, 34, 35, 36, 38, 37, 39, 40, 42, 41, 44, 43, 45, 46, 48, 47, 49, 50, 51, 52, 54, 53, 55, 56, 57, 58, 60, 59, 62, 61, 63, 64, 65, 66, 68, 67, 69, 70, 72, 71
OFFSET
1,2
COMMENTS
Method of creation of sequence a(n) from b(n) = A018252(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) = 4, a(2) = 4, a(4) = 2,
b(3) = 6, a(3) = 6, a(6) = 3,
b(4) = 8, a(5) = 8, a(8) = 5,
b(5) = 9, a(7) = 9, a(9) = 7,
...
FORMULA
a(n) = A135761(n) for n >= 11. a(n) = A181097(n) for n >= 11.
CROSSREFS
Sequence in context: A377033 A088516 A114538 * A026239 A171547 A114579
KEYWORD
nonn
AUTHOR
Jaroslav Krizek, Oct 02 2010
STATUS
approved