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

 Please make a donation to keep the OEIS running. We are now in our 56th year. In the past year we added 10000 new sequences and reached almost 9000 citations (which often say "discovered thanks to the OEIS"). Other ways to donate

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A133264 Smallest number whose sum of digits is 3n+1. 0
 1, 4, 7, 19, 49, 79, 199, 499, 799, 1999, 4999, 7999, 19999, 49999, 79999, 199999, 499999, 799999, 1999999, 4999999, 7999999, 19999999, 49999999, 79999999, 199999999, 499999999, 799999999, 1999999999, 4999999999, 7999999999 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,2 LINKS FORMULA a(n) = a(n-1) + 10*a(n-3) - 10*a(n-4). - Chai Wah Wu, May 25 2016 G.f.: (1 + 3*x + 3*x^2 + 2*x^3)/(1 - x - 10*x^3 + 10*x^4). - Michael De Vlieger, May 25 2016 MATHEMATICA LinearRecurrence[{1, 0, 10, -10}, {1, 4, 7, 19}, 31] (* or *) CoefficientList[Series[(1 + 3 x + 3 x^2 + 2 x^3)/(1 - x - 10 x^3 + 10 x^4), {x, 0, 30}], x] (* Michael De Vlieger, May 25 2016 *) CROSSREFS Sequence in context: A190646 A220011 A305034 * A253208 A275389 A127415 Adjacent sequences:  A133261 A133262 A133263 * A133265 A133266 A133267 KEYWORD nonn,base AUTHOR Paul Curtz, Oct 16 2007 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 November 29 19:26 EST 2020. Contains 338769 sequences. (Running on oeis4.)