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!)
A338322 a(n) is the number of regular hexagons with all six vertices (x,y,z) in the set {1,2,...,n}^3. 2
0, 0, 0, 4, 32, 116, 320, 728, 1472, 2796, 5056, 8584, 13792, 21136, 31168, 45464, 64704, 90036, 122784, 164472, 216864, 281584, 360416, 457400, 574304, 714644, 881312, 1077612, 1306720, 1575088, 1884928, 2245336, 2658592, 3130028, 3665376, 4277376, 4967424 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
LINKS
Code Golf Stack Exchange, Polygons in a cube
FORMULA
a(n) >= 4*(n-2)^3 for n >= 2.
EXAMPLE
The a(3) = 4 hexagons with integer coordinates in {1,2,3} have vertices:
(1,1,2), (1,2,3), (2,1,1), (2,3,3), (3,2,1), (3,3,2);
(1,1,2), (1,2,1), (2,1,3), (2,3,1), (3,2,3), (3,3,2);
(1,2,1), (1,3,2), (2,1,1), (2,3,3), (3,1,2), (3,2,3); and
(1,2,3), (1,3,2), (2,1,3), (2,3,1), (3,1,2), (3,2,1).
One of the a(5) = 116 hexagons has vertices:
(2,2,1), (1,4,2), (2,5,4), (4,4,5), (5,2,4), (4,1,2).
CROSSREFS
Cf. A102698 (equilateral triangles), A334881 (squares), A338323 (regular polygons).
Sequence in context: A211627 A033430 A267668 * A239056 A088658 A088802
KEYWORD
nonn
AUTHOR
Peter Kagey, Oct 22 2020
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 September 6 15:39 EDT 2024. Contains 375715 sequences. (Running on oeis4.)