Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A067018
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A067018 Start with a(0)=1, a(1)=4, a(2)=3, a(3)=2; for n>=3, a(n+1) = mex_i (nim-sum a(i)+a(n-i)), where mex means smallest nonnegative missing number. +0
3
1, 4, 3, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0 (list; graph; listen)
OFFSET

0,2

COMMENT

Nim-sum is addition in base 2 without carry (XOR the binary expansions).

REFERENCES

R. K. Guy, Unsolved Problems in Number Theory, E27.

EXAMPLE

a(5) = mex{1 xor 0, 4 xor 2, 3 xor 3, etc. (duplicates)} = mex{1 xor 0, 100 xor 10, 11 xor 11} (in base 2) = mex{1, 6, 0} = 2

CROSSREFS

Cf. A067016, A067017.

Sequence in context: A154960 A143543 A067017 this_sequence A100802 A022960 A023446

Adjacent sequences: A067015 A067016 A067017 this_sequence A067019 A067020 A067021

KEYWORD

nonn,easy

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com), Feb 17 2002

EXTENSIONS

More terms from John W. Layman (layman(AT)math.vt.edu), Feb 20 2002

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 1 19:22 EST 2009. Contains 167811 sequences.


AT&T Labs Research