login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A275808
a(0) = 0, for n >= 1, a(n) = A275736(n) XOR a(A257684(n)), where XOR is given by A003987.
7
0, 1, 2, 3, 1, 0, 4, 5, 6, 7, 5, 4, 2, 3, 0, 1, 3, 2, 1, 0, 3, 2, 0, 1, 8, 9, 10, 11, 9, 8, 12, 13, 14, 15, 13, 12, 10, 11, 8, 9, 11, 10, 9, 8, 11, 10, 8, 9, 4, 5, 6, 7, 5, 4, 0, 1, 2, 3, 1, 0, 6, 7, 4, 5, 7, 6, 5, 4, 7, 6, 4, 5, 2, 3, 0, 1, 3, 2, 6, 7, 4, 5, 7, 6, 0, 1, 2, 3, 1, 0, 3, 2, 1, 0, 2, 3, 1, 0, 3, 2, 0
OFFSET
0,3
FORMULA
a(0) = 0, for n >= 1, a(n) = A275736(n) XOR a(A257684(n)), where 2-argument function XOR is given by A003987.
a(n) = A248663(A275734(n)).
PROG
(Scheme, with memoization-macro definec)
(definec (A275808 n) (if (zero? n) n (A003987bi (A275736 n) (A275808 (A257684 n))))) ;; Where A003987bi implements bitwise-XOR (A003987)
CROSSREFS
Cf. A275809 (positions of zeros), A275810 (and their first differences).
Cf. also A275728.
Sequence in context: A338753 A167666 A115352 * A038554 A362160 A356120
KEYWORD
nonn,base
AUTHOR
Antti Karttunen, Aug 09 2016
STATUS
approved