OFFSET
1,1
COMMENTS
For n > 0, it is easy to prove that k(n) = floor((3 + sqrt(3*(3+8*n)))/6) is the unique integer that satisfies the inequalities 3*binomial(k,2) <= n <= 3*binomial(k+1,2) of Theorem 1.1 in Malen and Roldán.
Proof: solving in k the above inequalities for n > 0, one gets that x - 1 <= k <= x, where x = (3 + sqrt(3*(3+8*n)))/6. Since 3*(3+8*n) is never a perfect square, it follows that x is not an integer and k = floor(x). QED.
LINKS
Greg Malen and Érika Roldán, Polyiamonds Attaining Extremal Topological Properties, arXiv:1906.08447 [math.CO], 2019.
FORMULA
a(n) = 3*(n + k(n)) + 1 + ceiling(2*n/k(n)), where k(n) = floor((3 + sqrt(3*(3+8*n)))/6).
MAPLE
k:=n->floor((3+sqrt(3*(3+8*n)))/6): a:=n->3*(n+k(n))+1+ceil(2*n/k(n)): seq(a(n), n = 1 .. 58)
MATHEMATICA
k[n_]:=Floor[(3+Sqrt[3*(3+8n)])/6]; a[n_]:=3(n+k[n])+1+Ceiling[2n/k[n]]; Array[a, 58]
CROSSREFS
KEYWORD
nonn
AUTHOR
Stefano Spezia, Sep 29 2019
STATUS
approved
