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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A019309 Number of "bifix-free" words of length n over a four-letter alphabet. 4
1, 4, 12, 48, 180, 720, 2832, 11328, 45132, 180528, 721392, 2885568, 11539440, 46157760, 184619712, 738478848, 2953870260, 11815481040, 47261743632, 189046974528, 756187176720, 3024748706880, 12098991941952 (list; graph; refs; listen; history; internal format)
OFFSET

0,2

REFERENCES

P. Tolstrup Nielsen, A note on bifix-free sequences, IEEE Trans. Inform. Theory IT-19 (1973), 704-706.

LINKS

T. Harju and D. Nowotka, Border correlation of binary words.

FORMULA

a(2n+1) = 4a(2n); a(2n) = 4a(2n-1) - a(n).

MATHEMATICA

a[0]=1; a[n_]:=a[n]=4*a[n-1]-If[EvenQ[n], a[n/2], 0] (Ed Pegg, Jr., (ed(AT)mathpuzzle.com), Jan 05 2005)

CROSSREFS

Cf. A003000, A019308, A094547, A094559, A094578.

Sequence in context: A149383 A149384 A108508 * A056632 A149385 A092898

Adjacent sequences:  A019306 A019307 A019308 * A019310 A019311 A019312

KEYWORD

nonn,easy

AUTHOR

Jeffrey Shallit (shallit(AT)graceland.uwaterloo.ca)

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 16 11:25 EST 2012. Contains 205907 sequences.