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.

A297166 Permutation of nonnegative integers: a(n) = A005940(A156552(n)), a(1) = 0.

This page as a plain text file.
%I A297166 #6 Jan 05 2018 09:52:40
%S A297166 0,1,2,3,4,5,8,9,6,7,16,15,32,11,10,27,64,25,128,21,14,13,256,45,12,
%T A297166 17,18,33,512,35,1024,81,22,19,20,75,2048,23,26,63,4096,55,8192,39,30,
%U A297166 29,16384,135,24,49,34,51,32768,125,28,99,38,31,65536,105,131072,37,42,243,44,65,262144,57,46,77,524288,225,1048576,41,50,69,40,85
%N A297166 Permutation of nonnegative integers: a(n) = A005940(A156552(n)), a(1) = 0.
%C A297166 Note the indexing: although the domain starts from 1, the range includes also zero.
%H A297166 Antti Karttunen, <a href="/A297166/b297166.txt">Table of n, a(n) for n = 1..10000</a>
%H A297166 <a href="/index/Bi#binary">Index entries for sequences related to binary expansion of n</a>
%H A297166 <a href="/index/Per#IntegerPermutation">Index entries for sequences that are permutations of the natural numbers</a>
%H A297166 <a href="/index/Pri#prime_indices">Index entries for sequences computed from indices in prime factorization</a>
%F A297166 a(1) = 0; for n > 1, a(n) = A005940(A156552(n)).
%o A297166 (Scheme) (define (A297166 n) (if (= 1 n) 0 (A005940 (A156552 n))))
%Y A297166 Inverse: A297165.
%Y A297166 Cf. A005940, A156552.
%Y A297166 Cf. also A297164.
%K A297166 nonn
%O A297166 1,3
%A A297166 _Antti Karttunen_, Jan 05 2018