OFFSET
1,3
COMMENTS
A maximal 2-degenerate graph can be constructed from a 2-clique by iteratively adding a new 2-leaf (vertex of degree 2) adjacent to two existing vertices.
Examples of sharpness for all n are given in the Bickle 2021 paper.
The smallest maximum degree over all 2-trees with diameter 2 and n vertices is ceiling(2/3*n).
LINKS
Andrew Howroyd, Table of n, a(n) for n = 1..1000
Allan Bickle, k-Paths of k-Trees, Springer PROMS 388 (2020) 287-291.
Allan Bickle, Wiener indices of maximal k-degenerate graphs, International Journal of Mathematical Combinatorics 2 (2021) 68-79.
Allan Bickle and Zhongyuan Che, Wiener indices of maximal k-degenerate graphs, arXiv:1908.09202 [math.CO], 2019.
Index entries for linear recurrences with constant coefficients, signature (1,0,1,-1).
FORMULA
a(n) = ceiling(2/3*(n-1)) for n>15.
G.f.: x^2*(1 + x + x^2 - x^3 - x^5 - x^7 + x^8 + x^9 + x^13 - x^17)/((1 - x)^2*(1 + x + x^2)). - Andrew Howroyd, Nov 23 2025
EXAMPLE
For n=5, the graph formed by subdividing one edge of a 4-clique is maximal 2-degenerate with diameter 2, and has maximum degree 3. Thus a(5) = 3.
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Allan Bickle, Oct 13 2022
EXTENSIONS
More terms from Andrew Howroyd, Nov 23 2025
STATUS
approved
