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!)
A279357 a(n) = A005187(n) XOR A005187(n+1). 5
1, 2, 7, 3, 15, 2, 1, 4, 31, 2, 1, 5, 1, 14, 3, 5, 63, 2, 1, 5, 1, 14, 3, 4, 1, 30, 3, 7, 3, 14, 1, 6, 127, 2, 1, 5, 1, 14, 3, 4, 1, 30, 3, 7, 3, 14, 1, 7, 1, 62, 3, 7, 3, 14, 1, 4, 3, 30, 1, 5, 1, 2, 15, 7, 255, 2, 1, 5, 1, 14, 3, 4, 1, 30, 3, 7, 3, 14, 1, 7, 1, 62, 3, 7, 3, 14, 1, 4, 3, 30, 1, 5, 1, 2, 15, 6, 1, 126, 3, 7, 3, 14, 1, 4, 3, 30 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
a(n) = A005187(n) XOR A005187(n+1).
MATHEMATICA
Function[t, BitXor @@ # & /@ Transpose@ {Most@ t, Rest@ t}]@ Table[2 n - DigitCount[2 n, 2, 1], {n, 0, 106}] (* Michael De Vlieger, Mar 15 2017, after Harvey P. Dale at A005187 *)
PROG
(Scheme) (define (A279357 n) (A003987bi (A005187 (+ 1 n)) (A005187 n))) ;; Here A003987bi implements a bitwise-XOR (A003987).
CROSSREFS
Sequence in context: A120861 A354368 A236542 * A099130 A362359 A076992
KEYWORD
nonn
AUTHOR
Antti Karttunen, Mar 15 2017
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 April 17 23:23 EDT 2024. Contains 371767 sequences. (Running on oeis4.)