|
| |
|
|
A066194
|
|
A permutation of the integers (a fractal sequence).
|
|
1
| |
|
|
1, 2, 4, 3, 8, 7, 5, 6, 16, 15, 13, 14, 9, 10, 12, 11, 32, 31, 29, 30, 25, 26, 28, 27, 17, 18, 20, 19, 24, 23, 21, 22, 64, 63, 61, 62, 57, 58, 60, 59, 49, 50, 52, 51, 56, 55, 53, 54, 33, 34, 36, 35, 40, 39, 37, 38, 48, 47, 45, 46, 41, 42, 44, 43, 128, 127, 125, 126, 121, 122
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,2
|
|
|
LINKS
| Index entries for sequences that are permutations of the natural numbers
|
|
|
FORMULA
| a(n) = A006068(n-1) + 1, n>=1 . - Philippe DELEHAM, Apr 29 2005
|
|
|
EXAMPLE
| Third nesting gives {1,2,4,3, 8,7,5,6} by means of joining the lists {1,2,4,3}= second nesting and {8,7,6,5} permuted by {1,2,4,3} giving {8,7,5,6}.
|
|
|
MATHEMATICA
| Nest[ Join[ #, (Length[ # ]+Range[ Length[ # ], 1, -1 ])[ [ # ] ] ]&, {1}, 7 ]
|
|
|
CROSSREFS
| Sequence in context: A168521 A101468 A188866 * A101283 A125566 A166133
Adjacent sequences: A066191 A066192 A066193 * A066195 A066196 A066197
|
|
|
KEYWORD
| easy,nonn
|
|
|
AUTHOR
| Wouter Meeussen (wouter.meeussen(AT)pandora.be), Dec 15 2001
|
| |
|
|