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!)
A234729 Volume of right regular hexagonal pyramid with height and side lengths n, rounded down. 1
0, 6, 23, 55, 108, 187, 297, 443, 631, 866, 1152, 1496, 1902, 2376, 2922, 3547, 4254, 5050, 5940, 6928, 8020, 9221, 10536, 11971, 13531, 15221, 17045, 19010, 21121, 23382, 25799, 28377, 31122, 34038, 37130, 40405, 43866, 47520, 51371, 55425, 59687 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n)= floor(n^2*evalf(sqrt(3)*3/2)*n/3) = floor(0.8660254040* n^3).
EXAMPLE
a(7) = 297: Volume = n^2 * evalf(sqrt(3)*3/2)* n/3 = 297.0467136 and floor(297.0467136) = 297.
MAPLE
KD:= proc() local a, b; a:=n^2*evalf(sqrt(3)*3/2)*n/3 ; b:=floor(a); RETURN(b): end: seq(KD(), n=1..100);
MATHEMATICA
Table[Floor[k^3*0.8660254040], {k, 1, 100}]
Table[Floor[(Sqrt[3] n^3)/2], {n, 100}] (* Harvey P. Dale, Apr 11 2020 *)
PROG
(PARI) a(n)=sqrtint(3*n^6\4) \\ Charles R Greathouse IV, Jan 08 2014
CROSSREFS
Cf. A229063 (volume of square pyramid).
Sequence in context: A272840 A272941 A272922 * A273500 A189713 A162267
KEYWORD
nonn,easy
AUTHOR
K. D. Bajpai, Dec 30 2013
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 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)