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.

A195086 Numbers k such that (number of prime factors of k counted with multiplicity) less (number of distinct prime factors of k) = 2.

Original entry on oeis.org

8, 24, 27, 36, 40, 54, 56, 88, 100, 104, 120, 125, 135, 136, 152, 168, 180, 184, 189, 196, 225, 232, 248, 250, 252, 264, 270, 280, 296, 297, 300, 312, 328, 343, 344, 351, 375, 376, 378, 396, 408, 424, 440, 441, 450, 456, 459, 468, 472, 484, 488
Offset: 1

Views

Author

Harvey P. Dale, Sep 08 2011

Keywords

Comments

From Amiram Eldar, Nov 07 2020: (Start)
Numbers whose powerful part (A057521) is either a cube of a prime (A030078) or a square of a squarefree semiprime (A085986).
The asymptotic density of this sequence is (6/Pi^2) * (Sum_{p prime} 1/(p^2*(p+1)) + Sum_{p=4} (-1)^(k+1)*(k-1)*P(k) + (Sum_{k>=2} (-1)^k*P(k))^2)/2 = 0.0963023158..., where P is the prime zeta function. (End)

Crossrefs

Programs

  • Haskell
    a195086 n = a195086_list !! (n-1)
    a195086_list = filter ((== 2) . a046660) [1..]
    -- Reinhard Zumkeller, Nov 29 2015
  • Mathematica
    Select[Range[500],PrimeOmega[#]-PrimeNu[#]==2&]
  • PARI
    is(n)=bigomega(n)-omega(n)==2 \\ Charles R Greathouse IV, Sep 14 2015
    
  • PARI
    is(n)=my(f=factor(n)[,2]); vecsum(f)==#f+2 \\ Charles R Greathouse IV, Aug 01 2016
    

Formula

A001222(a(n)) - A001221(a(n)) = 2.
A046660(a(n)) = 2. - Reinhard Zumkeller, Nov 29 2015