|
| |
|
|
A096072
|
|
Numbers whose position is not changed by the rearrangement defined by A096070; or k such that A096070(k) = k.
|
|
1
|
|
|
|
1, 2, 3, 7, 9, 14, 19, 21, 24, 26, 30, 34, 40, 42, 48, 51, 122, 128, 174, 207, 211, 247, 264, 296, 300, 310, 354, 368, 408, 438, 448, 454, 464, 490, 494, 520, 538, 728, 746, 798, 828, 866, 1008, 1010, 1026, 1076, 1188, 1198, 1262, 1370, 1376, 1403, 1474, 1542
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
|
OFFSET
|
1,2
|
|
|
LINKS
|
Table of n, a(n) for n=1..54.
|
|
|
PROG
|
(PARI) {m=1550; s=0; v=Set([]); for(n=1, m, k=1; while(setsearch(v, k)>0||isprime(s+k)!=(n%2==0), k++); if(n==k, print1(k, ", ")); s=s+k; v=setunion(v, Set(k)))}
|
|
|
CROSSREFS
|
Cf. A096070.
Sequence in context: A014839 A092293 A215485 * A014837 A019312 A135369
Adjacent sequences: A096069 A096070 A096071 * A096073 A096074 A096075
|
|
|
KEYWORD
|
nonn
|
|
|
AUTHOR
|
Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Jun 20 2004
|
|
|
EXTENSIONS
|
Edited, corrected and extended by Klaus Brockhaus, Jun 21 2004
|
|
|
STATUS
|
approved
|
| |
|
|