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.

A246274 Inverse of A246273 considered as a permutation of natural numbers.

Original entry on oeis.org

1, 2, 3, 4, 6, 7, 10, 5, 15, 11, 21, 16, 28, 9, 36, 22, 45, 29, 55, 20, 66, 37, 78, 8, 91, 14, 105, 46, 120, 56, 136, 35, 153, 13, 171, 67, 190, 77, 210, 79, 231, 92, 253, 27, 276, 106, 300, 12, 325, 104, 351, 121, 378, 26, 406, 170, 435, 137, 465, 154, 496, 65, 528, 43, 561, 172, 595, 209, 630, 191, 666, 211, 703, 54, 741, 18
Offset: 1

Views

Author

Antti Karttunen, Aug 21 2014

Keywords

Crossrefs

Inverse: A246273.
Related permutations: A209268, A246675, A246276.

Programs

  • Scheme
    (define (A246274 n) (let ((x (A246277 (+ 1 n))) (y (A055396 (+ 1 n)))) (* (/ 1 2) (- (expt (+ x y) 2) x y y y -2))))

Formula

a(n) = ((x+y)^2 - x - 3y + 2)/2, where x = A246277(n+1) and y = A055396(n+1).
As a composition of related permutations:
a(n) = A209268(A246675(n)).