login
A276954
Inverse permutation to A276953.
3
1, 3, 2, 4, 7, 6, 11, 5, 16, 22, 29, 8, 37, 12, 46, 56, 67, 79, 92, 106, 121, 137, 154, 10, 172, 17, 191, 211, 232, 9, 254, 23, 277, 301, 326, 30, 352, 38, 379, 407, 436, 466, 497, 529, 562, 596, 631, 13, 667, 47, 704, 742, 781, 18, 821, 57, 862, 904, 947, 68, 991, 80, 1036, 1082, 1129, 1177, 1226, 1276, 1327, 1379, 1432, 93
OFFSET
1,2
FORMULA
a(n) = (1/2) * ((c+r)^2 - r - 3*c + 2), where c = A276951(n), and r = A276949(n).
As a composition of other permutations:
a(n) = A257504(A275847(n)).
PROG
(Scheme) (define (A276954 n) (let ((col (A276951 n)) (row (A276949 n))) (* (/ 1 2) (- (expt (+ row col) 2) row col col col -2))))
CROSSREFS
Inverse: A276953.
Related or similar permutations: A257504, A275847.
Sequence in context: A129594 A214416 A170950 * A276944 A300501 A356957
KEYWORD
nonn,base
AUTHOR
Antti Karttunen, Sep 22 2016
STATUS
approved