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!)
A056833 Nearest integer to n^2/7. 2
0, 0, 1, 1, 2, 4, 5, 7, 9, 12, 14, 17, 21, 24, 28, 32, 37, 41, 46, 52, 57, 63, 69, 76, 82, 89, 97, 104, 112, 120, 129, 137, 146, 156, 165, 175, 185, 196, 206, 217, 229, 240, 252, 264, 277, 289, 302, 316, 329, 343, 357, 372, 386, 401, 417, 432, 448 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,5
LINKS
Index entries for linear recurrences with constant coefficients, signature (2, -1, 0, 0, 0, 0, 1, -2, 1).
FORMULA
G.f.: -x^2*(x+1)*(x^2-x+1)^2/((x-1)^3*(x^6+x^5+x^4+x^3+x^2+x+1)). [Colin Barker, Oct 08 2012]
MATHEMATICA
Round[Range[0, 60]^2/7] (* or *) LinearRecurrence[{2, -1, 0, 0, 0, 0, 1, -2, 1}, {0, 0, 1, 1, 2, 4, 5, 7, 9}, 60] (* Harvey P. Dale, Jul 31 2019 *)
PROG
(Magma) a056833:=func< n | Round(n^2/7) >; [ a056833(n): n in [0..70] ];
CROSSREFS
Sequence in context: A219648 A062428 A250000 * A275534 A069355 A212661
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 March 19 07:41 EDT 2024. Contains 370958 sequences. (Running on oeis4.)