The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A060711 Smallest number whose digit sum is n^4. 1
 1, 79, 999999999, 49999999999999999999999999999, 4999999999999999999999999999999999999999999999999999999999999999999999, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 LINKS Harry J. Smith, Table of n, a(n) for n = 1..9 FORMULA a(n) >= 10^(n^4/9) - 1. MATHEMATICA Do[ a = {}; While[ Apply[ Plus, a ] + 9 < n^4, a = Append[ a, 9 ] ]; If[ Apply[ Plus, a ] != n^4, a = Prepend[ a, n^4 - Apply[ Plus, a ] ] ]; Print[ FromDigits[ a ] ], {n, 1, 6} ] PROG (PARI) { for (n=1, 9, s=n^4; x=s\9; d=s - 9*x; write("b060711.txt", n, " ", (d+1)*10^x - 1); ) } \\ Harry J. Smith, Jul 10 2009 CROSSREFS Cf. A061104, A061105. Sequence in context: A138917 A265589 A116327 * A128472 A243432 A093404 Adjacent sequences:  A060708 A060709 A060710 * A060712 A060713 A060714 KEYWORD nonn,base AUTHOR Robert G. Wilson v, Apr 21 2001 STATUS approved

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

Last modified May 10 22:16 EDT 2021. Contains 343780 sequences. (Running on oeis4.)