login
Inverse permutation to A276953.
3

%I #7 Sep 24 2016 10:49:54

%S 1,3,2,4,7,6,11,5,16,22,29,8,37,12,46,56,67,79,92,106,121,137,154,10,

%T 172,17,191,211,232,9,254,23,277,301,326,30,352,38,379,407,436,466,

%U 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

%N Inverse permutation to A276953.

%H Antti Karttunen, <a href="/A276954/b276954.txt">Table of n, a(n) for n = 1..10000</a>

%H <a href="/index/Fa#facbase">Index entries for sequences related to factorial base representation</a>

%H <a href="/index/Per#IntegerPermutation">Index entries for sequences that are permutations of the natural numbers</a>

%F a(n) = (1/2) * ((c+r)^2 - r - 3*c + 2), where c = A276951(n), and r = A276949(n).

%F As a composition of other permutations:

%F a(n) = A257504(A275847(n)).

%o (Scheme) (define (A276954 n) (let ((col (A276951 n)) (row (A276949 n))) (* (/ 1 2) (- (expt (+ row col) 2) row col col col -2))))

%Y Inverse: A276953.

%Y Cf. A276949, A276951.

%Y Related or similar permutations: A257504, A275847.

%K nonn,base

%O 1,2

%A _Antti Karttunen_, Sep 22 2016