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!)
A056476 Number of primitive (aperiodic) palindromic structures of length n using a maximum of two different symbols. 5
1, 1, 0, 1, 1, 3, 2, 7, 6, 14, 12, 31, 27, 63, 56, 123, 120, 255, 238, 511, 495, 1015, 992, 2047, 2010, 4092, 4032, 8176, 8127, 16383, 16242, 32767, 32640, 65503, 65280, 131061, 130788, 262143, 261632, 524223, 523770, 1048575, 1047494, 2097151, 2096127, 4194162 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,6
COMMENTS
Permuting the symbols will not change the structure.
a(n) = A056481(n) for n > 1. - Jonathan Frech, May 21 2021
REFERENCES
M. R. Nester (1999). Mathematical investigations of some plant interaction designs. PhD Thesis. University of Queensland, Brisbane, Australia. [See A056391 for pdf file of Chap. 2]
LINKS
FORMULA
a(n) = Sum_{d|n} mu(d)*A016116(n/d-1) for n > 0.
a(n) = Sum_{k=1..2} A284826(n, k) for n > 0. - Andrew Howroyd, May 21 2021
EXAMPLE
Example from Jonathan Frech, May 21 2021: (Start)
The a(9)=14 lexicographically earliest equivalence class members in the alphabet {0,1} are:
000010000
000101000
000111000
001000100
001010100
001101100
001111100
010000010
010101010
010111010
011000110
011010110
011101110
011111110
(End)
MATHEMATICA
Table[DivisorSum[n, MoebiusMu[#]*2^Floor[(n/# - 1)/2] &], {n, 46}] (* Michael De Vlieger, May 21 2021 *)
PROG
(PARI) a(n) = if(n==0, 1, sumdiv(n, d, moebius(d)*2^((n/d-1)\2))) \\ Andrew Howroyd, May 21 2021
(Python)
from sympy import mobius, divisors
def A056476(n): return sum(mobius(n//d)<<(d-1>>1) for d in divisors(n, generator=True)) if n else 1 # Chai Wah Wu, Feb 18 2024
CROSSREFS
Sequence in context: A125718 A268821 A014841 * A056481 A366276 A269386
KEYWORD
nonn
AUTHOR
EXTENSIONS
Definition clarified by Jonathan Frech, May 21 2021
a(0)=1 prepended and a(32)-a(45) from Andrew Howroyd, May 21 2021
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 03:30 EDT 2024. Contains 371906 sequences. (Running on oeis4.)