login
A344656
Number of odd composites <= 10^n.
0
1, 25, 332, 3771, 40408, 421502, 4335421, 44238545, 449152466, 4544947489, 45881945187, 462392087982, 4653934463161, 46795058249198, 470155429577331, 4720761658966075, 47376442842345767, 475260045712259140, 4765942332723655393, 47779180397439081160, 478872730513981268072, 4798532713310684093710
OFFSET
1,2
FORMULA
a(n) = 10^n/2 - A006880(n).
EXAMPLE
a(1) = 1 because 9 is the only odd composite number <= 10^1.
MATHEMATICA
Table[Length@Select[Range[2, 10^n], OddQ@#&&!PrimeQ@#&], {n, 7}]
(* or *)
Table[10^n/2-PrimePi[10^n], {n, 10}]
CROSSREFS
Sequence in context: A162702 A010977 A022589 * A199657 A094730 A265930
KEYWORD
nonn
AUTHOR
STATUS
approved