The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A235337 Number of integer lattice points inside the square ABCD with side length n>0 with A(-n*sqrt(2)/2| 0), B(n*sqrt(2)/2| 0), C(0| n*sqrt(2)/2) and D(-n*sqrt(2)/2| 0). 1
1, 5, 13, 13, 25, 41, 41, 61, 85, 113, 113, 145, 181, 181, 221, 265, 313, 313, 365, 421, 421, 481, 545, 545, 613, 685, 761, 761, 841, 925, 925, 1013, 1105, 1201, 1201, 1301, 1405, 1405, 1513, 1625, 1625, 1741, 1861, 1985, 1985, 2113, 2245, 2245, 2381, 2521 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
Reiner Moewald and Vincenzo Librandi, Table of n, a(n) for n = 1..1000 (first 500 terms from Reiner Moewald)
FORMULA
a(n) := 2*z^2-2*z+1, where z = ceiling(n*sqrt(2)/2). - Giovanni Resta, Jan 10 2014
MATHEMATICA
a[n_] := Block[{z = Ceiling[Sqrt[2]*n/2]}, 1-2*z+2*z^2]; Array[a, 50] (* Giovanni Resta, Jan 10 2014 *)
CROSSREFS
Sequence in context: A051899 A085956 A232610 * A151994 A321992 A231806
KEYWORD
nonn
AUTHOR
Reiner Moewald, Jan 06 2014
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 May 18 03:36 EDT 2024. Contains 372618 sequences. (Running on oeis4.)