login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A036336 Smallest positive integer with n digits and exactly n prime factors (counted with multiplicity). 7
2, 10, 102, 1012, 10010, 100040, 1000125, 10000096, 100000032, 1000000080, 10000000080, 100000000512, 1000000001280, 10000000014336, 100000000004096, 1000000000010880, 10000000000008192, 100000000000008192, 1000000000000010240, 10000000000000045056 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
Carlos Rivera, Puzzle 25. Composed primes, The Prime Puzzles and Problems Connection.
MAPLE
f:= proc(n) local k;
for k from 10^(n-1) do
if numtheory:-bigomega(k) = n then return k fi
od
end proc:
map(f, [$1..20]); # Robert Israel, May 31 2018
MATHEMATICA
npf[n_]:=Module[{k=1, st=10^(n-1)-1}, While[PrimeOmega[st+k]!=n, k++]; st+k]; Array[npf, 20] (* Harvey P. Dale, Mar 25 2012 *)
PROG
(Python)
from sympy import factorint
def a(n):
for m in range(10**(n-1), 10**n):
if sum(factorint(m).values()) == n: return m
print([a(n) for n in range(1, 13)]) # Michael S. Branicky, Feb 10 2021
CROSSREFS
Sequence in context: A228120 A074109 A291101 * A070842 A086927 A342108
KEYWORD
nonn,base
AUTHOR
Patrick De Geest, Dec 15 1998
EXTENSIONS
More terms from Matthew Conroy, May 27 2001
Offset corrected, and a(19)-a(20) from Robert Israel, May 31 2018
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 01:35 EDT 2024. Contains 371964 sequences. (Running on oeis4.)