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.

A122198 Permutation of natural numbers: a recursed variant of A122155.

This page as a plain text file.
%I A122198 #13 Jul 23 2025 15:51:30
%S A122198 0,1,2,3,4,7,6,5,8,15,14,13,12,9,10,11,16,31,30,29,28,25,26,27,24,17,
%T A122198 18,19,20,23,22,21,32,63,62,61,60,57,58,59,56,49,50,51,52,55,54,53,48,
%U A122198 33,34,35,36,39,38,37,40,47,46,45,44,41,42,43,64,127,126,125,124,121
%N A122198 Permutation of natural numbers: a recursed variant of A122155.
%C A122198 Maps between A096115 and A096111.
%H A122198 <a href="/index/Per#IntegerPermutation">Index entries for sequences that are permutations of the natural numbers</a>
%F A122198 a(0)=0, otherwise a(n) = A122155(A053644(n)+a(A053645(n))).
%o A122198 (Scheme) (define (A122198 n) (if (< n 1) n (A122155 (+ (A053644 n) (A122198 (A053645 n))))))
%Y A122198 Inverse: A122199.
%K A122198 nonn
%O A122198 0,3
%A A122198 _Antti Karttunen_, Aug 25 2006