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!)
A243198 Least number k such that k + DigProd(k) = 10^n. 1
5, 91, 919, 7795, 100000, 1000000, 10000000, 100000000, 1000000000, 9968647168, 100000000000, 1000000000000, 9999761914432, 100000000000000, 1000000000000000, 10000000000000000, 100000000000000000, 1000000000000000000, 9999982446427242496 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
a(n) <= 10^n for all n.
LINKS
Hiroaki Yamanouchi, Table of n, a(n) for n = 1..50
EXAMPLE
919 + 9*1*9 = 1000 = 10^3. Since 919 is the smallest number with this property, a(3) = 919.
PROG
(PARI) DP(n)={p=1; d=digits(n); return(prod(i=1, #d, d[i]))}
a(n)=for(k=10^n-9^n, 10^n, if((k+DP(k))==10^n, return(k)))
n=1; while(n<100, print1(a(n), ", "); n++)
CROSSREFS
Sequence in context: A152299 A355371 A242945 * A091281 A343009 A368776
KEYWORD
nonn,base,hard
AUTHOR
Derek Orr, Jun 01 2014
EXTENSIONS
a(8)-a(19) from Hiroaki Yamanouchi, Jul 10 2014
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 16 08:27 EDT 2024. Contains 371698 sequences. (Running on oeis4.)