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.

A160696 Largest k such that k^2 divides prime(n)+1.

Original entry on oeis.org

1, 2, 1, 2, 2, 1, 3, 2, 2, 1, 4, 1, 1, 2, 4, 3, 2, 1, 2, 6, 1, 4, 2, 3, 7, 1, 2, 6, 1, 1, 8, 2, 1, 2, 5, 2, 1, 2, 2, 1, 6, 1, 8, 1, 3, 10, 2, 4, 2, 1, 3, 4, 11, 6, 1, 2, 3, 4, 1, 1, 2, 7, 2, 2, 1, 1, 2, 13, 2, 5, 1, 6, 4, 1, 2, 8, 1, 1, 1, 1, 2, 1, 12, 1, 2, 2, 15, 1, 1, 4, 6, 4, 2, 2, 10, 6, 1, 3, 2, 1, 2, 3, 2
Offset: 1

Views

Author

Reinhard Zumkeller, May 24 2009

Keywords

Comments

A160697 and A160698 give record values and where they occur.

Crossrefs

Programs

  • PARI
    a(n) = core(prime(n)+1, 1)[2]; \\ Michel Marcus, Nov 06 2022

Formula

a(A049097(n)) = 1; a(A049098(n)) > 1;
a(n) = A000188(A008864(n)).