[go: up one dir, main page]

login
A277883
Inverse permutation to A277882.
2
1, 2, 3, 4, 5, 6, 7, 11, 8, 9, 16, 10, 22, 29, 12, 37, 17, 13, 46, 14, 56, 67, 23, 15, 79, 92, 30, 106, 38, 18, 121, 137, 47, 24, 154, 19, 172, 191, 57, 20, 211, 232, 68, 254, 80, 31, 277, 21, 301, 326, 93, 352, 107, 39, 379, 407, 122, 48, 436, 25, 466, 497, 138, 529, 155, 58, 562, 32, 596, 631, 173, 26, 667, 704, 192, 742, 212, 69, 781, 27
OFFSET
1,2
FORMULA
a(n) = (1/2) * ((c+r)^2 - r - 3*c + 2), where c = A277813(n), and r = A277822(n).
PROG
(Scheme) (define (A277883 n) (let ((col (A277813 n)) (row (A277822 n))) (* (/ 1 2) (- (expt (+ row col) 2) row col col col -2))))
CROSSREFS
Inverse: A277882.
Sequence in context: A306110 A092026 A084749 * A277196 A102453 A265571
KEYWORD
nonn
AUTHOR
Antti Karttunen, Nov 03 2016
STATUS
approved