login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A116426 The number of n-almost primes less than or equal to 4^n, starting with a(0)=1. 8
1, 2, 6, 13, 34, 77, 177, 406, 887, 1962, 4225, 9094, 19482, 41414, 87706, 184976, 389357, 816193, 1708412, 3566209, 7431153, 15457234, 32098652, 66560309, 137830562, 285062028, 588871107, 1215176367, 2505048537, 5159228725 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
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 W. Weisstein Feb 07 2006
Table[ AlmostPrimePi[n, 4^n], {n, 29}]
CROSSREFS
Sequence in context: A238827 A098407 A151390 * A196906 A162057 A026550
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Feb 10 2006
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)