login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

[n/2] + [n/3] + [n/5].
0

%I #8 Jun 13 2015 00:51:48

%S 0,0,1,2,3,4,6,6,7,8,10,10,12,12,13,15,16,16,18,18,20,21,22,22,24,25,

%T 26,27,28,28,31,31,32,33,34,35,37,37,38,39,41,41,43,43,44,46,47,47,49,

%U 49,51,52,53,53,55,56,57,58,59,59,62,62,63,64,65,66,68,68,69,70,72,72,74,74,75

%N [n/2] + [n/3] + [n/5].

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

%F G.f.: x^2*(1-x)(3x^6+6x^5+7x^4+6x^3+5x^2+3x+1)/[(1-x^2)(1-x^3)(1-x^5) ].

%F a(n) = kn + O(1), where k = 31/30. - _Charles R Greathouse IV_, Dec 04 2013

%o (PARI) a(n)=n\2+n\3+n\5 \\ _Charles R Greathouse IV_, Dec 04 2013

%K nonn,easy

%O 0,4

%A Jonathan Vos Post, Jan 19 2007