Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A166314
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A166314 Number of 1's in binary expansion of A000124(n). +0
1
1, 1, 1, 3, 3, 1, 3, 4, 3, 4, 3, 3, 5, 4, 4, 5, 3, 4, 4, 7, 5, 4, 7, 4, 5, 4, 3, 7, 6, 5, 5, 6, 3, 4, 4, 7, 6, 3, 6, 5, 6, 7, 4, 7, 9, 3, 5, 5, 5, 5, 7, 7, 6, 5, 7, 4, 7, 7, 5, 8, 7, 6, 6, 7, 3, 4, 4, 7, 6, 5, 7, 9, 5, 6, 6, 6, 9, 8, 4, 6, 6, 8, 6, 9, 9, 5, 8, 9, 8, 8, 1, 6, 7, 4, 6, 6, 5, 5, 7, 8, 9, 3, 5, 8, 7 (list; graph; listen)
OFFSET

0,4

MAPLE

read("transforms") ;

A166314 := proc(n) wt(A000124(n)) ; end:

A000124 := proc(n) n*(n+1)/2+1 ; end: seq(A166314(n), n=0..80) ; # R. J. Mathar, Oct 14 2009

MATHEMATICA

Clear[lst, n, s, f, i] f[n_]:=Plus@@IntegerDigits[n, 2]; i=1; s=1; lst={i}; Do[s+=n+i; If[s>=0, AppendTo[lst, f[s]]], {n, 0, 6!, 1}]; lst

CROSSREFS

Sequence in context: A092040 A161200 A110766 this_sequence A109630 A080094 A002332

Adjacent sequences: A166311 A166312 A166313 this_sequence A166315 A166316 A166317

KEYWORD

nonn,base,easy

AUTHOR

Vladimir Orlovsky (4vladimir(AT)gmail.com), Oct 11 2009

EXTENSIONS

Definition shortened, offset set to zero by R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Oct 14 2009

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