Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A072762
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A072762 n coded as binary word of length=n with k-th bit set iff k is prime (1<=k<=n), decimal value. +0
5
0, 1, 3, 6, 13, 26, 53, 106, 212, 424, 849, 1698, 3397, 6794, 13588, 27176, 54353, 108706, 217413, 434826, 869652, 1739304, 3478609, 6957218, 13914436, 27828872, 55657744, 111315488, 222630977, 445261954, 890523909 (list; graph; listen)
OFFSET

1,3

COMMENT

a(n) is odd iff n is prime.

a(Prime[n]) = Numerator[ Sum[ 1/2^Prime[k], {k,1,n} ] ]. - Alexander Adamchuk (alex(AT)kolmogorov.com), Aug 22 2006

The n-th approximation to the Prime Constant is given by a(n)/2^n - Anton Vrba (antonvrba(AT)yahoo.com), Nov 24 2006

LINKS

T. D. Noe, Table of n, a(n) for n=1..300

Eric Weisstein's World of Mathematics, Prime Constant,

FORMULA

a(1) = 0 and a(n) = a(n-1)*2 + A010051(n) for n>1.

EXAMPLE

a(6)='011010'=(((0*2+1)*2+1)*2*2+1)*2=26; a(7)='0110101'=(((0*2+1)*2+1)*2*2+1)*2*2+1=53; a(8)='01101010'=((((0*2+1)*2+1)*2*2+1)*2*2+1)*2=106.

CROSSREFS

Cf. A100634

Sequence in context: A032198 A079941 A019300 this_sequence A081254 A125049 A164991

Adjacent sequences: A072759 A072760 A072761 this_sequence A072763 A072764 A072765

KEYWORD

nonn,nice

AUTHOR

Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Aug 08 2002

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 29 12:46 EST 2009. Contains 167659 sequences.


AT&T Labs Research