|
| |
|
|
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; internal format)
|
|
|
|
OFFSET
| 0,1
|
|
|
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 non-prime, and the nonnegative integers
are filled in at positions of their opposite class.
|
|
|
EXAMPLE
| The positions 0,1,2,3,4,5,... are N,N,P,P,N,P... (N=non-prime, P=prime),
and are filled by two prime, then two non-prime, one prime, one non-prime member of A001477.
|
|
|
CROSSREFS
| Cf. A000040, A001477, A141468.
Sequence in context: A128888 A168068 A163575 * A004443 A171616 A008290
Adjacent sequences: A163462 A163463 A163464 * A163466 A163467 A163468
|
|
|
KEYWORD
| nonn,easy
|
|
|
AUTHOR
| Juri-Stepan Gerasimov (2stepan(AT)rambler.ru), Jul 28 2009
|
|
|
EXTENSIONS
| Definition clarified, offset set to 0, values checked by R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Aug 02 2009
Missing term 89 contributed by Jaroslav Krizek (jaroslav.krizek(AT)atlas.cz), Oct 02 2010
|
| |
|
|