Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A162145
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A162145 a(n) = the number of non-composites (primes or 1) that are n digits long when written in binary. +0
2
1, 2, 2, 2, 5, 7 (list; graph; listen)
OFFSET

1,2

FORMULA

a(n)=A036378(n-1), n>2. [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Jun 27 2009]

EXAMPLE

The consecutive primes 17 (10001 in binary), 19 (10011 in binary), 23 (10111 in binary), 29 (11101 in binary), and 31 (11111 in binary) are the only primes each written with exactly 5 digits in binary. There are 5 of these primes, so a(5) = 5.

CROSSREFS

A004676

Sequence in context: A097006 A033306 A136347 this_sequence A145876 A039878 A039886

Adjacent sequences: A162142 A162143 A162144 this_sequence A162146 A162147 A162148

KEYWORD

base,more,nonn

AUTHOR

Leroy Quet (q1qq2qqq3qqqq(AT)yahoo.com), Jun 25 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 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research