Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A164089
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A164089 For n >=4, a(n) = the numerical value of the substring of binary n containing all digits but the first and last. a(1) = a(2) = a(3) = 0. +0
1
0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 2, 2, 3, 3, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13, 14, 14, 15, 15, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13, 14, 14, 15 (list; graph; listen)
OFFSET

1,12

COMMENT

a(2n) = a(2n+1) for all n.

For m >=2, terms a(2^m) through a(2^(m+1)-1) are 0,0,1,1,2,2,3,3,..., 2^(m-1)-1, 2^(m-1)-1.

EXAMPLE

26 in binary is 11010. Take the middle digits 1(101)0 - > 101, which is 5 in decimal. Therefore a(26) = 5.

CROSSREFS

Sequence in context: A127012 A125503 A127009 this_sequence A068460 A143797 A079729

Adjacent sequences: A164086 A164087 A164088 this_sequence A164090 A164091 A164092

KEYWORD

base,easy,nonn

AUTHOR

Leroy Quet (q1qq2qqq3qqqq(AT)yahoo.com), Aug 09 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 22 20:51 EST 2009. Contains 167312 sequences.


AT&T Labs Research