OFFSET
1,3
COMMENTS
The Beatty sequence of sqrt(3)/4 starts 0, 0, 1, 1, 2, 2, 3, 3, 3, 4, 4, 5, 5, 6, 6, 6, 7,... for n>=1. This sequence here subsamples the Beatty sequence at the positions of the squares. - R. J. Mathar, Dec 02 2012
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..1000
Eric Weisstein's World of Mathematics, Equilateral Triangle
Wikipedia, Equilateral triangle
FORMULA
MATHEMATICA
Table[Floor[(n^2 Sqrt[3])/4], {n, 60}] (* Harvey P. Dale, Apr 13 2022 *)
PROG
(Haskell)
a171971 = floor . (/ 4) . (* sqrt 3) . fromInteger . a000290
-- Reinhard Zumkeller, Dec 15 2012
(PARI) a(n)=sqrtint(3*n^4\16) \\ Charles R Greathouse IV, Apr 08 2013
CROSSREFS
KEYWORD
nonn,changed
AUTHOR
Reinhard Zumkeller, Jan 20 2010
STATUS
approved