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.

Showing 1-2 of 2 results.

A154524 Primes p such that lcm(1,2,3,...,p-2,p-1,p) - 1 is prime.

Original entry on oeis.org

3, 5, 7, 19, 23, 29, 47, 61, 97, 181, 233, 307, 401, 887, 1021, 1087, 1361, 1481, 2053, 2293, 5407, 5857, 11059, 14281, 27277, 27803, 36497, 44987, 53017
Offset: 1

Views

Author

Lekraj Beedassy, Jan 11 2009

Keywords

Comments

a(28) > 42000. - Daniel Suteu, Oct 06 2018
a(30) > 100000. - Michael S. Branicky, Jul 04 2025

Examples

			7 is in the sequence because it is prime and also lcm(1,2,3,4,5,6,7)-1 = 420-1 = 419 is prime. - _Emeric Deutsch_, Jan 16 2009
		

Crossrefs

Programs

  • Maple
    P := proc(n) options operator, arrow: ilcm(seq(j, j = 1 .. n)) end proc: a := proc(n) if isprime(n) and isprime(P(n)-1) then n else end if end proc: seq(a(n), n = 1 .. 3000); # Emeric Deutsch, Jan 16 2009

Formula

A057825 INTERSECT A000040. - R. J. Mathar, Jan 14 2009

Extensions

a(8)-a(17) from Ray Chandler, Jan 16 2009
a(18)-a(22) from Emeric Deutsch, Jan 16 2009
a(23)-a(27) from Daniel Suteu, Oct 06 2018
a(28)-a(29) from Michael S. Branicky, Jul 03 2025

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
Showing 1-2 of 2 results.