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.

A107800 a(n) = number of distinct primes dividing A006049(n) (and dividing A006049(n)+1).

Original entry on oeis.org

1, 1, 1, 1, 1, 2, 1, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2
Offset: 1

Views

Author

Leroy Quet, Mar 24 2007

Keywords

Comments

a(n) first equals 3 when n is such that A006049(n) = 230.

Crossrefs

Programs

  • Mathematica
    f[n_] := Length@FactorInteger[n];t = f /@ Range[300];f /@ Flatten@Position[Rest[t] - Most[t], 0] (* Ray Chandler, Mar 27 2007 *)

Formula

a(n) = A001221(A006049(n)).

Extensions

Extended by Ray Chandler, Mar 27 2007