cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A093153 Difference between counts of odd composites in A093151 and A093152 [Count (1 mod 4) - count (3 mod 4)].

Original entry on oeis.org

0, 1, 6, 9, 24, 146, 217, 445, 550, 5959, 14251, 63336, 118471, 183456, 951699, 3458333, 6284059, 2581690, 80743227, 259753424
Offset: 1

Views

Author

Enoch Haga, Mar 24 2004

Keywords

Comments

In A091295 the counts are 1 higher. I computed the differences through 10^8 and the rest by extrapolating from A091098 and A091099. In the ranges given, the counts of odd composites less than 10^n are higher 1 mod 4 than 3 mod 4. They are exactly opposite for the primes less than 10^n where 3 mod 4 is higher.

Examples

			Below 10^3 there are 169 odd composites 1 mod 4 and 163 odd composites 3 mod 4, so a(3)=169-163=6
		

Crossrefs

Formula

Subtract count of odd composites 3 mod 4 less than 10^n from those 1 mod 4
a(n) = A093151(n) - A093152(n). For n>1, a(n) = A091099(n) - A091098(n) - 1. [From Max Alekseyev, May 17 2009]

Extensions

More terms from Max Alekseyev, May 17 2009