|
Search: id:A113503
|
|
|
| A113503 |
|
a(1) = 1. For n >= 2, a(n) = number of earlier terms of the sequence that have the same number of ones in their binary representations as n. |
|
+0 2
|
|
| 1, 1, 0, 2, 0, 0, 0, 3, 1, 1, 0, 1, 0, 0, 0, 6, 2, 2, 0, 2, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 10, 3, 4, 0, 4, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, 4, 4, 1, 4, 1, 1, 0, 4, 1, 1, 0, 1, 0, 0, 0, 4, 1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 4, 1, 1, 0
(list; graph; listen)
|
|
|
OFFSET
|
1,4
|
|
|
LINKS
|
Diana Mecum, Table of n, a(n) for n = 1..210
Leroy Quet, Home Page (listed in lieu of email address)
|
|
EXAMPLE
|
The first 7 terms written in binary are [1,1,0,10,0,0,0]. The 8th term gives the number of earlier terms with the same number of 1's in their binary representation as 8 (which is 1000 in binary, for one 1). a(8) = 3 because there are three terms among the first 7 terms with one binary 1 (terms with one 1: 1, 1 and 2).
|
|
CROSSREFS
|
Cf. A113504, A000120.
Sequence in context: A076849 A083059 A046268 this_sequence A082507 A132349 A123391
Adjacent sequences: A113500 A113501 A113502 this_sequence A113504 A113505 A113506
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Leroy Quet, Jan 10 2006
|
|
EXTENSIONS
|
More terms from Diana Mecum (diana.mecum(AT)gmail.com), May 29 2007
|
|
|
Search completed in 0.002 seconds
|