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!)
A208540 Number of n-bead necklaces of 4 colors allowing reversal, with no adjacent beads having the same color. 2
4, 6, 4, 21, 24, 92, 156, 498, 1096, 3210, 8052, 22913, 61320, 173088, 478316, 1351983, 3798240, 10781954, 30585828, 87230157, 249056136, 713387076, 2046590844, 5884491500, 16945772208, 48883660146, 141214768972 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
Marko Riedel et al., math.stackexchange, Proper colorings of necklaces
Marko Riedel et al., math.stackexchange, Proper colorings of bracelets
FORMULA
a(2*n+1) = A106366(2*n+1)/2 for n > 0, a(2*n) = (A106366(2*n) + 2*3^n)/2. - Andrew Howroyd, Mar 12 2017
EXAMPLE
All solutions for n=3
..1....1....2....1
..2....2....3....3
..3....4....4....4
MATHEMATICA
T[n_, k_] := If[n == 1, k, (DivisorSum[n, EulerPhi[n/#]*(k - 1)^# &]/n + If[OddQ[n], 1 - k, k*(k - 1)^(n/2)/2])/2]; a[n_] = T[n, 4]; Array[a, 27] (* Jean-François Alcover, Nov 01 2017, after Andrew Howroyd *)
CROSSREFS
Column 4 of A208544.
Sequence in context: A185145 A258836 A292387 * A019195 A019089 A173462
KEYWORD
nonn
AUTHOR
R. H. Hardin, Feb 27 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 April 24 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)