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”).

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