login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A089119 Complement of ((3*A005836) union (3*A005836 - 1) union (3*A005836 - 2)) [A005836 are the numbers with base 3 representation containing no 2]. 0
4, 5, 6, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 31, 32, 33, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 85, 86, 87, 94, 95, 96, 97, 98, 99, 100, 101, 102 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

COMMENTS

n such that the Motzkin number A001006(n) = 0 (mod 3).

LINKS

Table of n, a(n) for n=0..68.

MATHEMATICA

(* m = MotzkinNumber *) m[0] = 1; m[n_] := m[n] = m[n - 1] + Sum[m[k]*m[n - 2 - k], {k, 0, n - 2}]; Select[Range[0, 120], Mod[m[#], 3] == 0 &] (* Jean-Fran├žois Alcover, Jul 10 2013 *)

CROSSREFS

Cf. A001006, A005836.

Sequence in context: A310571 A280382 A055033 * A063833 A260107 A167434

Adjacent sequences:  A089116 A089117 A089118 * A089120 A089121 A089122

KEYWORD

nonn

AUTHOR

Emeric Deutsch and Bruce E. Sagan, Dec 05 2003

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 6 11:51 EDT 2020. Contains 333273 sequences. (Running on oeis4.)