A168453 Erroneous version of A093554.
2, 5, 11, 11, 7224839, 10780559, 10780559
Offset: 1
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.
(12-k)/k is prime for k = 1,2,3,4 and 12 is the smallest positive integer satisfying this property. Hence a(4) = 12.
a(n)=k=1; while(k,c=0; for(i=1,n,if(k%i==0&&isprime(k/i-1),c++)); if(c==n,return(k));k++) n=1;while(n<10,print1(a(n),", ");n++) \\ Derek Orr, Sep 15 2014
Select[Prime[Range[20000000]],PrimeQ[(#-1)/2]&&PrimeQ[(#-2)/3]&&PrimeQ[(#-3)/4]&&PrimeQ[(#-4)/5]&&PrimeQ[(#-5)/6]&] Select[Prime[Range[2254*10^4]],AllTrue[(#-Range[5])/Range[2,6],PrimeQ]&] (* Harvey P. Dale, May 29 2024 *)
Comments