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.

A079085 Number of distinct prime factors of (prime(n)+1)*(prime(n+1)+1)/4.

Original entry on oeis.org

1, 2, 2, 2, 3, 2, 3, 3, 3, 3, 2, 3, 4, 3, 2, 3, 4, 3, 3, 3, 3, 4, 4, 3, 3, 4, 3, 4, 4, 3, 3, 4, 5, 4, 4, 3, 3, 4, 4, 4, 5, 4, 3, 3, 4, 3, 3, 4, 5, 4, 4, 4, 4, 4, 4, 4, 4, 3, 3, 4, 4, 4, 5, 4, 3, 4, 3, 4, 5, 4, 4, 4, 4, 5, 4, 4, 4, 3, 4, 5, 5, 3, 4, 5, 5, 4, 3, 4, 5, 4, 4, 4, 4, 4, 4, 5, 4, 4, 3, 3, 4, 4, 5, 6, 4
Offset: 1

Views

Author

Reinhard Zumkeller, Dec 22 2002

Keywords

Crossrefs

Cf. A079086.

Programs

  • Haskell
    a079085 = a001221 . a079079  -- Reinhard Zumkeller, Oct 08 2012
    
  • Mathematica
    Table[PrimeNu[(Prime[n] + 1)*(Prime[n + 1] + 1)/4], {n, 1, 50}] (* G. C. Greubel, Apr 25 2017 *)
  • PARI
    for(n=1,50, print1(omega((prime(n) + 1)*(prime(n + 1) + 1)/4), ", ")) \\ G. C. Greubel, Apr 25 2017

Formula

a(n) = A001221(A079079(n)).