login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A051175 Number of trees T of order n such that W(T) = W(L(L(T))) where W(G) and L(G) are the Wiener index and line graph of a graph G. 1
0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 7, 8, 22, 25, 66, 73, 204, 231, 513, 576, 1520, 1715, 3763, 4085 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,13
REFERENCES
A. A. Dobrynin (dobr(AT)math.nsc.ru), Distance of iterated line graphs, Graph Theory Notes of NY, 37 (1999), 8-9.
LINKS
A. A. Dobrynin and L. S. Mel'nikov, Some results on the Wiener index of iterated line graphs, Electronic Notes in Discrete Mathematics 22 (2005), 469-475
PROG
(Sage) # needs the package nauty
def a(n):
c = 0
for el in graphs.nauty_geng(str(n) + ' -c ' + str(n-1)+':' + str(n-1)):
g = (el.line_graph()).line_graph()
if el.wiener_index() == g.wiener_index():
c+=1
return c
# Jernej Azarija, Aug 13 2012
CROSSREFS
Sequence in context: A181585 A060291 A132899 * A322651 A325322 A288068
KEYWORD
nonn
AUTHOR
EXTENSIONS
More terms (from Dobrynin/Mel'nikov reference), Jernej Azarija, Aug 13 2012
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 2 03:00 EDT 2024. Contains 373947 sequences. (Running on oeis4.)