Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A080413
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A080413 Take the rightmost three binary digits of n (for n<4 padded with leading zeros) and rotate left 1 digit. +0
4
0, 2, 4, 6, 1, 3, 5, 7, 8, 10, 12, 14, 9, 11, 13, 15, 16, 18, 20, 22, 17, 19, 21, 23, 24, 26, 28, 30, 25, 27, 29, 31, 32, 34, 36, 38, 33, 35, 37, 39, 40, 42, 44, 46, 41, 43, 45, 47, 48, 50, 52, 54, 49, 51, 53, 55, 56, 58, 60, 62, 57, 59, 61, 63, 64, 66, 68, 70, 65, 67, 69, 71, 72 (list; graph; listen)
OFFSET

0,2

COMMENT

For n>7: a(n) = 8*floor(n/8) + a(n mod 8);

permutation of natural numbers with inverse = A080414: A080414(a(n))=n, a(A080414(n))=n;

a(a(n))=A080414(n), A080414(A080414(n))=a(n), a(a(a(n)))=n.

LINKS

Index entries for sequences that are permutations of the natural numbers

EXAMPLE

a(2)=a('010')='100'=4; a(3)=a('011')='110'=6; a(4)=a('100')='001'=1; a(5)=a('101')='011'=3;

a(20)=a('10'100')='10'001'=17; a(21)=a('10'101')='10'011'=19.

CROSSREFS

Cf. A007088, A004442, A064429, A080412.

Sequence in context: A013082 A125944 A077069 this_sequence A004517 A056649 A075242

Adjacent sequences: A080410 A080411 A080412 this_sequence A080414 A080415 A080416

KEYWORD

nonn

AUTHOR

Reinhard Zumkeller (reinhard.zumkeller(AT)lhsystems.com), Feb 17 2003

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 July 24 12:00 EDT 2008. Contains 142294 sequences.


AT&T Labs Research