OFFSET
0,2
REFERENCES
S. Selby, editor, CRC Basic Mathematical Tables, CRC Press, 1970, pp. 10-11.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..10000
Eric Weisstein's World of Mathematics, Octahedron
Eric Weisstein's World of Mathematics, Platonic Solid
FORMULA
a(n) = round(2 * n^2 * sqrt(3)).
EXAMPLE
a(3)=31 because round(2*3^2*sqrt(3)) = round(18*1.73205...) = round(31.1769...) = 31.
MATHEMATICA
Table[Round[2n^2 Sqrt[3]], {n, 0, 50}] (* Harvey P. Dale, Feb 19 2024 *)
PROG
(PARI) for(n=0, 100, print1(round(2*n^2*sqrt(3)), ", "))
(Magma) [Round(2*n^2 * Sqrt(3)): n in [0..50]]; // Vincenzo Librandi, May 21 2011
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Rick L. Shepherd, May 23 2002
STATUS
approved