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

A277881
Inverse permutation to A277880.
3
1, 3, 2, 6, 5, 4, 10, 15, 9, 8, 21, 7, 28, 36, 14, 45, 20, 13, 55, 12, 66, 78, 27, 11, 91, 105, 35, 120, 44, 19, 136, 153, 54, 26, 171, 18, 190, 210, 65, 17, 231, 253, 77, 276, 90, 34, 300, 16, 325, 351, 104, 378, 119, 43, 406, 435, 135, 53, 465, 25, 496, 528, 152, 561, 170, 64, 595, 33, 630, 666, 189, 24, 703, 741, 209, 780, 230, 76, 820, 23
OFFSET
1,2
FORMULA
a(n) = (1/2) * ((c+r)^2 - r - 3*c + 2), where c = A277822(n), and r = A277813(n).
PROG
(Scheme) (define (A277881 n) (let ((row (A277813 n)) (col (A277822 n))) (* (/ 1 2) (- (expt (+ row col) 2) row col col col -2))))
CROSSREFS
Inverse: A277880.
Cf. A028401 (terms at powers of 2).
Sequence in context: A194910 A194909 A038722 * A145522 A283939 A293056
KEYWORD
nonn
AUTHOR
Antti Karttunen, Nov 03 2016
STATUS
approved