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

A072765
Inverse permutation to A072764.
3
0, 1, 3, 2, 6, 10, 5, 4, 7, 15, 21, 28, 36, 45, 9, 14, 8, 11, 16, 12, 22, 29, 37, 55, 66, 78, 91, 105, 120, 136, 153, 171, 190, 210, 231, 253, 276, 20, 27, 35, 44, 54, 13, 19, 17, 46, 56, 23, 67, 79, 92, 18, 25, 30, 106, 121, 38, 137, 154, 172, 47, 191, 211, 232, 254, 300
OFFSET
0,3
PROG
(Scheme function showing the general idea:) (define (A072765 n) (cond ((zero? n) n) (else (1+ (packA001477 (A072771 n) (A072772 n))))))
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jun 12 2002
STATUS
approved