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

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A006940 Rows of Pascal's triangle mod 3. (Formerly M4806) 2
 1, 11, 121, 1001, 11011, 121121, 1002001, 11022011, 121212121, 1000000001, 11000000011, 121000000121, 1001000001001, 11011000011011, 121121000121121, 1002001001002001, 11022011011022011, 121212121121212121, 1000000002000000001, 11000000022000000011, 121000000212000000121 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,2 REFERENCES C. Pickover, Mazes for the Mind, St. Martin's Press, NY, 1992, p. 353. N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence). LINKS MATHEMATICA a[n_] := FromDigits[Table[Mod[Binomial[n, k], 3], {k, 0, n}]]; Array[a, 25, 0] (* Amiram Eldar, Nov 22 2018 *) PROG (PARI) a(n)=fromdigits(apply(x->x%3, binomial(n))); \\ Michel Marcus, Nov 21 2018 CROSSREFS Cf. A007318. Sequence in context: A068179 A293891 A218262 * A070844 A164327 A080445 Adjacent sequences:  A006937 A006938 A006939 * A006941 A006942 A006943 KEYWORD nonn AUTHOR EXTENSIONS More terms from Michel Marcus, Nov 21 2018 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.

Last modified May 26 14:46 EDT 2020. Contains 334626 sequences. (Running on oeis4.)