# Greetings from The On-Line Encyclopedia of Integer Sequences! http://oeis.org/ Search: id:a300075 Showing 1-1 of 1 %I A300075 #10 Oct 05 2018 07:59:49 %S A300075 0,1,1,2,2,2,0,1,1,2,2,2,0,1,1,2,2,2,0,1,1,2,2,2,0,1,1,2,2,2,0,1,1,2, %T A300075 2,2,0,1,1,2,2,2,0,1,1,2,2,2,0,1,1,2,2,2,0,1,1,2,2,2,0,1,1,2,2,2,0,1, %U A300075 1,2,2,2,0,1,1,2,2,2 %N A300075 Period 6: repeat [0, 1, 1, 2, 2, 2]. %C A300075 Underlying A300076. %H A300075 Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,0,1). %F A300075 a(n) = floor(((n+1) (mod 6))/2) + 2*floor((n (mod 6))/5), n >= 0. %F A300075 G.f.: x*(1 + x + 2*x^2*(1 + x + x^2))/(1 - x^6). %F A300075 a(n) = (4 - 2*cos(n*Pi/3) - cos(2*n*Pi/3) - cos(n*Pi) - sqrt(3)*sin(n*Pi/3))/3. - _Wesley Ivan Hurt_, Oct 04 2018 %Y A300075 Cf. A300067, A300069, A300076. %K A300075 nonn,easy %O A300075 0,4 %A A300075 _Wolfdieter Lang_, Mar 03 2018 # Content is available under The OEIS End-User License Agreement: http://oeis.org/LICENSE