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.

Original entry on oeis.org

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, 61, 67, 71, 15, 73, 16, 79, 83, 89, 97, 101, 18, 103, 107, 109, 20, 113, 21, 127, 131, 137, 22, 139, 149, 151, 157, 163, 24, 167, 173, 179, 181, 191, 25, 193, 26, 197, 199, 211, 223
Offset: 0

Views

Author

Juri-Stepan Gerasimov, Jul 28 2009

Keywords

Comments

The nonnegative integers A001477 = A141468 U A000040 are reshuffled.
The positions 0,1,2,3,.. in this sequence here are marked as prime or nonprime, and the nonnegative integers
are filled in at positions of their opposite class.

Examples

			The positions 0,1,2,3,4,5,... are N,N,P,P,N,P... (N=nonprime, P=prime),
and are filled by two prime, then two nonprime, one prime, one nonprime member of A001477.
		

Crossrefs

Extensions

Definition clarified, offset set to 0, values checked by R. J. Mathar, Aug 02 2009
Missing term 89 contributed by Jaroslav Krizek, Oct 02 2010