Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A116435
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A116435 Number of n-almost primes less than or equal to n^n. +0
2
0, 1, 5, 34, 269, 2613, 28893, 359110, 4934952, 74342563, 1217389949, 21533211312 (list; graph; listen)
OFFSET

1,3

COMMENT

Consider the array T(r,c) where is the number of r-almost primes less than or equal to r^c, starting with a(0)=1. This is the diagonal just above the main diagonal.

EXAMPLE

a(3)=5 because there are five 3-almost primes <= 27, 8,12,18,20&27.

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

Do[ Print@ AlmostPrimePi[n, n^n], {n, 13}]

CROSSREFS

Cf. A116433, A116434.

Sequence in context: A002776 A081342 A058248 this_sequence A090367 A111557 A121323

Adjacent sequences: A116432 A116433 A116434 this_sequence A116436 A116437 A116438

KEYWORD

hard,more,nonn

AUTHOR

Jonathan Vos Post (jvospost2(AT)yahoo.com) and Robert G. Wilson v (rgwv(AT)rgwv.com), Feb 15 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 25 07:41 EDT 2008. Contains 142293 sequences.


AT&T Labs Research