login
A175917
Convert n to binary. NOR 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, 0, 0, 0, 2, 2, 0, 0, 6, 6, 0, 0, 0, 0, 0, 0, 14, 14, 4, 4, 10, 10, 0, 0, 4, 4, 4, 4, 0, 0, 0, 0, 30, 30, 12, 12, 18, 18, 0, 0, 18, 18, 0, 0, 18, 18, 0, 0, 12, 12, 12, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 62, 62, 28, 28, 42, 42, 8, 8, 54, 54, 20, 20, 34, 34, 0, 0, 42, 42, 8, 8, 42, 42, 8, 8, 34
OFFSET
0,5
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[Positive[f[[r]]], 0, 1], {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: A298719 A296148 A121178 * A320525 A357647 A069971
KEYWORD
base,nonn
AUTHOR
Dylan Hamilton, Oct 15 2010
STATUS
approved