login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A111746 Number of squares in the interior of the square with vertices (n,0), (0,n), (-n,0) and (0,-n) in a square (x,y)-grid. 0
0, 5, 17, 42, 82, 143, 227, 340, 484, 665, 885, 1150, 1462, 1827, 2247, 2728, 3272, 3885, 4569, 5330, 6170, 7095, 8107, 9212, 10412, 11713, 13117, 14630, 16254, 17995, 19855, 21840, 23952, 26197, 28577, 31098, 33762, 36575, 39539, 42660, 45940 (list; graph; refs; listen; history; internal format)
OFFSET

0,2

FORMULA

a(n) = n(4n^2 - 1)/6 - 1/4 + 1/4*(-1)^n = floor(A000447(n)/2).

MAPLE

seq(n*(4*n^2-1)/6 - 1/4 + 1/4*(-1)^n, n=1..50);

CROSSREFS

Sequence in context: A122035 A052350 A096741 * A088645 A055609 A146720

Adjacent sequences:  A111743 A111744 A111745 * A111747 A111748 A111749

KEYWORD

nonn

AUTHOR

Floor van Lamoen (fvlamoen(AT)hotmail.com), Nov 19 2005

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 14 00:47 EST 2012. Contains 205567 sequences.