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.

This page as a plain text file.
%I A154526 #8 Mar 04 2018 17:45:39
%S A154526 3,5,7,19,47
%N A154526 Primes p such that lcm(1,2,3,...,p-2,p-1,p) -+ 1 are both primes.
%C A154526 Intersection of A154524 and A154525.
%o A154526 (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
%Y A154526 Cf. A056604, A154524, A154525.
%K A154526 more,nonn
%O A154526 1,1
%A A154526 _Lekraj Beedassy_, Jan 11 2009