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.

A074796 Number of numbers k <= n such that tau(k) == 2 (mod 3) where tau(k) = A000005(k) is the number of divisors of k.

Original entry on oeis.org

0, 1, 2, 2, 3, 3, 4, 4, 4, 4, 5, 5, 6, 6, 6, 7, 8, 8, 9, 9, 9, 9, 10, 11, 11, 11, 11, 11, 12, 13, 14, 14, 14, 14, 14, 14, 15, 15, 15, 16, 17, 18, 19, 19, 19, 19, 20, 20, 20, 20, 20, 20, 21, 22, 22, 23, 23, 23, 24, 24, 25, 25, 25, 25, 25, 26, 27, 27, 27, 28, 29, 29, 30, 30, 30, 30
Offset: 1

Views

Author

Benoit Cloitre, Sep 07 2002

Keywords

Crossrefs

Programs

  • Mathematica
    Accumulate[Table[If[Mod[DivisorSigma[0,n],3]==2,1,0],{n,80}]] (* Harvey P. Dale, Apr 22 2018 *)
  • PARI
    a(n)=sum(k=1,n,if(numdiv(k)%3-2,0,1))

Formula

a(n) is asymptotic to c*n with c = 0.38....
The constant is conjecturally 3*zeta(3)/Pi^2 = 0.3653814847007... (A346602). See A211338 for more details. - Amiram Eldar, Feb 01 2025