Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

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

a(a(n))=A080413(n), A080413(A080413(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')='001'=1; a(3)=a('011')='101'=5; a(4)=a('100')='010'=2; a(5)=a('101')='110'=6;

a(20)=a('10'100')='10'010'=18; a(21)=a('10'101')='10'110'=22.

CROSSREFS

Cf. A007088, A004442, A064429, A080412.

Sequence in context: A131230 A076063 A035590 this_sequence A067061 A115210 A030352

Adjacent sequences: A080411 A080412 A080413 this_sequence A080415 A080416 A080417

KEYWORD

nonn,base

AUTHOR

Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.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 December 17 23:40 EST 2009. Contains 171025 sequences.


AT&T Labs Research