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!)
A085717 Consider the square lattice L and the sublattice K of index 5 spanned by (2,-1), (1,2); a(n) = number of points (x,y) in M with x >= 0, y >= 0, x+y <= n. 0
1, 1, 1, 2, 3, 5, 6, 7, 9, 11, 14, 16, 18, 21, 24, 28, 31, 34, 38, 42, 47, 51, 55, 60, 65, 71, 76, 81, 87, 93, 100, 106, 112, 119, 126, 134, 141, 148, 156, 164, 173, 181, 189, 198, 207, 217, 226, 235, 245, 255, 266, 276, 286, 297, 308, 320, 331, 342, 354, 366, 379, 391, 403, 416 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
LINKS
FORMULA
G.f.: (x^3-x+1)/[(1-x^5)(1-x)^2].
MAPLE
a := proc(n) local i, t0, t1, t2; t0 := 0; for i from 0 to floor(2*n/5) do t1 := min(n-3*i, 2*i); t2 := ceil(-i/2); t0 := t0+t1-t2+1; od; t0; end;
CROSSREFS
Sequence in context: A026453 A026455 A082984 * A253083 A108130 A195060
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jul 20 2003
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 25 16:45 EDT 2024. Contains 371989 sequences. (Running on oeis4.)