The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A082575 Nonnegative numbers in (3*A005836) union (3*A005836 - 2) [A005836 lists the numbers with base-3 representation containing no 2]. 2
 0, 1, 3, 7, 9, 10, 12, 25, 27, 28, 30, 34, 36, 37, 39, 79, 81, 82, 84, 88, 90, 91, 93, 106, 108, 109, 111, 115, 117, 118, 120, 241, 243, 244, 246, 250, 252, 253, 255, 268, 270, 271, 273, 277, 279, 280, 282, 322, 324, 325, 327, 331, 333, 334, 336, 349, 351, 352 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,3 COMMENTS Numbers k such that the Motzkin number A001006(k) == 1 (mod 3). LINKS Amiram Eldar, Table of n, a(n) for n = 1..10000 Rob Burns, Asymptotic density of Motzkin numbers modulo small primes, arXiv:1611.04910 [math.NT], 2016. 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, 400], Mod[m[#], 3] == 1 &] (* Jean-François Alcover, Jul 10 2013 *) max = 150; Sort @ Join[Select[3*Range[0, max], DigitCount[#, 3, 2] == 0 &], Select[3*Range[max] - 2, DigitCount[# + 2, 3, 2] == 0 &]] (* Amiram Eldar, Jun 04 2022 *) CROSSREFS Cf. A001006, A005836, A089118, A089119. Sequence in context: A160800 A354616 A099248 * A284526 A344413 A339618 Adjacent sequences: A082572 A082573 A082574 * A082576 A082577 A082578 KEYWORD nonn,base AUTHOR Emeric Deutsch and Bruce E. Sagan, Dec 05 2003 EXTENSIONS Offset changed to 1 (sequence is a list) by L. Edson Jeffery, Nov 27 2015 STATUS approved

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

Last modified August 13 20:30 EDT 2024. Contains 375144 sequences. (Running on oeis4.)