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.

A359637 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 prime factors, counted with multiplicity.

This page as a plain text file.
%I A359637 #5 Jan 21 2023 09:32:32
%S A359637 7,97,349,13309,33613,5594749,84477247,1524981247,60924074749
%N A359637 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 prime factors, counted with multiplicity.
%e A359637 a(2) = 7: 8 = 2^3, 9 = 3^2, 10 = 2*5 all have at least the minimum number of 2 prime factors;
%e A359637 a(3) = 97: 98 = 2*7^2, 99 = 3^2*11, 100 = 2^2*5^2 have a minimum of 3 prime factors;
%e A359637 a(4) = 349: 350 = 2*5^2*7, 351 = 3^3*13, 352 = 2^5*11 have a minimum of 4 prime factors.
%o A359637 (PARI) a359637(maxp) = {my (k=2, pp=3); forprime (p=5, maxp, my(mi=oo); if (p-pp>2, for (j=pp+1, p-1, my(mo=bigomega(j)); if (mo<k, mi=0; break); mi=min(mo,mi)); if (mi>=k, print1(pp,", "); k++)); pp=p)};
%o A359637 a359637(10^8)
%Y A359637 Cf. A001222, A001359, A062502, A359636.
%K A359637 nonn,hard,more
%O A359637 2,1
%A A359637 _Hugo Pfoertner_, Jan 16 2023