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

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A187327 a(n) = floor(n/5) + floor(2n/5) + floor(3n/5). 0

%I #17 Mar 01 2022 07:25:28

%S 0,0,1,2,3,6,6,7,8,9,12,12,13,14,15,18,18,19,20,21,24,24,25,26,27,30,

%T 30,31,32,33,36,36,37,38,39,42,42,43,44,45,48,48,49,50,51,54,54,55,56,

%U 57,60,60,61,62,63,66,66,67,68,69,72,72,73,74,75,78,78,79,80,81,84,84,85,86,87,90,90,91,92,93,96,96,97,98,99,102,102,103,104,105,108,108,109,110,111,114,114,115,116,117,120,120,121,122,123,126,126,127,128,129,132,132,133,134,135,138,138,139,140,141,144

%N a(n) = floor(n/5) + floor(2n/5) + floor(3n/5).

%H <a href="/index/Rec#order_06">Index entries for linear recurrences with constant coefficients</a>, signature (1,0,0,0,1,-1).

%F a(n) = floor(n/5)+floor(2n/5)+floor(3n/5).

%F a(n)= +a(n-1) +a(n-5) -a(n-6). G.f. ( x^4*(1+x+x^2+3*x^3) ) / ( (x^4+x^3+x^2+x+1)*(x-1)^2 ). - _R. J. Mathar_, Mar 18 2011

%t Table[Floor[n/5]+Floor[2n/5]+Floor[3n/5], {n,0,120}]

%t LinearRecurrence[{1,0,0,0,1,-1},{0,0,1,2,3,6},130] (* _Harvey P. Dale_, Sep 26 2016 *)

%o (PARI) a(n)=n\5+2*n\5+3*n\5 \\ _Charles R Greathouse IV_, Mar 17 2011

%K nonn,easy

%O 0,4

%A _Clark Kimberling_, Mar 08 2011

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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)