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.

A095365 Primes p such that f(q) < f(p) for all primes q < p, where f(p) = lcm(2-1, 3-1, 5-1, 7-1, 11-1, ..., p-1).

This page as a plain text file.
%I A095365 #6 Mar 17 2018 23:37:33
%S A095365 2,3,5,7,11,17,19,23,29,47,53,59,83,97,101,103,107,109,149,163,167,
%T A095365 173,179,191,193,197,227,251,257,263,269,283,293,311,317,347,359,367,
%U A095365 383,389,467,479,487,503,509,557,563,569,587,607,619,643,653,677,709,719
%N A095365 Primes p such that f(q) < f(p) for all primes q < p, where f(p) = lcm(2-1, 3-1, 5-1, 7-1, 11-1, ..., p-1).
%C A095365 A058255 gives the values of f(p) for the primes p in this sequence. The odd primes in this sequence seem to be the only values appearing in A095366.
%e A095365 13 is not a member of this sequence because f(11) = f(13) = 60.
%t A095365 nn=200; lst={}; lcm=1; Do[p=Prime[i]; newLCM=LCM[lcm, p-1]; If[newLCM>lcm, lcm=newLCM; AppendTo[lst, p]], {i, 2, nn}]; lst
%K A095365 nonn
%O A095365 1,1
%A A095365 _T. D. Noe_, Jun 03 2004