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.

A340580 Ramanujan's highly composite numbers A002182 sandwiched between nonprimes.

This page as a plain text file.
%I A340580 #29 Aug 21 2021 16:02:57
%S A340580 120,1680,25200,27720,50400,83160,221760,277200,554400,720720,2162160,
%T A340580 2882880,3603600,7207200,8648640,10810800,17297280,21621600,36756720,
%U A340580 73513440,122522400,147026880,245044800,294053760,551350800,2095133040,2327925600,2793510720,3491888400
%N A340580 Ramanujan's highly composite numbers A002182 sandwiched between nonprimes.
%e A340580 120 is in the sequence because it is an highly composite numbers A002182 and its nearest neighbors 119 and 121 both are nonprimes.
%t A340580 s = {}; dm = 0; Do[d = DivisorSigma[0, n]; If[d > dm, dm = d; If[! PrimeQ[n - 1] && ! PrimeQ[n + 1], AppendTo[s, n]]], {n, 1, 10^6}]; s (* _Amiram Eldar_, Aug 17 2021 *)
%Y A340580 Cf. A002182, A018252, A068507, A346529.
%K A340580 nonn
%O A340580 1,1
%A A340580 _Omar E. Pol_, Aug 17 2021
%E A340580 More terms from _Amiram Eldar_, Aug 17 2021