login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A059106 Number of solutions to variant of Langford (or Langford-Skolem) problem. 4
1, 0, 0, 3, 5, 0, 0, 252, 1328, 0, 0, 227968, 1520280, 0, 0, 700078384, 6124491248, 0, 0, 5717789399488, 61782464083584, 0, 0 (list; graph; refs; listen; history; internal format)
OFFSET

1,4

COMMENTS

How many ways are of arranging the numbers 1,1,2,2,3,3,...,n,n so that there are zero numbers between the two 1's, one number between the two 2's, ..., n-1 numbers between the two n's?

For n>1, a(n)=A004075(n)/2 because A004075 also counts reflected solutions. - Martin Fuller (martin_n_fuller(AT)btinternet.com), Mar 08 2007

Due to symmetry, is a(5) = 5 the largest prime in this sequence? [Jonathan Vos Post, Apr 2, 2011]

REFERENCES

R. S. Nickerson, A variant of Langford's Problem, American Math. Monthly, 1967, 74, 591-595.

LINKS

J. E. Miller, Langford's Problem

EXAMPLE

For n=4 a solution is 42324311.

CROSSREFS

Cf. A014552, A050998, A059107, A059108.

Cf. A004075.

Sequence in context: A025115 A113037 A063866 * A087676 A058813 A132701

Adjacent sequences:  A059103 A059104 A059105 * A059107 A059108 A059109

KEYWORD

nonn,nice,hard

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com), Feb 14 2001

EXTENSIONS

a(20) - a(23) from Mike Godfrey (m.godfrey(AT)umist.ac.uk), Mar 14 2002

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 14 23:53 EST 2012. Contains 205689 sequences.