Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A084345
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A084345 Nonprime number of 1's in binary expansion (complement of A052294). +0
2
1, 2, 4, 8, 15, 16, 23, 27, 29, 30, 32, 39, 43, 45, 46, 51, 53, 54, 57, 58, 60, 63, 64, 71, 75, 77, 78, 83, 85, 86, 89, 90, 92, 95, 99, 101, 102, 105, 106, 108, 111, 113, 114, 116, 119, 120, 123, 125, 126, 128, 135, 139, 141, 142, 147, 149, 150, 153, 154, 156, 159, 163 (list; graph; listen)
OFFSET

1,2

EXAMPLE

a(5)=15 because 15_10=1111_2 and 1+1+1+1=4 is composite.

PROGRAM

(PARI) for(n=1, 200, b=binary(n); if(!isprime(sum(m=1, matsize(b)[2], b[m])), print1(n, ", ")))

CROSSREFS

Cf. A052294.

Adjacent sequences: A084342 A084343 A084344 this_sequence A084346 A084347 A084348

Sequence in context: A097100 A002954 A019278 this_sequence A084561 A078613 A072202

KEYWORD

easy,nonn

AUTHOR

Zak Seidov (zakseidov(AT)yahoo.com) Jun 22 2003

EXTENSIONS

More terms from Rick L. Shepherd (rshepherd2(AT)hotmail.com), Jun 23 2003

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 May 16 23:01 EDT 2008. Contains 139884 sequences.


AT&T Labs Research