login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A004514 Generalized nim sum n + n in base 4. 3
0, 2, 0, 2, 8, 10, 8, 10, 0, 2, 0, 2, 8, 10, 8, 10, 32, 34, 32, 34, 40, 42, 40, 42, 32, 34, 32, 34, 40, 42, 40, 42, 0, 2, 0, 2, 8, 10, 8, 10, 0, 2, 0, 2, 8, 10, 8, 10, 32, 34, 32, 34, 40, 42, 40, 42, 32, 34, 32, 34, 40, 42, 40, 42, 128, 130, 128, 130, 136, 138, 136, 138, 128 (list; graph; refs; listen; history; internal format)
OFFSET

0,2

COMMENTS

a(n) = n + A053985(n). - Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Dec 27 2003

LINKS

Index entries for sequences related to Nim-sums

FORMULA

Generalized nim sum m + n in base q: write m and n in base q and add mod q with no carries, e.g. 5 + 8 in base 3 = "21" + "22" = "10" = 1.

a(n) = 2*(n-a(floor(n/2))). a(n) = 2*A063694(n). - Vladeta Jovovic (vladeta(AT)eunet.rs), Feb 23 2003

Equals A088442 - 1. - Chris Groer (cgroer(AT)math.uga.edu), Nov 10, 2003

CROSSREFS

Sequence in context: A201735 A029593 A196504 * A137302 A091518 A096734

Adjacent sequences:  A004511 A004512 A004513 * A004515 A004516 A004517

KEYWORD

base,nonn

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com).

EXTENSIONS

More terms from Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Dec 27 2003

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 16 09:27 EST 2012. Contains 205904 sequences.