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.
%I A243287 #28 Jan 21 2020 02:33:17 %S A243287 1,2,4,3,8,6,16,5,9,12,32,10,18,24,64,7,20,17,36,48,128,14,40,34,13, %T A243287 72,33,96,256,28,80,11,68,26,144,19,66,192,512,56,160,22,136,52,288, %U A243287 38,132,384,25,65,1024,112,320,21,44,272,104,576,76,264,768,50,130,37,2048 %N A243287 a(1)=1, and for n > 1, if n is k-th number divisible by the square of its largest prime factor (i.e., n = A070003(k)), a(n) = 1 + (2*a(k)); otherwise, when n = A102750(k), a(n) = 2*a(k). %C A243287 This is an instance of "entanglement permutation", where two pairs of complementary subsets of natural numbers are interwoven with each other. In this case complementary pair A070003/A102750 (numbers which are divisible/not divisible by the square of their largest prime factor) is entangled with complementary pair odd/even numbers (A005408/A005843). %C A243287 Thus this shares with the permutation A122111 the property that each term of A102750 is mapped to a unique even number and likewise each term of A070003 is mapped to a unique odd number. %H A243287 Antti Karttunen, <a href="/A243287/b243287.txt">Table of n, a(n) for n = 1..10000</a> %H A243287 <a href="/index/Per#IntegerPermutation">Index entries for sequences that are permutations of the natural numbers</a> %F A243287 a(1) = 1, and thereafter, if A241917(n) = 0 (i.e., n is a term of A070003), a(n) = 1 + (2*a(A243282(n))); otherwise a(n) = 2*a(A243285(n)) (where A243282 and A243285 give the number of integers <= n divisible/not divisible by the square of their largest prime factor). %o A243287 (Scheme, with _Antti Karttunen_'s IntSeq-library) %o A243287 (definec (A243287 n) (cond ((<= n 1) n) ((zero? (A241917 n)) (+ 1 (* 2 (A243287 (A243282 n))))) (else (* 2 (A243287 (A243285 n)))))) %Y A243287 Inverse: A243288. %Y A243287 Cf. A005843, A005408, A070003, A102750, A243282, A243285, A241917, A122111. %Y A243287 Similarly constructed permutations: A243343-A243346, A135141-A227413, A237126-A237427, A193231. %K A243287 nonn,look %O A243287 1,2 %A A243287 _Antti Karttunen_, Jun 02 2014