Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A089821
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A089821 Number of subsets of {1,.., n} containing exactly one prime. +0
4
0, 2, 4, 8, 12, 24, 32, 64, 128, 256, 320, 640, 768, 1536, 3072, 6144, 7168, 14336, 16384, 32768, 65536, 131072, 147456, 294912, 589824, 1179648, 2359296, 4718592, 5242880, 10485760, 11534336, 23068672, 46137344, 92274688 (list; graph; listen)
OFFSET

1,2

COMMENT

a(n )= A000720(n)*A089819(n);

for n>1: a(n) = A089818(n,1).

FORMULA

a(n) = pi(n) * 2^(n-pi(n)), with pi = A000720.

EXAMPLE

a(5)=12 subsets of {1,2,3,4,5} contain exactly one prime: {2},

{3}, {5}, {1,2}, {1,3}, {1,5}, {2,4}, {3,4}, {4,5}, {1,2,4}, {1,3,4} and {1,4,5}.

CROSSREFS

Cf. A089822.

Sequence in context: A103787 A032473 A084422 this_sequence A097942 A004653 A115386

Adjacent sequences: A089818 A089819 A089820 this_sequence A089822 A089823 A089824

KEYWORD

nonn

AUTHOR

Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Nov 12 2003

page 1

Search completed in 0.003 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