Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A065281
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A065281 Infinite binary tree inspired permutation of N: 1 -> 1, 11ab..yz -> 11ab..yz1, 10ab..y1 -> 10ab..y, 10ab..y0 -> 11ab..y0. +0
7
1, 3, 7, 6, 2, 13, 15, 12, 4, 14, 5, 25, 27, 29, 31, 24, 8, 26, 9, 28, 10, 30, 11, 49, 51, 53, 55, 57, 59, 61, 63, 48, 16, 50, 17, 52, 18, 54, 19, 56, 20, 58, 21, 60, 22, 62, 23, 97, 99, 101, 103, 105, 107, 109, 111, 113, 115, 117, 119, 121, 123, 125, 127, 96, 32, 98, 33 (list; graph; listen)
OFFSET

1,2

COMMENT

On the right side every node replaces its right child, on the left side the right children replace their parents, and the left children are transferred to the same offset at the right side (staying left children). See comment at A065263.

LINKS

Index entries for sequences that are permutations of the natural numbers

MAPLE

LeftChildTransferred := proc(n) local k; if(1 = n) then RETURN(1); fi; k := floor_log_2(n)-1; if(3 = floor(n/(2^k))) then RETURN((2*n)+1); fi; if(1 = (n mod 2)) then RETURN((n-1)/2); fi; RETURN(n + (2^k)); end;

CROSSREFS

A057114, A065263, A065269, A065275, A065287. Inverse: A065282, conjugated with A059893: A065283, and the inverse of that: A065284.

Sequence in context: A001663 A085052 A016666 this_sequence A019952 A021883 A075785

Adjacent sequences: A065278 A065279 A065280 this_sequence A065282 A065283 A065284

KEYWORD

nonn

AUTHOR

Antti Karttunen Oct 28 2001

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 30 22:12 EST 2008. Contains 150989 sequences.


AT&T Labs Research