Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A093535
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A093535 a(n) is the smallest prime such that the number of 1's in its binary expansion is equal to the n-th prime. +0
2
3, 7, 31, 127, 3583, 8191, 131071, 524287, 14680063, 1073479679, 2147483647, 266287972351, 4260607557631, 17591112302591, 246290604621823, 17996806323437567, 1152917106560335871, 2305843009213693951 (list; graph; listen)
OFFSET

1,1

COMMENT

For all n with prime(n) < 300, a(n) has either prime(n) or prime(n)+1 bits. - David Wasserman (dwasserm(AT)earthlink.net), Oct 25 2006

FORMULA

a(n) = A061712(A000040(n)). - Frank Adams-Watters (FrankTAW(AT)Netscape.net), Jun 06 2006

EXAMPLE

n=4, p[4]=11, 3583=[11011111111] has 11 digits=1 and is prime;

2047=23.89=[11111111111] is not here because it is composite;

Mersenne-primes are here, Mersenne composites not.

MATHEMATICA

Do[k=1; While[Count[IntegerDigits[Prime[k], 2], 1] !=Prime[n], k++ ]; Print[Prime[k]], {n, 1, 10}]

CROSSREFS

Cf. A000043, A000668, A001348, A061712, A000120, A014499.

Sequence in context: A001348 A006515 A081093 this_sequence A057612 A136005 A088552

Adjacent sequences: A093532 A093533 A093534 this_sequence A093536 A093537 A093538

KEYWORD

base,nonn

AUTHOR

Labos E. (labos(AT)ana.sote.hu), May 14 2004

EXTENSIONS

More terms from Frank Adams-Watters (FrankTAW(AT)Netscape.net), Jun 06 2006

Further terms from David Wasserman (dwasserm(AT)earthlink.net), Oct 25 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 July 26 23:19 EDT 2008. Contains 142293 sequences.


AT&T Labs Research