login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A094628 Numbers n with sum of digits(n) = 4. 1
4, 13, 40, 130, 400, 1300, 4000, 13000, 40000, 130000, 400000, 1300000, 4000000, 13000000, 40000000, 130000000, 400000000, 1300000000, 4000000000, 13000000000, 40000000000, 130000000000, 400000000000, 1300000000000 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..24.

Index entries for linear recurrences with constant coefficients, signature (0,10).

FORMULA

G.f.: (4+13*x-9*x^2)/(1-10*x^2).

a(n) = 10^(n/2)*(13*sqrt(10)/20+2-(13*sqrt(10)/20-2)*(-1)^n).

CROSSREFS

Cf. A094629.

Sequence in context: A098183 A171556 A227747 * A034742 A149424 A097112

Adjacent sequences:  A094625 A094626 A094627 * A094629 A094630 A094631

KEYWORD

easy,nonn,base

AUTHOR

Paul Barry, May 15 2004

EXTENSIONS

Edited by Charles R Greathouse IV, Aug 03 2010

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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified February 17 10:59 EST 2019. Contains 320219 sequences. (Running on oeis4.)