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!)
A141300 a(n) = number of distinct (nonempty) substrings in the binary representation of n that each occur exactly once. 4
1, 3, 1, 4, 4, 4, 1, 5, 6, 4, 7, 6, 7, 5, 1, 6, 8, 8, 10, 8, 4, 8, 9, 8, 10, 8, 9, 8, 9, 6, 1, 7, 10, 11, 13, 9, 11, 13, 13, 11, 11, 4, 9, 13, 9, 11, 11, 10, 13, 13, 13, 13, 9, 9, 13, 11, 13, 11, 13, 10, 11, 7, 1, 8, 12, 14, 16, 14, 15, 17, 17, 14, 9, 14, 17, 15, 17, 17, 16, 14, 15, 14, 17 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Substrings may start with a 0.
LINKS
EXAMPLE
In (decimal 10 =) binary 1010: 01, 101, 010, 1010 each occur exactly once. So a(10) = 4.
MATHEMATICA
Array[Function[d, Count[Tally@ Apply[Join, Map[Partition[d, #, 1] &, Range[Length@ d]]], _?(Last@ # == 1 &)]]@ IntegerDigits[#, 2] &, 83] (* Michael De Vlieger, Oct 23 2017 *)
CROSSREFS
Sequence in context: A125608 A182001 A099813 * A260502 A014388 A186693
KEYWORD
nonn
AUTHOR
Leroy Quet, Jun 24 2008
EXTENSIONS
Extended by Ray Chandler, Jun 25 2009
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:02 EDT 2024. Contains 371918 sequences. (Running on oeis4.)