OFFSET
1,1
EXAMPLE
a(1) = 2, a(5) = 2310 = 2*3*5*7*11.
PROG
(Python)
from sympy import primorial, factorint
m, start_digit = primorial(n), str(begins_with)
while len(factorint(m)) != n or str(m)[0] != start_digit:
m += 1
s = str(m)
if s[0] == start_digit: continue
elif s[0] < start_digit: m = int(start_digit+'0'*(len(s)-1))
else: m = int(start_digit+'0'*len(s))
return m
print([a(n) for n in range(1, 10)]) # Michael S. Branicky, Feb 20 2021
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, Nov 04 2002
EXTENSIONS
Correct a(2) and a(3), add a(6)-a(11) from Ray Chandler, Apr 17 2005
More terms from Ray Chandler, May 02 2005
STATUS
approved