login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A175920 Convert n to binary. XNOR 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. 1
0, 1, 0, 3, 2, 7, 2, 7, 6, 15, 0, 9, 0, 9, 6, 15, 14, 31, 4, 21, 14, 31, 4, 21, 4, 21, 14, 31, 4, 21, 14, 31, 30, 63, 12, 45, 18, 51, 0, 33, 18, 51, 0, 33, 30, 63, 12, 45, 12, 45, 30, 63, 0, 33, 18, 51, 0, 33, 18, 51, 12, 45, 30, 63, 62, 127, 28, 93, 42, 107, 8, 73, 62, 127, 28, 93, 42 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
COMMENTS
Description format taken from Leroy Quet's OR and AND gate sequences for consistency.
LINKS
MATHEMATICA
Table[f = IntegerDigits[x, 2]; f = f + Reverse[f]; FromDigits[ Table[If[EvenQ[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: A366161 A174238 A361145 * A200593 A249112 A265219
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 | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 10 23:32 EDT 2024. Contains 375059 sequences. (Running on oeis4.)