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.

A154526 Primes p such that lcm(1,2,3,...,p-2,p-1,p) -+ 1 are both primes.

Original entry on oeis.org

3, 5, 7, 19, 47
Offset: 1

Views

Author

Lekraj Beedassy, Jan 11 2009

Keywords

Comments

Intersection of A154524 and A154525.

Crossrefs

Programs

  • PARI
    isok(p) = {if (! isprime(p), return (0)); lcmv = lcm(vector(p, i, i)); isprime(lcmv + 1) && isprime(lcmv - 1);} \\ Michel Marcus, Oct 26 2013