cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A276954 Inverse permutation to A276953.

Original entry on oeis.org

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

Views

Author

Antti Karttunen, Sep 22 2016

Keywords

Crossrefs

Inverse: A276953.
Related or similar permutations: A257504, A275847.

Programs

  • Scheme
    (define (A276954 n) (let ((col (A276951 n)) (row (A276949 n))) (* (/ 1 2) (- (expt (+ row col) 2) row col col col -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)).