Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A123755
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A123755 a(0)=1. a(n) = number of earlier terms which are divisible by (the number of 1's in the binary representation of n). +0
3
1, 1, 2, 1, 4, 2, 3, 1, 8, 4, 5, 1, 5, 1, 1, 3, 16, 6, 7, 3, 7, 4, 4, 6, 10, 5, 5, 6, 6, 6, 6, 5, 32, 16, 17, 9, 17, 10, 10, 8, 20, 10, 10, 10, 10, 10, 10, 15, 27, 12, 13, 11, 13, 11, 11, 16, 13, 12, 13, 16, 14, 16, 16, 8, 64, 36, 37, 15, 37, 16, 16, 21, 39, 18, 19, 21, 20, 22, 22, 18, 44 (list; graph; listen)
OFFSET

0,3

LINKS

Leroy Quet, Home Page (listed in lieu of email address)

EXAMPLE

9 in binary is 1001, which has 2 ones. So a(9) is the number of terms, from a(0) to a(8), which are divisible by 2. a(2)=2, a(4)=4, a(5)=2 and a(8)=8 are the four earlier terms divisible by 2. So a(9) = 4.

MATHEMATICA

f[l_List] := Append[l, Count[Mod[l, Plus @@ IntegerDigits[Length[l], 2]], 0]]; Nest[f, {1}, 80] (*Chandler*)

CROSSREFS

Cf. A123756, A123757.

Sequence in context: A033317 A007733 A128520 this_sequence A118291 A118290 A132223

Adjacent sequences: A123752 A123753 A123754 this_sequence A123756 A123757 A123758

KEYWORD

easy,nonn

AUTHOR

Leroy Quet Oct 12 2006

EXTENSIONS

Extended by Ray Chandler (rayjchandler(AT)sbcglobal.net), Oct 16 2006

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 November 27 22:38 EST 2009. Contains 167602 sequences.


AT&T Labs Research