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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A098534 Mod 3 analogue of Stern's diatomic series. 0
0, 1, 1, 2, 3, 2, 2, 4, 3, 4, 7, 5, 6, 5, 5, 4, 6, 4, 4, 8, 6, 8, 8, 7, 6, 10, 7, 8, 15, 11, 14, 10, 12, 10, 13, 11, 12, 11, 11, 10, 12, 10, 10, 11, 9, 8, 14, 10, 12, 10, 10, 8, 12, 8, 8, 16, 12, 16, 13, 14, 12, 17, 14, 16, 18, 16, 16, 17, 15, 14, 17, 13, 12, 22, 16, 20, 18, 17, 14, 22 (list; graph; refs; listen; history; internal format)
OFFSET

0,4

COMMENTS

Essentially diagonal sums of Pascal's triangle modulo 3.

FORMULA

a(n)=sum{k=0..floor((n-1)/2), mod(binomial(n-k-1, k), 3)}

CROSSREFS

Cf. A002487, A051638.

Sequence in context: A193827 A131340 A175470 * A002307 A029247 A194020

Adjacent sequences:  A098531 A098532 A098533 * A098535 A098536 A098537

KEYWORD

easy,nonn

AUTHOR

Paul Barry (pbarry(AT)wit.ie), Sep 13 2004

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 15 09:39 EST 2012. Contains 205753 sequences.