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!)
A063686 Triangular array: a(n,k) is the number of binary necklaces (no turning over) of length n whose longest run of 1's has length k. Table begins at n=0, k=0. 1
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 4, 4, 2, 1, 1, 1, 1, 4, 6, 4, 2, 1, 1, 1, 1, 7, 11, 8, 4, 2, 1, 1, 1, 1, 9, 19, 14, 8, 4, 2, 1, 1, 1, 1, 14, 33, 27, 16, 8, 4, 2, 1, 1, 1, 1, 18, 56, 50, 30, 16, 8, 4, 2, 1, 1, 1, 1, 30, 101, 96, 59, 32, 16, 8, 4, 2, 1, 1, 1 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
0,12
COMMENTS
Column k=1 appears to be A032190(n), n=2,3,...
LINKS
EXAMPLE
Triangle begins:
1;
1, 1;
1, 1, 1;
1, 1, 1, 1;
1, 2, 1, 1, 1;
1, 2, 2, 1, 1, 1;
1, 4, 4, 2, 1, 1, 1;
1, 4, 6, 4, 2, 1, 1, 1;
1, 7, 11, 8, 4, 2, 1, 1, 1;
1, 9, 19, 14, 8, 4, 2, 1, 1, 1;
1, 14, 33, 27, 16, 8, 4, 2, 1, 1, 1;
...
PROG
(PARI) \\ here R(n) is A048887 transposed
R(n)={Mat(vector(n, k, Col((1-x)/(1-2*x+x^(k+1)) - 1 + O(x*x^n))))}
S(M)={matrix(#M-1, #M-1, n, k, if(k<n-1, (k+1)*M[n-k-1, k+1] + sum(j=1, k, j*(M[n-j, k+1]-M[n-j, k])), if(k<n, n)))}
T(n)={my(M=S(R(n+1))); matid(n) + matrix(n, n, n, k, sumdiv(n, d, if(k<d, eulerphi(n/d)*M[d, k]))/n) }
my(M=T(10)); for(n=0, #M, for(k=0, n, print1(if(k==0, 1, M[n, k]), ", ")); print) \\ Andrew Howroyd, Oct 15 2017
CROSSREFS
Cf. A000358, A093305, A280218 (necklaces avoiding 00, 000, 0000).
Sequence in context: A049704 A047996 A227690 * A333159 A008327 A133687
KEYWORD
nonn,tabl
AUTHOR
Christopher Lenard (c.lenard(AT)bendigo.latrobe.edu.au), Aug 22 2001
EXTENSIONS
a(0,0)=1 from Andrew Howroyd, Oct 15 2017
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 April 23 16:28 EDT 2024. Contains 371916 sequences. (Running on oeis4.)