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!)
A093390 a(n) = floor(n/9) + floor((n+1)/9) + floor((n+2)/9). 6

%I #35 Dec 13 2017 02:51:01

%S 0,0,0,0,0,0,0,1,2,3,3,3,3,3,3,3,4,5,6,6,6,6,6,6,6,7,8,9,9,9,9,9,9,9,

%T 10,11,12,12,12,12,12,12,12,13,14,15,15,15,15,15,15,15,16,17,18,18,18,

%U 18,18,18,18,19,20,21,21,21,21,21,21,21,22,23,24,24,24,24,24,24,24,25

%N a(n) = floor(n/9) + floor((n+1)/9) + floor((n+2)/9).

%C Half the domination number of the camel's graph (from Tamerlane Chess) on a 2 X (n-6) chessboard. - _David Nacin_, May 28 2017

%H Michael De Vlieger, <a href="/A093390/b093390.txt">Table of n, a(n) for n = 0..10000</a>

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

%F G.f.: x^7 / ( (x^6+x^3+1)*(x-1)^2 ). - _R. J. Mathar_, Mar 22 2011

%F a(n) = n/3 + O(1). - _Charles R Greathouse IV_, Oct 16 2015

%F a(n) = A287394(n-6)/2. - _David Nacin_, May 28 2017

%t Array[Total@ Map[Floor[#/9] &, # + Range[0, 2]] &, 80, 0] (* or *)

%t CoefficientList[Series[x^7/((x^6 + x^3 + 1) (x - 1)^2), {x, 0, 79}], x] (* _Michael De Vlieger_, Dec 12 2017 *)

%o (PARI) a(n)=n\9+(n+1)\9+(n+2)\9 \\ _Charles R Greathouse IV_, Oct 16 2015

%Y Cf. A004524, A093391, A093392, A093393, A287394.

%K nonn,easy

%O 0,9

%A _Reinhard Zumkeller_, Mar 28 2004

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.)