Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A163807
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A163807 Reverse the order of inner digits (all digits but the first and last) of n written in binary. a(n) = the decimal value of the result. +0
1
1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 10, 11, 14, 15, 16, 17, 24, 25, 20, 21, 28, 29, 18, 19, 26, 27, 22, 23, 30, 31, 32, 33, 48, 49, 40, 41, 56, 57, 36, 37, 52, 53, 44, 45, 60, 61, 34, 35, 50, 51, 42, 43, 58, 59, 38, 39, 54, 55, 46, 47, 62, 63, 64, 65, 96, 97, 80, 81, 112, 113, 72 (list; graph; listen)
OFFSET

1,2

COMMENT

This is a self-inverse permutation of the positive integers.

EXAMPLE

18 in binary is 10010. The inner digits are 001. Reverse these, leaving the first digit (a 1) and the last digit (a 0) untouched, and we have 11000. a(18) is the decimal equivalent of 11000, which is 24.

CROSSREFS

Sequence in context: A029970 A143265 A109841 this_sequence A118766 A136399 A056167

Adjacent sequences: A163804 A163805 A163806 this_sequence A163808 A163809 A163810

KEYWORD

base,nonn

AUTHOR

Leroy Quet (q1qq2qqq3qqqq(AT)yahoo.com), Aug 04 2009

EXTENSIONS

More terms from R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Sep 27 2009

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 24 23:16 EST 2009. Contains 167481 sequences.


AT&T Labs Research