Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A004497
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A004497 Tersum n + 8. +0
1
8, 6, 7, 2, 0, 1, 5, 3, 4, 17, 15, 16, 11, 9, 10, 14, 12, 13, 26, 24, 25, 20, 18, 19, 23, 21, 22, 35, 33, 34, 29, 27, 28, 32, 30, 31, 44, 42, 43, 38, 36, 37, 41, 39, 40, 53, 51, 52, 47, 45, 46, 50, 48, 49, 62, 60, 61, 56 (list; graph; listen)
OFFSET

0,1

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)= -5 + Sum_{k=0..n}{(1/36)*(-47*(k mod 9)-11*((k+1) mod 9)+25*((k+2) mod 9)-11*((k+3) mod 9)-11*((k+4) mod 9)-11*((k+5) mod 9)+25*((k+6) mod 9)-11*((k+7) mod 9)+61*((k+8) mod 9)},with n>=0 - Paolo P. Lava (ppl(AT)spl.at), Dec 03 2007

CROSSREFS

Sequence in context: A154499 A092750 A153791 this_sequence A091899 A104175 A019792

Adjacent sequences: A004494 A004495 A004496 this_sequence A004498 A004499 A004500

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 2 11:54 EST 2009. Contains 167921 sequences.


AT&T Labs Research