OFFSET
0
COMMENTS
Decimal expansion of 9001/90000. - Elmo R. Oliveira, May 05 2024
LINKS
FORMULA
a(0)=1; for 0 < n < 4 a(n)=0; for n >= 4, a(n)=1.
Inverse Euler transformation of A008484.
G.f.: (x^4-x+1)/(1-x). - Elmo R. Oliveira, May 05 2024
EXAMPLE
The null graph is vacuously 2-regular and, being acyclic, has infinite girth.
There are no 2-regular simple graphs with 1 or 2 vertices.
The n-cycle has girth n.
MATHEMATICA
a[n_] := Switch[n, 0, 1, 1|2|3, 0, _, 1];
a /@ Range[0, 101] (* Jean-François Alcover, Dec 05 2019 *)
CROSSREFS
2-regular simple graphs with girth at least 4: this sequence (connected), A185224 (disconnected), A008484 (not necessarily connected).
Connected k-regular simple graphs with girth at least 4: A186724 (any k), A186714 (triangle); specified degree k: this sequence (k=2), A014371 (k=3), A033886 (k=4), A058275 (k=5), A058276 (k=6), A181153 (k=7), A181154 (k=8), A181170 (k=9).
Connected 2-regular simple graphs with girth at least g: A179184 (g=3), this sequence (g=4), A185115 (g=5), A185116 (g=6), A185117 (g=7), A185118 (g=8), A185119 (g=9).
KEYWORD
nonn,easy
AUTHOR
Jason Kimberley, Jan 27 2011
STATUS
approved