Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A119913
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A119913 Number of different simple cycles in the complete graph K_n; that is, the number of subsets of at least 3 elements out of n, ordered up to cyclic permutations. +0
1
0, 0, 2, 14, 74, 394, 2344, 16036, 125628, 1112028, 10976118, 119481218, 1421542550 (list; graph; listen)
OFFSET

1,3

FORMULA

a(n) = Sum_{k=3..n} (n choose k) * (k-1)! ; a(n) = Sum_{i=2..n-1}(Floor(e*i!)) - (n+3)(n-2)/2 ; a(n) = Sum_{k=1..n-1} A038154(k)

a(n) = 2*A002807(n). - Vladeta Jovovic (vladeta(AT)eunet.rs), Aug 04 2006

EXAMPLE

a(4)=14 because there are 6 4-cycles and 8 3-cycles.

PROGRAM

Matlab: function a = an(n) s = 0; for i = 2:n-1 s = s+fix(exp(1)*factorial(i)); end a = s - (n+3)*(n-2)/2;

CROSSREFS

Cf. A038154.

Sequence in context: A095933 A043011 A138156 this_sequence A104871 A034573 A133224

Adjacent sequences: A119910 A119911 A119912 this_sequence A119914 A119915 A119916

KEYWORD

nonn

AUTHOR

Amir M. Ben-Amram (amirben(AT)mta.ac.il), Aug 02 2006

page 1

Search completed in 0.005 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 24 23:16 EST 2009. Contains 167481 sequences.


AT&T Labs Research