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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A089118 Nonnegative numbers in (3*A005836 - 1) [A005836 are the numbers with base representation containing no 2]. 2
2, 8, 11, 26, 29, 35, 38, 80, 83, 89, 92, 107, 110, 116, 119, 242, 245, 251, 254, 269, 272, 278, 281, 323, 326, 332, 335, 350, 353, 359, 362, 728, 731, 737, 740, 755, 758, 764, 767, 809, 812, 818, 821, 836, 839, 845, 848, 971, 974, 980, 983, 998, 1001, 1007, 1010 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

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

LINKS

Table of n, a(n) for n=1..55.

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[1010], Mod[m[#], 3] == 2 &] (* Jean-François Alcover, Jul 10 2013 *)

CROSSREFS

Cf. A005836, A001006.

Sequence in context: A234924 A174114 A197540 * A146480 A093918 A254313

Adjacent sequences:  A089115 A089116 A089117 * A089119 A089120 A089121

KEYWORD

nonn

AUTHOR

Emeric Deutsch and Bruce E. Sagan, Dec 05 2003

EXTENSIONS

Offset corrected to 1 by Jean-François Alcover, Jun 23 2016

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 | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 17 16:34 EDT 2018. Contains 316285 sequences. (Running on oeis4.)