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.

A249224 Lpf (n(n+11)/2): least prime dividing n(n+11)/2.

Original entry on oeis.org

2, 13, 3, 2, 2, 3, 3, 2, 2, 3, 11, 2, 2, 5, 3, 2, 2, 3, 3, 2, 2, 3, 17, 2, 2, 13, 3, 2, 2, 3, 3, 2, 2, 3, 5, 2, 2, 7, 3, 2, 2, 3, 3, 2, 2, 3, 29, 2, 2, 5, 3, 2, 2, 3, 3, 2, 2, 3, 5, 2, 2, 31, 3, 2, 2, 3, 3, 2, 2, 3, 41, 2, 2, 5, 3, 2, 2, 3, 3, 2, 2, 3, 47, 2, 2, 43, 3, 2, 2, 3, 3, 2, 2, 3, 5, 2, 2, 7, 3, 2
Offset: 1

Views

Author

Zak Seidov, Oct 23 2014

Keywords

Comments

a(n) = 2 for n = {4,5,8,9} (mod 12) and a(n) = 3 for n = {3,6,7,10} (mod 12).

Crossrefs

Programs

  • Mathematica
    FactorInteger[#(11+#)/2][[1,1]]& /@ Range[100]
  • PARI
    a(n) = my(f=factor(n*(n+11)/2)); f[1,1]; \\ Michel Marcus, Oct 23 2014

Formula

a(n) = A020639(n(n+11)/2).