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!)
A107585 a(n) = 5^n - 5*n. 10
1, 0, 15, 110, 605, 3100, 15595, 78090, 390585, 1953080, 9765575, 48828070, 244140565, 1220703060, 6103515555, 30517578050, 152587890545, 762939453040, 3814697265535, 19073486328030, 95367431640525, 476837158203020, 2384185791015515, 11920928955078010, 59604644775390505, 298023223876953000 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
Numbers a(n)=k such that the number m with n 5's and k 1's has digit product = digit sum = 5^n.
LINKS
FORMULA
a(n) = 7*a(n-1) - 11*a(n-2) + 5*a(n-3), n >= 3. - Vincenzo Librandi, Oct 26 2011
G.f.: ( -1-26*x^2+7*x ) / ( (5*x-1)*(x-1)^2 ). - R. J. Mathar, Oct 26 2011
EXAMPLE
Corresponding numbers m are 1, 5, 11111111111111155, ...
MATHEMATICA
Table[5^m-5*m, {m, 0, 10}]
LinearRecurrence[{7, -11, 5}, {1, 0, 15}, 30] (* Harvey P. Dale, Oct 21 2015 *)
PROG
(Magma) [(5^n - 5*n): n in [0..25]]; // Vincenzo Librandi, Dec 16 2010
(PARI) a(n)=5^n-5*n \\ Charles R Greathouse IV, Oct 26 2011
CROSSREFS
Sequence in context: A205352 A055504 A060931 * A205347 A054367 A199225
KEYWORD
nonn,easy
AUTHOR
Zak Seidov, May 16 2005
EXTENSIONS
Corrected by Charles R Greathouse IV, Sep 08 2012
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 March 29 02:16 EDT 2024. Contains 371264 sequences. (Running on oeis4.)