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-5 of 5 results.

A088255 Duplicate of A075590.

Original entry on oeis.org

4, 6, 30, 420, 2310, 43890, 1138830, 17160990, 300690390, 17100553470
Offset: 1

Views

Author

Keywords

A068525 Smallest k-almost prime between twin primes (for k >= 2).

Original entry on oeis.org

4, 12, 60, 72, 240, 192, 2112, 1152, 14592, 26112, 15360, 139968, 138240, 675840, 2101248, 737280, 4866048, 786432, 22118400, 36175872, 194641920, 63700992, 138412032, 169869312, 1321205760, 11123294208, 16357785600, 25669140480
Offset: 2

Views

Author

Rick L. Shepherd, Mar 21 2002

Keywords

Comments

Because it is unknown whether an infinite number of twin primes exist, it is unknown whether this sequence is infinite.

Examples

			a(6)=240 because 240=2^4*3*5 is a 6-almost prime, 239 and 241 are twin primes and there is no 6-almost prime smaller than 240 which is between a pair of twin primes.
		

Crossrefs

Cf. A001358 (semiprimes, with links to other almost primes), A001359 (lesser of twin primes), A014574, A075590.

Programs

  • Mathematica
    f[n_] := Plus @@ Last /@ FactorInteger@n; p = 3; t = Table[0, {30}]; While[p < 26*10^9, If[ PrimeQ[p + 2], a = f[p + 1]; If[ t[[a]] == 0, t[[a]] = p + 1; Print[{a, p + 1}]]]; p = NextPrime@p]; t (* Robert G. Wilson v, Aug 02 2010 *)
  • PARI
    v=vector(32) for(n=3,2250000000, if(n%1000000==0,print(n)); if(isprime(n) && isprime(n+2),k=bigomega(n+1); if(v[k]==0,v[k]=n+1; print(v[k],", ",k)))); v
    \\ The PARI program prints a progress mark per million integers examined. v[k] is loaded with the first k-almost prime encountered between primes and is printed upon discovery. The entire vector is printed at program completion (or can be printed after interrupting the PARI program with CTRL-C).

Extensions

a(27) - a(29) from Robert G. Wilson v, Aug 02 2010

A359636 a(n) is the least odd prime not in A001359 such that all subsequent composites in the gap up to the next prime have at least n distinct prime factors.

Original entry on oeis.org

7, 19, 643, 51427, 8083633, 1077940147, 75582271489, 34710483181813
Offset: 1

Views

Author

Hugo Pfoertner, Jan 12 2023

Keywords

Comments

a(9) <= 76340177205657727, a(10) <= 225096507194749219819. - David A. Corneth, Jan 12 2023

Examples

			a(1) = 7: trivially, the 3 composites 8 = 2^3, 9 = 3^2, 10 = 2*5, have at least one distinct prime factor;
a(2) = 19: 20 = 2^2*5, 21 = 3*7, 22 = 2*11 all have 2 distinct prime factors;
a(3) = 643: 644 = 2^2*7*23, 645 = 3*5*43, 646 = 2*17*19, 647 is prime.
		

Crossrefs

Programs

  • PARI
    a359636(maxp) = {my (k=1, pp=3); forprime (p=5, maxp, my(mi=oo); if (p-pp>2, for (j=pp+1, p-1, my(mo=omega(j)); if (mo=k, print1(pp,", "); k++)); pp=p)};
    a359636(10^7)

Extensions

a(8) from Martin Ehrenstein, Nov 03 2023

A294730 Smallest average >= 6 of a twin prime pair that has exactly 2*n divisors, 0 if no such pair exists.

Original entry on oeis.org

6, 12, 30, 0, 60, 192, 270, 180, 240, 0, 420, 0, 2112, 1620, 1320, 0, 2340, 786432, 3120, 4800, 15360, 0, 3360, 388962, 724992, 6300, 29760, 0, 12240, 0, 7560, 617472, 47382528, 81648, 21600, 0, 651952128, 995328, 21840, 0, 33600, 0, 138240
Offset: 2

Views

Author

Hugo Pfoertner, Nov 08 2017

Keywords

Comments

It is conjectured that a(n)=0 for prime n with the only exceptions given by n=A181490(k)+1, i.e. a(2)=6, a(3)=12, a(7)=192 and a(19)=786432 are the only currently known exceptions.

Crossrefs

A075591 Smallest squarefree number with n prime divisors which is the average of a twin prime pair.

Original entry on oeis.org

6, 30, 462, 2310, 43890, 1138830, 17160990, 300690390, 15651726090, 239378649510, 12234189897930, 568815710072610, 19835154277048110, 693386350578511590, 37508276737897976010, 3338236629672919864890
Offset: 2

Views

Author

Amarnath Murthy, Sep 26 2002

Keywords

Examples

			a(4) = 462 because 462 = 2*3*7*11 and the twin primes are 461 and 463.
		

Crossrefs

Cf. A075590.
Cf. A073918 (least prime p such that p-1 has exactly n distinct prime factors), A098026 (least prime p such that p+1 has exactly n distinct prime factors).

Programs

  • Mathematica
    Generate[pIndex_, i_] := Module[{p2, t}, p2=pIndex; While[p2[[i]]++; Do[p2[[j]]=p2[[i]]+j-i, {j, i+1, Length[p2]}]; t=Times@@Prime[p2]; t
    				

Extensions

More terms from T. D. Noe, Dec 13 2004
Showing 1-5 of 5 results.