|
|
A162177
|
|
a(n) is the 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;
text;
internal format)
|
|
|
OFFSET
|
1,5
|
|
COMMENTS
|
a(n) = number of terms of A073169(n) less than n.
|
|
LINKS
|
|
|
FORMULA
|
|
|
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] ]; // Klaus Brockhaus, Sep 08 2009
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|