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

A162936 Highly composite numbers (A002182) whose following highly composite number is at least 3/2 times greater.

Original entry on oeis.org

1, 2, 4, 6, 12, 24, 60, 120, 240, 360, 840, 1680, 2520, 5040, 10080, 27720, 55440, 110880, 332640, 720720, 1441440, 4324320, 21621600, 73513440, 367567200, 735134400, 1396755360, 6983776800, 13967553600, 27935107200, 160626866400, 321253732800, 642507465600
Offset: 1

Views

Author

Jan Behrens (jbe-oeis(AT)magnetkern.de), Jul 17 2009

Keywords

Comments

While it can be proved that the related sequence A162935 is finite, I'm not sure whether this sequence is also finite.
Ramanujan proved that the asymptotic limit of the ratio between consecutive highly composite numbers is 1. Therefore this sequence is finite. Erdős proved that for two consecutive highly composite numbers k < k', k'/k <= 1 + 1/log(k)^c with c = 3/32. Nicolas improved the value to c = log(15/8)/(8*log(2)) = 0.113... thus the largest term of this sequence is below exp(2^(1/c)) < 3 * 10^196. By checking the terms of A002182 up to this bound it was found that there are 62 terms in this sequence, the largest is being A002182(1349) ~ 1.158... * 10^98. - Amiram Eldar, Aug 20 2019

Crossrefs

Programs

  • Haskell
    import Data.Ratio
    import Data.Set (Set)
    import qualified Data.Set as Set
    printList :: (Show a) => [a] -> IO()
    printList = putStr . concat . map (\x -> show x ++ "\n")
    isPrime n
      | n >= 2 = all isNotDivisor $ takeWhile smallEnough primes
      | otherwise = False
      where
        isNotDivisor d = n `mod` d /= 0
        smallEnough d = d^2 <= n
    primes = 2 : filter isPrime [ 2 * n + 1 | n <- [1..] ]
    primeSynthesis = partialSynthesis 1 primes
      where
        partialSynthesis n _ [] = n
        partialSynthesis n (p:ps) (c:cs) = partialSynthesis (n * p^c) ps cs
    primeAnalysis n
      | n < 1 = undefined
      | n == 1 = []
      | n > 1 = reverse $ buildPrimeCounts [0] n
      where
        buildPrimeCounts (c:cs) n
          | n == 1 = (c:cs)
          | n `mod` p == 0 = buildPrimeCounts (c+1 : cs) (n `div` p)
          | otherwise = buildPrimeCounts (0:c:cs) n
          where p = primes !! (length cs)
    divisorCount n = product $ map (+1) $ primeAnalysis n
    primorialProducts = resFrom 1
      where
        resFrom n = resBetween n (4*n - 1) ++ resFrom (4*n)
        resBetween start end = Set.toAscList $ Set.fromList $ unorderedList
          where
            unorderedList = filter (>= start) (1 : build 0 [])
            build pos exponents
              | nextNumber <= end = nextNumber : build 0 nextCombination
              | newPrime = []
              | otherwise = build (pos + 1) exponents
              where
                newPrime = pos >= length exponents
                nextCombination
                  | newPrime = replicate (length exponents + 1) 1
                  | otherwise = replicate (pos + 1) ((exponents !! pos) + 1)
                                  ++ drop (pos + 1) exponents
                nextNumber = primeSynthesis nextCombination
    filterStrictlyMonotonicDivisorCount = filterRest 0
      where
        filterRest _ [] = []
        filterRest lim (num:nums)
          | divisorCount num > lim = num : filterRest (divisorCount num) nums
          | otherwise = filterRest lim nums
    highlyCompositeNumbers
      = filterStrictlyMonotonicDivisorCount primorialProducts
    findGaps [] = []
    findGaps [_] = []
    findGaps (x1:x2:xs)
      | x1 * 3 <= x2 * 2 = (x1, x2) : findGaps (x2:xs)
      | otherwise = findGaps (x2:xs)
    main = mapM (putStrLn . show . fst) (findGaps highlyCompositeNumbers)

Extensions

a(32)-a(33) from Amiram Eldar, Aug 20 2019

A212169 List of highly composite numbers (A002182) with an exponent in its prime factorization that is at least as great as the number of positive exponents; intersection of A002182 and A212165.

Original entry on oeis.org

1, 2, 4, 12, 24, 36, 48, 120, 240, 360, 720, 1680, 5040, 10080, 15120, 20160, 25200, 45360, 50400, 110880, 221760, 332640, 554400, 665280, 2882880, 8648640, 14414400, 17297280, 43243200, 294053760
Offset: 1

Views

Author

Matthew Vandermast, May 22 2012

Keywords

Comments

Sequence can be used to find the largest highly composite number in subsequences of A212165 (of which there are several in the database).
Ramanujan showed that, in the canonical prime factorization of a highly composite number with largest prime factor prime(n), the largest exponent cannot exceed 2*log_2(prime(n+1)). (See formula 54 on page 15 of the Ramanujan paper.) This limit is less than n for all n >= 9 (and prime(n) >= 23).
1. Direct calculation verifies this for 9 <= n <= 11.
2. Nagura proved that, for any integer m >= 25, there is always a prime between m and 1.2*m. Let n = 11, at which point prime(11) = 31 and log_2(prime(n+1)) = log 37/log 2 = 5.209453.... Since log 1.2/log 2 is only 0.263034..., it follows that n must increase by at least 3k before 2*log_2(prime(n+1)) can increase by 2k, for all values of k. Therefore, 2*log_2(prime(n+1)) can never catch up to prime(n) for n > 11.
665280 = 2^6*3^3*5*7*11 is the largest highly composite number whose prime factorization contains an exponent that is strictly greater than the number of positive exponents in that factorization (including the implied 1's).

Examples

			A002182(62) = 294053760 = 2^7*3^3*5*7*11*13*17 has 7 positive exponents in its prime factorization, including 5 implied 1's. The maximal exponent in its prime factorization is also 7. Therefore, 294053760 is a term of this sequence.
		

References

  • S. Ramanujan, Highly composite numbers, Proc. Lond. Math. Soc. 14 (1915), 347-409; reprinted in Collected Papers, Ed. G. H. Hardy et al., Cambridge 1927; Chelsea, NY, 1962.

Crossrefs

Programs

  • Mathematica
    okQ[n_] := Module[{f = Transpose[FactorInteger[n]][[2]]}, Max[f] >= Length[f]]; a = 0; t = {}; Do[b = DivisorSigma[0, n]; If[b > a, a = b; If[okQ[n], AppendTo[t, n]]], {n, 10^6}]; t (* T. D. Noe, May 24 2012 *)
Showing 1-2 of 2 results.