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 A181094 #3 Mar 30 2012 19:00:24 %S A181094 2,1,3,5,4,7,6,11,13,17,8,19,9,23,29,31,10,37,12,41,43,47,14,53,59,61, %T A181094 67,71,15,73,16,79,83,89,97,101,18,103,107,109,20,113,21,127,131,137, %U A181094 22,139,149,151,157,163,24,167,173,179,181,191,25,193,26,197,199,211,223 %N A181094 Permutation of positive integers created from sequence A000040(n) = primes. %C A181094 Method of creation of sequence a(n) from b(n) = A000040(n): %C A181094 Take b(1) and put in vacancy place a(1), swap this place and b(1), repeat with b(2), b(3), ...: %C A181094 b(1) = 2, a(1) = 2, a(2) = 1, %C A181094 b(2) = 3, a(3) = 3, %C A181094 b(3) = 5, a(4) = 5, a(5) = 4, %C A181094 b(4) = 7, a(6) = 7, a(7) = 6, %C A181094 b(5) = 11, a(8) = 11, a(11) = 8, %C A181094 ... %F A181094 a(n) = A163465(n+1) for n >= 4. a(n) = A181095(n) for n >= 3. %K A181094 nonn %O A181094 1,1 %A A181094 _Jaroslav Krizek_, Oct 02 2010 %E A181094 Corrected by Jaroslav Krizek _Jaroslav Krizek_, Oct 24 2010