Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A004515
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A004515 Generalized nim sum n + n in base 5. +0
3
0, 2, 4, 1, 3, 10, 12, 14, 11, 13, 20, 22, 24, 21, 23, 5, 7, 9, 6, 8, 15, 17, 19, 16, 18, 50, 52, 54, 51, 53, 60, 62, 64, 61, 63, 70, 72, 74, 71, 73, 55, 57, 59, 56, 58, 65, 67, 69, 66, 68, 100, 102, 104, 101, 103, 110 (list; graph; listen)
OFFSET

0,2

COMMENT

I.e. double (mod 5) each digit (0->0, 1->2, 2->4, 3->1, 4->3) of the base-5 representation of n)

LINKS

Index entries for sequences related to Nim-sums

Index entries for sequences that are permutations of the natural numbers

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.

CROSSREFS

Inverse permutation: A065256. A004515[n] = A065257[n+1]-1 ("Quintal Queens" permutation)

Sequence in context: A069270 A079901 A121426 this_sequence A036560 A117297 A112973

Adjacent sequences: A004512 A004513 A004514 this_sequence A004516 A004517 A004518

KEYWORD

nonn

AUTHOR

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

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 7 08:40 EST 2009. Contains 170430 sequences.


AT&T Labs Research