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!)
A146527 a(n) = number of distinct composites, when each is represented in binary, that occur as substrings within the binary representation of n. 0
0, 0, 0, 1, 0, 1, 0, 2, 2, 1, 0, 3, 1, 2, 1, 3, 2, 3, 2, 3, 2, 2, 0, 5, 5, 3, 2, 5, 2, 4, 1, 4, 4, 3, 3, 4, 3, 4, 3, 5, 4, 3, 2, 5, 3, 3, 1, 7, 6, 7, 6, 6, 4, 4, 3, 8, 8, 5, 3, 8, 4, 5, 2, 5, 5, 5, 4, 4, 4, 5, 3, 6, 4, 5, 4, 6, 5, 6, 4, 7, 6, 6, 4, 6, 4, 5, 3, 8, 7, 6, 5, 7, 4, 5, 2, 9, 8, 8, 8, 9, 7, 8, 7, 9, 8 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,8
COMMENTS
a(n) = 0 for n equal to only the positive integers 1,2,3,5,7,11,23 (sequence A048278).
LINKS
EXAMPLE
20 in binary is 10100. The composites, when represented in binary, that can be found within 10100 are 4 = 100 in binary, 10 (decimal) = 1010 in binary and 20 itself = 10100 in binary. There are 3 of these composites, so a(20) = 3.
CROSSREFS
Sequence in context: A068926 A276770 A258291 * A352556 A368282 A285099
KEYWORD
nonn
AUTHOR
Leroy Quet, Oct 30 2008
EXTENSIONS
Extended by Ray Chandler, Nov 03 2008
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 04:14 EDT 2024. Contains 371918 sequences. (Running on oeis4.)