Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A140526
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A140526 Number of derangements of n elements with one pair repeated exactly once (e.g. "ABABCDEF"). +0
1
1, 4, 29, 230, 2033, 19744, 209581, 2418226, 30173825, 405194012, 1535140765, 89520810334 (list; graph; listen)
OFFSET

4,2

LINKS

Hugo M. Spinelli, Program code related to this sequence

EXAMPLE

a(4)=1 because "aabb" has only one derangement: "bbaa";

a(5)=4 because "aabbc" has four derangements: "bbaca", "bbcaa", "bcaab" and "cbaab".

CROSSREFS

Cf. A105927 for derangements with an element repeated exactly once and no other repetition (e.g. "AABCDEF"); A105928 for derangements with an element appearing three times and no other repetition (e.g. "AAABCDEF").

Adjacent sequences: A140523 A140524 A140525 this_sequence A140527 A140528 A140529

Sequence in context: A135429 A079756 A087809 this_sequence A125808 A083072 A127770

KEYWORD

more,nonn,nice

AUTHOR

Hugo M. Spinelli (woodcroft(AT)poli.ufrj.br), Jul 02 2008, Jul 25 2008

page 1

Search completed in 0.002 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 October 10 20:39 EDT 2008. Contains 144831 sequences.


AT&T Labs Research