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.

A076083 Consider all composite numbers between prime(n) and prime(n+1); take those with smallest number of divisors; a(n) is the smallest of them.

Original entry on oeis.org

4, 6, 9, 12, 14, 18, 21, 25, 30, 33, 38, 42, 46, 49, 55, 60, 62, 69, 72, 74, 82, 85, 91, 98, 102, 106, 108, 111, 121, 129, 133, 138, 141, 150, 155, 158, 166, 169, 177, 180, 183, 192, 194, 198, 201, 213, 226, 228, 230, 235, 240, 247, 253, 259, 265, 270, 274, 278
Offset: 2

Views

Author

Amarnath Murthy, Oct 07 2002

Keywords

Crossrefs

Cf. A076082.

Programs

  • Mathematica
    snd[lst_]:=First[SortBy[lst,DivisorSigma[0,#]&]]; snd/@(Range[#[[1]]+1, #[[2]]- 1]&/@Partition[Prime[Range[2,60]],2,1]) (* Harvey P. Dale, Jul 06 2014 *)
  • PARI
    for(n=2,100,m=99999:r=0:for(k=prime(n)+1, prime(n+1)-1,if(!isprime(k),if(numdiv(k)
    				

Extensions

More terms from Ralf Stephan, Mar 23 2003