Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A086099
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A086099 a(n) = OR(k AND (n-k): 0<=k<=n), AND and OR bitwise. +0
6
0, 0, 1, 0, 3, 2, 3, 0, 7, 6, 7, 4, 7, 6, 7, 0, 15, 14, 15, 12, 15, 14, 15, 8, 15, 14, 15, 12, 15, 14, 15, 0, 31, 30, 31, 28, 31, 30, 31, 24, 31, 30, 31, 28, 31, 30, 31, 16, 31, 30, 31, 28, 31, 30, 31, 24, 31, 30, 31, 28, 31, 30, 31, 0, 63, 62, 63, 60, 63, 62, 63, 56, 63, 62 (list; graph; listen)
OFFSET

0,5

COMMENT

a(2*n) = A003817(n);

a(2^n - 1) = 0, a(3*2^n - 1) = 2^n;

A086100(n) = A007088(a(n)).

LINKS

R. Zumkeller, Table of n, a(n) for n = 0..10000

Eric Weisstein's World of Mathematics, AND

Eric Weisstein's World of Mathematics, OR

R. Zumkeller, Logical Convolutions

FORMULA

a(2*n) = 2*2^floor(log2(n)) - 1, a(2*n+1) = 2*a(n).

EXAMPLE

a(4) = (0 AND 4) OR (1 AND 3) OR (2 AND 2) OR (3 AND 1) OR (4 AND

0) -> (000 AND 100) OR (001 AND 011) OR (010 AND 010) OR (011 AND 001) OR

(111 AND 000) = 000 OR 011 OR 010 OR 011 OR 000 = 011 -> a(4)=3.

CROSSREFS

Cf. A003817, A062383.

Cf. A003817, A000004, A142149, A142150, A142151, A001477.

Sequence in context: A134676 A103491 A089306 this_sequence A048967 A103497 A085747

Adjacent sequences: A086096 A086097 A086098 this_sequence A086100 A086101 A086102

KEYWORD

nonn,nice

AUTHOR

Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Jul 09 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 November 21 14:49 EST 2008. Contains 150807 sequences.


AT&T Labs Research