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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A067514 Number of distinct primes of the form floor(n/k) for 1<=k<=n. 2
0, 1, 1, 1, 2, 2, 3, 1, 2, 3, 4, 2, 3, 3, 4, 3, 4, 2, 3, 3, 4, 5, 6, 2, 3, 4, 4, 4, 5, 4, 5, 3, 4, 5, 6, 4, 5, 5, 6, 4, 5, 4, 5, 5, 5, 6, 7, 3, 4, 4, 5, 6, 7, 5, 6, 5, 6, 7, 8, 4, 5, 5, 5, 4, 5, 6, 7, 7, 8, 7, 8, 4, 5, 5, 5, 5, 6, 7, 8, 6, 6, 7, 8, 4, 5, 6, 7, 7, 8, 5, 6, 7, 8, 9, 10, 6, 7, 5, 6, 5, 6, 6 (list; graph; refs; listen; history; internal format)
OFFSET

1,5

EXAMPLE

a(10)=3 as floor(10/k) for k = 1 to 10 is 10,5,3,2,2,1,1,1,1,1, respectively; the 3 primes are 5,3,2.

MATHEMATICA

a[n_] := Length[Union[Select[Table[Floor[n/i], {i, 1, n}], PrimeQ]]]

CROSSREFS

Cf. A068050.

Sequence in context: A166269 A182910 A055460 * A115323 A089282 A079688

Adjacent sequences:  A067511 A067512 A067513 * A067515 A067516 A067517

KEYWORD

easy,nonn

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Feb 12 2002

EXTENSIONS

Edited by Dean Hickerson (dean.hickerson(AT)yahoo.com), Feb 12 2002

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 04:33 EST 2012. Contains 205978 sequences.