This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A104686 n*(n+1)/2 (mod 6). 1
 0, 1, 3, 0, 4, 3, 3, 4, 0, 3, 1, 0, 0, 1, 3, 0, 4, 3, 3, 4, 0, 3, 1, 0, 0, 1, 3, 0, 4, 3, 3, 4, 0, 3, 1, 0, 0, 1, 3, 0, 4, 3, 3, 4, 0, 3, 1, 0, 0, 1, 3, 0, 4, 3, 3, 4, 0, 3, 1, 0, 0, 1, 3, 0, 4, 3, 3, 4, 0, 3, 1, 0, 0, 1, 3, 0, 4, 3, 3, 4, 0, 3, 1, 0, 0, 1, 3 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,3 LINKS Index entries for linear recurrences with constant coefficients, signature (0,0,1,0,0,-1,0,0,1) FORMULA a(n) = A010875(A000217(n)). [Arkadiusz Wesolowski, Nov 28 2011] G.f.: -x*(1+3*x+3*x^3+3*x^5+x^6) / ( (x-1)*(1+x+x^2)*(x^2+1)*(x^4-x^2+1) ). - R. J. Mathar, Oct 16 2015 MATHEMATICA Table[Mod[(n^2 + n)/2, 6], {n, 0, 100}] (* Arkadiusz Wesolowski, Nov 28 2011 *) CROSSREFS Sequence in context: A108572 A322335 A245907 * A301428 A104514 A072480 Adjacent sequences:  A104683 A104684 A104685 * A104687 A104688 A104689 KEYWORD easy,nonn AUTHOR Stuart M. Ellerstein (ellerstein(AT)aol.com), Apr 22 2005 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 February 22 15:52 EST 2019. Contains 320399 sequences. (Running on oeis4.)