cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A274018 Number of n-bead ternary necklaces (no turning over allowed) that avoid the subsequence 110.

Original entry on oeis.org

1, 3, 6, 10, 21, 42, 103, 237, 603, 1519, 3942, 10257, 27131, 71940, 192462, 516933, 1395636, 3781356, 10283911, 28050600, 76732047, 210414811, 578330649, 1592821005, 4395261552, 12149386569, 33637309323, 93267459520, 258961863288, 719938597227, 2003881480452, 5583818718102, 15575529493713
Offset: 0

Views

Author

Marko Riedel, Jun 06 2016

Keywords

Comments

The pattern in this enumeration must be contiguous (all three values next to each other in one sequence of three letters).

Examples

			The necklace
    1--1
   /    \
  0      0
  |      |
  1      2
   \    /
    0--0
contains one instance of the subsequence starting in the upper left corner. Unlike a bracelet, the necklace is oriented.
		

Crossrefs

Formula

G.f.: 1 - Sum_{n>=1} (phi(n)/n)*log(x^(3*n) - q*x^n + 1), where q=3 is the number of symbols in the alphabet we are using. - Petros Hadjicostas, Sep 12 2017
a(n) = (1/n)*Sum_{d|n} phi(n/d)*A215885(d) for n >= 1. - Petros Hadjicostas, Sep 13 2017