|
| |
| |
|
|
|
0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 10, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11, 11, 12, 12, 12, 12, 12, 12, 13, 13, 13, 13, 13, 13, 14, 14, 14, 14, 14, 14
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 0,13
|
|
|
COMMENTS
| Apart from initial terms, same as A097992 . [From Philippe DELEHAM (kolotoko(AT)wanadoo.fr), Dec 06 2008]
|
|
|
LINKS
| Index entries for sequences related to linear recurrences with constant coefficients, signature (1,0,0,0,0,1,-1).
|
|
|
FORMULA
| a(n)=floor(n/6)=a(n-6)+1. G.f.: x^7/((1-x)^2*(1+x)(1+x+x^2)(x^2-x+1)). [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl) and Philippe DELEHAM (kolotoko(AT)wanadoo.fr), Dec 06 2008]
a(n)=(6*n-15+3*(-1)^n+12*sin[(2*n+1)*Pi/6]+4*sqrt(3)*sin[(2n+1)*Pi/3])/36
a(n)=floor((3n-2)/2 - (4n-3)/3) - Robert G. Wilson v, June 4 2011.
|
|
|
MATHEMATICA
| a[n_]:=Floor[n/6];
|
|
|
PROG
| (Other) sage: [floor(n/6) for n in xrange(0, 90)]# [From Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Dec 02 2009]
(PARI) a(n)=n\6 \\ Charles R Greathouse IV, Jun 04, 2011
|
|
|
CROSSREFS
| Sequence in context: A071538 A138194 A133876 * A097992 A195177 A147583
Adjacent sequences: A152464 A152465 A152466 * A152468 A152469 A152470
|
|
|
KEYWORD
| nonn,easy
|
|
|
AUTHOR
| Vladimir Orlovsky (4vladimir(AT)gmail.com), Dec 05 2008
|
| |
|
|