|
| |
|
|
A141436
|
|
a(k) = k-th prime or nonprime: a(k+1) = a(a(k)); if k is prime, a(k) is nonprime; if k is nonprime, a(k)is prime. {a(1)} = {1,2,4,7,12,...}, {a(3)} = {3,6,13,...}, {a(5)} = {5,9,23,...}. The generators of these mutually disjoint sets are the first elements, {1,3,5,8,...etc}.
|
|
5
| |
|
|
1, 3, 5, 8, 10, 11, 14, 15, 16, 17, 20, 22, 24, 25, 27, 30, 31, 32, 33, 35, 36, 38, 39, 40, 41, 44, 46, 48, 49, 50, 51, 54, 55, 56, 58, 59, 62, 63, 64, 66, 67, 68, 69, 70, 72, 75, 76, 77, 78, 80, 82, 83, 85, 86, 87, 88, 90, 92, 93, 94, 96, 99, 100, 102, 104, 105, 108, 109, 110, 111
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,2
|
|
|
COMMENTS
| The complementary sequence is 2,4,6,7,9,12,13,18,19,...etc.
|
|
|
LINKS
| B. D. Swan, Table of n, a(n) for n=0,...,100000
|
|
|
FORMULA
| Conjecture: A102615 UNION A006450. [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Aug 14 2008]
|
|
|
CROSSREFS
| Cf. A141437.
Sequence in context: A087792 A192881 A189755 * A189377 A073608 A155945
Adjacent sequences: A141433 A141434 A141435 * A141437 A141438 A141439
|
|
|
KEYWORD
| easy,nonn
|
|
|
AUTHOR
| Daniel Tisdale (daniel6874(AT)gmail.com), Aug 06 2008
|
| |
|
|