Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A004488
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A004488 Tersum n + n. +0
18
0, 2, 1, 6, 8, 7, 3, 5, 4, 18, 20, 19, 24, 26, 25, 21, 23, 22, 9, 11, 10, 15, 17, 16, 12, 14, 13, 54, 56, 55, 60, 62, 61, 57, 59, 58, 72, 74, 73, 78, 80, 79, 75, 77, 76, 63, 65, 64, 69, 71, 70, 66, 68, 67, 27, 29, 28, 33 (list; graph; listen)
OFFSET

0,2

COMMENT

Could also be described as "Write n in base 3, then replace each digit by its base 3 negative" as with A048647 for base 4 - Henry Bottomley (se16(AT)btinternet.com), Apr 19 2000

a(a(n)) = n, a self-inverse permutation of natural numbers. - Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Dec 19 2003

LINKS

Index entries for sequences that are permutations of the natural numbers

FORMULA

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

a(n) = Sum(3-d(i)-3*0^d(i): n=Sum(d(i)*3^d(i): 0<=d(i)<3)); - Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Dec 19 2003

CROSSREFS

Sequence in context: A026220 A138750 A048850 this_sequence A011419 A011133 A073675

Adjacent sequences: A004485 A004486 A004487 this_sequence A004489 A004490 A004491

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 6 13:45 EST 2009. Contains 170429 sequences.


AT&T Labs Research