|
|
A163465
|
|
Permutation of the nonnegative integers moving primes to nonprime indices and nonprimes to prime indices.
|
|
2
|
|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
COMMENTS
|
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.
|
|
LINKS
|
|
|
EXAMPLE
|
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
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
Definition clarified, offset set to 0, values checked by R. J. Mathar, Aug 02 2009
|
|
STATUS
|
approved
|
|
|
|