login
A066251
Inverse permutation to A066250.
3
1, 3, 2, 5, 4, 7, 6, 8, 10, 9, 12, 11, 16, 13, 18, 14, 22, 15, 28, 17, 30, 19, 36, 20, 40, 21, 42, 23, 46, 24, 52, 25, 58, 26, 60, 27, 66, 29, 70, 31, 72, 32, 78, 33, 82, 34, 88, 35, 96, 37, 100, 38, 102, 39, 106, 41, 108, 43, 112, 44, 126, 45, 130, 47, 136, 48, 138, 49, 148
OFFSET
1,2
COMMENTS
Permutation of natural numbers.
FORMULA
a(n) = (if n is odd then A000040((n+1)/2) else A002808(n/2)) - 1.
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Dec 09 2001
STATUS
approved