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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A162177 a(n) = number of composite numbers that are smaller than A008578(n). 3
0, 0, 0, 1, 2, 5, 6, 9, 10, 13, 18, 19, 24, 27, 28, 31, 36, 41, 42, 47, 50, 51, 56, 59, 64, 71, 74, 75, 78, 79, 82, 95, 98, 103, 104, 113, 114, 119, 124, 127, 132, 137, 138, 147, 148, 151, 152, 163, 174, 177, 178, 181, 186, 187, 196, 201, 206, 211, 212, 217, 220, 221 (list; graph; refs; listen; history; internal format)
OFFSET

1,5

COMMENTS

Here offset 1 is assumed for A008578.

Essentially the same as A065890.

a(n) = A008578(n) - n.

a(n) = number of terms of A073169(n) less than n.

a(n) = A065890(n-1) for n > 1.

a(n) = n-th noncomposite numbers - n. [From Jaroslav Krizek (jaroslav.krizek(AT)atlas.cz), Dec 13 2009]

EXAMPLE

A008578(6) = 11, and there are 5 composites smaller than 11, viz. 4, 6, 8, 9, 10, hence a(6) = 5.

PROG

(MAGMA) T:=[0, 1] cat PrimesUpTo(300); [ T[n+1]-n: n in [1..#T-1] ]; [From Klaus Brockhaus, Sep 08 2009]

CROSSREFS

Cf. A002808 (composites), A008578 (1 and the primes), A000040 (primes), A065890 (number of composites less than n-th prime), A073169 (difference between n-th composite and n).

Sequence in context: A000277 A003664 A065890 * A191172 A078632 A122701

Adjacent sequences:  A162174 A162175 A162176 * A162178 A162179 A162180

KEYWORD

nonn

AUTHOR

Jaroslav Krizek (jaroslav.krizek(AT)atlas.cz), Jun 27 2009

EXTENSIONS

Edited and extended by Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), Sep 09 2009

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 16 20:35 EST 2012. Contains 205962 sequences.