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!)
A056834 a(n) = floor(n^2/7). 12
0, 0, 0, 1, 2, 3, 5, 7, 9, 11, 14, 17, 20, 24, 28, 32, 36, 41, 46, 51, 57, 63, 69, 75, 82, 89, 96, 104, 112, 120, 128, 137, 146, 155, 165, 175, 185, 195, 206, 217, 228, 240, 252, 264, 276, 289, 302, 315, 329, 343, 357, 371, 386, 401, 416, 432, 448 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,5
LINKS
FORMULA
a(n) = +2*a(n-1) -a(n-2) +a(n-7) -2*a(n-8) +a(n-9).
G.f.: -x^3*(1+x)*(x^2-x+1) / ( (x^6+x^5+x^4+x^3+x^2+x+1)*(x-1)^3 ).
MATHEMATICA
Floor[(Range[0, 60]^2)/7] (* or *) LinearRecurrence[{2, -1, 0, 0, 0, 0, 1, -2, 1}, {0, 0, 0, 1, 2, 3, 5, 7, 9}, 60] (* Harvey P. Dale, Jul 21 2014 *)
CoefficientList[Series[-x^3 (1 + x) (x^2 - x + 1)/((x^6 + x^5 + x^4 + x^3 + x^2 + x + 1) (x - 1)^3), {x, 0, 100}], x] (* Vincenzo Librandi, Jul 22 2014 *)
PROG
(PARI) a(n) = n^2\7; \\ Michel Marcus, Mar 03 2022
CROSSREFS
Sequence in context: A241907 A065130 A023535 * A183140 A286283 A139282
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Sep 02 2000
STATUS
approved

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 30 17:37 EDT 2024. Contains 372139 sequences. (Running on oeis4.)