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.

A215113 a(n) is the number of different prime divisors of A214723(n).

Original entry on oeis.org

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

Views

Author

Vladimir Shevelev, Aug 03 2012

Keywords

Comments

The records of a(n) are a(1)=1, a(3)=2, a(12)=3, a(132)=4,... Is the sequence unbounded?

Crossrefs

Programs

  • Mathematica
    nn = 2000; ps = Prime[Range[PrimePi[Sqrt[nn]]]]; t = Flatten[Table[ ps[[i]]^2 + ps[[j]]^2, {i, Length[ps]}, {j, i, Length[ps]}]]; t =
    Select[t, # <= nn &]; PrimeNu[Sort[Transpose[Select[Tally[t], #[[2]] == 1 &]][[1]]]] (* G. C. Greubel, May 16 2017 *)

Formula

a(n) = A001221(A214723(n)). - Michel Marcus, Feb 08 2016