login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A052130 For m very large, a(n) = number of numbers between 1 and 2^m with m-n prime factors (counted with multiplicity). 6
1, 2, 7, 15, 37, 84, 187, 421, 914, 2001, 4283, 9184, 19611, 41604, 87993, 185387, 389954, 817053, 1709640, 3567978, 7433670, 15460810, 32103728, 66567488, 137840687, 285076323, 588891185, 1215204568, 2505088087, 5159284087 (list; graph; refs; listen; history; internal format)
OFFSET

0,2

COMMENTS

a(n) = number of products of half-odd-primes <= 2^n. E.g. a(2) = 7 since 1, 3/2, (3/2)^2, (3/2)^3, (3/2)*(5/2), 5/2, 7/2 are all <= 2^2 - David W. Wilson (davidwwilson(AT)comcast.net).

LINKS

Index entries for sequences related to numbers of primes in various ranges

EXAMPLE

Between 1 and 2^m there is just one number with m prime factor, namely 2^m, so a(0) = 1. There are 2 numbers with m-1 prime factors (2^(m-1) and 3*2^(m-2)), so a(1) = 2.

MATHEMATICA

AlmostPrimePi[k_Integer, n_] := Module[{a, i}, a[0] = 1; If[k == 1, PrimePi[n], Sum[PrimePi[n/Times @@ Prime[ Array[a, k - 1]]] - a[k - 1] + 1, Evaluate[ Sequence @@ Table[{a[i], a[i - 1], PrimePi[(n/Times @@ Prime[Array[a, i - 1]])^(1/(k - i + 1))]}, {i, k - 1}]] ]]]; Eric Weisstein (eww(AT)wolfram.com) Feb 07 2006

Table[ AlmostPrimePi[Floor[n(1 + 1/Sqrt@2)] + 2, 2^(n + Floor[n(1 + 1/Sqrt@2)]) + 2]], {n, 2, 30}] (* Robert G. Wilson v *)

CROSSREFS

Sequence in context: A095091 A131412 A151998 * A065506 A121165 A093652

Adjacent sequences:  A052127 A052128 A052129 * A052131 A052132 A052133

KEYWORD

nonn,nice

AUTHOR

Bernd-Rainer Lauber (br.lauber(AT)surf1.de), Jan 21 2000

EXTENSIONS

More terms from David W. Wilson (davidwwilson(AT)comcast.net), Feb 01 2000.

a(24)-a(30) from Robert G. Wilson v (rgwv(at)rgwv.com), Feb 21 2006

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 16:49 EST 2012. Contains 206058 sequences.