login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A175919 Convert n to binary. XOR each respective digit of binary n and binary A030101(n), where A030101(n) is the reversal of the order of the digits in the binary representation of n (given in decimal). a(n) is the decimal value of the result. 0
0, 3, 0, 5, 0, 5, 0, 9, 0, 15, 6, 15, 6, 9, 0, 17, 0, 27, 10, 17, 0, 27, 10, 27, 10, 17, 0, 27, 10, 17, 0, 33, 0, 51, 18, 45, 12, 63, 30, 45, 12, 63, 30, 33, 0, 51, 18, 51, 18, 33, 0, 63, 30, 45, 12, 63, 30, 45, 12, 51, 18, 33, 0, 65, 0, 99, 34, 85, 20, 119, 54, 65, 0, 99, 34, 85, 20, 119 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

Description format taken from Leroy Quet's OR and AND gate sequences for consistency.

LINKS

Table of n, a(n) for n=1..78.

MATHEMATICA

Table[f = IntegerDigits[x, 2]; f = f + Reverse[f]; FromDigits[ Table[If[OddQ[f[[r]]], 1, 0], {r, 1, Length[f]}], 2], {x, STARTPOINT, ENDPOINT}]

CROSSREFS

Or A175298 and And A175297 gate sequences. The rest of the equivalent sequences for other gates are adjacent.

Sequence in context: A123931 A058026 A004605 * A086664 A164736 A109753

Adjacent sequences:  A175916 A175917 A175918 * A175920 A175921 A175922

KEYWORD

base,nonn

AUTHOR

Dylan Hamilton, Oct 15 2010

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified May 25 06:36 EDT 2013. Contains 225644 sequences.