Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A110472
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A110472 Numbers n such that n in binary representation has a block of exactly a semiprime number of zeros. +0
7
16, 33, 48, 64, 66, 67, 80, 97, 112, 129, 132, 133, 134, 135, 144, 161, 176, 192, 194, 195, 208, 225, 240, 258, 259, 264, 265, 266, 267, 268, 269, 270, 271, 272, 289, 304, 320, 322, 323, 336, 353, 368, 385, 388, 389, 390, 391, 400, 417, 432, 448, 450, 451 (list; graph; listen)
OFFSET

1,1

COMMENT

a(n) is the index of zeros in the complement of the semiprime analogue of the Baum-Sweet sequence, which is b(n) = 1 if the binary representation of n contains no block of consecutive zeros of exactly semiprime length; otherwise b(n) = 0.

REFERENCES

J.-P. Allouche and J. Shallit, Automatic Sequences, Cambridge Univ. Press, 2003, p. 157.

LINKS

J.-P. Allouche, Finite Automata and Arithmetic.

EXAMPLE

a(1) = 16 because 16 (base 2) = 10000, which has a block of 4 zeros, where 4 is a semiprime (A001358(1)).

a(2) = 33 because 33 (base 2) = 100001, which has a block of 4 zeros.

a(3) = 48 because 48 (base 2) = 110000, which has a block of 4 zeros.

a(4) = 64 because 64 (base 2) = 1000000, which has a block of 6 zeros, where 6 is a semiprime (A001358(2)).

512 is in this sequence because 512 (base 2) = 1000000000, which has a block of 9 zeros, where 9 is a semiprime (A001358(3)).

MATHEMATICA

f[n_] := If[Or @@ (First[ # ] == 0 && Plus @@ Last /@ FactorInteger[Length[ # ]] == 2 &) /@ Split[IntegerDigits[n, 2]], 0, 1]; Select[Range[450], f[ # ] == 0 &] (*Chandler*)

CROSSREFS

Cf. A001358, A037011, A086747, A110471, A110474.

Sequence in context: A088112 A119349 A070591 this_sequence A110502 A095784 A041502

Adjacent sequences: A110469 A110470 A110471 this_sequence A110473 A110474 A110475

KEYWORD

base,easy,nonn

AUTHOR

Jonathan Vos Post (jvospost2(AT)yahoo.com), Sep 08 2005

EXTENSIONS

Extended by Ray Chandler (rayjchandler(AT)sbcglobal.net), Sep 16 2005

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified August 29 17:54 EDT 2008. Contains 143238 sequences.


AT&T Labs Research