OFFSET
1,1
COMMENTS
Method of creation of sequence a(n) from b(n) = A000040(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) = 2, a(1) = 2, a(2) = 1,
b(2) = 3, a(3) = 3,
b(3) = 5, a(4) = 5, a(5) = 4,
b(4) = 7, a(6) = 7, a(7) = 6,
b(5) = 11, a(8) = 11, a(11) = 8,
...
CROSSREFS
KEYWORD
nonn
AUTHOR
Jaroslav Krizek, Oct 02 2010
EXTENSIONS
Corrected by Jaroslav Krizek Jaroslav Krizek, Oct 24 2010
STATUS
approved