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.

A163465 Permutation of the nonnegative integers moving primes to nonprime indices and nonprimes to prime indices.

This page as a plain text file.
%I A163465 #7 Jul 16 2015 21:55:57
%S A163465 2,3,0,1,5,4,7,6,11,13,17,8,19,9,23,29,31,10,37,12,41,43,47,14,53,59,
%T A163465 61,67,71,15,73,16,79,83,89,97,101,18,103,107,109,20,113,21,127,131,
%U A163465 137,22,139,149,151,157,163,24,167,173,179,181,191,25,193,26,197,199,211,223
%N A163465 Permutation of the nonnegative integers moving primes to nonprime indices and nonprimes to prime indices.
%C A163465 The nonnegative integers A001477 = A141468 U A000040 are reshuffled.
%C A163465 The positions 0,1,2,3,.. in this sequence here are marked as prime or nonprime, and the nonnegative integers
%C A163465 are filled in at positions of their opposite class.
%e A163465 The positions 0,1,2,3,4,5,... are N,N,P,P,N,P... (N=nonprime, P=prime),
%e A163465 and are filled by two prime, then two nonprime, one prime, one nonprime member of A001477.
%Y A163465 Cf. A000040, A001477, A141468.
%K A163465 nonn,easy
%O A163465 0,1
%A A163465 _Juri-Stepan Gerasimov_, Jul 28 2009
%E A163465 Definition clarified, offset set to 0, values checked by _R. J. Mathar_, Aug 02 2009
%E A163465 Missing term 89 contributed by _Jaroslav Krizek_, Oct 02 2010