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,
...
CROSSREFS
KEYWORD
nonn
AUTHOR
Jaroslav Krizek, Oct 02 2010
STATUS
approved