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 A249816 #15 Nov 17 2014 22:02:16 %S A249816 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,26,21,22,23,24,25,20, %T A249816 27,28,29,30,31,44,33,34,35,36,37,32,39,40,41,42,43,80,45,46,47,48,49, %U A249816 74,51,52,53,124,55,62,57,58,59,60,61,38,63,54,65,66,67,134,69,70,71,72,73,50,75,76,77,78,79,98,81,82,83 %N A249816 Permutation of natural numbers: a(n) = A246275(A055396(n+1), A078898(n+1)). %C A249816 a(n) tells which number in square array A246275 is at the same position where n is in array A249741, the sieve of Eratosthenes minus 1. As the topmost row in both arrays is A005408 (odd numbers), they are fixed, i.e. a(2n+1) = 2n+1 for all n. Also, as the leftmost column in both arrays is primes minus one (A006093), they are also among the fixed points. %C A249816 Equally: a(n) tells which number in array A246273 is at the same position where n is in the array A114881, as they are the transposes of above two arrays. %H A249816 Antti Karttunen, <a href="/A249816/b249816.txt">Table of n, a(n) for n = 1..10000</a> %H A249816 <a href="/index/Per#IntegerPermutation">Index entries for sequences that are permutations of the natural numbers</a> %F A249816 a(n) = A246275(A055396(n+1), A078898(n+1)). %F A249816 As a composition of other permutations: %F A249816 a(n) = A246676(A249812(n)). %F A249816 a(n) = A249818(n+1) - 1. %F A249816 Other identities. For all n >= 1: %F A249816 a(A005408(n-1)) = A005408(n-1) and a(A006093(n)) = A006093(n). [Fixes odd numbers and precedents of primes. Cf. comments above]. %o A249816 (Scheme) (define (A249816 n) (+ -1 (A246278bi (A055396 (+ 1 n)) (A078898 (+ 1 n))))) %Y A249816 Inverse: A249815. %Y A249816 Cf. A005408, A006093, A055396, A078898, A246278. %Y A249816 Similar or related permutations: A250243 ("deep variant"), A246676, A249812, A249818, A246273, A246275, A114881, A249741. %Y A249816 Differs from A249815 and A250244 for the first time at n=32, where a(32) = 44, while A249815(32) = A250244(32) = 38. %Y A249816 Differs from A250244 for the first time at n=39, where a(39) = 39, while A250243(39) = 51. %K A249816 nonn %O A249816 1,2 %A A249816 _Antti Karttunen_, Nov 06 2014