OFFSET
1,1
MATHEMATICA
seq[digmax_] := Module[{hcn = Select[Import["https://oeis.org/A002182/b002182.txt", "Table"][[;; , 2]], # < 10^digmax &]}, Select[Prime[Range[PrimePi[10^digmax]]], MemberQ[hcn, Times @@ IntegerDigits[#]] &]]; seq[4] (* Amiram Eldar, Aug 29 2024 *)
PROG
(Python)
from math import *
from sympy import *
numbers =[1, 2, 4, 6, 12, 24, 36, 48, 60, 120, 180, 240, 360, 720, 840, 1260, 1680, 2520, 5040, 7560, 10080, 15120, 20160, 25200, 27720, 45360, 50400, 55440]#this is the list of highly composite numbers
digits = []
result = 1
for i in range(100000):#the 100000 in here is what you'll want to change to get more of these numbers
result = 1
if isprime(i) == True:
digits = [*str(i)]
for j in range(len(str(i))):
result = result*int(digits[j])
for k in numbers:
if result == k:
print(i)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Edoardo Sangiuliano, Aug 28 2024
EXTENSIONS
More terms from Amiram Eldar, Aug 29 2024
STATUS
approved