login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 


A334881
Number of squares in 3-dimensional space whose four vertices have coordinates (x,y,z) in the set {1,...,n}.
4
0, 0, 6, 54, 240, 810, 2274, 5304, 10752, 19992, 34854, 57774, 91200, 139338, 206394, 296832, 417120, 575556, 779238, 1037514, 1359792, 1760694, 2251362, 2845140, 3554976, 4404876, 5416278, 6605946, 7996896, 9621678, 11500962, 13667772, 16143552, 18973608, 22190406
OFFSET
0,3
COMMENTS
a(n) >= 3*n*A002415(n).
LINKS
Zachary Kaplan, Python program
Mathematics Stack Exchange user Olivier Massicot, How many squares in a three-dimensional n X n X n cartesian grid?
EXAMPLE
For n = 5, one such square has vertex set {(2,1,1), (5,4,1), (4,5,5), (1,2,5)}.
CROSSREFS
Cf. A002415 (squares in square grid), A098928 (cubes in cube grid).
Sequence in context: A195901 A260955 A072368 * A367662 A355054 A116138
KEYWORD
nonn
AUTHOR
Peter Kagey, May 14 2020
EXTENSIONS
a(7)-a(12) from Pontus von Brömssen, May 15 2020
a(13)-a(20) from Peter Kagey, Jul 29 2020 via Mathematics Stack Exchange link
Terms a(21) and beyond from Zachary Kaplan, Sep 01 2020, via Mathematics Stack Exchange link
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | 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 September 22 18:22 EDT 2024. Contains 376133 sequences. (Running on oeis4.)