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.

A005088 Number of primes = 1 mod 3 dividing n.

Original entry on oeis.org

0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 2
Offset: 1

Views

Author

Keywords

Comments

The first instance of a(n)=2 is for n=91; the first instance of a(n)=3 is for n=1729. 1729 is famously Ramanujan's taxi cab number -- see A001235. - Harvey P. Dale, Jun 25 2013

Crossrefs

Cf. A121940 (first number having n such factors).

Programs

Formula

Additive with a(p^e) = 1 if p = 1 (mod 3), 0 otherwise.
From Antti Karttunen, Jul 10 2017: (Start)
a(1) = 0; for n > 1, ((A020639(n) mod 3) mod 2) + a(A028234(n)).
a(n) = A001221(n) - A005090(n) - A079978(n).
(End)