%I #5 Sep 08 2016 17:53:33
%S 0,1,4,3,2,10,9,8,7,6,5,19,18,17,16,15,14,13,12,11,33,32,31,30,29,28,
%T 27,26,25,24,23,22,21,20,52,51,50,49,48,47,46,45,44,43,42,41,40,39,38,
%U 37,36,35,34,77,76,75,74,73,72,71,70,69,68,67,66,65,64,63,62,61,60,59,58,57,56,55,54,53,108
%N Simple self-inverse permutation of natural numbers: after a(0)=0, list each block of A261229(n) numbers in reverse order, from A261227(n) to A261228(1+n).
%C Maps between A276613 and A276614.
%H Antti Karttunen, <a href="/A276612/b276612.txt">Table of n, a(n) for n = 0..10236</a>
%H <a href="/index/Per#IntegerPermutation">Index entries for sequences that are permutations of the natural numbers</a>
%o (Scheme)
%o (define (A276612 n) (if (zero? n) n (+ (- (A261228 (+ 1 (A276611 n))) n) (A261227 (A276611 n)))))
%Y Cf. A261227, A261228, A261229, A276611, A276613, A276614.
%K nonn
%O 0,3
%A _Antti Karttunen_, Sep 07 2016
|