Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #7 May 06 2015 21:44:24
%S 1,3,6,2,10,15,21,28,36,45,55,5,66,78,91,9,105,4,120,136,153,14,171,
%T 190,210,231,253,276,300,325,351,378,406,435,465,496,528,561,595,630,
%U 666,703,741,780,820,861,903,20,946,990,1035,27,1081,1128,1176,1225,1275,1326,1378,35,1431,1485,1540,44,1596,54,1653,1711,1770,65,1830,8
%N Inverse permutation to A257505.
%H Antti Karttunen, <a href="/A257506/b257506.txt">Table of n, a(n) for n = 1..5050</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 r = A257681(n), and c = A257679(n).
%o (Scheme) (define (A257506 n) (let ((row (A257681 n)) (col (A257679 n))) (* (/ 1 2) (- (expt (+ row col) 2) row col col col -2))))
%Y Inverse: A257505.
%Y Cf. A257679, A257681.
%K nonn
%O 1,2
%A _Antti Karttunen_, May 06 2015